Try it yourself · Class 10 Maths · Coordinate Geometry

Distance between two points: move A and B on the grid

The straight distance between two points is the hypotenuse of a right triangle whose legs run across and up. Squaring the two leg lengths, adding and taking the root gives the distance formula.

Legs , ; is the hypotenuse.

The simulation needs JavaScript; everything it shows is explained below.

What to change

  • Slide A: x1 and A: y1 from -6 to 6 and -5 to 5 to move point A.
  • Slide B: x2 and B: y2 the same way to move point B.
  • Make A and B share a row or a column and watch the triangle flatten into a line.

What to watch

  • At the start A is (-3, -2) and B is (1, 1). The readout shows across 4, up 3 and sum of squares 25, so the distance is √25 = 5.00.
  • Put A at (2, 3) and B at (-2, 3). They share a row, so up is 0 and the distance is simply across 4, which is 4.00.
  • Put A at (-3, -2) and B at (3, 4). Across 6 and up 6 give a sum of squares of 72, so the distance is √72 = 8.49, not 12.
  • The order of A and B does not matter. Swap them and the readout stays the same.

The formula

The legs are and , and is the hypotenuse, so Pythagoras gives the formula.

Try these questions

Work each one out with the simulation, tap to see the answer, then try the chapter quiz.

  1. Bihar Board 2016

    Distance between the points and will be
    1. 3
    2. 4
    3. 5
    Show the answer
    (B) 4
  2. Bihar Board 2018

    Find the distance between (-1, 3) and (-5, 7).
    Show the answer
    4*√2

More to try in Coordinate Geometry

Every simulation in the Lab