NCERT Solutions for Class 12 Maths Chapter 11: Three Dimensional Geometry
12NCERT Mathematics · solved
Three Dimensional Geometry uses vectors to describe lines in space. You find direction cosines and direction ratios of a line, write its equation in vector and cartesian form, find the angle between two lines and the shortest distance between two skew lines.
Download PDFBoard questions on this chapter (12)
Try each question, open its solution, then mark yourself: 0 of 27 checked · 0 right
Exercise 11.1
Question 1. If a line makes angles 90°, 135°, 45° with the x, y and z-axes respectively, find its direction cosines.
Show solution
- l = cos 90° = 0, m = cos 135° = −1/√2, n = cos 45° = 1/√2
Answer: 0, −1/√2, 1/√2
Question 2. Find the direction cosines of a line which makes equal angles with the coordinate axes.
Show solution
- l = m = n = cos α
- l² + m² + n² = 1 ⇒ 3cos²α = 1 ⇒ cos α = ±1/√3
Answer: ±1/√3, ±1/√3, ±1/√3 (all with the same sign)
Question 3. If a line has the direction ratios −18, 12, −4, then what are its direction cosines?
Show solution
- √(18² + 12² + 4²) = √(324 + 144 + 16) = √484 = 22
- Divide each direction ratio by 22
Answer: −9/11, 6/11, −2/11
Question 4. Show that the points (2, 3, 4), (−1, −2, 1), (5, 8, 7) are collinear.
Show solution
- Let A(2, 3, 4), B(−1, −2, 1), C(5, 8, 7). Direction ratios of AB: −3, −5, −3; of BC: 6, 10, 6
- 6/(−3) = 10/(−5) = 6/(−3) = −2, so AB ∥ BC
- B is common to AB and BC, so A, B, C are collinear.
Answer: Proved.
Question 5. Find the direction cosines of the sides of the triangle whose vertices are (3, 5, −4), (−1, 1, 2) and (−5, −5, −2).
Show solution
- A(3, 5, −4), B(−1, 1, 2), C(−5, −5, −2)
- AB: direction ratios −4, −4, 6; AB = √68 = 2√17; DCs −2/√17, −2/√17, 3/√17
- BC: direction ratios −4, −6, −4; BC = √68 = 2√17; DCs −2/√17, −3/√17, −2/√17
- CA: direction ratios 8, 10, −2; CA = √168 = 2√42; DCs 4/√42, 5/√42, −1/√42
Answer: AB: −2/√17, −2/√17, 3/√17; BC: −2/√17, −3/√17, −2/√17; CA: 4/√42, 5/√42, −1/√42
Exercise 11.2
Question 1. Show that the three lines with direction cosines 12/13, −3/13, −4/13; 4/13, 12/13, 3/13; 3/13, −4/13, 12/13 are mutually perpendicular.
Show solution
- Lines 1 and 2: (12·4 + (−3)·12 + (−4)·3)/169 = (48 − 36 − 12)/169 = 0
- Lines 2 and 3: (4·3 + 12·(−4) + 3·12)/169 = (12 − 48 + 36)/169 = 0
- Lines 1 and 3: (12·3 + (−3)(−4) + (−4)·12)/169 = (36 + 12 − 48)/169 = 0
- Each pair satisfies l₁l₂ + m₁m₂ + n₁n₂ = 0, so the lines are mutually perpendicular.
Answer: Proved.
Question 2. Show that the line through the points (1, −1, 2), (3, 4, −2) is perpendicular to the line through the points (0, 3, 2) and (3, 5, 6).
Show solution
- Direction ratios: first line 2, 5, −4; second line 3, 2, 4
- a₁a₂ + b₁b₂ + c₁c₂ = 6 + 10 − 16 = 0, so the lines are perpendicular.
Answer: Proved.
Question 3. Show that the line through the points (4, 7, 8), (2, 3, 4) is parallel to the line through the points (−1, −2, 1), (1, 2, 5).
Show solution
- Direction ratios: first line −2, −4, −4; second line 2, 4, 4
- −2/2 = −4/4 = −4/4 = −1: proportional, so the lines are parallel.
Answer: Proved.
Question 4. Find the equation of the line which passes through the point (1, 2, 3) and is parallel to the vector 3î + 2ĵ − 2k̂.
Show solution
- r⃗ = a⃗ + λb⃗ with a⃗ = î + 2ĵ + 3k̂, b⃗ = 3î + 2ĵ − 2k̂
Answer: r⃗ = î + 2ĵ + 3k̂ + λ(3î + 2ĵ − 2k̂)
Question 5. Find the equation of the line in vector and in cartesian form that passes through the point with position vector 2î − ĵ + 4k̂ and is in the direction î + 2ĵ − k̂.
Show solution
- Vector form: r⃗ = a⃗ + λb⃗
- Cartesian form: point (2, −1, 4), direction ratios 1, 2, −1
Answer: r⃗ = 2î − ĵ + 4k̂ + λ(î + 2ĵ − k̂); (x − 2)/1 = (y + 1)/2 = (z − 4)/(−1)
Question 6. Find the cartesian equation of the line which passes through the point (−2, 4, −5) and parallel to the line given by (x + 3)/3 = (y − 4)/5 = (z + 8)/6.
Show solution
- Parallel lines have the same direction ratios 3, 5, 6
Answer: (x + 2)/3 = (y − 4)/5 = (z + 5)/6
Question 7. The cartesian equation of a line is (x − 5)/3 = (y + 4)/7 = (z − 6)/2. Write its vector form.
Show solution
- The line passes through (5, −4, 6) with direction ratios 3, 7, 2
Answer: r⃗ = 5î − 4ĵ + 6k̂ + λ(3î + 7ĵ + 2k̂)
Question 8. Find the angle between the following pairs of lines:
(i) r⃗ = 2î − 5ĵ + k̂ + λ(3î + 2ĵ + 6k̂) and r⃗ = 7î − 6k̂ + μ(î + 2ĵ + 2k̂)
Show solution
- b⃗₁ = 3î + 2ĵ + 6k̂ (|b⃗₁| = 7), b⃗₂ = î + 2ĵ + 2k̂ (|b⃗₂| = 3)
- cos θ = |b⃗₁·b⃗₂|/(|b⃗₁||b⃗₂|) = (3 + 4 + 12)/21 = 19/21
Answer: θ = cos⁻¹(19/21)
(ii) r⃗ = 3î + ĵ − 2k̂ + λ(î − ĵ − 2k̂) and r⃗ = 2î − ĵ − 56k̂ + μ(3î − 5ĵ − 4k̂)
Show solution
- b⃗₁ = î − ĵ − 2k̂ (|b⃗₁| = √6), b⃗₂ = 3î − 5ĵ − 4k̂ (|b⃗₂| = 5√2)
- cos θ = (3 + 5 + 8)/(√6 · 5√2) = 16/(10√3) = 8/(5√3)
Answer: θ = cos⁻¹(8/(5√3))
Question 9. Find the angle between the following pair of lines:
(i) (x − 2)/2 = (y − 1)/5 = (z + 3)/(−3) and (x + 2)/(−1) = (y − 4)/8 = (z − 5)/4
Show solution
- Direction ratios 2, 5, −3 and −1, 8, 4
- cos θ = |−2 + 40 − 12|/(√38 · √81) = 26/(9√38)
Answer: θ = cos⁻¹(26/(9√38))
(ii) x/2 = y/2 = z/1 and (x − 5)/4 = (y − 2)/1 = (z − 3)/8
Show solution
- Direction ratios 2, 2, 1 and 4, 1, 8
- cos θ = (8 + 2 + 8)/(3 × 9) = 18/27 = 2/3
Answer: θ = cos⁻¹(2/3)
Question 10. Find the values 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.
Show solution
- Standard form: (x − 1)/(−3) = (y − 2)/(2p/7) = (z − 3)/2 and (x − 1)/(−3p/7) = (y − 5)/1 = (z − 6)/(−5)
- Direction ratios: −3, 2p/7, 2 and −3p/7, 1, −5
- Perpendicular: 9p/7 + 2p/7 − 10 = 0 ⇒ 11p/7 = 10
Answer: p = 70/11
Question 11. Show that the lines (x − 5)/7 = (y + 2)/(−5) = z/1 and x/1 = y/2 = z/3 are perpendicular to each other.
Show solution
- Direction ratios 7, −5, 1 and 1, 2, 3
- 7(1) + (−5)(2) + 1(3) = 7 − 10 + 3 = 0, so the lines are perpendicular.
Answer: Proved.
Question 12. Find the shortest distance between the lines r⃗ = (î + 2ĵ + k̂) + λ(î − ĵ + k̂) and r⃗ = 2î − ĵ − k̂ + μ(2î + ĵ + 2k̂)
Show solution
- a⃗₁ = î + 2ĵ + k̂, b⃗₁ = î − ĵ + k̂; a⃗₂ = 2î − ĵ − k̂, b⃗₂ = 2î + ĵ + 2k̂
- b⃗₁ × b⃗₂ = |î ĵ k̂; 1 −1 1; 2 1 2| = −3î + 3k̂, |b⃗₁ × b⃗₂| = 3√2
- a⃗₂ − a⃗₁ = î − 3ĵ − 2k̂; (b⃗₁ × b⃗₂)·(a⃗₂ − a⃗₁) = −3 − 6 = −9
- d = |−9|/(3√2) = 3/√2
Answer: 3√2/2 units
Question 13. 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
Show solution
- a⃗₁ = −î − ĵ − k̂, b⃗₁ = 7î − 6ĵ + k̂; a⃗₂ = 3î + 5ĵ + 7k̂, b⃗₂ = î − 2ĵ + k̂
- b⃗₁ × b⃗₂ = |î ĵ k̂; 7 −6 1; 1 −2 1| = −4î − 6ĵ − 8k̂, magnitude √116 = 2√29
- a⃗₂ − a⃗₁ = 4î + 6ĵ + 8k̂; dot product = −16 − 36 − 64 = −116
- d = 116/(2√29) = 58/√29
Answer: 2√29 units
Question 14. Find the shortest distance between the lines whose vector equations are r⃗ = (î + 2ĵ + 3k̂) + λ(î − 3ĵ + 2k̂) and r⃗ = 4î + 5ĵ + 6k̂ + μ(2î + 3ĵ + k̂)
Show solution
- b⃗₁ × b⃗₂ = |î ĵ k̂; 1 −3 2; 2 3 1| = −9î + 3ĵ + 9k̂, magnitude √171 = 3√19
- a⃗₂ − a⃗₁ = 3î + 3ĵ + 3k̂; dot product = −27 + 9 + 27 = 9
- d = 9/(3√19)
Answer: 3/√19 units
Question 15. Find the shortest distance between the lines whose vector equations are r⃗ = (1 − t)î + (t − 2)ĵ + (3 − 2t)k̂ and r⃗ = (s + 1)î + (2s − 1)ĵ − (2s + 1)k̂
Show solution
- Rewrite: r⃗ = (î − 2ĵ + 3k̂) + t(−î + ĵ − 2k̂) and r⃗ = (î − ĵ − k̂) + s(î + 2ĵ − 2k̂)
- b⃗₁ × b⃗₂ = |î ĵ k̂; −1 1 −2; 1 2 −2| = 2î − 4ĵ − 3k̂, magnitude √29
- a⃗₂ − a⃗₁ = ĵ − 4k̂; dot product = −4 + 12 = 8
- d = 8/√29
Answer: 8/√29 units
Miscellaneous Exercise on Chapter 11
Question 1. Find the angle between the lines whose direction ratios are a, b, c and b − c, c − a, a − b.
Show solution
- a(b − c) + b(c − a) + c(a − b) = ab − ac + bc − ab + ac − bc = 0
- So cos θ = 0
Answer: 90°
Question 2. Find the equation of a line parallel to x-axis and passing through the origin.
Show solution
- The x-axis has direction ratios 1, 0, 0; the line passes through (0, 0, 0)
- Vector form r⃗ = λî; cartesian form x/1 = y/0 = z/0
Answer: x/1 = y/0 = z/0 (i.e. r⃗ = λî; it is the x-axis itself)
Question 3. If the lines (x − 1)/(−3) = (y − 2)/(2k) = (z − 3)/2 and (x − 1)/(3k) = (y − 1)/1 = (z − 6)/(−5) are perpendicular, find the value of k.
Show solution
- Direction ratios −3, 2k, 2 and 3k, 1, −5
- −9k + 2k − 10 = 0 ⇒ −7k = 10
Answer: k = −10/7
Question 4. Find the shortest distance between lines r⃗ = 6î + 2ĵ + 2k̂ + λ(î − 2ĵ + 2k̂) and r⃗ = −4î − k̂ + μ(3î − 2ĵ − 2k̂).
Show solution
- b⃗₁ × b⃗₂ = |î ĵ k̂; 1 −2 2; 3 −2 −2| = 8î + 8ĵ + 4k̂, magnitude 12
- a⃗₂ − a⃗₁ = −10î − 2ĵ − 3k̂; dot product = −80 − 16 − 12 = −108
- d = 108/12
Answer: 9 units
Question 5. Find the vector equation of the line passing through the point (1, 2, −4) and perpendicular to the two lines: (x − 8)/3 = (y + 19)/(−16) = (z − 10)/7 and (x − 15)/3 = (y − 29)/8 = (z − 5)/(−5).
Show solution
- The required direction is perpendicular to b⃗₁ = 3î − 16ĵ + 7k̂ and b⃗₂ = 3î + 8ĵ − 5k̂
- b⃗₁ × b⃗₂ = |î ĵ k̂; 3 −16 7; 3 8 −5| = 24î + 36ĵ + 72k̂ = 12(2î + 3ĵ + 6k̂)
- Line through (1, 2, −4) with direction 2î + 3ĵ + 6k̂
Answer: r⃗ = î + 2ĵ − 4k̂ + λ(2î + 3ĵ + 6k̂)
Key points of Three Dimensional Geometry (quick revision)
- Direction cosines l, m, n of a line are the cosines of the angles it makes with the x, y, z-axes; l² + m² + n² = 1.
- Direction ratios a, b, c are any numbers proportional to l, m, n: l = a/√(a² + b² + c²), etc. For the line through (x₁, y₁, z₁) and (x₂, y₂, z₂), the direction ratios are x₂ − x₁, y₂ − y₁, z₂ − z₁.
- Line through a⃗ parallel to b⃗: r⃗ = a⃗ + λb⃗. Cartesian form through (x₁, y₁, z₁) with direction ratios a, b, c: (x − x₁)/a = (y − y₁)/b = (z − z₁)/c.
- Line through two points a⃗ and b⃗: r⃗ = a⃗ + λ(b⃗ − a⃗).
- Angle between lines with direction ratios (a₁, b₁, c₁) and (a₂, b₂, c₂): cos θ = |a₁a₂ + b₁b₂ + c₁c₂|/(√(a₁² + b₁² + c₁²)√(a₂² + b₂² + c₂²)).
- Lines are perpendicular when a₁a₂ + b₁b₂ + c₁c₂ = 0 and parallel when a₁/a₂ = b₁/b₂ = c₁/c₂.
- Skew lines are neither parallel nor intersecting. Shortest distance between r⃗ = a⃗₁ + λb⃗₁ and r⃗ = a⃗₂ + μb⃗₂: d = |(b⃗₁ × b⃗₂)·(a⃗₂ − a⃗₁)|/|b⃗₁ × b⃗₂|.
- Distance between parallel lines r⃗ = a⃗₁ + λb⃗ and r⃗ = a⃗₂ + μb⃗: d = |b⃗ × (a⃗₂ − a⃗₁)|/|b⃗|.
How these solutions were checked
- Every question of the NCERT Mathematics reprint for 2026-27 is here, in the book's order and numbering.
- Every answer is worked out in full, then checked by substituting it back or recomputing it (algebra and calculus answers are verified by differentiation or computer algebra).
- Where the book has a misprint, or its printed answer differs from the correct one, the solution says so and shows why, so you can trust what you write in the exam.
- Found something that looks wrong? Tell us about it, and we correct it and update this page and its PDF.
Questions
How many exercises are there in Class 12 Maths Chapter 11 Three Dimensional Geometry?
3 (Exercise 11.1, Exercise 11.2, Miscellaneous Exercise on Chapter 11), with 27 questions and parts in all. Every one is solved on this page.
Can I download the Class 12 Maths Chapter 11 Three Dimensional Geometry NCERT solutions as a PDF?
Yes. The PDF has every question and its solution, free to download and print, with no sign-in.
Are questions from Three Dimensional Geometry asked in the CBSE board exam?
Yes: 12 board questions from 4 papers (2022–2025), 32 marks in all. They are solved on our chapter-wise page.
Questions are from the NCERT textbook Mathematics for Class 12; the solutions are written by beMahan.All Class 12 NCERT solutions