Steply

Distance between (-7, 3) and (5, -2)

Step by step, with the reason for every step · Distance between two points · Geometry

Step by step

The question

Question: find the distance between (−7, 3) and (5, −2).

(−7, 3) and (5, −2)

1 Plot the points

Draw the grid.

Put both points on the grid: (−7, 3)

and (5, −2).

The distance is the length of this line.

We call it d.

2 Make a right triangle

From the left point, go across.

From x = −7 to x = 5 is 12.

We call it a = 12.

Then go down.

From y = 3 to y = −2 is 5.

A length is never negative.

So b = 5.

Across and down make a right angle.

The distance d is the longest side.

3 Use a² + b² = c²

The rule for every right triangle: a² + b² = c².

a2 + b2 = c2

Here c is the distance d.

c = d

Now put the numbers in: a = 12 and b = 5.

122 + 52 = d2

12² means 12 times 12.

That is 144.

122 = 12 × 12 = 144

5² means 5 times 5.

That is 25.

52 = 5 × 5 = 25

Write the squares: 144 + 25 = d².

144 + 25 = d2

144 plus 25 is 169.

169 = d2

d² is 169.

So d is the square root of 169.

d = √169

13 times 13 is 169.

13 × 13 = 169

So d = 13.

The distance is 13.

d = 13

4 Check

Let's check with the distance formula.

It does the same steps in one line.

d = √(x2 − x1)2 + (y2 − y1)2

Put in the numbers of (5, −2) and (−7, 3).

= √(5 − (−7))2 + (−2 − 3)2

5 minus −7 is 12.

Taking away a negative is adding.

−2 minus 3 is −5.

Careful: (−5)² is −5 times −5.

Minus times minus is plus: 25, not −25.

= √122 + (−5)2 (−5)² = 25, not −25

144 plus 25 is 169.

The square root is 13 again.

Right!

= √169 = 13

Let's look back.

First: plot the points.

Then: make a right triangle.

Then: use a² + b² = c².

Last: check.

Answer
d = 13

Your turn

Try this one yourself, then check:

Find the distance between (−5, 3) and (3, −3)
Show the answer
d = 10

More from Distance between two points

The whole lesson: Distance between two points →