For direction cosines l,m,n, the fundamental identity is l2+m2+n2=1.
If a,b,c are direction ratios, then the corresponding direction cosines are
l=±a2+b2+c2a,m=±a2+b2+c2b,n=±a2+b2+c2c
where the same sign is taken throughout, depending on the orientation of the directed line.
Direction ratios of a line joining P(x1,y1,z1) and Q(x2,y2,z2) are
(x2−x1),(y2−y1),(z2−z1).
2. Equation of a Line
Passing through position vector a and parallel to vector b:
r=a+λb
and in Cartesian form,
ax−x1=by−y1=cz−z1.
Passing through points with position vectors a and b:
r=a+λ(b−a).
3. Shortest Distance Between Lines
For skew lines:
d=∣b1×b2∣(a2−a1)⋅(b1×b2)
For parallel lines:
d=∣b∣∣(a2−a1)×b∣.
4. Equation of a Plane
Normal form:
r⋅n^=d
or equivalently
lx+my+nz=d,
where d is the perpendicular distance from the origin.
Passing through point a with normal N:
(r−a)⋅N=0.
Coplanarity condition for two lines:
(a2−a1)⋅(b1×b2)=0.
5. Distances and Angles
Angle between lines:
cosθ=∣b1∣∣b2∣b1⋅b2
Angle between planes:
cosθ=∣n1∣∣n2∣n1⋅n2
Angle between a line and a plane:
sinϕ=∣b∣∣n∣b⋅n
Distance from point (x1,y1,z1) to plane Ax+By+Cz+D=0:
d=A2+B2+C2∣Ax1+By1+Cz1+D∣.
Example 1: Direction Cosines
If a line makes equal angles with the x, y, and z-axes, find its direction cosines.
Solution:
Step 1: If the line makes equal angles with all three axes, let each angle be α. Then
α=β=γ.
Hence the three direction cosines are equal:
l=m=n=cosα.
Step 2: Use the fundamental identity for direction cosines:
l2+m2+n2=1.
Since l=m=n, we get
3l2=1.
Thus,
l2=31.
Step 3: Therefore,
l=±31.
Since all three are equal, the direction cosines are either all positive or all negative.
Answer:(31,31,31) or (−31,−31,−31).
Example 2: Direction Ratios from Points
Find the direction cosines of the line passing through the points (−2,4,−5) and (1,2,3).
Solution:
Step 1: Let the points be
P(−2,4,−5),Q(1,2,3).
The direction ratios of the line joining P to Q are obtained by coordinate differences:
a=1−(−2)=3,b=2−4=−2,c=3−(−5)=8.
So the direction ratios are
(3,−2,8).
Step 2: Find the magnitude of this direction vector:
a2+b2+c2=32+(−2)2+82=9+4+64=77.
Step 3: Divide each direction ratio by the magnitude to get direction cosines:
l=773,m=−772,n=778.
Answer:773,−772,778
Example 3: Equation of a Line
Find the Cartesian equation of the line which passes through the point (−2,4,−5) and is parallel to the vector 3i^+5j^+6k^.
Solution:
Step 1: The line passes through the fixed point
(x1,y1,z1)=(−2,4,−5).
Step 2: Since the line is parallel to
3i^+5j^+6k^,
its direction ratios are
a=3,b=5,c=6.
Step 3: Use the Cartesian form of the line:
ax−x1=by−y1=cz−z1.
Substituting the point and direction ratios,
3x−(−2)=5y−4=6z−(−5).
So,
3x+2=5y−4=6z+5.
Answer:3x+2=5y−4=6z+5
Example 4: Line through Two Points
Find the vector equation for the line passing through the points (3,−2,−5) and (3,−2,6).
Solution:
Step 1: Write the position vectors of the two points:
a=3i^−2j^−5k^,b=3i^−2j^+6k^.
Step 2: Find the direction vector:
b−a=(3−3)i^+(−2+2)j^+(6−(−5))k^=11k^.
So the line is parallel to the z-axis.
Step 3: Use the two-point vector form:
r=a+λ(b−a).
Therefore,
r=(3i^−2j^−5k^)+λ(11k^).
Since 11λ is again an arbitrary scalar, we may write this more simply as
r=3i^−2j^−5k^+μk^.
Answer:r=3i^−2j^−5k^+μk^
Example 5: Angle Between Two Lines
Find the angle between the lines r=3i^+2j^−4k^+λ(i^+2j^+2k^) and r=5i^−2j^+μ(3i^+2j^+6k^).
Solution:
Step 1: Extract the direction vectors of the two lines:
b1=i^+2j^+2k^,b2=3i^+2j^+6k^.
Step 2: Find the dot product:
b1⋅b2=(1)(3)+(2)(2)+(2)(6)=3+4+12=19.
Step 3: Find the magnitudes:
∣b1∣=12+22+22=9=3,∣b2∣=32+22+62=49=7.
Step 4: Use the angle formula between two lines:
cosθ=∣b1∣∣b2∣b1⋅b2=3⋅719=2119.
Therefore,
θ=cos−1(2119).
Answer:cos−1(19/21)
Example 6: Perpendicular Lines Condition
Find p so that lines 3x−1=2p/7y−2=2z−3 and −3p/7x−1=1y−5=−5z−6 are perpendicular.
Solution:
Step 1: Extract the direction ratios of the two lines:
For the first line,
a1=3,b1=72p,c1=2.
For the second line,
a2=−73p,b2=1,c2=−5.
Step 2: Two lines are perpendicular if the dot product of their direction vectors is zero:
a1a2+b1b2+c1c2=0.
So,
3(−73p)+(72p)(1)+2(−5)=0.
Step 6: Therefore the shortest distance is
d=61=61.
Answer:61
Example 8: Distance Between Parallel Lines
Find the distance between the parallel lines r=i^+2j^−4k^+λ(2i^+3j^+6k^) and r=3i^+3j^−5k^+μ(2i^+3j^+6k^).
Solution:
Step 1: Identify
a1=(1,2,−4),a2=(3,3,−5),b=(2,3,6).
Since both lines have the same direction vector, they are parallel.
Step 2: Find the vector joining the chosen points:
a2−a1=(2,1,−1).
Step 3: Compute the cross product:
(a2−a1)×b=i^22j^13k^−16.
Expanding,
=i^(6−(−3))−j^(12−(−2))+k^(6−2)=9i^−14j^+4k^.
Step 4: Find its magnitude:
∣(a2−a1)×b∣=92+(−14)2+42=81+196+16=293.
Step 5: Find the magnitude of the common direction vector:
∣b∣=22+32+62=49=7.
Step 6: Therefore,
d=7293.
Answer:7293
Example 9: Equation of a Plane (Normal Form)
Find the vector equation of a plane which is at a distance of 6/29 from the origin and its normal vector from the origin is 2i^−3j^+4k^.
Solution:
Step 1: The given normal vector is
N=2i^−3j^+4k^.
Its magnitude is
∣N∣=22+(−3)2+42=4+9+16=29.
Step 2: Therefore the unit normal vector is
n^=∣N∣N=292i^−3j^+4k^.
Step 3: Since the plane is at distance
d=296
from the origin, its normal form is
r⋅n^=d.
So,
r⋅(292i^−3j^+4k^)=296.
Step 4: Multiply both sides by 29:
r⋅(2i^−3j^+4k^)=6.
Answer:r⋅(2i^−3j^+4k^)=6
Example 10: Plane Passing Through a Point
Find the Cartesian equation of the plane passing through (1,2,−4) and parallel to the plane x−2y+4z=3.
Solution:
Step 1: A plane parallel to
x−2y+4z=3
has the same normal vector. So its equation must be of the form
x−2y+4z=d.
Step 2: Substitute the given point (1,2,−4) into this equation:
1−2(2)+4(−4)=d.
So,
1−4−16=d⟹d=−19.
Step 3: Therefore the required plane is
x−2y+4z=−19.
Writing in standard form,
x−2y+4z+19=0.
Answer:x−2y+4z+19=0
Example 11: Intercept Form
Find the intercepts cut off by the plane 2x+y−z=5.
Solution:
Step 1: Divide the plane equation by 5 to make the right-hand side equal to 1:
52x+5y−5z=1.
Step 2: Rewrite in intercept form:
5/2x+5y+−5z=1.
Comparing with
ax+by+cz=1,
we get
a=25,b=5,c=−5.
Answer:25,5,−5
Example 12: Equation of Plane Through Three Points
Find the equation of the plane through the points (1,1,0), (1,2,1), and (−2,2,−1).
Solution:
Step 1: Let the three points be
A(1,1,0),B(1,2,1),C(−2,2,−1).
Use the determinant form of the plane through three points:
x−11−1−2−1y−12−12−1z−01−0−1−0=0.
This becomes
x−10−3y−111z1−1=0.
Step 2: Expand along the first row:
(x−1)111−1−(y−1)0−31−1+z0−311=0.
Step 3: Evaluate the minors:
(x−1)(−1−1)−(y−1)(0−(−3))+z(0−(−3))=0.
So,
−2(x−1)−3(y−1)+3z=0.
Expand:
−2x+2−3y+3+3z=0−2x−3y+3z+5=0.
Multiplying by −1,
2x+3y−3z=5.
Answer:2x+3y−3z=5
Example 13: Plane Through Intersection
Find the equation of the plane passing through the intersection of x+y+z=6 and 2x+3y+4z+5=0 and the point (1,1,1).
Solution:
Step 1: Write the family of planes through the line of intersection:
(x+y+z−6)+λ(2x+3y+4z+5)=0.
Step 2: Since the required plane passes through (1,1,1), substitute these coordinates:
(1+1+1−6)+λ(2+3+4+5)=0.
This gives
−3+14λ=0,
so
λ=143.
Step 3: Substitute this value of λ into the family:
(x+y+z−6)+143(2x+3y+4z+5)=0.
Multiply throughout by 14:
14(x+y+z−6)+3(2x+3y+4z+5)=0.
Expand:
14x+14y+14z−84+6x+9y+12z+15=0.
So,
20x+23y+26z−69=0.
Answer:20x+23y+26z=69
Example 14: Coplanarity of Lines
Check if lines 2x−1=3y−2=4z−3 and 5x−4=2y−1=1z are coplanar.
Solution:
Step 1: From the first line,
(x1,y1,z1)=(1,2,3),(a1,b1,c1)=(2,3,4).
From the second line,
(x2,y2,z2)=(4,1,0),(a2,b2,c2)=(5,2,1).
Step 2: Use the coplanarity determinant:
x2−x1a1a2y2−y1b1b2z2−z1c1c2=0.
Substitute values:
325−132−341.
Step 3: Expand:
3(3⋅1−4⋅2)−(−1)(2⋅1−4⋅5)+(−3)(2⋅2−3⋅5).
That is,
3(3−8)+(2−20)−3(4−15)=3(−5)−18−3(−11)=−15−18+33=0.
Since the determinant is zero, the lines are coplanar.
Answer: Yes, the lines are coplanar.
Example 15: Angle Between Planes
Find the angle between the planes x+y+z=1 and x−2y+3z=1.
Solution:
Step 1: The normal vectors of the two planes are
n1=(1,1,1),n2=(1,−2,3).
Step 2: Compute the dot product:
n1⋅n2=1(1)+1(−2)+1(3)=2.
Step 3: Compute the magnitudes:
∣n1∣=1+1+1=3,∣n2∣=1+4+9=14.
Step 4: Use the angle formula between planes:
cosθ=∣n1∣∣n2∣n1⋅n2=3142=422.
Hence,
θ=cos−1(422).
Answer:cos−1(2/42)
Example 16: Angle Between Line and Plane
Find the angle between the line 2x+1=3y=6z−3 and the plane 10x+2y−11z=3.
Solution:
Step 1: The direction vector of the line is
b=(2,3,6),
and the normal vector of the plane is
n=(10,2,−11).
Step 2: Compute the dot product:
b⋅n=2(10)+3(2)+6(−11)=20+6−66=−40.
Step 3: Compute the magnitudes:
∣b∣=4+9+36=7,∣n∣=100+4+121=225=15.
Step 4: Use the formula for the angle ϕ between a line and a plane:
sinϕ=∣b∣∣n∣b⋅n=7⋅1540=10540=218.
Thus,
ϕ=sin−1(218).
Answer:sin−1(8/21)
Example 17: Distance of Point from Plane
Find the distance of the point (2,5,−3) from the plane r⋅(6i^−3j^+2k^)=4.
Solution:
Step 1: Convert the vector equation into Cartesian form:
6x−3y+2z=4⟹6x−3y+2z−4=0.
So,
A=6,B=−3,C=2,D=−4.
The point is
(2,5,−3).
Step 2: Use the distance formula:
d=62+(−3)2+22∣6(2)−3(5)+2(−3)−4∣.
Step 3: Simplify the numerator:
∣12−15−6−4∣=∣−13∣=13.
Step 4: Simplify the denominator:
36+9+4=49=7.
Step 5: Therefore,
d=713.
Answer:713
Example 18: Distance Between Parallel Planes
Find the distance between the parallel planes 2x−y+3z+4=0 and 2x−y+3z−10=0.
Solution:
Step 1: Since the coefficients of x,y,z are the same, the planes are parallel.
Use the formula
d=A2+B2+C2∣d1−d2∣.
Here,
A=2,B=−1,C=3,d1=4,d2=−10.
Step 2: Compute the numerator:
∣4−(−10)∣=14.
Step 3: Compute the denominator:
22+(−1)2+32=4+1+9=14.
Step 4: Therefore,
d=1414=14.
Answer:14
Example 19: Foot of the Perpendicular
Find the coordinates of the foot of the perpendicular from (1,1,1) to the plane x+2y+3z=2.
Solution:
Step 1: The normal vector of the plane is
(1,2,3).
So the perpendicular line through (1,1,1) is
1x−1=2y−1=3z−1=λ.
Step 2: A general point on this line is
Q(λ+1,2λ+1,3λ+1).
Step 3: Since Q lies on the plane, substitute into
x+2y+3z=2.
So,
(λ+1)+2(2λ+1)+3(3λ+1)=2.
Simplify:
λ+1+4λ+2+9λ+3=214λ+6=214λ=−4λ=−72.
Find the image of the point (3,1,2) in the plane 2x−y+z+4=0.
Solution:
Step 1: The normal vector of the plane is
(2,−1,1).
Hence the line through (3,1,2) perpendicular to the plane is
2x−3=−1y−1=1z−2=λ.
A general point on this line is
Q(2λ+3,−λ+1,λ+2).
Step 2: Since Q is the foot of the perpendicular, it must lie on the plane:
2(2λ+3)−(−λ+1)+(λ+2)+4=0.
Simplify:
4λ+6+λ−1+λ+2+4=06λ+11=0λ=−611.
Step 3: Therefore the foot of the perpendicular is
Q(2(−611)+3,−(−611)+1,−611+2)=(−32,617,61).
Step 4: Let the image point be P′(x′,y′,z′). Since Q is the midpoint of PP′, we have
x′=2Qx−3,y′=2Qy−1,z′=2Qz−2.
So,
x′=2(−32)−3=−34−3=−313,y′=2(617)−1=317−1=314,z′=2(61)−2=31−2=−35.
Answer:(−313,314,−35)
Example 21: Line Intersection with Plane
Find the distance of the point (−1,−5,−10) from the point of intersection of the line 3x−2=4y+1=12z−2 and the plane x−y+z=5.
Solution:
Step 1: Write the general point on the line by taking the common parameter as λ:
x=3λ+2,y=4λ−1,z=12λ+2.
So the general point is
Q(3λ+2,4λ−1,12λ+2).
Step 2: Since the point of intersection lies on the plane x−y+z=5, substitute:
(3λ+2)−(4λ−1)+(12λ+2)=5.
Simplify:
3λ+2−4λ+1+12λ+2=511λ+5=5λ=0.
Step 3: Therefore the intersection point is
Q(2,−1,2).
Step 4: Find the distance from P(−1,−5,−10) to Q(2,−1,2):
PQ=(2+1)2+(−1+5)2+(2+10)2=32+42+122=9+16+144=169=13.
Answer:13
Example 22: Shortest Distance with Parameter
If the shortest distance between the lines αx−1=−1y+1=1z and 2x+1=1y−2=2z−1 is 1/3, find α.
Solution:
Step 1: Write the two lines in vector-data form.
For the first line,
a1=(1,−1,0),b1=(α,−1,1).
For the second line,
a2=(−1,2,1),b2=(2,1,2).
Step 2: Compute the vector joining the chosen points:
a2−a1=(−2,3,1).
Step 4: Compute the numerator of the shortest distance formula:
(a2−a1)⋅(b1×b2)=(−2,3,1)⋅(−3,2−2α,α+2)=6+3(2−2α)+(α+2)=6+6−6α+α+2=14−5α.
So the numerator is
∣14−5α∣.
Step 5: Compute the denominator:
∣b1×b2∣=(−3)2+(2−2α)2+(α+2)2.
This becomes
9+(4−8α+4α2)+(α2+4α+4)=5α2−4α+17.
Step 6: Use the given shortest distance:
5α2−4α+17∣14−5α∣=31.
Squaring both sides,
5α2−4α+17(14−5α)2=31.
So,
3(14−5α)2=5α2−4α+17.
Expanding,
3(196−140α+25α2)=5α2−4α+17588−420α+75α2=5α2−4α+17.
Rearranging,
70α2−416α+571=0.
Step 7: Solve the quadratic:
α=140416±4162−4⋅70⋅571.
This gives
α=35104±703366.
Answer:α=35104±703366
Example 23: Plane Containing Two Lines
Find the equation of the plane containing the lines r=i^+j^+λ(i^+2j^−k^) and r=i^+j^+μ(−i^+j^−2k^).
Solution:
Step 1: Both lines pass through the common point
(1,1,0).
So this point lies on the required plane.
Step 2: The direction vectors of the two lines are
b1=(1,2,−1),b2=(−1,1,−2).
Step 3: A normal vector to the plane is
n=b1×b2.
Compute:
n=i^1−1j^21k^−1−2=i^((−4)−(−1))−j^((−2)−1)+k^(1−(−2))=−3i^+3j^+3k^.
This simplifies to the normal vector
(1,−1,−1).
Step 4: Use the point-normal form through (1,1,0):
1(x−1)−1(y−1)−1(z−0)=0.
Simplifying,
x−1−y+1−z=0x−y−z=0.
Answer:x−y−z=0
Example 24: Plane Passing Through Line and Point
Find the equation of the plane containing the line −3x+1=2y−3=1z+2 and the point (0,7,−7).
Solution:
Step 1: A point on the line is obtained by taking the parameter as 0:
A(−1,3,−2).
The given external point is
B(0,7,−7).
Step 2: The direction vector of the given line is
b=(−3,2,1).
The vector joining the point on the line to the given point is
AB=(0−(−1),7−3,−7−(−2))=(1,4,−5).
Step 3: A normal vector to the required plane is
n=AB×b.
So,
n=i^1−3j^42k^−51=i^(4−(−10))−j^(1−15)+k^(2−(−12))=14i^+14j^+14k^.
So a simplified normal vector is
(1,1,1).
Step 4: Use point-normal form through B(0,7,−7):
1(x−0)+1(y−7)+1(z+7)=0.
This simplifies to
x+y+z=0.
Answer:x+y+z=0
Example 25: Family of Planes
Find the equation of the plane through the intersection of planes 3x−y+2z−4=0 and x+y+z−2=0 and the point (2,2,1).
Solution:
Step 1: The family of planes through the line of intersection is
(3x−y+2z−4)+λ(x+y+z−2)=0.
Step 2: Since the required plane passes through (2,2,1), substitute these values:
(3⋅2−2+2⋅1−4)+λ(2+2+1−2)=0.
So,
(6−2+2−4)+3λ=02+3λ=0λ=−32.
Step 3: Substitute this value into the family:
(3x−y+2z−4)−32(x+y+z−2)=0.
Multiply by 3:
3(3x−y+2z−4)−2(x+y+z−2)=0.
Expand:
9x−3y+6z−12−2x−2y−2z+4=0.
Thus,
7x−5y+4z−8=0.
Answer:7x−5y+4z=8
Example 26: Projection of a Line on a Plane
Find the projection of the line 2x−1=3y−1=−1z+1 on the plane x+y+z=1.
Solution:
Step 1: First find the point where the given line meets the plane.
Take the common parameter as λ:
x=2λ+1,y=3λ+1,z=−λ−1.
Substitute into the plane equation:
(2λ+1)+(3λ+1)+(−λ−1)=1.
This gives
4λ+1=1⟹λ=0.
So the line meets the plane at
P(1,1,−1).
Step 2: Choose another point on the line by taking λ=1:
A(3,4,−2).
Now project this point perpendicularly onto the plane.
Step 3: Since the plane is
x+y+z=1,
its normal vector is
(1,1,1).
The perpendicular through A(3,4,−2) is
1x−3=1y−4=1z+2=μ.
So a general point on this perpendicular is
B(μ+3,μ+4,μ−2).
Step 4: Since B lies on the plane,
(μ+3)+(μ+4)+(μ−2)=1.
Thus,
3μ+5=1⟹3μ=−4⟹μ=−34.
Hence,
B=(35,38,−310).
Step 5: The projection of the original line on the plane is the line through points P and B.
Its direction ratios are
(35−1,38−1,−310+1)=(32,35,−37),
which are proportional to
(2,5,−7).
Step 6: Therefore, the Cartesian equation of the projected line is
2x−1=5y−1=−7z+1.
Answer:2x−1=5y−1=−7z+1
Example 27: Distance Measured Parallel to a Plane
Find the distance of the point (2,3,4) from the line 3x+3=6y−2=2z measured parallel to the plane 3x+2y+2z−5=0.
Solution:
Step 1: Let the required point on the given line be
Q(3λ−3,6λ+2,2λ).
The given point is
P(2,3,4).
So,
PQ=(3λ−5,6λ−1,2λ−4).
Step 2: The distance is measured parallel to the plane3x+2y+2z−5=0.
Hence the segment PQ must be parallel to the plane. Therefore, PQ must be perpendicular to the normal vector of the plane,
(3,2,2).
So,
(3λ−5,6λ−1,2λ−4)⋅(3,2,2)=0.
Step 3: Compute the dot product:
3(3λ−5)+2(6λ−1)+2(2λ−4)=09λ−15+12λ−2+4λ−8=025λ−25=0λ=1.
Step 4: Therefore,
Q=(0,8,2).
Step 5: Find the distance:
PQ=(0−2)2+(8−3)2+(2−4)2=4+25+4=33.
Answer:33
Example 28: Equation of Angle Bisector
Find the direction ratios of the angle bisectors of two lines with direction vectors b1 and b2.
Solution:
Step 1: Let the unit vectors in the directions of the two lines be
b^1=∣b1∣b1,b^2=∣b2∣b2.
Step 2: The internal and external angle bisectors are obtained by adding and subtracting these unit vectors. This is because a bisector must make equal angles with both given directions.
Therefore, the direction vectors of the two bisectors are parallel to
b^1+b^2
and
b^1−b^2.
Step 3: Hence the direction ratios of the bisectors are proportional to the components of these vectors.
Answer: Direction ratios are proportional to b^1±b^2
Example 29: Locus of a Point
Find the locus of a point whose sum of squares of distances from the coordinate planes is d2.
Solution:
Step 1: Let the moving point be
P(x,y,z).
Step 2: The three coordinate planes are:
yz-plane: x=0
xz-plane: y=0
xy-plane: z=0
Step 3: The perpendicular distances of P(x,y,z) from these planes are respectively
∣x∣,∣y∣,∣z∣.
Step 4: The sum of squares of these distances is therefore
x2+y2+z2.
Given that this equals d2, we get
x2+y2+z2=d2.
Step 5: This is the standard equation of a sphere with centre at the origin and radius d.