Distance Between Two Points in Three Dimensions
Let P(x1, y1, z1) and Q(x2, y2, z2) be two points in 3D space. The Euclidean distance PQ between them is given by:
In particular, the distance of point P(x, y, z) from the Origin O(0, 0, 0) is:
1. Geometric Derivation of the Formula
Construct a rectangular parallelepiped (cuboid) having edges parallel to the coordinate axes with P and Q as opposite vertices of a space diagonal:
- Length along X-axis: Δx = |x2 − x1|
- Breadth along Y-axis: Δy = |y2 − y1|
- Height along Z-axis: Δz = |z2 − z1|
By applying the Pythagorean theorem twice in mutually perpendicular planes:
2. Geometric Applications of the Distance Formula
1. Collinearity of Three Points
Points A, B, and C are collinear if and only if the sum of the distances between two pairs equals the third distance:
2. Nature of Triangles in 3D
- Equilateral: AB = BC = CA
- Isosceles: Any two sides equal (e.g., AB = AC)
- Right-angled: Satisfies Pythagoras theorem: AB2 + BC2 = AC2
3. Classification of Quadrilaterals in 3D Space
- Parallelogram: Opposite sides are equal (AB = CD and BC = DA) AND diagonals bisect each other (same mid-point).
- Rectangle: Parallelogram with equal diagonals (AC = BD).
- Rhombus: Parallelogram with all four sides equal (AB = BC = CD = DA).
- Square: Rhombus with equal diagonals (AC = BD).
3. Locus Problems in Three Dimensions
The equation of the locus of a moving point P(x, y, z) satisfying a given geometric condition is obtained by translating the condition into an algebraic equation using the distance formula.
- Sphere: Locus of a point P(x, y, z) equidistant from a fixed centre C(h, k, l):
(x − h)2 + (y − k)2 + (z − l)2 = r2
- Right Bisector Plane: Locus of points equidistant from two fixed points A and B: PA = PB.
4. Solved Examples for JEE Main & NCERT
Example 1 (Collinearity): Show that the points A(−2, 3, 5), B(1, 2, 3), and C(7, 0, −1) are collinear.
Solution:
- AB = √[(1 − (−2))2 + (2 − 3)2 + (3 − 5)2] = √[9 + 1 + 4] = √14
- BC = √[(7 − 1)2 + (0 − 2)2 + (−1 − 3)2] = √[36 + 4 + 16] = √56 = 2√14
- AC = √[(7 − (−2))2 + (0 − 3)2 + (−1 − 5)2] = √[81 + 9 + 36] = √126 = 3√14
Since AB + BC = √14 + 2√14 = 3√14 = AC, the points A, B, and C are strictly collinear, with B lying between A and C.
Example 2 (Locus): Find the equation of the set of points P(x, y, z) which are equidistant from the points A(1, 2, 3) and B(3, 2, −1).
Solution:
Condition: PA = PB ⇒ PA2 = PB2
Expanding and cancelling common terms (x2, y2, z2, and (y − 2)2):
−2x + 1 − 6z + 9 = −6x + 9 + 2z + 1
4x − 8z = 0 ⇒ x − 2z = 0 (a plane bisecting AB perpendicularly).
Practice problems
Try each problem yourself first, then open the solution to check your working.
Problem 1. Find the point on the y-axis which is equidistant from A(3, 1, 2) and B(5, 5, 4).
Show answer
Let the point be (0, y, 0). Then 32 + (y â 1)2 + 22 = 52 + (y â 5)2 + 42.
13 + y2 â 2y + 1 = 41 + y2 â 10y + 25, so 8y = 52 and y = 13/2.
Check: both squared distances equal 173/4.
Answer: (0, 13/2, 0).
Problem 2. Show that the points A(3, 2, â4), B(5, 4, â6) and C(9, 8, â10) are collinear.
Show answer
AB = â(4 + 4 + 4) = 2â3. BC = â(16 + 16 + 16) = 4â3. AC = â(36 + 36 + 36) = 6â3.
AB + BC = 2â3 + 4â3 = 6â3 = AC, so B lies on the segment AC.
Answer: the three points are collinear.
Problem 3. Find the equation of the locus of a point P(x, y, z) that is equidistant from A(1, 2, 3) and B(â3, 4, 5).
Show answer
PA2 = PB2: (x â 1)2 + (y â 2)2 + (z â 3)2 = (x + 3)2 + (y â 4)2 + (z â 5)2.
Left side: x2 + y2 + z2 â 2x â 4y â 6z + 14. Right side: x2 + y2 + z2 + 6x â 8y â 10z + 50.
Equating: 8x â 4y â 4z + 36 = 0, i.e. 2x â y â z + 9 = 0.
Check: the mid-point (â1, 3, 4) of AB satisfies â2 â 3 â 4 + 9 = 0.
Answer: 2x â y â z + 9 = 0 (the perpendicular bisector plane of AB).
Saved on this device only â no account, no sign-in.