☰ Year plan · Pure Mathematics

Lines in space: direction vectors, three forms of equation and the angle between lines

Week 12 · Lines in space: the direction vector, the vector, parametric and Cartesian equations, the angle between two lines, and parallel, perpendicular, intersecting and skew lines · 3 lessons
3

The angle between two lines, and parallel, perpendicular, intersecting and skew lines

Pure Mathematics Sec 3 Term 1, Unit 4, Lesson 1
GoalFind the angle between two lines, and decide whether two lines are parallel, perpendicular, intersecting or skew.
New words
angle between two lines · the acute (or right) angle between their direction vectorsperpendicular lines · direction vectors with d₁ · d₂ = 0skew lines · lines that are not parallel and have no common point; they do not lie in one plane
Explanation

The angle between two lines is the angle between their direction vectors, but a line has two directions, d and −d, so we take the acute (or right) one: cos θ = |d₁ · d₂|/(‖d₁‖‖d₂‖), with 0° ≤ θ ≤ 90°. The absolute value in the top does this. If the lines are given by direction cosines, then cos θ = |ℓ₁ℓ₂ + m₁m₂ + n₁n₂|. Special cases: the lines are perpendicular when d₁ · d₂ = 0, and parallel when d₁ = kd₂ (or d₁ × d₂ is the zero vector). Parallel lines that share a point are the same line. In a plane, two lines that are not parallel must meet. In space there is a third possibility. Two lines that are not parallel either intersect in exactly one point, or they are skew (in Arabic متخالفان): they never meet and are not parallel, for example an edge on the floor of a room and a different-direction edge on its ceiling. To decide, give the lines different parameters, s for the first and t for the second. Equate the coordinates, which gives three equations in two unknowns. Solve two of them, then test the third: if it is satisfied the lines meet at the point found, and if not they are skew. Perpendicular lines may meet or may be skew; perpendicularity only compares the directions.

to decide: give the lines different parameters s and t, solve two of the three coordinate equations, and test the third
directionscommon point?the two lines are
proportional: d₁ = kd₂none, or all pointsparallel (or the same line)
not proportionalexactly oneintersecting
not proportionalnoneskew
Worked examples
Find the angle between lines with directions d₁ = (1, −2, 2) and d₂ = (4, 0, 3). d₁ · d₂ = 4 + 0 + 6 = 10, ‖d₁‖ = 3 and ‖d₂‖ = 5. So cos θ = 10/15 = 2/3 and θ ≈ 48.2°.
Perpendicular lines. d₁ = (2, 3, −1) and d₂ = (1, 1, 5) give 2 + 3 − 5 = 0, so the lines are perpendicular. For which k are directions (k, 3, −1) and (2, k, 5) perpendicular? 2k + 3k − 5 = 0, so k = 1.
Parallel or the same? The line through (1, 0, 2) with direction (1, −2, 3) and the line through (0, 1, 2) with direction (−2, 4, −6): the second direction is −2 times the first, so they are parallel. The vector between the two given points is (−1, 1, 0), which is not a multiple of (1, −2, 3), so the lines are different.
Do r₁ = (1, 0, 2) + s(1, 1, −1) and r₂ = (1, 3, −3) + t(2, −1, 3) meet? x: 1 + s = 1 + 2t; y: s = 3 − t; z: 2 − s = −3 + 3t. The first two give s = 2t and 2t = 3 − t, so t = 1 and s = 2. The third: 2 − 2 = 0 and −3 + 3 = 0, which agree. They meet at (3, 2, 0). If the second line started at (1, 3, −2), then the third equation would give 0 against 1, so the lines would be skew.
Class activity

Edges of a room. Stand in a room and think of three edges: one on the floor along the east wall, one on the floor along the north wall, and one on the ceiling along the east wall. Which pairs are perpendicular and meet, parallel, or skew? (Floor-east and floor-north meet and are perpendicular; floor-east and ceiling-east are parallel; ceiling-east and floor-north are perpendicular and skew.)

Practice
1
Find the angle between the lines with directions (2, 2, −1) and (2, −3, 6).
2
Are the lines with directions (3, −1, 2) and (1, 5, 1) perpendicular?
3
Find k and m so that (k, −2, 4) is parallel to (3, m, −6).
4
Show that (2, 1, 0) + s(1, −1, 2) and (3, −2, 5) + t(1, 1, −1) intersect, and find the point.
5
Show that (1, 0, 1) + s(1, 1, 0) and (0, 2, 0) + t(0, 1, 1) are skew.