← Back to all lessons
Class 12Geometry5:22Published 19 Jan 2026

3D Geometry: Foot of Perpendicular, Image, and Distance

A worked 3D geometry problem: find the foot of the perpendicular from a point to a line, the image of the point in that line, and the perpendicular distance.

This lesson works through a single, exam-style 3D coordinate geometry question step by step. Starting from the point and the line in symmetric form, it writes a general point on the line using a parameter, then uses the perpendicularity condition to find the foot of the perpendicular. From there it reflects the original point to get its image and uses the distance formula to find the length of the perpendicular.

What you'll learn

  • Write a general point on a line by setting its symmetric form equal to a parameter
  • Use the perpendicularity condition between direction ratios to find the foot of the perpendicular
  • Find the image of a point in a line by treating the foot as the midpoint
  • Apply the distance formula to find the length of the perpendicular

Lesson chapters

0:00The problem: foot, image, and distance
0:41A general point on the line using lambda
1:32Direction ratios and the perpendicularity condition
3:03Solving for lambda and the foot of the perpendicular
3:33Image of the point using the midpoint
4:33Length of the perpendicular by the distance formula

Lesson notes

This lesson works through one 3D coordinate geometry question: given the point P(0,2,3)P(0, 2, 3) and the line x+35=y12=z+43\dfrac{x+3}{5} = \dfrac{y-1}{2} = \dfrac{z+4}{3}, we find the foot of the perpendicular from PP to the line, the image of PP in the line, and the length of the perpendicular.

A general point on the line

Set each ratio equal to a parameter λ\lambda:

x+35=y12=z+43=λ\frac{x+3}{5} = \frac{y-1}{2} = \frac{z+4}{3} = \lambda

Solving each part gives a general point on the line in terms of λ\lambda:

x=5λ3,y=2λ+1,z=3λ4x = 5\lambda - 3, \qquad y = 2\lambda + 1, \qquad z = 3\lambda - 4

Let M(5λ3,  2λ+1,  3λ4)M(5\lambda - 3,\; 2\lambda + 1,\; 3\lambda - 4) be the foot of the perpendicular from PP to the line.

Direction ratios and the perpendicularity condition

The direction ratios of PMPM come from subtracting the coordinates of P(0,2,3)P(0, 2, 3) from those of MM:

PM:(5λ3,  2λ1,  3λ7)PM:\quad (5\lambda - 3,\; 2\lambda - 1,\; 3\lambda - 7)

The direction ratios of the line are the denominators:

AB:(5,  2,  3)AB:\quad (5,\; 2,\; 3)

Since PMPM is perpendicular to the line, the sum of the products of corresponding direction ratios is zero:

5(5λ3)+2(2λ1)+3(3λ7)=05(5\lambda - 3) + 2(2\lambda - 1) + 3(3\lambda - 7) = 0

Expanding:

25λ15+4λ2+9λ21=025\lambda - 15 + 4\lambda - 2 + 9\lambda - 21 = 0

38λ38=0λ=138\lambda - 38 = 0 \quad\Longrightarrow\quad \lambda = 1

The foot of the perpendicular

Substitute λ=1\lambda = 1 back into MM:

M=(5(1)3,  2(1)+1,  3(1)4)=(2,  3,  1)M = (5(1) - 3,\; 2(1) + 1,\; 3(1) - 4) = (2,\; 3,\; -1)

So the foot of the perpendicular is M(2,3,1)M(2, 3, -1).

Image of the point

Let P(α,β,γ)P'(\alpha, \beta, \gamma) be the image of PP in the line. The foot MM is the midpoint of PPPP':

(2,  3,  1)=(α+02,  β+22,  γ+32)(2,\; 3,\; -1) = \left(\frac{\alpha + 0}{2},\; \frac{\beta + 2}{2},\; \frac{\gamma + 3}{2}\right)

Equating each coordinate:

x:   2=α2α=4\;2 = \dfrac{\alpha}{2} \Rightarrow \alpha = 4

y:   3=β+226=β+2β=4\;3 = \dfrac{\beta + 2}{2} \Rightarrow 6 = \beta + 2 \Rightarrow \beta = 4

z:   1=γ+322=γ+3γ=5\;-1 = \dfrac{\gamma + 3}{2} \Rightarrow -2 = \gamma + 3 \Rightarrow \gamma = -5

So the image is P(4,4,5)P'(4, 4, -5).

Length of the perpendicular

The length of the perpendicular is the distance PMPM between P(0,2,3)P(0, 2, 3) and M(2,3,1)M(2, 3, -1):

PM=(02)2+(23)2+(3(1))2PM = \sqrt{(0 - 2)^2 + (2 - 3)^2 + (3 - (-1))^2}

PM=(2)2+(1)2+42=4+1+16=21 unitsPM = \sqrt{(-2)^2 + (-1)^2 + 4^2} = \sqrt{4 + 1 + 16} = \sqrt{21}\ \text{units}

Key takeaways

  • A general point on a line in symmetric form is found by setting the ratios equal to a parameter λ\lambda.
  • The foot of the perpendicular comes from the condition that the direction ratios of PMPM and the line satisfy a1a2+b1b2+c1c2=0a_1 a_2 + b_1 b_2 + c_1 c_2 = 0.
  • The image of a point in a line is found by treating the foot of the perpendicular as the midpoint of the point and its image.
  • The length of the perpendicular is the distance between the point and the foot, here 21\sqrt{21} units.