Equation of Straight Line
Equation of Straight Line
Equation of Straight Line
OF A STRAIGHT LINE
y y 2x 3
The diagram shows the
graph of y 2x 3.
4
3
10
Gradient = 2 2
5
10
x
-4 -2 2 4
The y–intercept = 3
-2
y 3x 4
y mx c
m3 c 4
gradient = 3 y-intercept = −4
2 Find the gradient and y-intercept for the line 2x y 6.
2x y 6
y 2x 6
y mx c
m 2 c6
gradient = −2 y-intercept = 6
2 A line is parallel to the liney 3x 4 and passes through the
point (5, 1). Find the equation of the line.
y 3x 4
1 5 3 c
c 14
Examples
1 Find the equation of the line passing through (0, 3) and (4, 5).
x
2 1 1 (4, 5)
Gradient = m=
4 2 2
2
(0, 3)
y-intercept = 3 c=3 4
y
1
The equation is: y x3
2
2 Find the equation of the line passing through (-1, 4) and (5, 2).
x
2 1 1
Gradient = m =
6 3 3 (-1, 4)
1 2
y xc (5, 2)
3 6
1
2 5c
3
2
c3
3
1 2
The equation is: y x 3
3 3
Finding the midpoint of a line
Examples
1 Find the midpoint of the line joining the points (1, 6) and (9, 2).
1 9 10
Mean of x coordinates = 5
2 2
62 8
Mean of y coordinates = 4
2 2
Midpoint = (5, 4)
2 Find the midpoint of the line joining the points (-2, 4) and (6, 2).
2 6 4
Mean of x coordinates = 2
2 2
42 6
Mean of y coordinates = 3
2 2
Midpoint = (2, 3)
3 Find the midpoint of the line joining the points (3, -5) and (-9, -7).
3 9 6
Mean of x coordinates = 3
2 2
5 7 12
Mean of y coordinates = 6
2 2