NCERT Solutions for Class 12 Mathematics Chapter 11: Three-Dimensional Geometry – Free PDF Download

Chapter 11 of Class 12 Maths is Three-Dimensional Geometry. It extends vector concepts to lines and planes in 3D space, covering direction cosines/ratios, equations of lines and planes, and distances/angles between them.

Last Updated: September 23, 2026

Direction Cosines and Direction Ratios

If a line makes angles α,β,γ with the x,y,z axes, cosα,cosβ,cosγ are its direction cosines (l,m,n), satisfying l²+m²+n²=1. Any numbers proportional to l,m,n are direction ratios.

Equation of a Line in Space

Vector form: r=a+λb (through point with position vector a, along direction b). Cartesian form: (x−x₁)/a=(y−y₁)/b=(z−z₁)/c.

Angle Between Two Lines

Using direction ratios: cosθ=|a₁a₂+b₁b₂+c₁c₂|/[√(a₁²+b₁²+c₁²)√(a₂²+b₂²+c₂²)]. Lines are perpendicular if a₁a₂+b₁b₂+c₁c₂=0.

Equation of a Plane

Vector form (normal form): r·n=d. Cartesian form: ax+by+cz=d, where a,b,c are direction ratios of the normal.

Distances

Distance of a point from a plane: |ax₁+by₁+cz₁−d|/√(a²+b²+c²). Shortest distance between skew lines is computed via the scalar triple product formula.

Exercise 11.1 Solutions (All 5 Questions)

1. If a line makes angles 90°, 135°, 45° with the x, y and z axes respectively, find its direction cosines.
Ans: Let the direction cosines of the line be l, m, n. Then l = cos90° = 0, m = cos135° = -1/√2, n = cos45° = 1/√2. So the direction cosines are 0, -1/√2, 1/√2.

2. Find the direction cosines of a line which makes equal angles with the coordinate axes.
Ans: Let the line make an angle α with each of the coordinate axes, so l = m = n = cosα. Since l²+m²+n² = 1, 3cos²α = 1, giving cosα = ±1/√3. So the direction cosines are ±1/√3, ±1/√3, ±1/√3.

3. If a line has the direction ratios -18, 12, -4, then what are its direction cosines?
Ans: Here a=-18, b=12, c=-4. √(a²+b²+c²) = √(324+144+16) = √484 = 22. So the direction cosines are l=a/22=-18/22=-9/11, m=b/22=12/22=6/11, n=c/22=-4/22=-2/11.

4. Show that the points (2,3,4), (-1,-2,1), (5,8,7) are collinear.
Ans: Let A(2,3,4), B(-1,-2,1), C(5,8,7). The direction ratios of AB are (-1-2,-2-3,1-4) = (-3,-5,-3). The direction ratios of BC are (5-(-1),8-(-2),7-1) = (6,10,6). Since BC = -2·AB, the direction ratios of AB and BC are proportional, so AB is parallel to BC. As point B is common to both, the points A, B, C 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).
Ans: Let A(3,5,-4), B(-1,1,2), C(-5,-5,-2). The direction ratios of AB are (-1-3,1-5,2-(-4)) = (-4,-4,6), with magnitude √(16+16+36) = 2√17, giving direction cosines (-2/√17, -2/√17, 3/√17). The direction ratios of BC are (-5-(-1),-5-1,-2-2) = (-4,-6,-4), with magnitude √(16+36+16) = 2√17, giving direction cosines (-2/√17, -3/√17, -2/√17). The direction ratios of AC are (-5-3,-5-5,-2-(-4)) = (-8,-10,2), with magnitude √(64+100+4) = 2√42, giving direction cosines (-4/√42, -5/√42, 1/√42).

Exercise 11.2 Solutions (All 15 Questions)

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.
Ans: Two lines with direction cosines (l₁,m₁,n₁) and (l₂,m₂,n₂) are perpendicular to each other if l₁l₂+m₁m₂+n₁n₂=0.
(i) For 12/13,-3/13,-4/13 and 4/13,12/13,3/13: (12/13)(4/13)+(-3/13)(12/13)+(-4/13)(3/13) = 48/169-36/169-12/169 = 0. So these lines are perpendicular.
(ii) For 4/13,12/13,3/13 and 3/13,-4/13,12/13: (4/13)(3/13)+(12/13)(-4/13)+(3/13)(12/13) = 12/169-48/169+36/169 = 0. So these lines are perpendicular.
(iii) For 3/13,-4/13,12/13 and 12/13,-3/13,-4/13: (3/13)(12/13)+(-4/13)(-3/13)+(12/13)(-4/13) = 36/169+12/169-48/169 = 0. So these lines are perpendicular.
Hence, all three lines are mutually perpendicular.

2. Show that the line through the points (1,-1,2) and (3,4,-2) is perpendicular to the line through the points (0,3,2) and (3,5,6).
Ans: Let AB be the line joining (1,-1,2) and (3,4,-2), and CD be the line joining (0,3,2) and (3,5,6). The direction ratios of AB are (3-1,4-(-1),-2-2) = (2,5,-4). The direction ratios of CD are (3-0,5-3,6-2) = (3,2,4). AB and CD are perpendicular if the sum of the products of corresponding direction ratios is zero: (2×3)+(5×2)+(-4×4) = 6+10-16 = 0. Therefore, AB and CD are perpendicular to each other.

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).
Ans: Let AB be the line through (4,7,8) and (2,3,4), and CD be the line through (-1,-2,1) and (1,2,5). The direction ratios of AB are (2-4,3-7,4-8) = (-2,-4,-4). The direction ratios of CD are (1-(-1),2-(-2),5-1) = (2,4,4). Since AB’s direction ratios are -1 times CD’s direction ratios, they are proportional: -2/2 = -4/4 = -4/4 = -1. Since the direction ratios of AB and CD are proportional, AB is parallel to CD.

4. Find the equation of the line which passes through the point (1,2,3) and is parallel to the vector 3î+2ĵ-2k̂.
Ans: The line passes through the point A(1,2,3), so the position vector of A is a→ = î+2ĵ+3k̂. Also, b→ = 3î+2ĵ-2k̂. The line through point A and parallel to b→ is given by r→ = a→+λb→. So r→ = (î+2ĵ+3k̂)+λ(3î+2ĵ-2k̂), which is the required equation of the line.

5. Find the equation of the line in vector and Cartesian form that passes through the point with position vector 2î-ĵ+4k̂ and is in the direction î+2ĵ-k̂.
Ans: The line passes through the point with position vector a→ = 2î-ĵ+4k̂, and b→ = î+2ĵ-k̂. The line through this point and parallel to b→ is given by r→ = a→+λb→, so r→ = (2î-ĵ+4k̂)+λ(î+2ĵ-k̂), which gives r→ = (2+λ)î+(2λ-1)ĵ+(4-λ)k̂. This is the required equation in vector form. Eliminating λ, we obtain the Cartesian form: (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 is parallel to the line given by (x+3)/3 = (y-4)/5 = (z+8)/6.
Ans: The required line passes through (-2,4,-5) and is parallel to (x+3)/3 = (y-4)/5 = (z+8)/6, whose direction ratios are 3,5,6. Since the required line is parallel to this line, its direction ratios are 3k,5k,6k for some k≠0. The equation of a line through (x₁,y₁,z₁) with direction ratios (a,b,c) is (x-x₁)/a = (y-y₁)/b = (z-z₁)/c. So the equation of the required line is (x+2)/3k = (y-4)/5k = (z+5)/6k, which simplifies to (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.
Ans: The given line passes through the point (5,-4,6), whose position vector is a→ = 5î-4ĵ+6k̂. The direction ratios of the line are 3,7,2, so the line is in the direction of b→ = 3î+7ĵ+2k̂. The line through point A and parallel to b→ is given by r→ = a→+λb→, so r→ = (5î-4ĵ+6k̂)+λ(3î+7ĵ+2k̂), which is the required equation of the line in vector form.

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̂).
Ans: The angle Q between two lines parallel to vectors b→₁ and b→₂ is given by cosQ = |b→₁·b→₂| / (|b→₁||b→₂|).
(i) Here b→₁ = 3î-2ĵ+6k̂ and b→₂ = î+2ĵ+2k̂. |b→₁| = √(9+4+36) = 7 and |b→₂| = √(1+4+4) = 3. b→₁·b→₂ = 3×1+(-2)×2+6×2 = 3-4+12 = 11. So cosQ = 11/21, giving Q = cos⁻¹(11/21).
(ii) Here b→₁ = î-ĵ-2k̂ and b→₂ = 3î-5ĵ-4k̂. |b→₁| = √(1+1+4) = √6 and |b→₂| = √(9+25+16) = √50 = 5√2. b→₁·b→₂ = 1×3+(-1)×(-5)+(-2)×(-4) = 3+5+8 = 16. So cosQ = 16/(√6×5√2) = 16/(5√12) = 8/(5√3), giving Q = cos⁻¹(8/(5√3)).

9. Find the angle between the following pairs 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.
Ans: The angle Q between two lines with direction vectors b→₁ and b→₂ is given by cosQ = |b→₁·b→₂| / (|b→₁||b→₂|).
(i) Here b→₁ = 2î+5ĵ-3k̂ and b→₂ = -î+8ĵ+4k̂. |b→₁| = √(4+25+9) = √38 and |b→₂| = √(1+64+16) = 9. b→₁·b→₂ = 2×(-1)+5×8+(-3)×4 = -2+40-12 = 26. So cosQ = 26/(9√38), giving Q = cos⁻¹(26/(9√38)).
(ii) Here b→₁ = 2î+2ĵ+k̂ and b→₂ = -4î+ĵ+8k̂. |b→₁| = √(4+4+1) = 3 and |b→₂| = √(16+1+64) = 9. b→₁·b→₂ = 2×(-4)+2×1+1×8 = -8+2+8 = 2. So cosQ = 2/(3×9) = 2/27, giving Q = cos⁻¹(2/27).

10. 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.
Ans: Writing the given equations in standard form: (x-1)/-3 = (y-2)/(2p/7) = (z-3)/2 and (x-1)/(-3p/7) = (y-5)/1 = (z-6)/-5. So the direction ratios of the two lines are -3, 2p/7, 2 and -3p/7, 1, -5. Two lines are perpendicular if the sum of the products of corresponding direction ratios is zero: (-3)(-3p/7)+(2p/7)(1)+(2)(-5) = 0, which gives 9p/7+2p/7-10 = 0, so 11p/7 = 10, giving 11p = 70, so 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.
Ans: The direction ratios of the given lines are 7,-5,1 and 1,2,3. Two lines are perpendicular if the sum of the products of corresponding direction ratios is zero: 7×1+(-5)×2+1×3 = 7-10+3 = 0. Therefore, the given lines are perpendicular to each other.

12. Find the shortest distance between the lines r→ = (î+2ĵ+k̂)+λ(î-ĵ+k̂) and r→ = (2î-ĵ-k̂)+μ(2î+ĵ+2k̂).
Ans: Comparing with r→ = a→₁+λb→₁ and r→ = a→₂+μb→₂, we get a→₁ = î+2ĵ+k̂, b→₁ = î-ĵ+k̂, a→₂ = 2î-ĵ-k̂, b→₂ = 2î+ĵ+2k̂. So a→₂-a→₁ = î-3ĵ-2k̂. Also, b→₁×b→₂ = î(-1×2-1×1)-ĵ(1×2-1×2)+k̂(1×1-(-1)×2) = î(-2-1)-ĵ(2-2)+k̂(1+2) = -3î+3k̂, with magnitude √(9+9) = 3√2. The shortest distance is given by d = |(b→₁×b→₂)·(a→₂-a→₁)| / |b→₁×b→₂| = |(-3î+3k̂)·(î-3ĵ-2k̂)| / 3√2 = |(-3)(1)+3(-2)| / 3√2 = |-9| / 3√2 = 3/√2. Therefore, the shortest distance between the given lines is 3/√2 units.

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.
Ans: The shortest distance between the lines (x-x₁)/a₁ = (y-y₁)/b₁ = (z-z₁)/c₁ and (x-x₂)/a₂ = (y-y₂)/b₂ = (z-z₂)/c₂ is given by the formula d = |determinant| / √((b₁c₂-b₂c₁)²+(c₁a₂-c₂a₁)²+(a₁b₂-a₂b₁)²), where the determinant has rows (x₂-x₁, y₂-y₁, z₂-z₁), (a₁,b₁,c₁), (a₂,b₂,c₂). Here x₁=-1,y₁=-1,z₁=-1, a₁=7,b₁=-6,c₁=1, x₂=3,y₂=5,z₂=7, a₂=1,b₂=-2,c₂=1. So the determinant with rows (4,6,8), (7,-6,1), (1,-2,1) equals 4(-6+2)-6(7-1)+8(-14+6) = -16-36-64 = -116. Also, √((-6+2)²+(1-7)²+(-14+6)²) = √(16+36+64) = √116 = 2√29. So d = |-116|/2√29 = 58/√29 = 2√29. Since distance is always non-negative, the shortest distance between the given lines is 2√29 units.

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̂).
Ans: Comparing with the standard form, a→₁ = î+2ĵ+3k̂, b→₁ = î-3ĵ+2k̂, a→₂ = 4î+5ĵ+6k̂, b→₂ = 2î+3ĵ+k̂. So a→₂-a→₁ = 3î+3ĵ+3k̂. Also, b→₁×b→₂ = î(-3×1-2×3)-ĵ(1×1-2×2)+k̂(1×3-(-3)×2) = î(-3-6)-ĵ(1-4)+k̂(3+6) = -9î+3ĵ+9k̂, with magnitude √(81+9+81) = √171 = 3√19. The shortest distance is d = |(b→₁×b→₂)·(a→₂-a→₁)| / |b→₁×b→₂| = |(-9)(3)+(3)(3)+(9)(3)| / 3√19 = |9| / 3√19 = 3/√19. Therefore, the shortest distance between the given lines is 3/√19 units.

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̂.
Ans: Rewriting the first equation: r→ = î-tî+tĵ-2ĵ+3k̂-2tk̂ = (î-2ĵ+3k̂)+t(-î+ĵ-2k̂). Rewriting the second equation: r→ = sî+î+2sĵ-ĵ-2sk̂-k̂ = (î-ĵ-k̂)+s(î+2ĵ-2k̂). So a→₁ = î-2ĵ+3k̂, b→₁ = -î+ĵ-2k̂, a→₂ = î-ĵ-k̂, b→₂ = î+2ĵ-2k̂. So a→₂-a→₁ = ĵ-4k̂. Also, b→₁×b→₂ = î(1×(-2)-(-2)×2)-ĵ((-1)×(-2)-(-2)×1)+k̂((-1)×2-1×1) = î(-2+4)-ĵ(2+2)+k̂(-2-1) = 2î-4ĵ-3k̂, with magnitude √(4+16+9) = √29. The shortest distance is d = |(b→₁×b→₂)·(a→₂-a→₁)| / |b→₁×b→₂| = |(2)(0)+(-4)(1)+(-3)(-4)| / √29 = |8| / √29 = 8/√29. Therefore, the shortest distance between the given lines is 8/√29 units.

Miscellaneous Exercise Solutions (All 5 Questions)

1. Find the angle between the lines whose direction ratios are a, b, c and b-c, c-a, a-b.
Ans: Let θ be the angle between the lines with direction ratios a,b,c and b-c,c-a,a-b. The cosine of the angle between two lines with direction ratios (a₁,b₁,c₁) and (a₂,b₂,c₂) is given by cosθ = |a₁a₂+b₁b₂+c₁c₂| / (√(a₁²+b₁²+c₁²)·√(a₂²+b₂²+c₂²)). Here the numerator is a(b-c)+b(c-a)+c(a-b) = ab-ac+bc-ab+ac-bc = 0. So cosθ = 0, which gives θ = cos⁻¹0 = 90°. Therefore, the angle between the two lines is 90°.

2. Find the equation of a line parallel to the x-axis and passing through the origin.
Ans: A line parallel to the x-axis and passing through the origin is the x-axis itself. Let A be a point on the x-axis, so the coordinates of A are (a,0,0). The direction ratios of OA are (a-0,0-0,0-0) = (a,0,0), i.e., proportional to 1,0,0. So the equation of OA is (x-0)/1 = (y-0)/0 = (z-0)/0. Therefore, the equation of the line passing through the origin and parallel to the x-axis is x/1 = y/0 = z/0.

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.
Ans: From the given equations, the direction ratios of the two lines are a₁=-3, b₁=2k, c₁=2 and a₂=3k, b₂=1, c₂=-5. The two lines are perpendicular if a₁a₂+b₁b₂+c₁c₂=0. So -3(3k)+2k(1)+2(-5) = 0, which gives -9k+2k-10 = 0, so -7k = 10, giving k = -10/7.

4. Find the shortest distance between the lines r→ = 6î+2ĵ+2k̂+λ(î-2ĵ+2k̂) and r→ = -4î-k̂+μ(3î-2ĵ-2k̂).
Ans: Comparing with r→ = a→₁+λb→₁ and r→ = a→₂+μb→₂, we get a→₁ = 6î+2ĵ+2k̂, b→₁ = î-2ĵ+2k̂, a→₂ = -4î-k̂, b→₂ = 3î-2ĵ-2k̂. So a→₁-a→₂ = 10î+2ĵ+3k̂. Also, b→₁×b→₂ = î((-2)(-2)-(2)(-2))-ĵ((1)(-2)-(2)(3))+k̂((1)(-2)-(-2)(3)) = î(4+4)-ĵ(-2-6)+k̂(-2+6) = 8î+8ĵ+4k̂, with magnitude √(64+64+16) = √144 = 12. The shortest distance is given by d = |(b→₁×b→₂)·(a→₁-a→₂)| / |b→₁×b→₂| = |(8)(10)+(8)(2)+(4)(3)| / 12 = |80+16+12| / 12 = 108/12 = 9. Therefore, the shortest distance between the given lines is 9 units.

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.
Ans: Let the required line be parallel to b→ = b₁î+b₂ĵ+b₃k̂, and let a→ = î+2ĵ-4k̂ be the position vector of the given point. The equation of the required line is r→ = (î+2ĵ-4k̂)+λ(b₁î+b₂ĵ+b₃k̂) … (1). The direction ratios of the two given lines are 3,-16,7 and 3,8,-5. Since the required line is perpendicular to both of these lines: 3b₁-16b₂+7b₃=0 … (2), and 3b₁+8b₂-5b₃=0 … (3). Solving (2) and (3) using cross-multiplication: b₁/((-16)(-5)-(8)(7)) = b₂/((7)(3)-(3)(-5)) = b₃/((3)(8)-(3)(-16)), which gives b₁/24 = b₂/36 = b₃/72, i.e., b₁/2 = b₂/3 = b₃/6. So the direction ratios of b→ are 2,3,6, giving b→ = 2î+3ĵ+6k̂. Substituting this into (1), the required vector equation of the line is r→ = (î+2ĵ-4k̂)+λ(2î+3ĵ+6k̂).

📄 Want this offline? Download the free PDF of this page.Download PDF

Frequently Asked Questions

What is the relation between direction cosines?
l²+m²+n²=1.

How do you check if two lines are perpendicular using direction ratios?
Their dot product (a₁a₂+b₁b₂+c₁c₂) equals zero.

What is the formula for distance of a point from a plane?
|ax₁+by₁+cz₁−d|/√(a²+b²+c²).

Chapter Quiz — Test Your Understanding

Question 1 of 0 · Score: 0

Recommended: Buy the Printed NCERT Class 12 Maths Book

Contains Amazon affiliate links.

If you’d like a printed copy alongside the PDF, here’s a verified option:

NCERT Mathematics Textbook for Class 12 – Part I + Part II (English Medium)
4.3 out of 5 stars (899 ratings) · Rs. 94

Buy on Amazon →

Price and availability may change on Amazon. As an Amazon Associate, ncertbooks.org earns from qualifying purchases.

Written by Satish

NCERTBooks.org is an independent educational resource run by a small team focused on making official NCERT textbooks easy to find, read, and download for students, parents, and teachers across India. We are not affiliated with NCERT or the Ministry of Education -- we organise publicly available NCERT content by class and subject, verify links against official sources, and build tools (like our in-browser reader) that make studying more convenient. Every guide we publish is written and reviewed by our team based on the actual NCERT curriculum and syllabus.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top