← All guides

Point-slope form: y − y₁ = m(x − x₁)

Write the equation of a line from one point and a slope, or from two points, with point-slope form, then convert it to y = mx + b.

Video lesson: Point-slope form (free, with subtitles)

y − y₁ = m(x − x₁)

Use it when you know the slope m and any one point (x₁, y₁) on the line. It comes straight from the slope formula: (y − y₁)/(x − x₁) = m, multiplied out.

From a point and a slope

Slope 4, through (3, −2): y − (−2) = 4(x − 3), so y + 2 = 4(x − 3). To get slope-intercept form: y + 2 = 4x − 12, so y = 4x − 14.

Check: x = 3 gives 12 − 14 = −2 ✓

From two points

Through (1, 5) and (4, −1):

Check the other point: −2(4) + 7 = −1 ✓

Watch the signs

The formula has minus signs built in. A point with a negative coordinate turns them into plus signs: through (−2, 5) the equation starts y − 5 = m(x + 2).

Practice it free

Watch the full lesson and try questions with new numbers every time, with the worked steps shown if you get one wrong.

Practice: Point-slope form All courses