NCERT Solutions · Class 12 Maths · NCERT Mathematics Part I and II Part II · Chapter 11
Chapter 11: Three Dimensional Geometry (Vectors and 3D Geometry)
Step-by-step solutions to all exercises of Chapter 11, Three Dimensional Geometry (NCERT Class 12 Maths Part II, 2026-27): Exercise 11.1 (direction cosines and ratios), 11.2 (equation of a line, angle between lines, shortest distance between skew lines) and the Miscellaneous Exercise. All 25 questions are answered, with the key answer highlighted.
Print / save as PDF NCERT textbook Chapter 11 (PDF)
Subject experts: Ruchi Agarwal (B.Tech, M.Tech) and Vinay Wadhwani (B.Tech Electrical Engineering)
Exam revision? Chapter 11 notes with key points, diagrams and practice questions: see the free sample · ₹199 for all 13 chapters Practise: important questions from this chapter, with answers Board exam? CBSE previous year questions from this chapter, with solutions
Free NCERT solutions by Notes Bazar · www.notesbazar.in/ncert-solutions/class-12-maths/chapter-11-three-dimensional-geometry
Exercise 11.1 Exercise 11.2 Miscellaneous Exercise on Chapter 11 Direction cosines: l 2 + m 2 + n 2 = 1 . Line through a parallel to b : r = a + λ b , or a x − x 1 = b y − y 1 = c z − z 1 . Angle between lines: cos θ = ∣ b 1 ∣∣ b 2 ∣ b 1 ⋅ b 2 ; perpendicular if a 1 a 2 + b 1 b 2 + c 1 c 2 = 0 . Shortest distance between skew lines: d = ∣ b 1 × b 2 ∣ ( b 1 × b 2 ) ⋅ ( a 2 − a 1 ) .
Exercise 11.1
1 If a line makes angles 90°, 135°, 45° with the x, y and z-axes respectively, find its direction cosines.
Solution
l = cos 9 0 ∘ = 0 , m = cos 13 5 ∘ = − 2 1 , n = cos 4 5 ∘ = 2 1 .
0 , − 2 1 , 2 1
2 Find the direction cosines of a line which makes equal angles with the coordinate axes.
Solution
l = m = n and l 2 + m 2 + n 2 = 1 ⇒ 3 l 2 = 1 ⇒ l = ± 3 1 .
± 3 1 , ± 3 1 , ± 3 1
3 If a line has the direction ratios –18, 12, – 4, then what are its direction cosines?
Solution
( − 18 ) 2 + 1 2 2 + ( − 4 ) 2 = 324 + 144 + 16 = 484 = 22 . Divide each ratio by 22.
− 11 9 , 11 6 , − 11 2
4 Show that the points (2, 3, 4), (–1, –2, 1), (5, 8, 7) are collinear.
Solution
Let A(2, 3, 4), B(−1, −2, 1), C(5, 8, 7). Direction ratios of AB: − 3 , − 5 , − 3 ; of AC: 3 , 5 , 3 .
These are proportional (AC = −1 × AB), so AB ∥ AC, and they share point A.
A, B, C lie on one line.
5 Find the direction cosines of the sides of the triangle whose vertices are (3, 5, – 4), (–1, 1, 2) and (–5, –5, –2).
Solution
A(3, 5, −4), B(−1, 1, 2), C(−5, −5, −2).
AB: ratios ( − 4 , − 4 , 6 ) , length 16 + 16 + 36 = 2 17 : − 17 2 , − 17 2 , 17 3 .
BC: ratios ( − 4 , − 6 , − 4 ) , length 2 17 : − 17 2 , − 17 3 , − 17 2 .
CA: ratios ( 8 , 10 , − 2 ) , length 168 = 2 42 : 42 4 , 42 5 , − 42 1 .
AB: ( − 17 2 , − 17 2 , 17 3 ) ; BC: ( − 17 2 , − 17 3 , − 17 2 ) ; CA: ( 42 4 , 42 5 , − 42 1 )
Exercise 11.2
1 Show that the three lines with direction cosines 13 12 , 13 − 3 , 13 − 4 ; 13 4 , 13 12 , 13 3 ; 13 3 , 13 − 4 , 13 12 are mutually perpendicular.
Solution
l 1 l 2 + m 1 m 2 + n 1 n 2 for each pair:
1 and 2: 169 48 − 36 − 12 = 0 ; 2 and 3: 169 12 − 48 + 36 = 0 ; 1 and 3: 169 36 + 12 − 48 = 0 .
Each pair is 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).
Solution
Direction ratios: ( 2 , 5 , − 4 ) and ( 3 , 2 , 4 ) . 2 ( 3 ) + 5 ( 2 ) + ( − 4 ) ( 4 ) = 6 + 10 − 16 = 0 .
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).
Solution
Direction ratios: ( − 2 , − 4 , − 4 ) and ( 2 , 4 , 4 ) : proportional (one is −1 times the other).
Parallel.
4 Find the equation of the line which passes through the point (1, 2, 3) and is parallel to the vector 3 i ^ + 2 j ^ − 2 k ^ .
Solution
a = i ^ + 2 j ^ + 3 k ^ , b = 3 i ^ + 2 j ^ − 2 k ^ .
r = ( i ^ + 2 j ^ + 3 k ^ ) + λ ( 3 i ^ + 2 j ^ − 2 k ^ ) ; i.e. 3 x − 1 = 2 y − 2 = − 2 z − 3
5 Find the equation of the line in vector and in cartesian form that passes through the point with position vector 2 i ^ − j ^ + 4 k ^ and is in the direction i ^ + 2 j ^ − k ^ .
Solution
r = ( 2 i ^ − j ^ + 4 k ^ ) + λ ( i ^ + 2 j ^ − k ^ ) ; 1 x − 2 = 2 y + 1 = − 1 z − 4
6 Find the cartesian equation of the line which passes through the point (– 2, 4, – 5) and parallel to the line given by 3 x + 3 = 5 y − 4 = 6 z + 8 .
Solution
The required line has the same direction ratios 3, 5, 6.
3 x + 2 = 5 y − 4 = 6 z + 5
7 The cartesian equation of a line is 3 x − 5 = 7 y + 4 = 2 z − 6 . Write its vector form.
Solution
Point (5, −4, 6), direction (3, 7, 2).
r = ( 5 i ^ − 4 j ^ + 6 k ^ ) + λ ( 3 i ^ + 7 j ^ + 2 k ^ )
8 Find the angle between the following pairs of lines: (i)
r = 2 i ^ − 5 j ^ + k ^ + λ ( 3 i ^ + 2 j ^ + 6 k ^ ) and
r = 7 i ^ − 6 k ^ + μ ( i ^ + 2 j ^ + 2 k ^ ) (ii)
r = 3 i ^ + j ^ − 2 k ^ + λ ( i ^ − j ^ − 2 k ^ ) and
r = 2 i ^ − j ^ − 56 k ^ + μ ( 3 i ^ − 5 j ^ − 4 k ^ ) Solution
(i) b 1 = ( 3 , 2 , 6 ) , ∣ b 1 ∣ = 7 ; b 2 = ( 1 , 2 , 2 ) , ∣ b 2 ∣ = 3 . cos θ = 21 3 + 4 + 12 = 21 19 .
(ii) b 1 = ( 1 , − 1 , − 2 ) , ∣ b 1 ∣ = 6 ; b 2 = ( 3 , − 5 , − 4 ) , ∣ b 2 ∣ = 5 2 . cos θ = 6 ⋅ 5 2 3 + 5 + 8 = 10 3 16 = 5 3 8 .
(i) θ = cos − 1 ( 21 19 ) (ii) θ = cos − 1 ( 5 3 8 )
Revise Chapter 11 faster Class 12 Mathematics notes: short explanations, diagrams, important questions with answers.
Free sample
9 Find the angle between the following pair of lines: (i) 2 x − 2 = 5 y − 1 = − 3 z + 3 and − 1 x + 2 = 8 y − 4 = 4 z − 5 (ii) 2 x = 2 y = 1 z and 4 x − 5 = 1 y − 2 = 8 z − 3
Solution
(i) ( 2 , 5 , − 3 ) and ( − 1 , 8 , 4 ) : cos θ = 38 81 − 2 + 40 − 12 = 9 38 26 .
(ii) ( 2 , 2 , 1 ) and ( 4 , 1 , 8 ) : cos θ = 3 × 9 8 + 2 + 8 = 3 2 .
(i) θ = cos − 1 ( 9 38 26 ) (ii) θ = cos − 1 ( 3 2 )
10 Find the values of p so that the lines 3 1 − x = 2 p 7 y − 14 = 2 z − 3 and 3 p 7 − 7 x = 1 y − 5 = 5 6 − z are at right angles.
Solution
Standard forms: − 3 x − 1 = 2 p /7 y − 2 = 2 z − 3 and − 3 p /7 x − 1 = 1 y − 5 = − 5 z − 6 .
Perpendicular: ( − 3 ) ( − 7 3 p ) + 7 2 p ( 1 ) + 2 ( − 5 ) = 0 ⇒ 7 11 p = 10 .
p = 11 70
11 Show that the lines 7 x − 5 = − 5 y + 2 = 1 z and 1 x = 2 y = 3 z are perpendicular to each other.
Solution
7 ( 1 ) + ( − 5 ) ( 2 ) + 1 ( 3 ) = 7 − 10 + 3 = 0 .
Perpendicular.
12 Find the shortest distance between the lines
r = ( i ^ + 2 j ^ + k ^ ) + λ ( i ^ − j ^ + k ^ ) and
r = 2 i ^ − j ^ − k ^ + μ ( 2 i ^ + j ^ + 2 k ^ ) .
Solution
a 1 = ( 1 , 2 , 1 ) , b 1 = ( 1 , − 1 , 1 ) ; a 2 = ( 2 , − 1 , − 1 ) , b 2 = ( 2 , 1 , 2 ) .
b 1 × b 2 = i ^ 1 2 j ^ − 1 1 k ^ 1 2 = − 3 i ^ + 0 j ^ + 3 k ^ , magnitude 3 2 .
a 2 − a 1 = i ^ − 3 j ^ − 2 k ^ ; ( b 1 × b 2 ) ⋅ ( a 2 − a 1 ) = − 3 + 0 − 6 = − 9 .
d = 3 2 ∣ − 9∣
2 3 = 2 3 2 units
13 Find the shortest distance between the lines 7 x + 1 = − 6 y + 1 = 1 z + 1 and 1 x − 3 = − 2 y − 5 = 1 z − 7 .
Solution
a 1 = ( − 1 , − 1 , − 1 ) , b 1 = ( 7 , − 6 , 1 ) ; a 2 = ( 3 , 5 , 7 ) , b 2 = ( 1 , − 2 , 1 ) .
b 1 × b 2 = i ^ 7 1 j ^ − 6 − 2 k ^ 1 1 = − 4 i ^ − 6 j ^ − 8 k ^ , magnitude 116 = 2 29 .
a 2 − a 1 = ( 4 , 6 , 8 ) ; dot = − 16 − 36 − 64 = − 116 .
d = 2 29 116 = 29 58
2 29 units
14 Find the shortest distance between the lines whose vector equations are
r = ( i ^ + 2 j ^ + 3 k ^ ) + λ ( i ^ − 3 j ^ + 2 k ^ ) and
r = 4 i ^ + 5 j ^ + 6 k ^ + μ ( 2 i ^ + 3 j ^ + k ^ ) .
Solution
b 1 × b 2 = i ^ 1 2 j ^ − 3 3 k ^ 2 1 = − 9 i ^ + 3 j ^ + 9 k ^ , magnitude 171 = 3 19 .
a 2 − a 1 = 3 i ^ + 3 j ^ + 3 k ^ ; dot = − 27 + 9 + 27 = 9 .
d = 3 19 9
19 3 units
15 Find the shortest distance between the lines whose vector equations are
r = ( 1 − t ) i ^ + ( t − 2 ) j ^ + ( 3 − 2 t ) k ^ and
r = ( s + 1 ) i ^ + ( 2 s − 1 ) j ^ − ( 2 s + 1 ) k ^ .
Solution
Rewrite: r = ( i ^ − 2 j ^ + 3 k ^ ) + t ( − i ^ + j ^ − 2 k ^ ) and r = ( i ^ − j ^ − k ^ ) + s ( i ^ + 2 j ^ − 2 k ^ ) .
b 1 × b 2 = i ^ − 1 1 j ^ 1 2 k ^ − 2 − 2 = 2 i ^ − 4 j ^ − 3 k ^ , magnitude 29 .
a 2 − a 1 = j ^ − 4 k ^ ; dot = − 4 + 12 = 8 .
29 8 units
Miscellaneous Exercise on Chapter 11
1 Find the angle between the lines whose direction ratios are a, b, c and b – c, c – a, a – b.
Solution
a ( b − c ) + b ( c − a ) + c ( a − b ) = ab − a c + b c − ab + a c − b c = 0 , so cos θ = 0 .
90°
2 Find the equation of a line parallel to x-axis and passing through the origin.
Solution
Direction ratios of the x-axis: 1, 0, 0; point (0, 0, 0).
1 x = 0 y = 0 z (vector form r = λ i ^ )
3 If the lines − 3 x − 1 = 2 k y − 2 = 2 z − 3 and 3 k x − 1 = 1 y − 1 = − 5 z − 6 are perpendicular, find the value of k.
Solution
( − 3 ) ( 3 k ) + ( 2 k ) ( 1 ) + 2 ( − 5 ) = 0 ⇒ − 7 k − 10 = 0 .
k = − 7 10
4 Find the shortest distance between lines
r = 6 i ^ + 2 j ^ + 2 k ^ + λ ( i ^ − 2 j ^ + 2 k ^ ) and
r = − 4 i ^ − k ^ + μ ( 3 i ^ − 2 j ^ − 2 k ^ ) .
Solution
b 1 × b 2 = i ^ 1 3 j ^ − 2 − 2 k ^ 2 − 2 = 8 i ^ + 8 j ^ + 4 k ^ , magnitude 12.
a 2 − a 1 = − 10 i ^ − 2 j ^ − 3 k ^ ; dot = − 80 − 16 − 12 = − 108 .
d = 12 108
9 units
5 Find the vector equation of the line passing through the point (1, 2, – 4) and perpendicular to the two lines: 3 x − 8 = − 16 y + 19 = 7 z − 10 and 3 x − 15 = 8 y − 29 = − 5 z − 5 .
Solution
The direction is along b 1 × b 2 = i ^ 3 3 j ^ − 16 8 k ^ 7 − 5 = 24 i ^ + 36 j ^ + 72 k ^ = 12 ( 2 i ^ + 3 j ^ + 6 k ^ ) .
r = ( i ^ + 2 j ^ − 4 k ^ ) + λ ( 2 i ^ + 3 j ^ + 6 k ^ )
Test yourself: Chapter 11 online MCQ test, free: 13 questions, 15 minutes, instant score and solutions →
Found a mistake or need help with a question? Message us on WhatsApp . Free study tips and new solutions: join our WhatsApp Channel .
Class 12 Mathematics notes ₹199 ₹249 · all 13 chapters
Free sample ×