PYQ Vault

JEE Mains Maths · Three Dimensional Geometry

Foot, Image and Distance from a Line

Dropping a perpendicular from a point to a line in space: where it lands (the foot), the mirror image of the point in the line, how far the point is from the line, and triangles that have one side on the line.

Why this matters

Fifty-seven PYQs, the second-largest page in the chapter, and almost all of them start the same way: write the line's general point, then force it to be perpendicular. Four ideas cover the page.

Concept 1 of 4: The foot of the perpendicular on a line

Every point of the line is A+td⃗A+t\vec d for one number tt. The foot MM of the perpendicular from PP is the one for which PM⃗\vec{PM} is perpendicular to d⃗\vec d. That single dot-product equation is linear in tt, so the foot always comes out in one step.

Definition

  • General point of the line: M=A+td⃗M=A+t\vec d.
  • Condition: (M−P)⋅d⃗=0(M-P)\cdot\vec d=0.
  • Solving: t=(P−A)⋅d⃗∣d⃗∣2t=\frac{(P-A)\cdot\vec d}{|\vec d|^2}.
  • The same equation, read backwards, finds an unknown in PP when the foot is given.

Parameter of the foot

t=(P−A)⋅d⃗∣d⃗∣2,M=A+td⃗t=\frac{(P-A)\cdot\vec d}{|\vec d|^2},\qquad M=A+t\vec d

Worked example

Find the foot of the perpendicular from P(1,2,3)P(1,2,3) to x−12=y+11=z2\frac{x-1}{2}=\frac{y+1}{1}=\frac{z}{2}.
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

JEE Mains · 2024 · 30 Jan 2024 · Q70Moderate

Example 1 · Three Dimensional Geometry · Foot, Image and Distance from a Line

Let (α,β,γ)(\alpha,\beta,\gamma) be the foot of perpendicular from the point (1,2,3)(1,2,3) on the line x+35=y−12=z+43\frac{x+3}{5}=\frac{y-1}{2}=\frac{z+4}{3}. Then 19(α+β+γ)19(\alpha+\beta+\gamma) is equal to:

Divide by ∣d⃗∣2|\vec d|^2, not ∣d⃗∣|\vec d|

tt multiplies d⃗\vec d itself, so the projection must be divided by the SQUARED length. Using ∣d⃗∣|\vec d| gives a point that is off the perpendicular.

Concept 2 of 4: The image of a point in a line

The image QQ of PP in a line is as far beyond the line as PP is in front of it, along the same perpendicular. So the foot MM is the midpoint of PQPQ, and Q=2M−PQ=2M-P. Find the foot, then double it.

Definition

  • MM = foot from PP; image Q=2M−PQ=2M-P.
  • PQPQ is perpendicular to the line and its midpoint lies on the line.
  • When the image is given with unknowns, use both facts: the midpoint is on the line, and PQ⃗⋅d⃗=0\vec{PQ}\cdot\vec d=0.
  • A point on the line is its own image.

Image from the foot

Q=2M−PQ=2M-P

Worked example

Find the image of P(1,2,3)P(1,2,3) in x−12=y+11=z2\frac{x-1}{2}=\frac{y+1}{1}=\frac{z}{2}.
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

JEE Mains · 2025 · 28 Jan 2025 · Q62Moderate

Example 2 · Three Dimensional Geometry · Foot, Image and Distance from a Line

If the image of the point (4,4,3)(4,4,3) in the line x−12=y−21=z−13\frac{x - 1}{2}=\frac{y - 2}{1}=\frac{z - 1}{3} is (α,β,γ)(\alpha,\beta,\gamma), then α+β+γ\alpha + \beta + \gamma is equal to

2M−P2M-P, not M+PM+P

The foot is the MIDPOINT of PP and its image, so Q=2M−PQ=2M-P. Adding MM and PP gives a point nowhere near the line.

Concept 3 of 4: Distance of a point from a line

The distance is the length PMPM to the foot. A faster route skips the foot: the parallelogram on AP⃗\vec{AP} and d⃗\vec d has area ∣AP⃗×d⃗∣|\vec{AP}\times\vec d|, and dividing by the base ∣d⃗∣|\vec d| leaves its height, which is the distance. When the line is given as two planes, its direction is the cross product of their normals.

Definition

  • d=∣AP⃗×d⃗∣∣d⃗∣d=\frac{|\vec{AP}\times\vec d|}{|\vec d|}, with AA any point of the line.
  • Or d2=∣AP⃗∣2−(AP⃗⋅d⃗)2∣d⃗∣2d^2=|\vec{AP}|^2-\frac{(\vec{AP}\cdot\vec d)^2}{|\vec d|^2}.
  • Line given as two planes: direction n⃗1×n⃗2\vec n_1\times\vec n_2; find one common point by setting one coordinate to 00.
  • From the axes: distance of (x,y,z)(x,y,z) from the xx-axis is y2+z2\sqrt{y^2+z^2}.

Distance from a line

d=∣AP⃗×d⃗∣∣d⃗∣d=\frac{|\vec{AP}\times\vec d|}{|\vec d|}

Worked example

Find the distance of (1,2,3)(1,2,3) from the line x=y=zx=y=z.
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

JEE Mains · 2026 · 5 Apr 2026 Shift 1 · Q63Moderate

Example 3 · Three Dimensional Geometry · Foot, Image and Distance from a Line

The square of the distance of the point P(5,6,7)P(5,6,7) from the line x−22=y−53=z−24\frac{x- 2}{2}=\frac{y- 5}{3}=\frac{z- 2}{4} is equal to :

Divide by ∣d⃗∣|\vec d|

∣AP⃗×d⃗∣|\vec{AP}\times\vec d| is a parallelogram's AREA. Only after dividing by the base length ∣d⃗∣|\vec d| is it a distance.

Concept 4 of 4: Triangles with a side on the line

When two vertices of a triangle lie on a line and the third, PP, is off it, the height of the triangle is the distance PMPM to the foot. Points on the line at a given distance kk from PP sit symmetrically about MM, at k2−PM2\sqrt{k^2-PM^2} either side. That symmetry also puts their midpoint at MM, which makes centroids easy.

Definition

  • Height = PMPM; area =12⋅=\frac12\cdot base ⋅PM\cdot PM.
  • Points on the line at distance kk from PP: M±k2−PM2 d^M\pm\sqrt{k^2-PM^2}\,\hat d.
  • Those two points have midpoint MM, so the centroid with PP is 2M+P3\frac{2M+P}{3}.
  • A right angle at the foot: PM2+MQ2=PQ2PM^2+MQ^2=PQ^2.

Half-chord and area

MQ=k2−PM2,[PQR]=12 QR⋅PMMQ=\sqrt{k^2-PM^2},\qquad [PQR]=\tfrac12\,QR\cdot PM

Worked example

QQ and RR are the points on the zz-axis at distance 1313 from P(3,4,0)P(3,4,0). Find the area of △PQR\triangle PQR.
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

JEE Mains · 2025 · 24 Jan 2025 · Q58Moderate

Example 4 · Three Dimensional Geometry · Foot, Image and Distance from a Line

Let in a △ABC\bigtriangleup ABC, the length of the side AC be 6 , the vertex BB be (1,2,3)(1,2,3) and the vertices A,CA,C lie on the line x−63=y−72=z−7−2\frac{x - 6}{3}=\frac{y - 7}{2}=\frac{z - 7}{- 2}. Then the area (in sq. units) of △ABC\bigtriangleup ABC is

The height is PMPM, not PQPQ

The height of the triangle is the perpendicular distance to the line. PQPQ is a slanted side; using it overstates the area.

Summary — formulas & gotchas at a glance

A revision cheat-sheet for the formulas and gotchas above. Click any concept name to jump back to its full explanation.

Formulas (4)

Watch out for (4)

Test yourself on Three Dimensional Geometry

20 past JEE Mains questions from this chapter, timed at 48 minutes and marked the way the exam marks it. You see your score and every answer the moment you finish. Free to start.