Calculus › Section L · Vectors and the geometry of space › Topic L.5
Lines and planes in space
In the plane, a slope pins down a line. In space there is no single slope, so lines and planes are described by vectors instead: a line follows a direction vector, and a plane stands perpendicular to a normal vector.
From slope to direction vectors
A line in the \(xy\)-plane is determined by a point and a slope. A line in space has no single slope: it can climb in one direction while drifting sideways in another. What replaces the slope is a direction vector \(\mathbf{v} = \langle a, b, c\rangle\) that the line runs parallel to. Planes need one further idea, a normal vector \(\mathbf{n}\), which is perpendicular to every direction lying in the plane.
Parametric equations of a line
Fix a point \(P(x_1, y_1, z_1)\) on the line and a direction vector \(\mathbf{v} = \langle a, b, c\rangle\). A point \(Q(x, y, z)\) lies on the line exactly when \(\overrightarrow{PQ}\) is a scalar multiple of \(\mathbf{v}\): \(\overrightarrow{PQ} = t\mathbf{v}\) for some real number \(t\). Equating components turns that one vector equation into three:
The parameter \(t\) walks along the line: \(t = 0\) gives \(P\), positive \(t\) moves in the direction of \(\mathbf{v}\), and negative \(t\) moves backwards. The components \(a\), \(b\) and \(c\) are the direction numbers.
Symmetric equations
When all three direction numbers are nonzero, eliminate \(t\): solve each parametric equation for \(t\) and set the results equal. That gives the symmetric equations
A zero direction number needs care, because dividing by zero is meaningless. A zero simply means that coordinate never changes: the line \(x = 2\), \(\frac{y - 1}{3} = \frac{z + 4}{5}\) runs through \((2, 1, -4)\) with direction \(\langle 0, 3, 5\rangle\), entirely inside the plane \(x = 2\). Neither form is unique.
Worked example: a line through two points
Find equations of the line through \(P(3, -1, 2)\) and \(Q(5, 1, 6)\). The line runs from \(P\) toward \(Q\), so use their difference as the direction vector: \(\overrightarrow{PQ} = \langle 2, 2, 4\rangle\). Any nonzero multiple works, and \(\langle 1, 1, 2\rangle\) is the tidiest. Anchored at \(P\), the parametric equations are \(x = 3 + t\), \(y = -1 + t\), \(z = 2 + 2t\), and the symmetric equations are
Check: \(t = 2\) should land on \(Q\), and \((3 + 2, -1 + 2, 2 + 4) = (5, 1, 6)\). Watch the sign in \(y + 1\): the formula subtracts \(y_1 = -1\).
Planes from a normal vector
A line needed a vector along it; a plane is pinned down by a vector perpendicular to it. Let the plane contain \(P(x_1, y_1, z_1)\) and have normal vector \(\mathbf{n} = \langle a, b, c\rangle\). A point \(Q(x, y, z)\) lies in the plane exactly when \(\overrightarrow{PQ}\) is perpendicular to \(\mathbf{n}\), and the dot product tests exactly that: \(\mathbf{n} \cdot \overrightarrow{PQ} = 0\). Writing it out gives the standard form of a plane:
Expanding gives the general form \(ax + by + cz + d = 0\), and reading it backwards is just as useful: the coefficients of \(x\), \(y\) and \(z\) are the components of a normal vector.
Worked example: a plane through three points
Find the plane through \(A(0, 1, 2)\), \(B(1, 3, 1)\) and \(C(2, 0, 3)\). Three points give no normal directly, but two edge vectors do, and the cross product builds a vector perpendicular to both. The edges from \(A\) are \(\mathbf{u} = \langle 1, 2, -1\rangle\) and \(\mathbf{v} = \langle 2, -1, 1\rangle\), and
Verify: \(\langle 1, -3, -5\rangle \cdot \mathbf{u} = 1 - 6 + 5 = 0\) and \(\cdot\ \mathbf{v} = 2 + 3 - 5 = 0\). So the plane is \(x - 3y - 5z + 13 = 0\). Check the points: \(0 - 3 - 10 + 13 = 0\), \(1 - 9 - 5 + 13 = 0\) and \(2 - 0 - 15 + 13 = 0\).
How planes meet
Two planes are parallel when their normal vectors are parallel, meaning scalar multiples of each other: \(x + 2y - 3z = 7\) and \(2x + 4y - 6z = 1\) are parallel because \(\langle 2, 4, -6\rangle = 2\langle 1, 2, -3\rangle\). Two planes are perpendicular when their normals are, tested by a zero dot product. Non-parallel planes intersect in a line, and the angle between them is defined as the acute angle between their normals: \(\cos\theta = \frac{|\mathbf{n_1} \cdot \mathbf{n_2}|}{\|\mathbf{n_1}\|\,\|\mathbf{n_2}\|}\). The intersection line lies inside both planes, so it is perpendicular to both normals, which makes \(\mathbf{n_1} \times \mathbf{n_2}\) its direction vector.
Distances to planes and lines
How far is a point from a plane? Take any point \(P\) in the plane and project \(\overrightarrow{PQ}\) onto the normal: the shadow's length is the distance. With the plane in general form, this becomes a one-line formula:
A sanity check: the floor is the plane \(z = 0\), and the point \((3, 4, 5)\) is 5 units above it; the formula gives \(\frac{|5|}{1} = 5\). For the distance from a point \(Q\) to a line with direction \(\mathbf{u}\) through a point \(P\), the cross product takes over: since \(\|\overrightarrow{PQ} \times \mathbf{u}\| = \|\overrightarrow{PQ}\|\,\|\mathbf{u}\|\sin\theta\), dividing by \(\|\mathbf{u}\|\) leaves the perpendicular distance \(\|\overrightarrow{PQ}\|\sin\theta\):
Worked example: how far is the hiker from the trail?
A straight trail starts at a trailhead \(P(0, 0, 0)\) on flat ground and runs in the direction \(\mathbf{u} = \langle 3, 4, 0\rangle\), coordinates in kilometres, and a hiker is at \(Q(1, 2, 0)\). The shortest route to the trail is the perpendicular distance: \(\overrightarrow{PQ} = \langle 1, 2, 0\rangle\), and
with magnitude 2. Since \(\|\mathbf{u}\| = 5\), the hiker is \(\frac{2}{5} = 0.4\) km from the trail. Second check, by projection: \(\overrightarrow{PQ} \cdot \mathbf{u} = 11\), so the nearest point on the trail is \(\frac{11}{25}\langle 3, 4, 0\rangle = (1.32, 1.76, 0)\), and \(\sqrt{0.32^2 + 0.24^2} = 0.4\) km. The two methods agree.
Common mistakes to avoid
The most common confusion is mixing up the two vector roles: a line is described by a direction vector along it, while a plane is described by a normal vector perpendicular to it. Substituting one for the other describes a completely different object. Second, mind the signs when the anchor point has negative coordinates: the symmetric form through \((3, -1, 2)\) contains \(y + 1\), not \(y - 1\), because you subtract \(y_1 = -1\). Third, never divide by a zero direction number: a zero means that coordinate is constant. And keep the absolute value in both distance formulas; a distance can never be negative.
Key takeaways
A line through \((x_1, y_1, z_1)\) with direction \(\langle a, b, c\rangle\) has parametric equations \(x = x_1 + at\), \(y = y_1 + bt\), \(z = z_1 + ct\), and symmetric equations when no direction number is zero. A plane through a point with normal \(\langle a, b, c\rangle\) satisfies \(a(x - x_1) + b(y - y_1) + c(z - z_1) = 0\); the coefficients of its general form give the normal back. Three points determine a plane through a cross product of two edges. Planes are parallel when their normals are scalar multiples; the distance from \((x_0, y_0, z_0)\) to \(ax + by + cz + d = 0\) is \(\frac{|ax_0 + by_0 + cz_0 + d|}{\sqrt{a^2 + b^2 + c^2}}\), and from a point to a line it is \(\frac{\|\overrightarrow{PQ} \times \mathbf{u}\|}{\|\mathbf{u}\|}\).
Flashcards
Flashcard
A vector ⟨a, b, c⟩ that a line runs parallel to
Test your understanding
Question 1 of 5
A line passes through (2, −1, 3) and is parallel to ⟨1, 4, −2⟩. Which parametric equations describe it?
Question 2 of 5
What is a normal vector to the plane 3x − 2y + z − 5 = 0?
Question 3 of 5
Which plane contains the point (1, 2, 3) and has normal vector ⟨2, −1, 2⟩?
Question 4 of 5
Which of these planes is parallel to x + 2y − 3z = 7?
Question 5 of 5
How far is the origin from the plane x + 2y − 2z + 4 = 0?
Standards: Beyond AP
