Steply

Point-slope (-1, 5) (2, -1)

Step by step, with the reason for every step · Point-slope form · Algebra 1

Step by step

The question

Question: write the line through (−1, 5) and (2, −1) in point-slope form.

(−1, 5) and (2, −1)

1 Find the slope

We call the slope m.

m = rise over run.

The top is the change in y: second y minus first y.

The bottom is the change in x: second x minus first x.

m = riserun = y2 − y1x2 − x1

Put the numbers in.

The second point is (2, −1).

The first point is (−1, 5).

m = −1 − 52 − (−1)

Taking away a negative is the same as adding.

− (−) = +

So it becomes (−1 − 5)/(2 + 1).

m = −1 − 52 + 1

−1 minus 5 is −6.

2 plus 1 is 3.

m = −63

−6 divided by 3 is −2.

So m = −2.

m = −2

2 Rise = m × run

m = rise over run.

So the rise is m times the run.

rise = m × run

Like 8/2 is 4, so 8 is 4 times 2.

82 = 4 → 8 = 4 × 2

Take any point (x, y) on the line.

We go from (−1, 5) to (x, y).

The rise is y − 5: the change in y.

The run is x − (−1): the change in x.

rise = y − 5
run = x − (−1)

Put them in: rise = m × run becomes y − 5 = −2(x − (−1)).

y − 5 = −2(x − (−1))

Taking away a negative is the same as adding.

− (−) = +

So it becomes y − 5 = −2(x + 1).

y − 5 = −2(x + 1)

This is called point-slope form.

It is made from a point and the slope.

y − y1 = m(x − x1)

3 Write as y = mx + b

The −2 in front of the bracket multiplies every part inside.

So we write −2 times each part.

y − 5 = −2 × x − 2 × 1

Work out each multiplication.

Now we have y − 5 = −2x − 2.

y − 5 = −2x − 2

We want y by itself.

The − 5 is in the way.

To remove − 5, we add 5.

We do it on both sides, so they stay equal.

y − 5 + 5 = −2x − 2 + 5

− 5 and + 5 make zero.

Cross them out.

−2 plus 5 is 3.

So y = −2x + 3.

y = −2x + 3

4 Check

Let's check: put x = −1 into y = −2x + 3.

We get 5, the y of (−1, 5).

y = −2(−1) + 3 = 2 + 3 = 5

Now x = 2 into y = −2x + 3.

We get −1, the y of (2, −1).

y = −2(2) + 3 = −4 + 3 = −1

And the number in front of x is −2: the slope.

Right!

m = −2

Let's look back.

First: find the slope.

Then: rise = m × run.

Then: write as y = mx + b.

Last: check.

Answer
y − 5 = −2(x + 1)

Your turn

Try this one yourself, then check:

Write the line through (−1, 8) and (2, −1)
Show the answer
y − 8 = −3(x + 1), y = −3x + 5

More from Point-slope form

The whole lesson: Point-slope form →