MATH BOSS

All lessons

How do I find the distance between two points?

Stairs, Pythagoras and a root: that is the distance.

Grades 8 to 10 · Free. No sign-up. No ads. Nothing is collected.

Watch it live in 3D

A live lesson where things move and you can try. Lesson page with the outline

Example

Vertices of a triangle: A(−3,10), B(−3,2), C(8,6).

Answer: AB=8,BC=√137,AC=√137,BC=AC,P=8+2√137≈31.41,S=44

Try it yourself: Vertices of a triangle: A(0,0), B(3,4), C(6,0).

Why do I need this?

On a city map the school is at (1,1) and the park at (5,9). How far apart are they?

√42+82

The idea

Any two points on the plane are corners of a right triangle hiding between them.

A(1,1)B(5,9)
2468246810ABC

Step by step

  1. Stairs between the points

    Between the two points draw a horizontal side and a vertical side.

    A(1,1)B(5,9)
    2468246810ABC

    Why? A right triangle appears, and the segment from A to B is its hypotenuse.

  2. Measure the stairs

    The horizontal side is the x difference, the vertical side is the y difference.

    5−1=4
    9−1=8
    246824681048ABC
  3. Pythagoras

    The line between the points is the hypotenuse, so we use Pythagoras.

    AB2=42+82=80
    AB=√80=4√5
    246824681048ABABC

    Why? The root of 80 is about 8.9, a little less than 9.

  4. The midpoint of the segment

    The midpoint M is the average of the x values and the y values.

    M=(1+52,1+92)
    M=(3,5)
    2468246810ABM

More cases and examples

  1. Slope

    Slope is the change in y divided by the change in x, from the same stair triangle.

    9−15−1=84
    =2
    246824681048ABC
  2. An isosceles triangle

    In triangle A(−3,10), B(−3,2), C(8,6) two distances are equal, so it is isosceles.

    AC=√112+42=√137
    BC=√112+42=√137
    −4−224681024681012ABC

The rule

The distance formula

When to use it: Between any two points on the coordinate plane.

d=√(x2−x1)2+(y2−y1)2
  • dthe distance between the two points
  • x1,y1the coordinates of the first point, A
  • x2,y2the coordinates of the second point, B

Watch out: Adding the differences gives the length of the stairs, not the straight distance.

Common mistakes

  • Wrong
    AB=√42+82=4+8=12
    Right
    AB=√16+64=√80

    Square, add, and only then take the root.

  • Wrong
    M=(5−1,9−1)=(4,8)
    Right
    M=(1+52,1+92)=(3,5)

    The midpoint is an average, not a difference.

  • Wrong
    (−3)2=−9
    Right
    (−3)2=9

    A negative times a negative gives a positive.

How to study this topic

  1. Read the idea first
  2. Then go through the steps, covering each result before you read it
  3. Then learn the rule
  4. Finally, check the common slips
Watch it live in 3D

A live lesson where things move and you can try. Lesson page with the outline

Related lessons