Writing the Equation of a Line
Given a line in any form, you can write its equation. You always need the same two things: the slope m and the intercept b.
From two points
A line passes through (1, 5) and (3, 11). Slope: (11 − 5) ÷ (3 − 1) = 6 ÷ 2 = 3. So . Put in the point (1, 5): , so b = 2.
The equation is . Check with the other point: 3 × 3 + 2 = 11.
From a story or a table
A taxi charges $3 to start and $2 for each kilometer. The start is the intercept and the charge per km is the slope: .
From a table, find the steady change for m and use the row (or one point) for b.
What to remember
Slope first, then the intercept. A check with a second point catches almost every slip.
Careful
Put the slope in first. You can't find b until you know m.
Try it at home
- Pick two points on squared paper.
- Find the slope, then find b using one of the points.
- Test the other point in your equation.
Words in this lesson
- equation of a line - the rule y = mx + b that is true for every point on the line.
Big idea
Find m from two points or a steady change, find b with one point, and write .