Steply

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

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

Step by step

The question

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

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

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 (1, 5).

The first point is (−2, −1).

m = 5 − (−1)1 − (−2)

Taking away a negative is the same as adding.

− (−) = +

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

m = 5 + 11 + 2

5 plus 1 is 6.

1 plus 2 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 (−2, −1) to (x, y).

The rise is y − (−1): the change in y.

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

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

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

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

Taking away a negative is the same as adding.

− (−) = +

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

y + 1 = 2(x + 2)

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 + 1 = 2 × x + 2 × 2

Work out each multiplication.

Now we have y + 1 = 2x + 4.

y + 1 = 2x + 4

We want y by itself.

The + 1 is in the way.

To remove + 1, we take away 1.

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

y + 1 − 1 = 2x + 4 − 1

+ 1 and − 1 make zero.

Cross them out.

4 minus 1 is 3.

So y = 2x + 3.

y = 2x + 3

4 Check

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

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

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

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

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

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

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 + 1 = 2(x + 2)

Your turn

Try this one yourself, then check:

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

More from Point-slope form

The whole lesson: Point-slope form →