2
The line through a given point with a given slope, and through two points
Mathematics Prep 3 Term 1, Unit 3, Lesson 7
GoalWrite the equation of a line from a point and a slope, or from two points.
New words
point-slope form Β· y β yβ = m(x β xβ)substitute Β· put a number in place of a letterhorizontal line Β· y = constant, slope 0vertical line Β· x = constant, no slope
Explanation
If a line has slope m and passes through the point (xβ, yβ), any other point (x, y) on it satisfies (y β yβ) Γ· (x β xβ) = m, so y β yβ = m(x β xβ). Example: slope 3 through (2, 1): y β 1 = 3(x β 2), so y = 3x β 5. For a line through two points, first find m = (yβ β yβ) Γ· (xβ β xβ), then use either point. Example: (1, 2) and (3, 8): m = 6/2 = 3, so y β 2 = 3(x β 1), which gives y = 3x β 1. Check with the other point: 3 Γ 3 β 1 = 8. A horizontal line through (3, 4) is y = 4 and a vertical line through (3, 4) is x = 3.
Worked examples
Line through (β2, 5) and (4, β1). m = (β1 β 5)/(4 + 2) = β1. y β 5 = β1(x + 2), so y = βx + 3. Check: β4 + 3 = β1 β.
Slope 1/2 through (4, 3): y β 3 = (1/2)(x β 4), so y = x/2 + 1. Check at x = 4: 2 + 1 = 3 β.
A candle is 30 cm tall and burns 2 cm each hour. After 3 h it is 24 cm: points (0, 30) and (3, 24) give m = β2 and h = β2t + 30.
Class activity
Two-point line. Choose two points on squared paper, draw the line, read its y-intercept and slope, and write the equation. Check with a third point on the line.
Practice
1
Write the equation of the line with slope 2 through (1, 5).
y β 5 = 2(x β 1), y = 2x + 3.
2
Write the line through (0, 1) and (2, 7).
m = 3, y = 3x + 1.
3
Write the line through (1, 4) and (5, 4).
Same y: horizontal, y = 4.
4
Write the line through (3, β1) and (3, 6).
Same x: vertical, x = 3.
5
Does the point (4, 7) lie on y = 2x β 1?
2 Γ 4 β 1 = 7: yes.