BananaLearnLearning LibraryGames

Home / Learning Library / Maths

Grade 10 · Maths

Distance between two points: build the right triangle

On a map grid, moving 3 units across and 4 units up takes a 7-unit route along the grid. The straight-line distance is only 5 units.

The key idea

For points (x₁,y₁) and (x₂,y₂), distance = √[(x₂−x₁)² + (y₂−y₁)²]. The coordinate differences form the perpendicular sides of a right triangle.

By BananaLearn · Updated 30 October 2026

Suggested learning level; school sequencing and curriculum terminology may differ.

Before you start: Plot signed coordinates, square numbers and use Pythagoras.

Turn the coordinate difference into a triangle

For A(1,2) and B(4,6), the horizontal displacement is 4−1=3 and the vertical displacement is 6−2=4. Travel across then up to form two perpendicular legs. The direct segment from A to B is the hypotenuse, so its length is √(3²+4²)=5.

A grid route has length 3+4=7, but the straight-line distance is 5. Distance in this formula means the direct Euclidean distance on perpendicular axes with a common scale; it does not measure a walking route constrained by roads.

PointsHorizontal differenceVertical differenceDistance
(1,2), (4,6)345
(−2,3), (4,−5)6−810
(3,−2), (3,5)077
(0,0), (1,1)11√2
The horizontal difference from (1,1) to (5,4) is four and vertical difference three. The direct distance is five.
The horizontal difference from (1,1) to (5,4) is four and vertical difference three. The direct distance is five.

Derive the formula rather than memorising a sign pattern

For P(x₁,y₁) and Q(x₂,y₂), the two leg lengths are the absolute values of x₂−x₁ and y₂−y₁. Squaring removes their signs, so d²=(x₂−x₁)²+(y₂−y₁)². Distance is non-negative, so take the non-negative square root.

Keep each subtraction inside brackets: for −1 and 2, the difference is 2−(−1)=3. The expression (2−(−1))² is 9. Squaring the coordinates separately and then subtracting would calculate 4−1=3, a different expression.

Use squared distances when classifying a shape

To test whether two sides have equal length, compare their squared distances. If both squares are 25, both lengths are 5. This avoids unnecessary rounding. For a right triangle, test whether the largest squared side equals the sum of the other two squared sides.

For A(0,0), B(4,0), C(4,3), the squared lengths are AB²=16, BC²=9 and AC²=25. Since 16+9=25, the triangle is right-angled at B. The location of the right angle comes from the sides meeting there, not merely from the fact that a sum works.

A missing coordinate can have two solutions

Suppose (x,0) lies 5 units from (0,3). Then x²+(0−3)²=25, so x²=16 and x=4 or x=−4. Both points satisfy the distance. Taking only a positive x loses the point on the other side of the vertical axis.

Distance itself is non-negative; a coordinate may be negative. This is why the final distance uses the positive square root while solving a coordinate equation can require both signs. Check both candidates on a quick sketch.

Know when to leave a surd

For (1,1) to (3,4), distance is √13 units. Unless a decimal is requested, √13 is exact and clearer than an early rounded approximation. If comparing lengths, compare 13 with the other squared distance before rounding.

The distance formula does not find a midpoint. The midpoint averages each coordinate; distance uses differences and squares. Writing down what the question asks before choosing a formula prevents this common mix-up.

Worked examples: follow each decision

Distance between (2,1) and (8,9).

  1. Horizontal difference = 6; vertical difference = 8.
  2. d² = 36 + 64 = 100, so d = 10 units.
  3. 6 + 8 = 14 would measure a two-part grid route.

Distance between (−1,−2) and (2,2).

  1. Differences: 2 − (−1) = 3 and 2 − (−2) = 4.
  2. d = √(9 + 16) = 5 units.
  3. Brackets keep subtraction of negative coordinates clear.

Show that A(1,1), B(5,1), C(5,4) form a right triangle.

  1. AB²=16; BC²=9; AC²=25.
  2. 16+9=25, so the two shorter sides meet at a right angle.
  3. They meet at B. The check identifies the right angle and the lengths 4, 3 and 5.

13 questions with explained answers

Attempt a short group of questions before opening the solutions. Use a drawing or written method where helpful. Explain the answer, then try a similar question with a detail changed.

  1. (0,0) to (6,8)

    Show answer and reasoning

    10 units

    √(36 + 64) = 10.

  2. (3,−2) to (3,5)

    Show answer and reasoning

    7 units

    Vertical separation is 5 − (−2).

  3. (−4,1) to (2,1)

    Show answer and reasoning

    6 units

    The y-coordinates are equal.

  4. (0,0) to (1,1)

    Show answer and reasoning

    √2 units

    Exact distance is √(1 + 1).

  5. Does reversing the points change distance?

    Show answer and reasoning

    No

    The differences change sign but their squares do not.

  6. (−3,−4) to (0,0)

    Show answer and reasoning

    5 units

    √(9+16)=5.

  7. (1,1) to (3,4)

    Show answer and reasoning

    √13 units

    Differences 2 and 3 give 4+9.

  8. (−2,5) to (4,5)

    Show answer and reasoning

    6 units

    Horizontal separation only.

  9. Points (x,0) and (0,3) are 5 units apart. Find x.

    Show answer and reasoning

    4 or −4

    x²+9=25.

  10. A(0,0), B(3,0), C(0,4): longest side?

    Show answer and reasoning

    BC = 5

    AB=3, AC=4 and BC²=9+16.

  11. Can distance be −7?

    Show answer and reasoning

    No

    Distance is a non-negative length.

  12. Why is (5−2)² not 5²−2²?

    Show answer and reasoning

    They are 9 and 21 respectively

    The brackets require subtraction before squaring.

  13. All coordinates double. What happens to distances?

    Show answer and reasoning

    They double

    Both differences double; their squared sum quadruples and its root doubles.

Check what you can now explain

  • Have you subtracted matching coordinates inside brackets?
  • Is the question about a direct distance or a route?
  • Could a missing coordinate have two solutions?

Keep these distinctions clear

  • Square the whole difference: (4 − 1)² = 9, not 4² − 1² = 15.
  • The formula assumes perpendicular axes with the same unit scale.

Save a useful copy

Download the practice and answer pack with BananaLearn branding and the matching guide address. Questions and answers are separated so you can attempt the work first.

Download printable PDF

Keep the ideas connected

For help with an ongoing school-learning difficulty, read how Maths tutoring works or ask about English or Science support. Share a specific example your child found difficult.

Sources and scope

Original explanations, examples, visual models and practice by BananaLearn. This guide is not an official textbook extract, exam paper or endorsed assessment resource.

The examples teach the stated concept; check your school’s terminology and sequence when using the guide alongside a course.

How we prepare learning guides · Tell us about a correction