Straight Lines
What this chapter covers
- Make the connection between the equation y = mx + c, the gradient and the y-intercept, and describe lines parallel to the x-axis and the y-axis (9.1.1)
- Interpret straight line equations in the forms ax + by = c and x/a + y/b = 1, and change them to y = mx + c and back (9.1.2)
- Decide whether a point lies on a straight line by checking that its coordinates satisfy the equation (9.1.3)
- Show that straight lines with the same gradient are parallel and use this to find unknown values (9.1.4)
- Determine the equation of a straight line from its gradient and a point, from two points, or when it is parallel to a given line (9.1.5)
- Find the point of intersection of two straight lines by the graphical, substitution and elimination methods (9.1.6)
- Solve problems involving straight lines, including parallelograms and trapeziums on a Cartesian plane (9.1.7)
Normally every building is built upright, but the Leaning Tower of Teluk Intan, built in 1885, leans because of the soil underneath. Its sloping edge is a good picture of a straight line with a gradient. Straight lines are used in engineering, architecture, construction, mapping and sport. In this chapter you will describe a straight line with an equation, and use the equation to find its gradient, intercepts, points on it, parallel lines and where two lines meet.
Context: Mathematics Form 3 (DLP) textbook, p. 224. Content and examples follow Chapter 9, pp. 224–251.
| English | Bahasa Melayu |
|---|---|
| straight line, parallel line | garis lurus, garis selari |
| gradient | kecerunan |
| vertical distance, horizontal distance | jarak mencancang, jarak mengufuk |
| axis, intercept | paksi, pintasan |
| equation, simultaneous equations | persamaan, persamaan serentak |
| point of intersection | titik persilangan |
9.1Straight lines
The equation y = mx + c
In Form 2 you drew graphs from a table of values. A linear function always gives a straight line. A non-linear function (a curve such as a parabola or a reciprocal graph) does not.
| Value of m | Shape of the line |
|---|---|
| m > 0 | slopes upwards from left to right |
| m < 0 | slopes downwards from left to right |
| m = 0 | horizontal, parallel to the x-axis (y = h) |
(a) Compare with y = mx + c: m = 2 and c = 9. Gradient = 2, y-intercept = 9.
(b) The coefficient of y must be +1, so divide every term by 3: y = −23x + 4.
Gradient = −23, y-intercept = 4.
Lines parallel to the axes
A vertical line passes through (4, 0), (4, 4) and (4, 8). Every point has x = 4, so the line is x = 4 and h = 4.
Show answerHide answer
(b) y = −3 and x = −2.
Other forms of the equation
The same line can be written in three forms.
| Form | What you can read off |
|---|---|
| y = mx + c | gradient m, y-intercept c |
| ax + by = c | find intercepts by putting x = 0 or y = 0 |
| xa + yb = 1 (a ≠ 0, b ≠ 0) | x-intercept a, y-intercept b |
In the form xa + yb = 1: divide by 12 so that the right side is 1: 2x12 + 3y12 = 1, so x6 + y4 = 1.
In the form y = mx + c: 3y = −2x + 12, so y = −23x + 4.
Both show x-intercept 6 and y-intercept 4.
Multiply by the common denominator 6: x + 2y = 6.
Make y the subject: 2y = −x + 6, so y = −12x + 3.
Move the x term: 2x + y = 8.
Divide by 8: 2x8 + y8 = 1, so x4 + y8 = 1.
Show answerHide answer
Points on a straight line
(b) 3x − 2y = 12, P(−4, 2): left side 3(−4) − 2(2) = −16, not 12. No.
(c) x3 + y2 = 1, P(6, −2): 63 + −22 = 2 − 1 = 1. Yes.
(a) y = 0: 3h = 15, so h = 5. (b) x = 0: 5k = 15, so k = 3.
(c) x = 2: 6 + 5q = 15, so q = 95. (d) Gradient = −35 (that is, −kh).
Show answerHide answer
Parallel lines
To compare gradients, first change each equation to y = mx + c.
y = 3x + 8 and 6y = 3x − 9: the second gives y = 12x − 32. Gradients 3 and 12 differ, so they are not parallel.
First line: y = −43x + 6, gradient −43. Second line: y = −2hx + 20h, gradient −2h.
Equal gradients: 43 = 2h, so h = 32.
Show answerHide answer
Finding the equation of a straight line
- Find the gradient m.
- Find a point (x, y) that the line passes through.
- Substitute m, x and y into y = mx + c and solve for c.
- Write the equation y = mx + c with the values of m and c.
The equation is y = 12x + 5.
Two points. The gradient is the vertical distance divided by the horizontal distance: m = y₂ − y₁x₂ − x₁. Then use step 3 with either point.
m = −7 − 52 − (−1) = −123 = −4.
Use P: 5 = (−4)(−1) + c, so c = 1. The equation is y = −4x + 1.
RS passes through A(2, 4) and N(2, 0): m = 4 − 02 − 2 = 40, which is undefined, and the line is always 2 units from the y-axis, so x = 2.
A line through a point, parallel to a given line
Parallel lines have the same gradient. Find the gradient of the given line, then use the point to find c.
Parallel to 2x + 3y = 12 through G(6, 8): first y = −23x + 4, so m = −23. Then 8 = −23(6) + c gives c = 12. The equation is y = −23x + 12.
Show answerHide answer
(b) m = −4 − 43 − (−1) = −2. Then 4 = (−2)(−1) + c, c = 2, so y = −2x + 2.
Point of intersection of two straight lines
Two lines that are not parallel meet at exactly one point. Its coordinates satisfy both equations, so it is the solution of the simultaneous equations. There are three methods.
| Method | What you do |
|---|---|
| Graphical | Draw both lines on the same Cartesian plane (a table of values or the two intercepts) and read the point where they cross. |
| Substitution | Make one variable the subject of one equation and substitute it into the other. |
| Elimination | Make the coefficients of one variable equal, then add or subtract the equations. |
Elimination. Multiply the first equation by 2: 4x + 2y = 10. Subtract x + 2y = 1: 3x = 9, so x = 3. Then 2(3) + y = 5 gives y = −1.
Point of intersection: (3, −1). Check in both equations.
Show answerHide answer
Solving problems with straight lines
Use the four steps: understand the problem, plan a strategy, carry it out, then conclude and check.
Understand and plan: PQ is parallel to SR, so the gradient of PQ is 12. PS passes through P(−4, 6) and T(0, −4).
(a) h − 60 − (−4) = 12, so h − 6 = 2 and h = 8.
(b) Gradient of PS = −4 − 60 − (−4) = −52, y-intercept −4: y = −52x − 4.
(c) Put y = 0: 52x = −4, so x-intercept = −85.
Check: −13(3) + 3 = 2 and 2(3) − 2 = 4.
Quick reference
| To find | Do this |
|---|---|
| Gradient and y-intercept | Write as y = mx + c (coefficient of y is +1) |
| x-intercept | Put y = 0 |
| y-intercept | Put x = 0 |
| Gradient from the intercepts | m = −y-interceptx-intercept |
| Is a point on the line? | Substitute; both sides must be equal |
| Are two lines parallel? | Same gradient m |
| Equation from gradient and a point | Substitute into y = mx + c, find c |
| Equation from two points | m = y₂ − y₁x₂ − x₁, then find c |
| Intersection of two lines | Graph, substitution or elimination |