Twenty fully worked problems covering the whole chapter, in four graded batches: direction cosines and ratios, then line equations, then angles, then shortest distances and mixed problems. Attempt each on paper before reading the solution.
The chapter's entire machinery is four moves: normalise ratios into cosines, read a line's point and direction from either form of its equation, dot directions for angles, and cross for perpendiculars and distances. Every problem below is a composition of those four.
Key Point: in this chapter more than any other, marks die at the reading step — an unstandardised Cartesian equation (3−x in a numerator, a 2z, cosines confused with ratios) poisons everything downstream. Standardise first, always.
Batch 1 — Direction Cosines and Ratios (Easy)
Example 1: The third direction angle
A line makes 135∘ with the x-axis and 60∘ with the y-axis. Find the acute angle it makes with the z-axis.
Solution:
Identity:cos2135∘+cos260∘+cos2γ=1, i.e. 21+41+cos2γ=1.
Solve:cos2γ=41, acute choice cosγ=21.
Answer:γ=60∘. The obtuse 135∘ contributes cos2=21 just like 45∘ would — squares forget signs.
Example 2: Ratios to cosines
Find the direction cosines of a line with direction ratios 6,−2,3.
Solution:
Normalise:36+4+9=7.
Divide:(76,−72,73).
Answer:(76,−72,73) — a 6-2-3-7 quadruple worth remembering alongside 1-2-2-3 and 2-3-6-7.
Example 3: Cosines from two points
Find the direction cosines of the line from P(4,3,−5) to Q(−2,1,−8).
Solution:
Ratios (terminal minus initial):(−6,−2,−3).
Distance:36+4+9=7.
Divide:(−76,−72,−73).
Answer:(−76,−72,−73) — the all-negated set describes the same line traversed from Q to P.
Example 4: Three points on one line
Show that (2,3,4), (3,4,5) and (4,5,6) are collinear.
Solution:
Consecutive ratios: first to second: (1,1,1); second to third: (1,1,1).
Identical (hence proportional) ratios through a shared point — one straight line.
Answer: collinear; indeed all three lie on 1x−2=1y−3=1z−4.
Example 5: Completing a cosine triple
If (21,21,n) are direction cosines of a line with n>0, find n.
Solution:
Identity:41+41+n2=1, so n2=21.
Positive root:n=21.
Answer:n=21 — the line makes 60∘,60∘,45∘ with the axes.
Batch 2 — Line Equations (Easy-Medium)
Example 6: Point and direction, both forms
Find the equation of the line through (1,2,3) parallel to 3i^+2j^−2k^, in vector and Cartesian form.
Solution:
Vector form:r=(i^+2j^+3k^)+λ(3i^+2j^−2k^).
Cartesian form:3x−1=2y−2=−2z−3.
Answer: as above.
Example 7: From a position vector
Find both forms of the line through the point with position vector 2i^−j^+4k^ in the direction i^+2j^−k^.
Solution:
Vector form:r=(2i^−j^+4k^)+λ(i^+2j^−k^).
Cartesian form:1x−2=2y+1=−1z−4.
Answer: as above — the position vector supplies the point (2,−1,4), the direction supplies the denominators.
Example 8: Parallel to a given line
Find the Cartesian equation of the line through (−2,4,−5) parallel to 3x+3=5y−4=6z+8.
Solution:
Borrow the direction: ratios (3,5,6) — parallel lines share direction ratios.
Anchor at the new point:3x+2=5y−4=6z+5.
Answer:3x+2=5y−4=6z+5.
Example 9: Cartesian to vector
The Cartesian equation of a line is 3x−5=7y+4=2z−6. Write its vector form.
Solution:
Point from numerators:(5,−4,6).
Direction from denominators:(3,7,2).
Answer:r=(5i^−4j^+6k^)+λ(3i^+7j^+2k^).
Example 10: A line with two zero ratios
Find the equation of the line through (3,−2,−5) and (3,−2,6).
Solution:
Direction:(0,0,11) — only z changes; the line is parallel to the z-axis.
Vector form:r=(3i^−2j^−5k^)+λk^.
Cartesian description:x=3, y=−2, z arbitrary (formally 0x−3=0y+2=11z+5, with zero denominators read as "numerator identically zero").
Answer: the vertical line x=3,y=−2 — zero direction ratios are statements, not divisions.
Batch 3 — Angles between Lines (Medium)
Example 11: A routine angle
Find the angle between the lines with direction ratios (2,5,−3) and (−1,8,4).
Solution:
Dot:−2+40−12=26.
Norms:4+25+9=38 and 1+64+16=9.
Angle:cosθ=93826.
Answer:θ=cos−193826.
Example 12: A surd-heavy pair that collapses
Find the angle between lines with direction ratios (1,1,2) and (3−1,−3−1,4).
Solution:
Dot:(3−1)+(−3−1)+8=6.
Norms:6 and (3−1)2+(3+1)2+16=4−23+4+23+16=24=26 — the cross terms cancel.
Angle:cosθ=6⋅266=126=21.
Answer:60∘ — designed surds; trust the algebra and the mess evaporates.
Example 13: Angle between the diagonals of a cube
Find the angle between two (space) diagonals of a cube.
Solution:
Model the cube on unit axes: two diagonals have direction ratios (1,1,1) and (1,1,−1).
Dot:1+1−1=1; norms 3 each.
Angle:cosθ=31.
Answer:cos−131≈70.5∘ — a classic result exams quote directly.
Example 14: Cube diagonal and edge
Find the angle between a space diagonal of a cube and one of its edges.
Solution:
Directions: diagonal (1,1,1), edge (1,0,0).
Compute:cosθ=31.
Answer:cos−131≈54.7∘ — the equal-inclination angle from Section 1, met again from the cube's corner.
Example 15: Perpendicular to two given directions
Find the direction cosines of the line perpendicular to both lines with direction ratios (1,2,2) and (0,2,1).
Solution:
Cross:(1,2,2)×(0,2,1)=(2−4,0−1,2−0)=(−2,−1,2).
Normalise: magnitude 3.
Answer:(−32,−31,32) (or negated) — "perpendicular to two directions" always means the cross product.
Batch 4 — Distances and Mixed Problems (Medium-Hard)
Example 16: A clean skew distance
Find the shortest distance between r=(i^+j^+k^)+λ(i^−j^) and r=(2i^−k^)+μ(i^+j^).
Solution:
Cross:(i^−j^)×(i^+j^)=2k^, magnitude 2.
Joining vector:(1,−1,−2).
Triple product:2k^⋅(1,−1,−2)=−4; modulus 4.
Answer:d=24=2.
Example 17: A line perpendicular to two lines
Find the vector equation of the line through (1,2,−4) perpendicular to both 3x−8=−16y+19=7z−10 and 3x−15=8y−29=−5z−5.
Solution:
Direction = cross of the two directions:(3,−16,7)×(3,8,−5)=(80−56,21+15,24+48)=(24,36,72)=12(2,3,6).
Anchor at the given point:r=(i^+2j^−4k^)+λ(2i^+3j^+6k^).
Answer:r=i^+2j^−4k^+λ(2i^+3j^+6k^) — always reduce the cross by its common factor before writing the answer.
Example 18: Do the lines meet?
Show that the lines r=(i^+j^)+λi^ and r=μj^ intersect, and find the point of intersection.
Solution:
Coplanarity test:(i^×j^)⋅(a2−a1)=k^⋅(−1,−1,0)=0 — coplanar; being non-parallel, they intersect.
Find the point: equate (1+λ,1,0)=(0,μ,0): λ=−1, μ=1.
Answer: they meet at (0,1,0). The zero triple product predicts the meeting; the parameter equations locate it.
Example 19: Distance from a point to a line
Find the distance from the point P(1,0,0) to the line x=y=z.
Solution:
Set up: the line passes through A(0,0,0) with direction b=(1,1,1); AP=(1,0,0).