PYQ Vault

NDA Maths · 3D Geometry

The Straight Line in Space

A line is a point plus a direction; everything — points on it, where it pierces a plane, whether it's parallel to one — follows from its parametric form.

Why this matters

Eleven PYQs, almost all EASY or MODERATE — the most reliably scorable subtopic in the chapter once you commit to parametrising. The bank repeats four moves: write the line, generate a point on it, find where it meets a coordinate plane or a given plane, and test whether it is parallel to (or lies in) a plane. Master the parametric form and the rest are substitutions.

Test yourself — a quick 12-question 3D Geometry recall quiz, instant score.

Concept 1 of 5: Equation of a line — symmetric and two-point forms

A line is pinned down by one point on it and one direction. Symmetric form stacks the three coordinate equations into one chain; two-point form builds the direction from the difference of the points. A line in space is also the intersection of two planes — which is why a single symmetric line can be written as a pair of plane equations.

Definition

Through point (x0,y0,z0)(x_0,y_0,z_0) with direction ratios ⟨a,b,c⟩\langle a,b,c\rangle, the symmetric form is x−x0a=y−y0b=z−z0c\frac{x-x_0}{a} = \frac{y-y_0}{b} = \frac{z-z_0}{c}. Through two points A,BA, B, the direction ratios are ⟨x2−x1,y2−y1,z2−z1⟩\langle x_2-x_1, y_2-y_1, z_2-z_1\rangle. Setting the chain equal to a parameter tt gives the parametric form (x0+at, y0+bt, z0+ct)(x_0+at,\ y_0+bt,\ z_0+ct). Splitting the chain into two equalities expresses the line as the intersection of two planes. Conversely, when a line is GIVEN as the intersection of two planes P1,P2P_1, P_2, its direction ratios are n1⃗×n2⃗\vec{n_1} \times \vec{n_2} — the cross product of the two normals (the line lies in both planes, so it is perpendicular to both normals).

Symmetric form of a line

x−x0a=y−y0b=z−z0c=t\frac{x - x_0}{a} = \frac{y - y_0}{b} = \frac{z - z_0}{c} = t

Worked example

Write the line through A(1,2,−1)A(1, 2, -1) and B(3,−1,2)B(3, -1, 2) in symmetric form.
Practice this conceptself-check · 5 quick reps

The same idea in a real exam question:

NDA · Sep 2018 · Q58Hard

Example 1 · 3D Geometry · The Straight Line in 3D

The line x−12=y−23=z−34\frac{x-1}{2}=\frac{y-2}{3}=\frac{z-3}{4} is given by

Concept 2 of 5: Points on a line

Every point on a line is the base point pushed along the direction by some amount tt. Plug a value of tt and you get a point; or set the parametric coordinates equal to a candidate point and check they share a single tt.

Definition

Points on (x0+at, y0+bt, z0+ct)(x_0+at,\ y_0+bt,\ z_0+ct) are generated by choosing tt. To test whether (p,q,r)(p,q,r) lies on the line, solve p=x0+atp = x_0+at for tt and confirm the SAME tt reproduces qq and rr. Foot of the perpendicular from a point PP to the line, and the distance: let the foot be F=(x0+at, y0+bt, z0+ct)F = (x_0+at,\ y_0+bt,\ z_0+ct) and impose PF⃗⊥(a,b,c)\vec{PF}\perp(a,b,c): a(x0+at−p)+b(y0+bt−q)+c(z0+ct−r)=0a(x_0+at-p) + b(y_0+bt-q) + c(z_0+ct-r) = 0, a linear equation in tt. Then d=∣PF∣d = |PF|. Closed form: d=∣AP⃗×u⃗∣∣u⃗∣d = \dfrac{|\vec{AP}\times\vec{u}|}{|\vec{u}|} where AA is any point on the line and u⃗=(a,b,c)\vec{u}=(a,b,c); equivalently d2=∣AP∣2−(AP⃗⋅u^)2d^2 = |AP|^2 - \big(\vec{AP}\cdot\hat{u}\big)^2. The image of PP in the line is P′=2F−PP' = 2F - P.

Worked example

Find a point on the line x−23=y+11=z−42\frac{x-2}{3} = \frac{y+1}{1} = \frac{z-4}{2} other than (2,−1,4)(2,-1,4).
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

NDA · Sep 2019 · Q57Easy

Example 2 · 3D Geometry · The Straight Line in 3D

A point on the line x−11=y−32=z+27\dfrac{x-1}{1} = \dfrac{y-3}{2} = \dfrac{z+2}{7} has coordinates

Concept 3 of 5: Where a line meets a coordinate plane

To find where a line crosses the XY-plane, ask: at what tt is z=0z = 0? Solve for that tt, substitute back, and read off the point. Same idea for the YZ-plane (x=0x=0) and ZX-plane (y=0y=0).

Definition

A line meets the XY-plane where its zz-coordinate is 0, the YZ-plane where x=0x=0, and the ZX-plane where y=0y=0. Parametrise the line, set the relevant coordinate to 0, solve for tt, and back-substitute.

Diagram · line piercing a plane (drag to rotate)

PL

Substitute the line's point (x₀+at, y₀+bt, z₀+ct) into the plane equation → one equation in t → solve → back-substitute to get the pierce point P.

Worked example

Find where the line joining (2,−1,3)(2, -1, 3) and (4,3,−1)(4, 3, -1) meets the XY-plane.
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

NDA · Sep 2017 · Q52Easy

Example 3 · 3D Geometry · The Straight Line in 3D

The point of intersection of the line joining the points (−3,4,−8)(-3, 4, -8) and (5,−6,4)(5, -6, 4) with the XYXY-plane is

Concept 4 of 5: Intersection of a line and a plane

A line generally pierces a plane at one point. Plug the line's parametric coordinates into the plane equation — that collapses to one equation in tt. Solve it, then feed tt back to get the pierce point.

Definition

For a line (x0+at, y0+bt, z0+ct)(x_0+at,\ y_0+bt,\ z_0+ct) and plane Ax+By+Cz=DAx+By+Cz = D, substitute to get a linear equation in tt. One solution → a single pierce point. No solution (the tt terms cancel but the constants disagree) → the line is parallel and misses. Identity (all tt work) → the line lies in the plane.

Diagram · line piercing a plane (drag to rotate)

PL

Substitute the line's point (x₀+at, y₀+bt, z₀+ct) into the plane equation → one equation in t → solve → back-substitute to get the pierce point P.

Worked example

A line through (1,0,−1)(1, 0, -1) with direction ratios ⟨1,2,1⟩\langle 1, 2, 1\rangle meets the plane x+y+z=8x + y + z = 8. Find the point of intersection.
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

NDA · Apr 2024 · Q55Easy

Example 4 · 3D Geometry · The Straight Line in 3D

A line through (1,−1,2)(1,-1,2) with direction ratios ⟨3,2,2⟩\langle3,2,2\rangle meets the plane x+2y+3z=18x+2y+3z=18. What is the point of intersection?

Concept 5 of 5: Line parallel to, or lying in, a plane

A line is parallel to a plane when its direction is perpendicular to the plane's normal — their dot product is zero, so the line never tilts toward the plane. If, in addition, one point of the line satisfies the plane equation, the whole line LIES in the plane.

Definition

For a line with direction ⟨a,b,c⟩\langle a,b,c\rangle and a plane with normal ⟨A,B,C⟩\langle A,B,C\rangle:

  • Parallel iff Aa+Bb+Cc=0Aa + Bb + Cc = 0 (direction ⟂ normal) AND a point of the line is NOT on the plane.
  • Lies in the plane iff Aa+Bb+Cc=0Aa+Bb+Cc = 0 AND a point of the line satisfies the plane equation.

Parallel/contained condition (direction ⟂ normal)

Aa+Bb+Cc=0A a + B b + C c = 0

Worked example

If the line x−12=y−m1=z−31\frac{x-1}{2} = \frac{y-m}{1} = \frac{z-3}{1} lies in the plane 2x−3y−z=22x - 3y - z = 2, find mm.
Practice this conceptself-check · 4 quick reps

The same idea in a real exam question:

NDA · Sep 2019 · Q58Moderate

Example 5 · 3D Geometry · The Straight Line in 3D

If the line x−41=y−21=z−k2\dfrac{x-4}{1} = \dfrac{y-2}{1} = \dfrac{z-k}{2} lies on the plane 2x−4y+z=72x - 4y + z = 7, then what is the value of kk ?

Parallel vs lying-in needs the second check

Direction ⟂ normal (dot = 0) only means the line doesn't tilt toward the plane — it could be strictly parallel (misses) OR contained (lies in). You MUST then test a point: on the plane → contained; off → parallel.

direction · normal = 0 means the line is PARALLEL to the plane, not perpendicular

A line is PERPENDICULAR to a plane when its direction is PARALLEL to the normal — the direction ratios are proportional to ⟨A,B,C⟩\langle A,B,C\rangle. When the direction-normal dot product is 00, the line is perpendicular to the NORMAL, hence PARALLEL to (or lying in) the plane. Don't read "dot = 0" as "line ⟂ plane" — it's the exact opposite.

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 (2)

Watch out for (2)

Test yourself on 3D Geometry

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