Topic 6 · Lesson 1 of 4
Lines in three dimensions
The scalar product
For and , the scalar product (dot product) is
where is the angle between the vectors. So , and two non-zero vectors are perpendicular exactly when . Also . The scalar product is a number, not a vector.
The equation of a line
A line is fixed by a point on it, with position vector , and a direction vector . Every point on it is for some scalar . Through two points and , use .
For and : .
Writing , , and making the subject of each gives the Cartesian form:
Read it backwards to go the other way: the numerators give the point, the denominators the direction. If a direction component is zero, that coordinate is constant, and you write it separately: , .
How two lines can be arranged
In 3D, two lines are either
- parallel: their direction vectors are multiples of each other;
- intersecting: they are not parallel and they meet;
- skew: they are not parallel and they never meet. Skew lines do not exist in 2D.
To decide, check for parallel directions first. If they are not parallel, write each line's general point, set them equal, and solve two of the three component equations for and . Then check the third equation: if it holds, the lines meet; if not, they are skew.
Worked example
Intersecting lines
: and : . Show that they meet, find the point, and find the acute angle between them.
Show solutionHide solution
- : . : . Adding: , so and .
- : and . They agree, so the lines meet, at .
- The angle uses the directions: , and the magnitudes are and .
- , so the acute angle is . (Taking the modulus of the scalar product gives the acute angle directly.)
Practise this topic
Both are part of Premium.