Maths - 11 - Three Dimensional Geometry
Maths - 11 - Three Dimensional Geometry
11
“ Architects use 3D geometry to design
buildings and structures, ensuring
safety, functionality, and aesthetic
appeal. For example, when designing a
skyscraper, they calculate the weight
it can support, assess the impact of
wind and weather, and plan the flow
of people through its spaces. This
application of 3D geometry is crucial for
creating stable and efficient buildings. ”
SYLLABUS &
WEIGHTAGE
Years
List of Concept Names
2020 2021 2022 2023 2024
Distance between two skew Cartesian form: Distance between parallel lines:
lines: The shortest distance between the lines If two lines l1 and l2 are parallel, then they are
Let l1 and l2 be two skew lines x − x1 y − y1 z − z1 coplanar. Let the lines be given by
l1 : = =
with equations a1 b1 c1 r= a1 + λb
r= a1 + λb1
x − x2 y − y2 z − z2 and r= a2 + µb
and l2 : = =
and r= a2 + µb2 a2 b2 c2 The distance between the given parallel lines is
∴ Required shortest distance is
x2 − x1 y2 − y1 z2 − z1 b × (a2 − a1 )
d=
(b × b ).(a − a ) a1 b1 c1 b
d = 1 2 2 1
b1 × b2 a2 b2 c2
d=
(b1c2 − b2c1 )2 + (c1a2 − c2 a1 )2 + (a1b2 − a2b1 )2
P
W CBSE Class – XII MATHEMATICS 422
1 DIRECTION COSINES AND DIRECTION RATIOS OF A LINE
Important Terms
Direction Cosines of a Line (D.c’s): The cosines of the angles made by a line with coordinate axes are called the direction cosines
of that line.
Let a, b, g be the angles made by a directed line OP with coordinate axes X, Y, Z-axis respectively then cos α, cos β, cos g are the
direction cosines of OP which are generally denoted by l, m, n. Hence l = cos α, m = cos β, n = cos g
Z
g
O a
X
b
Y
Direction Ratios of a Line (D.r's): Any three numbers which are proportional to the direction cosines of a line are called the
direction ratios of the line. If l, m, n are direction cosines and a, b, c are direction ratios of a line, then a = ll, b = lm and c = ln,
for any non-zero l ∈ R.
Important Formulas
(i) The direction cosines of a line parallel to any coordinates axis are equal to the direction cosines of the corresponding axis.
(ii) Relation between D.c’s: l2 + m2 + n2 = 1
(iii) If A(x1, y1, z1) and B(x2, y2, z2) are two points on a line, then a = x2 – x1, b = y2 – y1, c = z2 – z1 are direction ratios of the line
AB.
(iv) –1 ≤ cos x ≤ 1 ∀ x ∈ R, hence values of l, m, n are such real numbers which are not less than –1 and not greater than 1. Hence
D.c’s ∈ [–1, 1]
Important Concepts
Relationship between Direction Cosines and Direction Ratios of a Line: Let a, b, c be direction ratios of a line and let l, m and
n be the direction cosines (D.c’s) of the line. Then
l m n
= = = k (say), k being a constant.
a b c
Therefore l = ak, m = bk, n = ck...(i)
But l2 + m2 + n2 = 1
Therefore k2(a2 + b2 + c2) = 1
1
or k = ±
a + b2 + c2
2
where, depending on the desired sign of k, either a positive or a negative sign is to be taken for l, m and n.
Note:
(i) D.r’s of a line are not unique whereas D.c’s of a line are unique.
(ii) a2 + b2 + c2 ≠ 1
(iii) D.r’s of two parallel lines are proportional.
Q
g Q
P N g
P N
Y Y
S
R
X X
(a) (b)
Let l, m, n be the direction cosines of the line PQ and let it makes angles a, b and g with the x, y and z-axis, respectively. Draw
perpendiculars from P and Q to XY-plane to meet at R and S.
Draw a perpendicular from P to QS to meet at N. Now, in right angle triangle PNQ, ∠PQN = g
NQ z2 − z1
Therefore, cos g = =
PQ PQ
x2 − x1 y − y1
Similarly cos a = and cos β = 2
PQ PQ
x2 − x1 y2 − y1 z2 − z1
Hence, the direction cosines of the line segment joining the points P(x1, y1, z1) and Q(x2, y2, z2) are , ,
PQ PQ PQ
Where, PQ = ( x2 − x1 ) 2 + ( y2 − y1 ) 2 + ( z2 − z1 ) 2
Aircraft Navigation: Pilots use direction cosines to determine the orientation of an aircraft relative to the earth’s surface. This
helps in plotting the most efficient flight path.
Marine Navigation: Ships use similar principles to navigate through the vast oceans, ensuring they stay on course towards their
destination.
Satellite Orientation: Satellites use direction cosines to maintain proper orientation relative to the earth and other celestial
bodies, ensuring their instruments are correctly aligned for data collection.
Spacecraft Navigation: Space missions rely on direction ratios to navigate through space, determining the precise orientation
needed for trajectory corrections and docking maneuvers.
Vector Analysis: In physics, direction cosines are used in vector analysis to resolve forces and velocities into their components
along different axes, facilitating the study of motion and equilibrium.
Mechanics: Engineers use direction ratios to analyze the motion of objects, particularly in systems involving rotational dynamics
and angular momentum
Type I: Determining the direction cosines When the angle with the positive direction of x, y and z-axis
is given
Example: If a line makes angle 90°, 60° and 30° with the positive direction of x, y and z-axis respectively, find its direction cosines.
Solution:
Step I: Calculate the direction cosine l corresponding to the x-axis:
l = cos (90°) = 0.
Step II: Calculate the direction cosine m corresponding to the y-axis:
1
m = cos (60°) = .
2
P
W CBSE Class – XII MATHEMATICS 424
Step III: Calculate the direction cosine n corresponding to the z-axis:
3
n = cos (30°) = .
2
1 3
Step IV: Conclude that the direction cosines of the line are l = 0, m = , and n = .
2 2
Example: If a line makes angles 45°, 120°, and 75° with the positive directions of the x, y, and z- axes respectively, find its
direction cosines.
Solution:
The direction cosines of a line are given by the cosines of the angles the line makes with the x, y, and z-axes.
1 1 6− 2
Let's calculate: cos (45°) = , cos (120°) = − , cos (75°) =
2 2 4
1 1 6− 2
Therefore, the direction cosines are: ,− ,
2 2 4
Type II: Determining the Direction Cosines when the Direction Ratios are given
Example: Suppose a line has direction ratios 2, – 1, – 2, determine its direction cosines.
Solution:
Step I: Use the relation between direction ratios (a, b, c) and direction cosines (l, m, n) for a line:
a b c
l = , m= , , n=
2 2 2 2 2 2
a +b +c a +b +c a + b2 + c2 2
Step II: Substitute the given direction ratios a = 2, b = –1, c = – 2 into the formulas:
2 2 −1 −1 −2 −2
l = = , m= = , n= =
2
2 + (−1) + (−2) 2 2 3 2 2
2 + (−1) + (−2) 2 3 2 2
2 + (−1) + (−2) 2 3
Example: Suppose a line has direction ratios 3,4, 5. Determine its direction cosines.
Solution:
Given direction ratios: 3, 4, –5
32 + 42 + ( −5 ) =
2
First, we find the magnitude of the direction ratios: 9 + 16 + 25= 50= 5 2
3 4 −5 3 4 −1
The direction cosines are: , , = , ,
5 2 5 2 5 2 5 2 5 2 2
3 4 −1
Thus, the direction cosines are , , .
5 2 5 2 2
Type III: Determining the Direction Cosines of the line passing through the two points.
Example: Suppose a line passing through the two points (– 2, 4, – 5) and (1, 2, 3), Find the direction cosines of the line.
Solution:
Step I: Find the direction ratios of the line.
The direction ratios (a, b, c) of the line are given by the differences in the corresponding coordinates of the two points. Thus:
a = x2 – x1 = 1 – (–2) = 3
b = y2 – y1= 2 – 4 = –2
c = z2 – z1 = 3 – (–5) = 8
So, the direction ratios are (3, –2, 8).
Step II: Calculate the magnitude of the vector.
The magnitude (or length) of the vector determined by these direction ratios is given by:
magnitude = a 2 + b 2 + c 2= 32 + (−2) 2 + 82= 9 + 4 + 64= 77
P
W CBSE Class – XII MATHEMATICS 426
x −1 1 − y 2z −1 8. A line makes the same angle q with each of the x and
Sol. Given equation of line be = = z-axes. If the angle b which it makes with y-axis is such
2 3 12
that sin2b = 3sin2q then cos2q equals to: (Ev)
1
z− 2 1
x −1 y −1 2 (a) (b)
⇒ = = 5
2 −3 6 5
Its direction cosines are 3 2
(c) (d)
2 −3 5 5
, ,
2
(2) + (−3) + (6)2 2
(2) + (−3) 2 + (6) 2
2 Sol. If A line makes the angle a, b, g with x, y, z axes respectively,
then
6
cos2a + cos2b + cos2g = 1
(2) + (−3) 2 + (6) 2
2
⇒ cos2q + cos2b + cos2q = 1
2 −3 6 ⇒ 2cos2q + cos2b = 1
i.e., , ,
7 7 7 ⇒ 2cos2q = 1 – cos2b = sin2b
⇒ 2cos2q = 3sin2q [Q sin2b = 3 sin2q (Given)]
⇒ 2cos2q = 3 – 3cos2q
Mistakes 101 : What not to do! ⇒ 5cos2q = 3
Students may confuse direction ratios with direction 3
⇒ cos2q =
cosines, make normalization errors, or misinterpret 5
options. 9. If a line makes angle a, b, g with the co-ordinate axes,
then (Ap)
6. P is a point on the line segment joining the points
(3, 2, –1) and (6, 2, –2). If x co-ordinate of P is 5, then its (a) cos 2a + cos 2b + cos 2g – 1 = 0
y co-ordinate is (Un) (NCERT Exemplar) (b) cos 2a + cos 2b + cos 2g – 2 = 0
(c) cos 2a + cos 2b + cos 2g + 1 = 0
(a) 2 (b) 1 (c) –1 (d) –2
(d) cos 2a + cos 2b + cos 2g + 2 = 0
Sol. Let P divides the line segment in the ratio of l : 1, Sol Since a line makes an angle a, b, g with co-ordinate axes,
6λ + 3 we have
x-coordinate of the point P may be expressed as x =
λ +1 cos2a + cos2b + cos2g = 1 [Q l2 + m2 + n2 = 1]
2 2 2
⇒ 2cos a + 2cos b + 2cos g = 2
6λ + 3
giving = 5 so that l = 2. Thus y-coordinate of P is
λ +1 ⇒ (2cos2a –1) + (2cos2b – 1) + (2cos2g – 1) = 2 – 3
2λ + 2 ⇒ cos2a + cos2b + cos2g = –1
= 2. or cos2a + cos2b + cos2g + 1 = 0
λ +1
π π 1 1
7. If a line makes angle and with x-axis and y-axis 10. If , , n are the direction cosines of a line, then the
3 4 2 3
respectively, then the angle made by the line with z-axis value of n is: (Ev)
is (Ap) (NCERT Exemplar)
23 23 2 3
π π 15π (a) (b) (c) (d)
π 6 6 3 2
(a) (b) (c) (d)
2 3 4 12
1 1
Sol. As , , n are the D.c’s of a line
Sol. Given a, b, g be angles made by the line with the co-ordinate 2 3
axes. 2 2
1 1
\ + + n2 =
1
π π 2 3
∴ =
α ,=
β
3 4 1 1
⇒ + + n2 =
1
Q cos2a + cos2b + cos2g = 1 4 9
π π 1 1 9+4
∴ cos 2 + cos 2 + cos 2 γ =1 ⇒ n2 = 1 − + =−
1
3 4 4 9 36
1 1 3 13 23
⇒ + + cos 2 γ =1 ⇒ + cos 2 γ =1 = 1− =
4 2 36 36
4
3 1 1 π 23
⇒ cos2g = 1 – = ⇒ cos g = ± ⇒ γ= \n= .
4 4 2 3 6
Answer Key
Answer Key 3. (b) 2. (a) 1. (b)
12. (c) 11. (c)
10. (a) 9. (c) 8. (c) 7. (b) 6. (a)
5. (d) 4. (b) 3. (b) 2. (b) 1. (a)
Subjective Questions
P
W CBSE Class – XII MATHEMATICS 428
π 3 7. Show that the points A(2, 3, –4), B(1, –2, 3) and
⇒ q = 30° or if cos q = C(3, 8, –11) are collinear. (An) (NCERT Intext)
6 2
Sol. Direction ratios of line joining A and B are
5π 3
and q = 150° or if cos q = – (½ M) 1 – 2, –2 – 3, 3 + 4 i.e., –1, –5, 7. (½ M)
6 2
The direction ratios of line joining B and C are
3 – 1, 8 + 2, – 11 – 3, i.e., 2, 10, –14. (½ M)
Nailing the Right Answer It is clear that direction ratios of AB and BC are proportional,
hence, AB is parallel to BC. But point B is common to both
Students, use the cosine rule: cos2a + cos2b + cos2g = 1. AB and BC. Therefore, A, B, C are collinear points. (1 M)
(1 M)
6. If a line has direction ratios 2, –1, –2, then what are its
direction cosines? (An) (NCERT Intext) 1 1 4
i.e., , ,
18 18 18
Sol. Here direction ratios of line are 2, –1, –2.
1 1 4
\ Direction cosines of line are i.e., , , (½ M)
3 2 3 2 3 2
2 −1
, , 2. Find the direction cosines of the line passing through the
2 2 2
2 + (−1) + (−2) 2 + (−1) 2 + (−2) 2
2
two points (–2, 4, –5) and (1, 2, 3).(Un) (NCERT Intext)
−2 Sol. We know the direction cosines of the line passing through
2 + (−1) 2 + (−2) 2
2 (1 M) two points P(x1, y1, z1) and Q(x2, y2, z2) are given by
x2 − x1 y2 − y1 z2 − z1
2 −1 −2 , , (½ M)
i.e., , , (1 M) PQ PQ PQ
3 3 3
l= = , m= = , n= = (1 M)
r 38 r 38 r 38 −4
5. The direction cosines of a line segment AB are (−4) + (−6) 2 + (−4) 2
2
−2 3 −2
, , . If AB = 17 and the coordinates of −4 −6 −4 −2 −3 −2
17 17 17 , , i.e., , , (1 M)
2 17 2 17 2 17 17 17 17
A are (3, –6, 10), then find coordinates of B. (Ap)
The direction ratios of CA are (–5 – 3), (–5 – 5), and (–2 –
Sol. Let the coordinates of B be (x, y, z)
(–4)) i.e., –8, – 10, and 2. Therefore, the direction cosines
So, direction ratios of AB = 〈x – 3, y + 6, z – 10〉
of AC are
−2 3 −2
Also, direction cosines of AB are , , (½ M) −8 −10
17 17 17 , ,
2 2 2
So, its direction ratios are 〈–2, 3, – 2〉. (½ M) ( −8) + ( −10) + (2) ( −8) + ( −10) 2 + (2) 2
2
⇒ 〈– 2, 3, – 2〉 = 〈x – 3, y + 6, z – 10〉. (1 M) 2
⇒ x – 3 = –2; y + 6 = 3; z – 10 = – 2 ( −8) + ( −10) 2 + (2) 2
2
⇒ x = 1; y = –3; z = 8 −8 −10 2 −4 −5 1
, , i.e., , , (1 M)
So, coordinates of B are (1, –3, 8). (1 M) 2 42 2 42 2 42 42 42 42
P
W CBSE Class – XII MATHEMATICS 430
2. If l1, m1, n1, l2, m2, n2 and l3, m3, n3 are the direction = 1 + 0 = 1[Q l12 + m12 + n12 = 1 and l1 ⊥ l2, l1 ⊥ l3, m1 ⊥ m2,
cosines of three mutually perpendicular lines, then prove m1 ⊥ m3, n1 ⊥ n2, n1 ⊥ n3]
(1 M)
that the line whose direction cosines are proportional to
Similarly, cos b
l1 + l2 + l3, m1 + m2 + m3 and n1 + n2 + n3 makes equal
= l2(l1 + l2 + l3) + m2(m1 + m2 + m3) + n2(n1 + n2 + n3)
angles with them(Un) (NCERT Exemplar)
= 1 + 0 and cos g = 1 + 0
Sol. Let a =l1iˆ + m1 ˆj + n1kˆ; b =l2 iˆ + m2 ˆj + n2 kˆ; ⇒ cos a = cos b = cos g
⇒ a = b = g (1 M)
c =l3iˆ + m3 ˆj + n3 kˆ
So, the line whose direction cosines are proportional to
d = (l1 + l2 + l3) iˆ + (m1 + m2 + m3) ĵ + (n1 + n2 + n3) k̂ l1 + l2 + l3, m1 + m2 + m3, n1 + n2 + n3 makes equal angles
with the three mutually perpendicular lines whose direction
Also, let a, b and g are the angles between a and d , b and cosines are l1, m1, n1, l2, m2, n2 and l3, m3, n3 respectively.
d , c and d respectively. (1 M) (1 M)
\ cos a
= l1(l1 + l2 + l3) + m1(m1 + m2 + m3) + n1(n1 + n2 + n3)
Mistakes 101 : What not to do!
(1 M)
Students may confuse direction cosines, misapply
2
= l + l1l2 + l1l3 + m1 + m1m2 + m1m3 + n12 + n1n2 + n1n3
1
2
perpendicularity properties, or neglect proper
2 2 2
proportionality proof.
= (l1 + m1 + n1 ) + (l1l2 + l1l3 + m1m2 + m1m3 + n1n2 + n1n3)
Important Terms
Line: A line is uniquely determined if
(i) It passes through a given point and has given direction, or
(ii) It passes through two given points.
Important Concepts
Equation of a Line through a given point and parallel to a given vector b : Let a be the position vector of the given point
A with respect to the origin O of the rectangular coordinate system. Let l be the line which passes through the point A and is
Z b
parallel to a given vector b . Let r be the position vector of an arbitrary point P on the line.
Then AP is parallel to the vector b i.e., AP = λb , where l is some real number. P
A
But AP = OP – OA
a
r
i.e., λb = r − a
Conversely, for each value of the parameter l, this equation gives the position vector of O Y
a point P on the line. Hence, the vector equation of the line is given by
X
r = a + λb
Derivation of cartesian form from vector form: Let the coordinates of the given point A be (x1, y1, z1) and the direction ratios
of the line be p, q, r. Consider the coordinates of any point P be (x, y, z). Then
r = xiˆ + yjˆ + zkˆ; a = x1iˆ + y1 ˆj + z1kˆ and b = piˆ + qjˆ + rkˆ
Substituting these values in r = a + λb and equating the coefficients of iˆ, ˆj and k̂ we get
x = x1 + lp; y = y1 + lq; z = z1 + lr ... (i)
These are parametric equations of the line. Eliminating the parameter l from equ. (i), we get
x − x1 y − y1 z − z1
= =
p q r
This is the cartesian equation of the line.
Note: If l, m, n are the direction cosines of the line, the equation of the line is x=
− x1 y − y1 z − z1
=
l m n
Angle between Two Lines: Let L1 and L2 be two lines passing through the origin and Z
with direction ratios a1, b1, c1 and a2, b2, c2 respectively. Let P be a point on L1 and Q
be a point on L2. Consider the directed lines OP and OQ as given in figure. Let q be the
acute angle between OP and OQ. Now recall that the directed line segments OP and Q L2
OQ are vectors with components a1, b1, c1 and a2, b2, c2 respectively. Therefore, the
O q L1
angle q between them is given by P
a1a2 + b1b2 + c1c2 Y
cos q = ...(i)
a12 + b12 + c12 a22 + b22 + c22
X
The angle between the lines in terms of sin q is given by
sin q = 1 − cos 2 θ
(a1a2 + b1b2 + c1c2 ) 2 (a12 + b12 + c12 )(a22 + b22 + c22 ) − (a1a2 + b1b2 + c1c2 ) 2
= 1− =
(a12 + b12 + c12 )(a22 + b22 + c22 ) (a12 + b12 + c12 ) (a22 + b22 + c22 )
P
W CBSE Class – XII MATHEMATICS 432
(a1b2 − a2 b1 ) 2 + (b1c2 − b2 c1 ) 2 + (c1a2 − c2 a1 ) 2 ...(ii)
a12 + b12 + c12 a22 + b22 + c22
Two lines with direction ratio a1, b1, c1 and a2, b2, c2 are
(i) perpendicular i.e., if q = 90° by equ. (i)
a1a2 + b1b2 + c1c2 = 0
(ii) parallel i.e. if q = 0 by equ. (ii)
a b1 c1
=
1
=
a2 b2 c2
Now, we find the angle between two lines when their equations are given. If q is acute the angle between the lines
r= a1 + λb1 and r= a2 + µb2
b1 · b2
then cos q =
| b1 | | b2 |
In Cartesian form, if q is the angle between the lines
x − x1 y − y1 z − z1
= = ...(i)
a1 b1 c1
x − x2 y − y2 z − z2
and = = ...(ii)
a2 b2 c2
where, a1, b1, c1 and a2, b2, c2 are the direction ratios of the lines (i) and (ii), respectively, then
Shortest Distance between Two Lines: If two lines in space intersect at a point, then the shortest distance between them is zero.
Also, if two lines in space are parallel, then the shortest distance between them will be the perpendicular distance, i.e. the length
of the perpendicular drawn from a point on one line onto the other line.
Skew Lines: In a space, there are lines which are neither intersecting nor parallel. In fact, such pair of lines are non coplanar and
are called skew lines.
Distance between Two Skew Lines: Let l1 and l2 be two skew lines given by r= a1 + λb1 and r= a2 + λb2 respectively, where
a1 and a2 are position vectors of points on l1 and l2 then shortest distance between two given points is given by
(a2 − a1 ) · (b1 × b2 )
| b1 × b2 |
Note: If two lines are intersecting, then shortest distance between them is zero, i.e., (a2 − a1 ) · (b1 × b2 ) = 0
Cartesian form:
x − x1 y − y1 z − z1 x − x2 y − y2 z − z2
The shortest distance the lines l1 : = = and l2 : = =
a1 b1 c1 a2 b2 c2
x2 − x1 y2 − y1 z2 − z1
a1 b1 c1
a2 b2 c2
is .
(b1c2 − b2 c1 ) 2 + (c1a2 − c2 a1 ) 2 + (a1b2 − a2 b1 ) 2
Distance between Parallel Lines: Let l1 and l2 be two parallel lines given by r= a1 + λb and r= a2 + λb respectively. Then
b × (a2 − a1 )
shortest distance between them is
|b |
Type I: Determining the vector and Cartesian equation if a line through the point and parallel to the
vector
Suppose a line through the point (5, 2, – 4) and which is parallel to the vector 3iˆ + 2 ˆj − 8kˆ , find the vector equation.
Solution:
Step I: Use this formula r = a + λb to find the equation of the line r which passes through the point a = (5, 2, –4) and parallel
b = 3iˆ + 2 ˆj − 8kˆ.
Step II: Substitute the value of a and b into this equation r = a + λb , \ r = 5iˆ + 2 ˆj − 4kˆ + λ (3iˆ + 2 ˆj − 8kˆ)
Step III: For the Cartesian equation substitute the value of r = xiˆ + yjˆ + zkˆ in the obtained vector equation.
Therefore, xiˆ + yjˆ + zkˆ = 5iˆ + 2 ˆj − 4kˆ + λ(3iˆ + 2 ˆj − 8kˆ) = (5 + 3λ)iˆ + (2 + 2λ) ˆj + (−4 − 8λ)kˆ
x−5 y −2 z + 4
Eliminating l, we get = = which is the equation of the line in Cartesian form.
3 2 −8
Example: Suppose a line through the point (2, –3, 5) and which is parallel to the vector 4iˆ + ˆj - 2kˆ , find the vector equation and
the Cartesian equation.
Solution:
Vector Equation:
The vector equation of the line is given by: r= a + tb
Here, a = 2iˆ − 3 ˆj + 5kˆ and b = 4iˆ + ˆj − 2kˆ.
( ) (
Thus, the vector equation of the line is: r = 2iˆ − 3 ˆj + 5kˆ + t 4iˆ + ˆj − 2kˆ )
From the vector equation, we have the parametric equations: x = 2 + 4t, y = –3 + t, z =5 – 2t
To eliminate the parameter t, we solve each equation for t:
x−2
t=
4
y+3
t = y+3= ,
1
5− z z −5
=t = ,
2 −2
x−2 y +3 z −5
The Cartesian equation: = =
4 1 −2
Type II: Determining the angle between the pair of lines given by in the vector form
Find the angle between the pair of lines given by r= 3iˆ + 2 ˆj – 4kˆ + λ (3iˆ + 2 ˆj + 4kˆ ) and r = 5iˆ − 2 ˆj + µ (5iˆ + 2 ˆj + 6kˆ )
Solution:
Step I: Determine the direction vectors: For given the equations of the lines, identify the coefficients of i, j and k to obtain the direction
vectors.
→
For the first line, the direction vector is a = (3, 2, 4).
→
For the second line, the direction vector is b = (5, 2, 6).
Step II: Compute the dot product: Take the dot product of the direction vectors of the two lines.
→ →
a . b = (3 × 5) + (2 × 2) + (4 × 6) = 15 + 4 + 24 = 43.
Step III: Calculate the magnitudes: Find the magnitudes of the direction vectors using the formula || a || = ax2 + a y2 + az2 for a vector
a = (ax, ay, az).
|| a || = 32 + 22 + 42 = 9 + 4 + 16 = 29.
Type III: Determining the Shortest Distance Between the Skew Lines
Find the shortest distance between the skew lines r = (6iˆ + 2 ˆj + 2kˆ ) + λ ( iˆ − 2 ˆj + 2kˆ ) and r =( −4iˆ − kˆ ) + µ (3iˆ − 2 ˆj − 2kˆ )
Solution:
Step IV: Compute the Vector Connecting Points on the Two Lines
Subtract the position vector of Line 1 from that of Line 2 to find the connecting vector:
( ) (
a2 − a1 =−4iˆ − kˆ − 6iˆ + 2 ˆj + 2kˆ = )
−10iˆ − 2 ˆj − 3kˆ
Step V: Calculate the Dot Product of the Connecting Vector and Cross Product
Find the dot product of the vector a2 − a1 and the vector n :
iˆ ˆj kˆ
= 2 −1 1 = 3iˆ − ˆj − 7 kˆ
3 −5 2
So | b1 × b2 |= 9 + 1 + 49= 59
Hence, the shortest distance between the given lines is given by
(b1 × b2 ) · ( a2 − a1 ) | 3 − 0 + 7 | 10
d= = =
| b1 × b2 | 59 59
Step V: Calculate the Cross Product of the Direction Vector and the Connecting Vector
( ) (
Compute the cross product: n = b × a = 2iˆ + 3 ˆj + 6kˆ × 2iˆ + ˆj − kˆ )
This results in: n =−9iˆ + 14 ˆj − 4kˆ
P
W CBSE Class – XII MATHEMATICS 436
Step VI: Calculate the Magnitude of the Cross Product Vector
n = (−9) 2 + 142 + (−4) 2 = 293
Step VII: Calculate the Magnitude of the Direction Vector
b = 22 + 32 + 62 = 49 = 7
1 2
Multiple Choice Questions (1 M) (a) (1, 2) (b) ,
2 3
1. Equation of a line passing through point (1, 1, 1) and 1 1
(c) , (d) (0, 0)
parallel to z-axis is (Ap) (CBSE, 2023) 2 4
x y z x −1 y −1 z −1 Sol. Since the point P(a, b, 0) lies on the line
(a) = = (b) = =
1 1 1 1 1 1 x +1 y + 2 z + 3
= =
x −1 y −1 z −1
(c) x= y= z − 1 (d) = = 2 3 4
0 0 1 0 0 1 a +1 b + 2 0 + 3
\ = =
Sol. Direction cosines of z-axis is 0, 0, 1. 2 3 4
\ Equation of a line passing through point (1, 1, 1) a +1 b + 2 3
⇒ = =
x −1 y −1 z −1 2 3 4
and parallel to z-axis, is given by = =
0 0 1 a +1 3 b+2 3
⇒ = and =
x +1 y + 2 z + 3 2 4 3 4
2. If the point P(a, b, 0) lies on the line = = ,
2 3 4 3 9
⇒ a= −1 and b+2 =
then (a, b) is (Ev) (CBSE, 2023) 2 4
= 12 22 + 32 + 6=
2
84 (½ M)
and
(a2 − a1 ) = (15 − 8)iˆ + (29 + 9) ˆj + (5 − 10)kˆ
= 7iˆ + 38 ˆj − 5kˆ (1 M)
\ Shortest distance
(24iˆ + 36 ˆj + 72kˆ) ⋅ (7iˆ + 38 ĵ − 5kˆ)
=
84
168 + 1368 − 360 1176
= = = 14 units (1 M)
84 84
3. An aeroplane is flying along the line r = λ( iˆ − ˆj + kˆ ) ;
where ‘l’ is a scalar and another aeroplane is flying along
the line r = iˆ − ˆj + µ( −2 ˆj + kˆ ) ; where ‘m’ is a scalar. At
what points on the lines should they reach, so that the
distance between them is the shortest? Find the shortest
possible distance between them. (Ev) (CBSE SQP, 2023)
Sol. Let
x y z
=
=
1 −1 1
P(l, –l, l)
2. Find the shortest distance between the lines gives by Q(1, –1 – 2m, m
)
r = (8 + 3λ )iˆ − (9 + 16λ ) ˆj + (10 + 7λ )kˆ x −1 y +1
= = z
0
r 15iˆ + 29 ˆj + 5kˆ + µ(3 iˆ + 8 ˆj − 5 kˆ )
= −2 1
(Cr) (NCERT Exemplar) The equation of two given straight lines in the Cartesian
Sol. We have, x y z
form are = = ...(i)
1 −1 1
r = (8 + 3λ)iˆ − (9 + 16λ) ˆj + (10 + 7λ)kˆ
x −1 y +1 z
= 8iˆ − 9 ˆj + 10kˆ + 3λiˆ − 16λˆj + 7λkˆ and = = ...(ii)
0 −2 1
= 8iˆ − 9 ˆj + 10kˆ + λ(3iˆ − 16 ˆj + 7 kˆ) (½ M)
The lines are not parallel as direction ratios are not
⇒ a = 8iˆ − 9 ˆj + 10kˆ and b = 3iˆ − 16 ˆj + 7 kˆ ...(i) proportional. Let P be a point on straight line (i) and Q be a
1 1
Also point on straight line (ii) such that line PQ is perpendicular
to both of the lines.(½ M)
=r 15iˆ + 29 ˆj + 5kˆ + µ(3iˆ + 8 ˆj − 5kˆ)
Let the coordinates of P be (l, –l, l) and that of Q be
⇒ a2 =15iˆ + 29 ˆj + 5kˆ and b2 = 3iˆ + 8 ˆj − 5kˆ ...(ii) (1, – 2m – 1, m); where ‘l’ and ‘m’ are scalars.(½ M)
P
W CBSE Class – XII MATHEMATICS 444
Then the direction ratios of the line PQ are Also, direction ratio of CD are 1, 2, 2. (1 M)
(l – 1, – l + 2m + 1, l – m)(½ M) Since, AM ⊥ CD.
Since PQ is perpendicular to straight line (i), we have,
\ (a – 4) × 1 + (b – 7) × 2 + (g – 8) × 2 = 0
(l – 1) · 1 + (–l + 2m + 1) · (–1) + (l – m) · 1 – 0
⇒ a + 2b + 2g = 34 ...(ii)
⇒ 3l – 3m = 2 ...(iii)
⇒ (k – 1) + 2(2k – 2) + 2(2k + 1) = 34
Since, PQ is perpendicular to straight line (ii), we have
(½ M) 37
⇒ 9k = 37 ⇒ k = (1 M)
0 · (l – 1) + (–l + 2m + 1) · (–2) + (l – m) · 1 = 0 9
⇒ 3l – 5m = 2 ...(iv) (1 M) 37 28 37 74 − 18 56
\ a=k–1= –1= , b = 2× = −2 =
2 9 9 9 9 9
Solving (iii) and (iv), we get m = 0, l = (1 M)
3 37 74 + 9 83
and g = 2 × +1
= =
2 2 2
Therefore,the Coordinates of P are , − , and that of 9 9 9
3 3 3 28 56 83
Q are (1, –1, 0). Required foot of perpendicular is , , . (1 M)
9 9 9
So, the required shortest distance is
2 2 2
5. Find the vector and the Cartesian equations of a line
2 2 2 2
units. (1 M) passing through the point (1, 2, –4) and parallel to the
1 − + −1 + + 0 − =
3 3 3 3 line joining the points A(3, 3, –5) and B(1, 0, – 11). Hence,
4. Find the equations of all the sides of the parallelogram find the distance between the two lines.
ABCD whose vertices are A(4, 7, 8), B(2, 3, 4) C(–1, –2, 1) (Cr) (CBSE, 2023)
and D(1, 2, 5). Also, find the coordinates of the foot of the Sol. Given point (1, 2, –4) through which a line is passing,
perpendicular from A to CD. (Un) (CBSE, 2023) therefore its vector equation be
Sol. Given vertices of the parallelogram ABCD are A(4, 7, 8),
B(2, 3, 4), C(–1, –2, 1) and D(1, 2, 5) r= (iˆ + 2 ˆj − 4kˆ) + λ(iˆ + 0 ˆj − 11kˆ − 3iˆ − 3 ˆj + 5kˆ)
\ Equation of side AB is given by
x − 4 y −7 z −8 x − 4 y −7 z −8
r= (iˆ + 2 ˆj − 4kˆ ) + λ ( −2iˆ − 3 ˆj − 6kˆ ) (1 M)
= = ⇒ = =
2 − 4 3 − 7 4 − 8 −2 −4 −4 and its cartesian form be
x − 4 y −7 z −8 x −1 y − 2 z + 4
⇒ = = = =
1 2 2 −2 −3 −6
\ Equation of side BC is given by Also, equation of the line passing through points A(3, 3, –5)
x−2 y −3 z −4 x−2 y −3 z −4 and B(1, 0, –11) is given by,
= = ⇒ = = (1 M)
−1 − 2 −2 − 3 1 − 3 −3 −5 −2
r= 3iˆ + 3 ˆj − 5kˆ + µ(1. iˆ + 0 ˆj − 11kˆ − 3iˆ − 3 ˆj + 5kˆ)
\ Equation of side CD is given by
x +1 y + 2 z −1
= = ⇒
x +1 y + 2 z −1
= =
(
r= 3iˆ + 3 ˆj − 5kˆ + µ −2iˆ − 3 ˆj − 6kˆ ) ... (ii) (1 M)
2 4 4 1 2 2
\ Shortest distance between two given lines (i) and (ii) is
\ Equation of side DA is given by given by
x −1 y − 2 z − 5
= =
3 5 3 (a2 − a1 ) × b (2iˆ + ˆj − kˆ) × (−2iˆ − 3 ˆj − 6kˆ)
= D =
Let M(a, b, g) be the foot of perpendicular. b 4 + 9 + 36
α +1 β + 2 γ −1 (1 M)
\ = = = k (1 M)
1 2 2 We have,
⇒ a = k – 1, b = 2k – 2, g = 2k + 1 ...(i) iˆ ˆj kˆ
Direction ratios of AM are a – 4, b – 7, g – 8. ( a2 − a1 ) × b = 2 1 −1 =−9iˆ − 14 ˆj − 4kˆ (1 M)
M(a, b, g) −2 −3 −6
(1, 2, 5) D C(–1, –2, 1)
−9iˆ − 14 ˆj − 4kˆ
\ D=
7
1 293
= × 81 + 196 + 16 = units (1 M)
A(4, 7, 8) B(2, 3, 4) 7 7
a −b c 1 5
= = = 345 = units (1 M)
2 × 5 − 3 × 2 1× 5 − 3 × (−3) 1× 2 − 2 × −3 69 69
P
W CBSE Class – XII MATHEMATICS 446
8. Find the vector and Cartesian equations of the line a b c
⇒ = = (½ M)
which is perpendicular to the lines with equations −4 4 −1
x + 2 y − 3 z +1 x −1 y − 2 z − 3
= = and = = and passes \ Direction ratios of the required line be –4, 4, –1. (½ M)
1 2 4 2 3 4
\ Vector and cartesian equation of required line be
through the point (1, 1, 1).
Also find the angle between the given lines. r = iˆ + ˆj + kˆ + λ (−4iˆ + 4 ˆj − kˆ) (1 M)
(Ap) (CBSE, 2020) x −1 y −1 z −1
Sol. Let the cartesian equation of the required line be and, = = respectively.
−4 4 −1
x −1 y −1 z −1
= = ...(i) Let q be the angle between given lines.
a b c
where, a, b, c are direction ratios and given lines are 1× 2 + 2 × 3 + 4 × 4 24
= ∴ cos θ = (½ M)
x + 2 y − 3 z +1 ...(ii) 1 + 4 + 16 × 4 + 9 + 16 609
= =
1 2 4
24
x −1 y − 2 z − 3 ⇒ θ =cos −1 (½ M)
and = = ...(iii) (1 M) 609
2 3 4
Since the line (i) is perpendicular to both the lines (ii) and (iii)
\ a × 1 + b × 2 + c × 4 = 0 ⇒ a + 2b + 4c = 0
Also, a × 2 + b × 3 + c × 4 = 0 ⇒ 2a + 3b + 4c = 0 Nailing the Right Answer
On solving these two equations, we get Students, find direction ratios, use cross product for
a −b c perpendicular line, then apply point-direction form for
= = equations.
8 − 12 4 − 8 3 − 4
Multiple Choice Questions 7. The equation of the straight line passing through the point
(1 M) (a, b, c) and parallel to the z-axis, is
1. The angle between a line with direction ratios (2, 2, 1) and xa y b z c xa y b z c
(a) (b)
a line joining (3, 1, 4) to (7, 2, 12) is 1 1 0 0 1 1
2 xa y b z c xa y b z c
(a) cos–1 (b) cos–1
2 (c) (d)
3 3 1 0 0 0 0 1
1. Assertion (A): The points (1, 2, 3), (–2, 3, 4) and (7, 0, 1) Find the shortest possible distance between the helicopters
are collinear. during the flight. Show your steps and give a valid reason.
π 3π π with X, (CBSE CFPQ, 2024)
Reason (R): If a line makes angles , and
2 4 4 3. Find the angle between the lines
Y, and Z-axes respectively, then its direction cosines are r= 3iˆ − 2 ˆj + 6kˆ + λ(2iˆ + ˆj + 2kˆ)
−1 1
0, and . and= r (2 ˆj − 5kˆ) + µ(6iˆ + 3 ˆj + 2kˆ) . (NCERT Exemplar)
2 2
4. Find the shortest distance between the following lines:
2. Assertion (A): If the cartesian equation of a line
x−3 y −5 z −7 x +1 y +1 z +1
x−5 y + 4 z −6 = = and = =
is = = , then its vector form is 1 −2 1 7 −6 1
3 7 2
r =5iˆ − 4 ˆj + 6kˆ + λ (3iˆ + 7 ˆj + 2kˆ) . Long Answer Type Questions (4 or 5 M)
Reason (R): The cartesian equation of the line which passes
through the point (–2, 4, –5) and parallel to the line given 1. Find the perpendicular distance of the point (1, 0, 0) from
x +3 y −4 z +8 x +3 y −4 z +8 the line x 1 y 1 z 10 . Also, find the coordinates
by = = is = = . 2 3 8
3 5 6 −2 4 −5
of the foot of the perpendicular and the equation of the
perpendicular.
Subjective Questions 2. Show that the lines =
x −1 y +1 z −1
and
L1 = =
3 2 5
Very Short Answer Type Questions (1 or 2 M) x−2 y −1 z +1
L2
= = = do not intersect.
1− x y − 2 z − 3 2 3 −2
1. Find the value of λ so that the lines = =
3 2λ 2 3. Find the equation of a line passing through the point (1, 2,
x −1 y −1 6 − z –4) and perpendicular of two lines r = (8iˆ − 19 ˆj + 10kˆ) +
and = = are perpendicular to each other.
3λ 1 7 λ(3iˆ − 16 ˆj + 7 kˆ) and=
r (15iˆ + 29 ˆj + 5kˆ) + µ(3iˆ + 8 ˆj − 5kˆ)
2. Find the angle between the pair of lines: 4. Find the shortest distance between lines
r (4iˆ − ˆj ) + λ(iˆ + 2 ˆj − 2kˆ) and
= r= 6iˆ + 2 ˆj + 2kˆ + λ(iˆ − 2 ˆj + 2kˆ) and
r = −4iˆ − kˆ + µ(3iˆ − 2 ˆj − 2kˆ)
r = iˆ − ˆj + 2kˆ + µ(2iˆ + 4 ˆj − 4kˆ) .
3. Find the angle between the pair of lines given by: 5. Find the vector equation of the line passing through
the point (1, 2, –4) and perpendicular to the two lines:
r= 3iˆ − 4kˆ + λ(iˆ + 2kˆ) and r= 5iˆ − 2 ˆj + µ(3iˆ + 2 ˆj + 6kˆ) . x − 15 y − 29 z − 5
x − 8 y + 19 z − 10
x −1 y − 4 z − 3 = = and = =
4. Find the value of p, so that lines = = and 3 −16 7 3 8 −5
−2 3p 4
6. Find the shortest distance between the lines:
x − 2 y − 5 1− z x−6 y−7 z−4 x y9 z 2
= = are perpendicular to each other. = = and
4p 2 7 3 −1 1 3 2 4
(CBSE, 2023)
5. The pair of lines given below are perpendicular to each other. 7. A line with direction ratios (2, 2, 1) intersects the lines
x−7 y−5 z −3 x −1 y +1 z +1
r= 2iˆ + 3 ˆj + 7 kˆ + λ(−iˆ + ˆj + kˆ) = = and = = at the
3 2 1 2 4 3
s= 5iˆ − 3kˆ + β(2iˆ − kˆ + G ˆj ) points P and Q respectively. Find the length and the
Find the value of G. Show your steps.(CBSE CFPQ, 2024) equation of the intercept PQ.
Case Based-II
If a1, b1, c1 and a2, b2, c2 are direction ratios of two lines say L1
a1 b1 c1
and L2 respectively. Then L1 || L2 iff = = and L1 ⊥ L2 iff (i) Write the path of the missile.
a2 b2 c2
a1 a2 + b1 b2 + c1 c2 = 0.
(ii) Find the distance of the rocket from the starting point (0, 0, 0)
L1 L2 in 5 seconds.
(iii) If the position of the rocket at a certain instant of the time
is (5, –8, 10). Find the height of the rocket from the ground.
L1 (Ground considered as xy-plane)
L2
OR
Find the value of k for which the lines
Based on the above information, answer the following questions. x −1 y −1 z −1
= = and
2 3 k
(i) If l1, m1, n1 and l2, m2, n2 are the direction cosine of L1 and
L2 respectively. Then write the condition for L1 ⊥ L2 in terms x−2 y −3 z −5
= = are perpendicular?
of direction cosine. −2 −1 7
Answer keys
Multiple Choice Questions
1. (a) 2. (d) 3. (a) 4. (a) 5. (d) 6. (c) 7. (d) 8. (a) 9. (d) 10. (b)
11. (d) 12. (d)
and
= n cos=
π
4
1
2 =
cos q
b1 ⋅ b2
=
( )(
iˆ + 2lˆ ⋅ 3iˆ + 2 ˆj + 6kˆ
) (1 M)
b1 b2 1 + 4 9 + 4 + 36
−1 1
\ Direction cosines are 0, . ,
2 2 3 + 12 3 5
Hence, both Assertion and Reason are correct but = =
5×7 7
Reason is not the correct explanation of Assertion.
3 5
2. (c) In assertion the given cartesian equation is Hence θ = cos–1 (½ M)
x−5 y + 4 z −6 7
= = .
3 7 2 4. D.r.’s of lines are 〈–2, 3p, 4〉 and 〈4p, 2, –7〉 (1 M)
As lines are perpendicular
⇒ a = 5iˆ − 4 ˆj + 6kˆ and b =3iˆ + 7 ˆj + 2kˆ .
–8p + 6p – 28 = 0
The vector equation of the line is given by
⇒ p = – 14 (1 M)
r = a + λb , λ ∈ R .
5. Assumes the angle between the two lines as q and writes:
⇒ r =5iˆ − 4 ˆj + 6kˆ + λ (3iˆ + 7 ˆj + 2kˆ) b1 ⋅ b2
Thus Assertion is correct. cos q =
b1 b2
In reason it is given that the line passes through the
x+3 y −4 z +8 where, b1 = (−iˆ + ˆj + kˆ) and b1 = (2iˆ + G ˆj − kˆ) (1 M)
point (–2, 4, –5) and is parallel to = = .
3 5 6 Substitutes q as 90° and finds G as:
Clearly, the direction ratios of line are (3, 5, 6 ). (−1) (2) + (1)(G ) + (1)(−1)
cos 90° = 0 =
Now the equation of the line (in cartesian form) is 3 5 + G2
x − (−2) y − 4 z − (−5) x+2 y−4 z +5
⇒ G = 3 (1 M)
= = ⇒ = =
3 5 6 3 5 6 6. Given the points (3, 4, –7) and (1, –1, 6)
Hence, Reason is wrong. Here a =3iˆ + 4 ˆj − 7 kˆ and b = iˆ − ˆj + 6kˆ
Equation of the line is r = a + λ(b − a )
Subjective Questions
⇒ r = (3iˆ + 4 ˆj − 7 kˆ) + λ[(iˆ − ˆj + 6kˆ) − (3iˆ + 4 ˆj − 7 kˆ)]
Very Short Answer Type Questions r (3iˆ + 4 ˆj − 7 kˆ) + λ(−2iˆ − 5 ˆj + 13kˆ)
⇒= (½ M)
P
W CBSE Class – XII MATHEMATICS 454
a
= =
b c (½ M) 3λ − 2µ + 6 = 2λ − 4µ + 6 = λ − 3µ + 4
−16 − 7 7 − 3 3 − 16 2 2 1
a b c (½ M) ⇒ l + 2µ = 0 and 2µ = 2 ⇒ µ = 1 (½ M)
= =
80 − 56 21 + 15 24 + 48 ⇒ l = –2µ
a b c \ µ = 1, l = -2 (½ M)
⇒ = = \ P(1, 1, 1) and Q(3, 3, 2) (1 M)
24 36 72
a b c PQ = (3 − 1) 2 + (3 − 1) 2 + (2 − 1) 2
⇒ = = (1 M)
2 3 6 = 4 + 4 + 1 = 3 (1 M)
x −1 y − 2 z + 4
\ Required equation is = = and Therefore length is 3 unit
corresponding 2 3 6
x −1 y −1 z −1
\ Equation of PQ is = = (1 M)
r= (i + 2 j − 4k ) + λ(2i + 3 j + 6k ) 2 2 1
6. Here, it is given equations of lines:
L1 :
x−6
=
y−7
=
z−4 Case Based Questions
3 −1 1
y -9 z−2 Case Based-I
L2 : x = =
−3 2 4 (i) a1 = 0
Vector equation of line L1 and L2 is
a= 3iˆ + 3 ˆj
2
r 6i 7 j 4k (3i j k )
b1 =iˆ + 2 ˆj − kˆ
1
r2 9 j 2k (3i 2 j 4k ) (1 M)
b2 = 2iˆ + ˆj + kˆ
Here a1 6i 7 j 4k
a2 − a1 = 3iˆ + 3 ˆj
b1 3i j k
iˆ ˆj kˆ
a2 9 j 2k b2 1 2 −1 = 3iˆ − 3 ˆj − 3kˆ
b1 ×=
2 1 1
b 2 3i 2 j 4k
Now a 2 a1 6i 2 j 2k (1 M) (a1 − a1 )·(b1 × b2 ) = (3iˆ + 3 ˆj ) · (3iˆ − 3 ˆj − 3kˆ) = 9 – 9 = 0
i j \ Shortest distance between line is
k
and b1 b 2 3 1 1
= d
(
a2 − a1 ⋅ b1 × b2 )(
= = 0 units
0 )
3 2 4 b1 × b2 3 3
P
W CBSE Class – XII MATHEMATICS 456