Math Lab
Home/Class XII/Ch 11/Angle between two lines and special positions

Angle between two lines and special positions

Two lines in 3D may be:

  • Intersecting , meet at a single point.
  • Parallel , same direction, never meet.
  • Coincident , same line.
  • Skew , neither parallel nor intersecting; they live in 3D and "pass" each other.

In all cases the angle between them is determined by their direction vectors alone.

Angle formula

Let two lines have direction vectors d⃗1\vec d_1 and d⃗2\vec d_2. The angle θ\theta between them satisfies cos⁡θ=∣d⃗1⋅d⃗2∣∣d⃗1∣ ∣d⃗2∣.\cos\theta = \frac{|\vec d_1 \cdot \vec d_2|}{|\vec d_1|\,|\vec d_2|}. The absolute value forces θ∈[0,π/2]\theta \in [0, \pi/2] , the acute angle.

Equivalently, sin⁡θ=∣d⃗1×d⃗2∣∣d⃗1∣∣d⃗2∣\sin\theta = \dfrac{|\vec d_1 \times \vec d_2|}{|\vec d_1||\vec d_2|}.

Perpendicularity

d⃗1⋅d⃗2=0\vec d_1 \cdot \vec d_2 = 0. In direction-ratio form: a1a2+b1b2+c1c2=0a_1 a_2 + b_1 b_2 + c_1 c_2 = 0.

Parallelism

d⃗1\vec d_1 and d⃗2\vec d_2 are proportional: d⃗2=λd⃗1\vec d_2 = \lambda \vec d_1 for some λ≠0\lambda \ne 0. Equivalently, a1a2=b1b2=c1c2\dfrac{a_1}{a_2} = \dfrac{b_1}{b_2} = \dfrac{c_1}{c_2} (assuming none of the denominators are zero).

A useful equivalent test: d⃗1×d⃗2=0⃗\vec d_1 \times \vec d_2 = \vec 0.

Coincidence vs parallel

Two parallel lines are coincident iff they share a common point. To check: parametrise one line, plug into the other's equation, see if a consistent solution exists.

Skewness

Two non-parallel lines in 3D may or may not intersect. They intersect iff they have a common point; otherwise they are skew. The most reliable test: do the lines' direction vectors and the displacement a⃗2−a⃗1\vec a_2 - \vec a_1 between their reference points lie in a common plane?

That is, the lines intersect iff [a⃗2−a⃗1    d⃗1    d⃗2]=0.[\vec a_2 - \vec a_1\;\;\vec d_1\;\;\vec d_2] = 0. Non-zero triple product ⇒\Rightarrow the lines are skew (assuming they are not parallel).

Worked examples

Example 1. Find the angle between the lines x−12=y+12=z−2−1\dfrac{x - 1}{2} = \dfrac{y + 1}{2} = \dfrac{z - 2}{-1} and x−11=y+1−2=z2\dfrac{x - 1}{1} = \dfrac{y + 1}{-2} = \dfrac{z}{2}.

Direction ratios: (2,2,−1)(2, 2, -1) and (1,−2,2)(1, -2, 2). d⃗1⋅d⃗2=2−4−2=−4\vec d_1\cdot\vec d_2 = 2 - 4 - 2 = -4. Magnitudes: 4+4+1=3\sqrt{4 + 4 + 1} = 3 and 1+4+4=3\sqrt{1 + 4 + 4} = 3.

cos⁡θ=∣−4∣3⋅3=49\cos\theta = \dfrac{|-4|}{3 \cdot 3} = \dfrac{4}{9}.

Example 2. Are the lines x−11=y2=z+13\dfrac{x - 1}{1} = \dfrac{y}{2} = \dfrac{z + 1}{3} and x+21=y−22=z+43\dfrac{x + 2}{1} = \dfrac{y - 2}{2} = \dfrac{z + 4}{3} parallel?

Both have direction (1,2,3)(1, 2, 3). Yes, parallel.

Example 3. Show that the lines x−12=y−23=z−34\dfrac{x - 1}{2} = \dfrac{y - 2}{3} = \dfrac{z - 3}{4} and x−45=y−12=z1\dfrac{x - 4}{5} = \dfrac{y - 1}{2} = \dfrac{z}{1} are not parallel. Find whether they intersect.

Directions: (2,3,4)(2, 3, 4) and (5,2,1)(5, 2, 1). Not proportional (e.g. 2/5≠3/22/5 \ne 3/2), so not parallel.

Test intersection: a⃗2−a⃗1=(4−1,1−2,0−3)=(3,−1,−3)\vec a_2 - \vec a_1 = (4 - 1, 1 - 2, 0 - 3) = (3, -1, -3). Triple product: det⁡(3−1−3234521)=3(3−8)+1(2−20)+(−3)(4−15)=−15−18+33=0\det \begin{pmatrix} 3 & -1 & -3 \\ 2 & 3 & 4 \\ 5 & 2 & 1 \end{pmatrix} = 3(3 - 8) + 1(2 - 20) + (-3)(4 - 15) = -15 - 18 + 33 = 0.

Triple product zero, so they intersect.

Example 4. Are the lines x−11=y−21=z−31\dfrac{x - 1}{1} = \dfrac{y - 2}{1} = \dfrac{z - 3}{1} and x2=y2=z−11\dfrac{x}{2} = \dfrac{y}{2} = \dfrac{z - 1}{1} skew?

Directions: (1,1,1)(1, 1, 1) and (2,2,1)(2, 2, 1). Not parallel. a⃗2−a⃗1=(−1,−2,−2)\vec a_2 - \vec a_1 = (-1, -2, -2). Triple product: det⁡(−1−2−2111221)\det \begin{pmatrix} -1 & -2 & -2 \\ 1 & 1 & 1 \\ 2 & 2 & 1 \end{pmatrix}. Expand along first row: −1(1−2)−(−2)(1−2)+(−2)(2−2)=1−2+0=−1≠0-1(1 - 2) - (-2)(1 - 2) + (-2)(2 - 2) = 1 - 2 + 0 = -1 \ne 0. Skew.

Example 5. Find λ\lambda if the lines x−23=y+11=z+5λ\dfrac{x - 2}{3} = \dfrac{y + 1}{1} = \dfrac{z + 5}{\lambda} and x1=y+2−2=z−11\dfrac{x}{1} = \dfrac{y + 2}{-2} = \dfrac{z - 1}{1} are perpendicular.

Dot products of directions (3,1,λ)(3, 1, \lambda) and (1,−2,1)(1, -2, 1): 3−2+λ=1+λ=03 - 2 + \lambda = 1 + \lambda = 0, so λ=−1\lambda = -1.

Example 6. Find θ\theta between x1=y2=z2\dfrac{x}{1} = \dfrac{y}{2} = \dfrac{z}{2} and x2=y2=z1\dfrac{x}{2} = \dfrac{y}{2} = \dfrac{z}{1}.

Dot product: 2+4+2=82 + 4 + 2 = 8. Magnitudes: 9=3\sqrt 9 = 3 each. cos⁡θ=8/9\cos\theta = 8/9.

Try it yourself

  1. Angle between lines with direction ratios (1,1,1)(1, 1, 1) and (1,−1,1)(1, -1, 1).
  2. Find λ\lambda if (2,1,λ)(2, 1, \lambda) and (1,−2,3)(1, -2, 3) are perpendicular directions.
  3. Are the lines x1=y1=z1\dfrac{x}{1} = \dfrac{y}{1} = \dfrac{z}{1} and x−11=y−11=z−11\dfrac{x - 1}{1} = \dfrac{y - 1}{1} = \dfrac{z - 1}{1} coincident?
  4. Show that the xx- and yy-axes are perpendicular.
  5. Test whether the lines r⃗=(1,0,0)+t(1,1,0)\vec r = (1, 0, 0) + t(1, 1, 0) and r⃗=(0,0,1)+s(0,1,1)\vec r = (0, 0, 1) + s(0, 1, 1) intersect or are skew.
  6. Are lines (1,2,3)+t(2,3,4)(1, 2, 3) + t(2, 3, 4) and (0,0,0)+s(4,6,8)(0, 0, 0) + s(4, 6, 8) parallel?
  7. Find sin⁡θ\sin\theta between lines with direction ratios (1,0,0)(1, 0, 0) and (1,1,0)(1, 1, 0).
  8. Find the equation of a line through (1,2,3)(1, 2, 3) perpendicular to both x1=y2=z3\dfrac{x}{1} = \dfrac{y}{2} = \dfrac{z}{3} and x2=y1=z−1\dfrac{x}{2} = \dfrac{y}{1} = \dfrac{z}{-1}.
  9. Are r⃗=(1,1,1)+t(2,0,−1)\vec r = (1, 1, 1) + t(2, 0, -1) and r⃗=(0,0,0)+s(0,1,0)\vec r = (0, 0, 0) + s(0, 1, 0) skew?
  10. The line L1L_1 has direction (a,b,c)(a, b, c); L2L_2 has direction (c,a,b)(c, a, b). Find the angle.
  11. Show that if L1∥L2L_1 \parallel L_2 and L1⊥L3L_1 \perp L_3, then L2⊥L3L_2 \perp L_3.
  12. Are the lines x−12=y−23=z−34\dfrac{x - 1}{2} = \dfrac{y - 2}{3} = \dfrac{z - 3}{4} and x−24=y−46=z−68\dfrac{x - 2}{4} = \dfrac{y - 4}{6} = \dfrac{z - 6}{8} parallel or coincident?
  13. Find the point of intersection (if any) of r⃗=(1,2,3)+t(1,1,1)\vec r = (1, 2, 3) + t(1, 1, 1) and r⃗=(4,5,6)+s(2,−1,1)\vec r = (4, 5, 6) + s(2, -1, 1).
  14. The body diagonals of a cube , find the angle between any two.

Pitfalls and tricks

  • Always use absolute value in the angle formula , angles between lines are taken in [0,π/2][0, \pi/2].
  • Parallel lines have a single point distinguishing them (or they're coincident). Test by trying to satisfy both parametric equations simultaneously.
  • Skew lines don't intersect and aren't parallel , peculiar to 3D and beyond.
  • Triple product zero ⇔\Leftrightarrow the two lines are coplanar (either intersecting or parallel).
  • For coincidence check that a point of one is on the other.

Test Your Knowledge

Quick MCQ check on this chapter

Start Quiz →

AI Summary

Summarize this page in your favorite LLM