Three Dimensional Geometry pulls together direction cosines, direction ratios, line equations, angles between lines, and shortest distance into one connected chapter. If you’ve already studied each concept individually, this guide is designed to help you see how they fit together — with a compact formula sheet and a mixed set of solved examples that mirror the style of questions you’ll face in CBSE boards, CUET, and other Commerce-entrance exams.

Quick Formula Sheet

Keep this list handy while solving mixed problems:

  • Direction cosines identity: l² + m² + n² = 1

  • Direction cosines from two points P(x₁,y₁,z₁), Q(x₂,y₂,z₂): (x₂−x₁)/PQ, (y₂−y₁)/PQ, (z₂−z₁)/PQ

  • Direction cosines from direction ratios a, b, c: l = ±a/√(a²+b²+c²), and similarly for m, n

  • Vector equation of a line: r = a + λb

  • Cartesian equation of a line: (x−x₁)/a = (y−y₁)/b = (z−z₁)/c

  • Angle between two lines: cos θ = |a₁a₂+b₁b₂+c₁c₂| / [√(a₁²+b₁²+c₁²)·√(a₂²+b₂²+c₂²)]

  • Perpendicular lines condition: a₁a₂+b₁b₂+c₁c₂ = 0

  • Parallel lines condition: a₁/a₂ = b₁/b₂ = c₁/c₂

  • Shortest distance between skew lines: d = |(b₁×b₂)·(a₂−a₁)| / |b₁×b₂|

  • Distance between parallel lines: d = |b×(a₂−a₁)| / |b|

Solved Example 1: Direction Cosines from Two Points

Find the direction cosines of the line joining (3, 5, −4) and (−1, 1, 2), and use them to check whether this line could be perpendicular to a line with direction ratios (2, −4, 3).

Solution: Direction ratios = (−1−3, 1−5, 2+4) = (−4, −4, 6)

Distance PQ = √(16+16+36) = √68 = 2√17

Direction cosines = −4/(2√17), −4/(2√17), 6/(2√17) = −2/√17, −2/√17, 3/√17

Perpendicularity check using direction ratios (−4,−4,6) and (2,−4,3):

(−4)(2) + (−4)(−4) + (6)(3) = −8 + 16 + 18 = 26 ≠ 0

Since the sum isn’t zero, the lines are not perpendicular.

Solved Example 2: Equation of a Line Through Two Points

Find the Cartesian equation of the line passing through (2, −1, 3) and (4, 2, 1).

Solution: Direction ratios = (4−2, 2+1, 1−3) = (2, 3, −2)

Using point (2, −1, 3):

(x−2)/2 = (y+1)/3 = (z−3)/(−2)

Solved Example 3: Finding an Unknown Using the Perpendicularity Condition

Find the value of p so that the lines (1−x)/3 = (7y−14)/(2p) = (z−3)/2 and (7−7x)/(3p) = (y−5)/1 = (6−z)/5 are at right angles.

Solution: Rewrite both lines with x, y, z having positive coefficients in the numerator, matching the standard Cartesian form.

Line 1: (x−1)/(−3) = (y−2)/(2p/7) = (z−3)/2, giving direction ratios (−3, 2p/7, 2)

Line 2: (x−1)/(−3p/7) = (y−5)/1 = (z−6)/(−5), giving direction ratios (−3p/7, 1, −5)

Applying the perpendicularity condition a₁a₂ + b₁b₂ + c₁c₂ = 0:

(−3)(−3p/7) + (2p/7)(1) + (2)(−5) = 0

9p/7 + 2p/7 − 10 = 0

11p/7 = 10

p = 70/11

Solved Example 4: Angle Between Two Lines with Equal Direction Cosines

Show that the lines with direction cosines 12/13, −3/13, −4/13 and 4/13, 12/13, 3/13 are perpendicular.

Solution: Using cos θ = |l₁l₂ + m₁m₂ + n₁n₂|:

(12/13)(4/13) + (−3/13)(12/13) + (−4/13)(3/13)

= 48/169 − 36/169 − 12/169 = 0/169 = 0

Since cos θ = 0, θ = 90°, confirming the lines are perpendicular.

Solved Example 5: Shortest Distance Between Two Lines

Find the shortest distance between the lines (x+1)/7 = (y+1)/(−6) = (z+1)/1 and (x−3)/1 = (y−5)/(−2) = (z−7)/1.

Solution: Point on line 1: (−1,−1,−1); direction ratios (7,−6,1) Point on line 2: (3,5,7); direction ratios (1,−2,1)

Vector joining the points: (3−(−1), 5−(−1), 7−(−1)) = (4, 6, 8)

Cross product of direction ratios (7,−6,1) and (1,−2,1):

= î[(−6)(1)−(1)(−2)] − ĵ[(7)(1)−(1)(1)] + k̂[(7)(−2)−(−6)(1)]

= î(−6+2) − ĵ(7−1) + k̂(−14+6)

= −4î − 6ĵ − 8k̂

Magnitude = √(16+36+64) = √116 = 2√29

Dot product with (4,6,8): (−4)(4)+(−6)(6)+(−8)(8) = −16−36−64 = −116

d = |−116| / (2√29) = 116/(2√29) = 58/√29 = 2√29

How to Approach a Mixed 3D Geometry Question in Exams

  1. Identify what’s given — a point and a direction, two points, or two full line equations.

  2. Convert to a consistent form — usually easiest to work entirely in direction-ratio form before switching to cosines or vectors.

  3. Match the question to the right formula — “angle” needs the cosine formula, “perpendicular/parallel” needs the two standard conditions, and “shortest distance” needs either the skew-lines or parallel-lines formula depending on the direction vectors.

  4. Simplify surds carefully — most board-exam answers reduce to a clean surd or fraction; if your answer looks unusually messy, recheck the direction ratios first.

Study Smarter with ChampionsPrep

Reading solved examples is a great start, but exam-day confidence comes from active recall under time pressure. ChampionsPrep gives CBSE and Maharashtra Board Class XI–XII Commerce students AI-powered, chapter-wise practice sessions with PrepCoin packs from ₹59, covering every formula in this guide — plus focused preparation for CUET, IPMAT, JIPMAT, NPAT, and SET. Put your Three Dimensional Geometry revision to the test at app.championsprep.in.

Three Dimensional Geometry Class 12 – Solved Examples & Exam Prep Guide podcast artwork
Audio LessonClass 12

Three Dimensional Geometry Class 12 – Solved Examples & Exam Prep Guide

ChampionsPrep MathematicsEpisode 1205:42

Subscribe in any podcast app:

Frequently Asked Questions

What is the most important formula to memorise in Three Dimensional Geometry? +

The identity l squared plus m squared plus n squared equals 1 for direction cosines, along with the angle-between-lines formula, are used in almost every other result in this chapter.

How many marks does Three Dimensional Geometry usually carry in CBSE board exams? +

It typically contributes a mix of short-answer and long-answer questions, often totalling six to eight marks across the paper, alongside possible case-study or MCQ-based questions.

Is Three Dimensional Geometry important for CUET and other Commerce-entrance exams? +

Yes, CUET, IPMAT, JIPMAT, NPAT, and SET all draw Mathematics questions from this chapter, usually as quick, formula-based multiple choice questions.

What is the fastest way to check if two lines are perpendicular? +

Take the direction ratios of both lines and check whether the sum of their pairwise products equals zero, without needing to compute the full angle.

Should students memorise both the vector and Cartesian forms of every formula? +

Yes, exam papers switch between the two forms unpredictably, so being able to convert quickly between them is often more useful than memorising either form alone.