• Foundation
  • About 13 min
  • 5 practice questions

The coordinate plane and the distance formula

Read and plot points on the coordinate plane, name the quadrant of a point, and find the distance between two points with the distance formula.

If something looks wrong, please tell us.

Coordinate geometry joins algebra and geometry. Once every point has a pair of numbers, a geometry question such as "how far apart are these two points?" or "is this triangle isosceles?" becomes a short calculation. This course starts from zero: what coordinates are, and how to measure distances with them. Every later lesson, on lines, circles and other curves, uses the ideas of this one.

Axes, origin and coordinates

Draw a horizontal number line, the x-axis, and a vertical number line, the y-axis. They cross at the origin O, where both numbers are 0. Any point P is then described by an ordered pair (x, y): x tells you how far to move right (positive) or left (negative) from the origin, and y tells you how far to move up (positive) or down (negative). The number x is called the abscissa and y the ordinate. Order matters: (2, 5) and (5, 2) are different points.

The four quadrants

The axes cut the plane into four parts called quadrants, numbered anticlockwise starting from the top right.

QuadrantSign of xSign of yExample point
First (I)++(3, 2)
Second (II)−+(−3, 2)
Third (III)−−(−3, −2)
Fourth (IV)+−(3, −2)

A point with y = 0, such as (4, 0), lies on the x-axis, and a point with x = 0, such as (0, −1), lies on the y-axis. Points on the axes belong to no quadrant.

The distance formula

Take two points A(x₁, y₁) and B(x₂, y₂). Draw a horizontal line through A and a vertical line through B. They meet at a point C, and ABC is a right-angled triangle. The horizontal side has length |x₂ − x₁| and the vertical side has length |y₂ − y₁|. By Pythagoras' theorem the distance AB is the square root of the sum of their squares.

Distance formula: AB = √[(x₂ − x₁)² + (y₂ − y₁)²]. The distance of P(x, y) from the origin is √(x² + y²).

Because the differences are squared, it does not matter which point you call A and which B, and negative differences cause no trouble. Distances are never negative.

Worked example 1: two distances

(a) A(2, 3) and B(5, 7). The differences are 5 − 2 = 3 and 7 − 3 = 4. AB = √(3² + 4²) = √(9 + 16) = √25 = 5. (b) P(−1, 2) and Q(3, −1). The differences are 3 − (−1) = 4 and −1 − 2 = −3. PQ = √(16 + 9) = 5. Be careful with signs: subtracting a negative number adds it.

Worked example 2: distance from the origin

The point (−6, 8) is at distance √((−6)² + 8²) = √(36 + 64) = √100 = 10 from the origin. The point (−5, 12) is at distance √(25 + 144) = 13.

Worked example 3: finding an unknown coordinate

The distance between (x, 2) and (1, −2) is 5. Find x. Square both sides: (x − 1)² + (2 − (−2))² = 25, so (x − 1)² + 16 = 25 and (x − 1)² = 9. Then x − 1 = 3 or x − 1 = −3, giving x = 4 or x = −2. Both points are 5 units from (1, −2), one on each side, so both answers are correct unless the question gives an extra condition.

Worked example 4: what kind of triangle?

For A(0, 0), B(6, 0) and C(3, 4): AB = 6, BC = √(9 + 16) = 5 and CA = √(9 + 16) = 5. Two sides are equal, so the triangle is isosceles. It is not right-angled, because 5² + 5² = 50 is not 6² = 36, and 5² + 6² is not 5². Finding all three sides first and then comparing is the safe routine.

Key takeaways: a point is an ordered pair (x, y); the signs of x and y tell you the quadrant. The distance formula is Pythagoras' theorem in coordinates. Square the differences, add, and take the square root. When a distance gives an equation, square both sides and expect two answers.

Check your understanding

  1. 1. In which quadrant does the point (−3, 5) lie?

    1. Second quadrant
    2. First quadrant
    3. Third quadrant
    4. Fourth quadrant
    Show answer

    Answer: A. x is negative and y is positive, which is the second quadrant.

  2. 2. What is the distance between the points (1, 2) and (4, 6)?

    1. 7
    2. 5
    3. √7
    4. 25
    Show answer

    Answer: B. √[(4 − 1)² + (6 − 2)²] = √(9 + 16) = √25 = 5.

  3. 3. What is the distance of the point (−5, 12) from the origin?

    1. 7
    2. 17
    3. 13
    4. √119
    Show answer

    Answer: C. √((−5)² + 12²) = √(25 + 144) = √169 = 13.

  4. 4. What is the distance between the points (2, −3) and (−4, 5)?

    1. 2√5
    2. √10
    3. 14
    4. 10
    Show answer

    Answer: D. Differences: −4 − 2 = −6 and 5 − (−3) = 8. Distance = √(36 + 64) = √100 = 10.

  5. 5. The triangle with vertices A(0, 0), B(6, 0) and C(3, 4) is:

    1. equilateral
    2. isosceles but not right-angled
    3. right-angled
    4. scalene
    Show answer

    Answer: B. AB = 6, BC = √(9 + 16) = 5, CA = √(9 + 16) = 5. Two equal sides; 5² + 5² = 50 ≠ 36, so it is not right-angled.

Privacy · Terms · Refunds · Delivery