The distance formula is a fundamental concept in coordinate geometry used to find the straight-line distance between two points on a plane. It is based on the Pythagorean theorem and allows us to measure how far apart two points are, even if they are not aligned horizontally or vertically.
In this chapter, you will learn how to find the distance between two points whose coordinates are given.
The distance formula is used to find the straight-line distance between two points in a coordinate plane. If two points are P(x1, y1) and Q(x2, y2), then:
PQ = √((x2 − x1)2 + (y2 − y1)2)
Let P(x1, y1) and Q(x2, y2) be any two points.
Then:
This is the distance formula.
NOTE: Distance from origin O(0,0): OP = √(x2 + y2)
Example 1: Do A(1,2), B(4,6), C(7,2) form a triangle?
Solution:
AB = √((4 − 1)2 + (6 − 2)2) = √(32 + 42) = 5
BC = √((7 − 4)2 + (2 − 6)2) = 5
CA = √((7 − 1)2 + (2 − 2)2) = 6
Since two sides are equal, the triangle is isosceles.
Example 2: Check if P(1,2), Q(3,6), R(5,10) are collinear.
Solution:
PQ = 2√5
QR = 2√5
PR = 4√5
Since PQ + QR = PR, the points are collinear.
Example 3: Find relation between x and y if (x, y) is equidistant from (7,1) and (3,5).
Solution:
(x − 7)2 + (y − 1)2 = (x − 3)2 + (y − 5)2
Simplifying:
x − y = 2
The distance between two points P(x1, y1) and Q(x2, y2) in a plane is given by: PQ = √((x2 − x1)2 + (y2 − y1)2)
The distance formula is based on Pythagoras' theorem.
No. The distance between two points cannot be negative. It is always 0 or positive, as it represents length.
Admissions Open for 2026-27
Admissions Open for 2026-27
CBSE Schools In Popular Cities