NCERT Solutions Class 12 Maths Chapter 11: Three Dimensional Geometry
Answers to every question of Exercises 11.1 and 11.2 and the Miscellaneous Exercise, and to all 10 worked examples, of Chapter 11, Three Dimensional Geometry, of Mathematics Part II, the Class 12 NCERT textbook. Page numbers follow the 2026-27 reprint (pages 377–393). The exercise questions are quoted from the book; the examples are restated in short and labelled by number and page. Every number below was checked by a script (sympy): each direction cosine, dot and cross product, angle, value of p and k, shortest distance and line through a point, and every MCQ option. The answers agree with the book’s answer key; one printing slip in the key (Exercise 11.1 Question 5) is marked where it comes. Short notes: Chapter 11 notes.
How the maths is typed here. The book puts an arrow over every vector; here r, a, b, a₁, a₂, b₁ and b₂ stand for vectors, and AB means the vector from A to B. î, ĵ, k̂ are the unit vectors along the axes, a · b is the dot product and a × b the cross product. Fractions use a slash, so (x − 1)/3 is x − 1 over 3. The quoted questions use the same layout.
Five facts carry most of the answers:
- Direction cosines from direction ratios a, b, c: a/√(a² + b² + c²), b/√(a² + b² + c²), c/√(a² + b² + c²); l² + m² + n² = 1.
- Line through a parallel to b: r = a + λb, or (x − x₁)/a = (y − y₁)/b = (z − z₁)/c.
- Angle between lines: cos θ = |b₁ · b₂|/(|b₁||b₂|); perpendicular when a₁a₂ + b₁b₂ + c₁c₂ = 0.
- Skew lines: d = |(b₁ × b₂) · (a₂ − a₁)|/|b₁ × b₂|.
- Parallel lines: d = |b × (a₂ − a₁)|/|b|.
Examples 1 to 5 (pages 380–381)
Example 1 (page 380): direction cosines of a line at 90°, 60° and 30° to the x, y and z-axes. l = cos 90° = 0, m = cos 60° = 1/2, n = cos 30° = √3/2. Check: 0 + 1/4 + 3/4 = 1.
Example 2 (page 380): direction cosines from the direction ratios 2, −1, −2. √(2² + (−1)² + (−2)²) = √9 = 3, so the direction cosines are 2/3, −1/3, −2/3.
Example 3 (page 380): direction cosines of the line through (−2, 4, −5) and (1, 2, 3). The differences are 1 − (−2) = 3, 2 − 4 = −2 and 3 − (−5) = 8, and PQ = √(9 + 4 + 64) = √77. Direction cosines: 3/√77, −2/√77, 8/√77.
Example 4 (page 381): direction cosines of the three axes. The x-axis makes 0°, 90° and 90° with the axes, so its direction cosines are cos 0°, cos 90°, cos 90° = 1, 0, 0. Likewise the y-axis has 0, 1, 0 and the z-axis 0, 0, 1.
Example 5 (page 381): show that A(2, 3, −4), B(1, −2, 3) and C(3, 8, −11) are collinear. Direction ratios of AB: 1 − 2, −2 − 3, 3 + 4 = −1, −5, 7. Of BC: 3 − 1, 8 + 2, −11 − 3 = 2, 10, −14 = −2 × (−1, −5, 7). They are proportional, so AB ∥ BC, and B lies on both. A, B and C are collinear.
Exercise 11.1 (page 381)
1. “If a line makes angles 90°, 135°, 45° with the x, y and z-axes respectively, find its direction cosines.” l = cos 90° = 0, m = cos 135° = −1/√2, n = cos 45° = 1/√2. Direction cosines 0, −1/√2, 1/√2. Check: 0 + 1/2 + 1/2 = 1.
2. “Find the direction cosines of a line which makes equal angles with the coordinate axes.” Equal angles give l = m = n. Then 3l² = 1, so l = ±1/√3. Direction cosines ±1/√3, ±1/√3, ±1/√3 (all three with the same sign).
3. “If a line has the direction ratios −18, 12, −4, then what are its direction cosines?” √(18² + 12² + 4²) = √(324 + 144 + 16) = √484 = 22. Direction cosines −18/22, 12/22, −4/22 = −9/11, 6/11, −2/11 (or 9/11, −6/11, 2/11 for the opposite direction).
4. “Show that the points (2, 3, 4), (−1, −2, 1), (5, 8, 7) are collinear.” Call them A, B, C. Direction ratios of AB: −1 − 2, −2 − 3, 1 − 4 = −3, −5, −3. Of BC: 5 + 1, 8 + 2, 7 − 1 = 6, 10, 6 = −2 × (−3, −5, −3). The ratios are proportional and B is common, so the three points are collinear.
5. “Find the direction cosines of the sides of the triangle whose vertices are (3, 5, −4), (−1, 1, 2) and (−5, −5, −2).” Let A(3, 5, −4), B(−1, 1, 2), C(−5, −5, −2).
- AB: −4, −4, 6; AB = √(16 + 16 + 36) = √68 = 2√17. Direction cosines −2/√17, −2/√17, 3/√17.
- BC: −4, −6, −4; BC = √(16 + 36 + 16) = 2√17. Direction cosines −2/√17, −3/√17, −2/√17.
- CA: 8, 10, −2; CA = √(64 + 100 + 4) = √168 = 2√42. Direction cosines 4/√42, 5/√42, −1/√42.
(Going round the other way, each set changes sign.)
Answer key note: the key prints the last cosine of AB as 3/17; it must be 3/√17, since (4 + 4 + 9)/17 = 1 only with √17 in every denominator.
Examples 6 to 10 (pages 382–389)
Example 6 (pages 382–383): vector and Cartesian equations of the line through (5, 2, −4) parallel to 3î + 2ĵ − 8k̂. With a = 5î + 2ĵ − 4k̂ and b = 3î + 2ĵ − 8k̂, the vector equation is r = 5î + 2ĵ − 4k̂ + λ(3î + 2ĵ − 8k̂). Writing r = xî + yĵ + zk̂ gives x = 5 + 3λ, y = 2 + 2λ, z = −4 − 8λ; removing λ, (x − 5)/3 = (y − 2)/2 = (z + 4)/(−8).
Example 7 (pages 384–385): angle between r = 3î + 2ĵ − 4k̂ + λ(î + 2ĵ + 2k̂) and r = 5î − 2ĵ + μ(3î + 2ĵ + 6k̂). b₁ · b₂ = 3 + 4 + 12 = 19, |b₁| = √9 = 3, |b₂| = √49 = 7. cos θ = 19/21, so θ = cos⁻¹(19/21).
Example 8 (page 385): angle between (x + 3)/3 = (y − 1)/5 = (z + 3)/4 and (x + 1)/1 = (y − 4)/1 = (z − 5)/2. Direction ratios 3, 5, 4 and 1, 1, 2. cos θ = |3 + 5 + 8|/(√50 √6) = 16/(5√2 × √6) = 16/(10√3) = 8√3/15. θ = cos⁻¹(8√3/15).
Example 9 (page 388): shortest distance between r = î + ĵ + λ(2î − ĵ + k̂) and r = 2î + ĵ − k̂ + μ(3î − 5ĵ + 2k̂). a₂ − a₁ = î − k̂. b₁ × b₂ = (2î − ĵ + k̂) × (3î − 5ĵ + 2k̂) = (−2 + 5)î − (4 − 3)ĵ + (−10 + 3)k̂ = 3î − ĵ − 7k̂, with |b₁ × b₂| = √59. (b₁ × b₂) · (a₂ − a₁) = 3 + 0 + 7 = 10. d = 10/√59.
Example 10 (pages 388–389): distance between r = î + 2ĵ − 4k̂ + λ(2î + 3ĵ + 6k̂) and r = 3î + 3ĵ − 5k̂ + μ(2î + 3ĵ + 6k̂). Both lines have direction b = 2î + 3ĵ + 6k̂, so they are parallel. a₂ − a₁ = 2î + ĵ − k̂. b × (a₂ − a₁) = (3 × (−1) − 6 × 1)î − (2 × (−1) − 6 × 2)ĵ + (2 × 1 − 3 × 2)k̂ = −9î + 14ĵ − 4k̂, of length √(81 + 196 + 16) = √293. |b| = 7. d = √293/7.
Exercise 11.2 (pages 389–390)
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.” Two lines with direction cosines l₁, m₁, n₁ and l₂, m₂, n₂ are perpendicular when l₁l₂ + m₁m₂ + n₁n₂ = 0.
- First and second: (48 − 36 − 12)/169 = 0.
- Second and third: (12 − 48 + 36)/169 = 0.
- First and third: (36 + 12 − 48)/169 = 0.
Each pair is perpendicular, so the three lines are mutually perpendicular.
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).” Direction ratios: 3 − 1, 4 + 1, −2 − 2 = 2, 5, −4 and 3 − 0, 5 − 3, 6 − 2 = 3, 2, 4. Then 2 × 3 + 5 × 2 + (−4) × 4 = 6 + 10 − 16 = 0, so the lines are perpendicular.
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).” Direction ratios: 2 − 4, 3 − 7, 4 − 8 = −2, −4, −4 and 1 + 1, 2 + 2, 5 − 1 = 2, 4, 4. Then −2/2 = −4/4 = −4/4 = −1, so the ratios are proportional and the lines are parallel. (They are two different lines: (−1, −2, 1) is not on the first one.)
4. “Find the equation of the line which passes through the point (1, 2, 3) and is parallel to the vector 3î + 2ĵ − 2k̂.” a = î + 2ĵ + 3k̂ and b = 3î + 2ĵ − 2k̂. r = î + 2ĵ + 3k̂ + λ(3î + 2ĵ − 2k̂), λ real. In Cartesian form, (x − 1)/3 = (y − 2)/2 = (z − 3)/(−2).
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̂.” Vector form: r = 2î − ĵ + 4k̂ + λ(î + 2ĵ − k̂). The point is (2, −1, 4) and the direction ratios are 1, 2, −1, so the Cartesian form is (x − 2)/1 = (y + 1)/2 = (z − 4)/(−1).
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.” Parallel lines share direction ratios, here 3, 5, 6. Through (−2, 4, −5): (x + 2)/3 = (y − 4)/5 = (z + 5)/6.
7. “The cartesian equation of a line is (x − 5)/3 = (y + 4)/7 = (z − 6)/2. Write its vector form.” The line passes through (5, −4, 6) with direction ratios 3, 7, 2. r = 5î − 4ĵ + 6k̂ + λ(3î + 7ĵ + 2k̂).
8. “Find the angle between the following pairs of lines: (i) r = 2î − 5ĵ + k̂ + λ(3î + 2ĵ + 6k̂) and r = 7î − 6k̂ + μ(î + 2ĵ + 2k̂) (ii) r = 3î + ĵ − 2k̂ + λ(î − ĵ − 2k̂) and r = 2î − ĵ − 56k̂ + μ(3î − 5ĵ − 4k̂)” Only the direction vectors matter.
(i) b₁ = 3î + 2ĵ + 6k̂ (length 7), b₂ = î + 2ĵ + 2k̂ (length 3). b₁ · b₂ = 3 + 4 + 12 = 19, so cos θ = 19/21 and θ = cos⁻¹(19/21).
(ii) b₁ = î − ĵ − 2k̂ (length √6), b₂ = 3î − 5ĵ − 4k̂ (length √50 = 5√2). b₁ · b₂ = 3 + 5 + 8 = 16, so cos θ = 16/(√6 × 5√2) = 16/(10√3) = 8/(5√3) = 8√3/15 and θ = cos⁻¹(8/(5√3)).
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 (ii) x/2 = y/2 = z/1 and (x − 5)/4 = (y − 2)/1 = (z − 3)/8”
(i) Direction ratios 2, 5, −3 and −1, 8, 4. a₁a₂ + b₁b₂ + c₁c₂ = −2 + 40 − 12 = 26; √(4 + 25 + 9) = √38 and √(1 + 64 + 16) = 9. cos θ = 26/(9√38), so θ = cos⁻¹(26/(9√38)).
(ii) Direction ratios 2, 2, 1 and 4, 1, 8. 8 + 2 + 8 = 18; the lengths are 3 and 9. cos θ = 18/27 = 2/3, so θ = cos⁻¹(2/3).
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.” First bring both to standard form.
- First line: (x − 1)/(−3) = (y − 2)/(2p/7) = (z − 3)/2, so the direction ratios are −3, 2p/7, 2.
- Second line: (x − 1)/(−3p/7) = (y − 5)/1 = (z − 6)/(−5), so the direction ratios are −3p/7, 1, −5.
At right angles: (−3)(−3p/7) + (2p/7)(1) + 2(−5) = 0, that is 9p/7 + 2p/7 − 10 = 0, so 11p/7 = 10 and p = 70/11.
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.” Direction ratios 7, −5, 1 and 1, 2, 3. 7 × 1 + (−5) × 2 + 1 × 3 = 7 − 10 + 3 = 0, so the lines are perpendicular.
12. “Find the shortest distance between the lines r = (î + 2ĵ + k̂) + λ(î − ĵ + k̂) and r = 2î − ĵ − k̂ + μ(2î + ĵ + 2k̂)” a₁ = î + 2ĵ + k̂, b₁ = î − ĵ + k̂, a₂ = 2î − ĵ − k̂, b₂ = 2î + ĵ + 2k̂.
- a₂ − a₁ = î − 3ĵ − 2k̂.
- b₁ × b₂ = (−2 − 1)î − (2 − 2)ĵ + (1 + 2)k̂ = −3î + 3k̂, with |b₁ × b₂| = √18 = 3√2.
- (b₁ × b₂) · (a₂ − a₁) = −3 + 0 − 6 = −9.
d = 9/(3√2) = 3/√2 = 3√2/2.
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” Points (−1, −1, −1) and (3, 5, 7); direction ratios 7, −6, 1 and 1, −2, 1.
- x₂ − x₁, y₂ − y₁, z₂ − z₁ = 4, 6, 8.
- b₁ × b₂ = (−6 + 2)î − (7 − 1)ĵ + (−14 + 6)k̂ = −4î − 6ĵ − 8k̂, so |b₁ × b₂| = √(16 + 36 + 64) = √116 = 2√29.
- (b₁ × b₂) · (a₂ − a₁) = −16 − 36 − 64 = −116.
d = 116/√116 = √116 = 2√29.
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̂)”
- a₂ − a₁ = 3î + 3ĵ + 3k̂.
- b₁ × b₂ = (−3 − 6)î − (1 − 4)ĵ + (3 + 6)k̂ = −9î + 3ĵ + 9k̂, with |b₁ × b₂| = √171 = 3√19.
- (b₁ × b₂) · (a₂ − a₁) = −27 + 9 + 27 = 9.
d = 9/(3√19) = 3/√19.
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̂” Split each into a point and a direction.
- First: r = (î − 2ĵ + 3k̂) + t(−î + ĵ − 2k̂), so a₁ = î − 2ĵ + 3k̂, b₁ = −î + ĵ − 2k̂.
- Second: r = (î − ĵ − k̂) + s(î + 2ĵ − 2k̂), so a₂ = î − ĵ − k̂, b₂ = î + 2ĵ − 2k̂.
- a₂ − a₁ = ĵ − 4k̂. b₁ × b₂ = (−2 + 4)î − (2 + 2)ĵ + (−2 − 1)k̂ = 2î − 4ĵ − 3k̂, with |b₁ × b₂| = √29.
- (b₁ × b₂) · (a₂ − a₁) = 0 − 4 + 12 = 8.
d = 8/√29.
Miscellaneous Exercise on Chapter 11 (pages 390–391)
1. “Find the angle between the lines whose direction ratios are a, b, c and b − c, c − a, a − b.” a(b − c) + b(c − a) + c(a − b) = ab − ac + bc − ab + ac − bc = 0. So cos θ = 0 and θ = 90°.
2. “Find the equation of a line parallel to x-axis and passing through the origin.” The line goes through (0, 0, 0) with direction cosines 1, 0, 0. x/1 = y/0 = z/0, that is r = λî: the x-axis itself.
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.” Direction ratios −3, 2k, 2 and 3k, 1, −5. Perpendicular: −9k + 2k − 10 = 0, so −7k = 10 and k = −10/7.
4. “Find the shortest distance between lines r = 6î + 2ĵ + 2k̂ + λ(î − 2ĵ + 2k̂) and r = −4î − k̂ + μ(3î − 2ĵ − 2k̂).”
- a₂ − a₁ = −10î − 2ĵ − 3k̂.
- b₁ × b₂ = (4 + 4)î − (−2 − 6)ĵ + (−2 + 6)k̂ = 8î + 8ĵ + 4k̂, with |b₁ × b₂| = √144 = 12.
- (b₁ × b₂) · (a₂ − a₁) = −80 − 16 − 12 = −108.
d = 108/12 = 9.
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).” A direction perpendicular to both b₁ = 3î − 16ĵ + 7k̂ and b₂ = 3î + 8ĵ − 5k̂ is b₁ × b₂ = (80 − 56)î − (−15 − 21)ĵ + (24 + 48)k̂ = 24î + 36ĵ + 72k̂ = 12(2î + 3ĵ + 6k̂). Check: (2, 3, 6) · (3, −16, 7) = 6 − 48 + 42 = 0 and (2, 3, 6) · (3, 8, −5) = 6 + 24 − 30 = 0. r = î + 2ĵ − 4k̂ + λ(2î + 3ĵ + 6k̂).
Notes for the reader
- Exercise 11.2 Question 5 prints “2î – j + 4k̂” with the hat missing on j; it is quoted here as ĵ.
- Exercise 11.2 Question 8(ii) prints the point of the second line as 2î − ĵ − 56k̂. The point does not affect the angle, which depends only on the directions.
Practice
-
The angle between the lines with direction ratios 1, 1, 0 and 1, 0, 1 is:
Show answer
Answer: (c) 60°
-
The lines with direction ratios 1, k, 2 and 2, 1, −3 are perpendicular when k is:
Show answer
Answer: (b) 4
-
The Cartesian equation of the line through (2, −1, 3) parallel to 4î − ĵ + 2k̂ is:
Show answer
Answer: (a) (x − 2)/4 = (y + 1)/(−1) = (z − 3)/2
-
Find the shortest distance between r = λ(î + ĵ) and r = k̂ + μ(î − ĵ).
Show answer
Answer: b₁ × b₂ = (î + ĵ) × (î − ĵ) = −2k̂ and a₂ − a₁ = k̂, so d = |−2|/2 = 1.
-
Find the direction cosines of the line through (1, 2, 3) and (3, −4, 6).
Show answer
Answer: The differences are 2, −6, 3 and the length is √(4 + 36 + 9) = 7, so the direction cosines are 2/7, −6/7, 3/7.
Stuck on a question?
Take a photo and Lagnever AI explains it step by step. Try it for 7 days for ₹2.
Get it on Google Play Open in browser
For parents: after the trial, the plan renews monthly by UPI or card autopay. You can cancel anytime in the app.