Lines and planes in space
In the plane a line is y = mx + b. In space a straight edge has no single slope, and one linear equation in x, y, z draws a flat sheet, not a line. What data pin down a line and a plane in space, and how do we compute where they meet and how far apart they are?
Where you are 5 in Vectors and space curves
Why this exists
A line in the plane is fixed by a point and a slope. In space one number cannot record a direction, and one linear equation in x, y, z describes a plane, not a line.
Vectors repair both. A line is a point plus every multiple of one direction vector (Vectors in space). A plane is every point reached from one point by moving perpendicular to one normal vector, and perpendicular means dot product 0 (Orthogonal vectors). The synthetic facts of Lines and planes in space then come with coordinates, and with the The cross product and the triple product a builder’s questions (where a beam meets a wall, how far apart two pipes pass) become short computations.
Definition
We identify the point P(x, y, z) with its position vector \mathbf{r} = \langle x, y, z \rangle.
Lines. Let P_0(x_0, y_0, z_0) have position vector \mathbf{r}_0 and let \mathbf{v} = \langle a, b, c \rangle \neq \mathbf{0}. The line through P_0 with direction vector \mathbf{v} is the set of points
its vector equation. In components these are the parametric equations x = x_0 + at, y = y_0 + bt, z = z_0 + ct. When a, b, c are all nonzero, solving each for t (Eliminating the parameter) gives the symmetric equations
If, say, a = 0, they become x = x_0 together with \displaystyle \frac{y - y_0}{b} = \frac{z - z_0}{c}. The segment from P_0 to P_1 is \mathbf{r}_0 + t(\mathbf{r}_1 - \mathbf{r}_0), 0 \le t \le 1.
Two lines are parallel when their direction vectors are parallel, and skew when they are not parallel and do not meet. The angle between two lines is the \theta \in [0, \pi/2] with \displaystyle \cos\theta = \frac{\lvert \mathbf{v}_1 \cdot \mathbf{v}_2 \rvert}{\lVert \mathbf{v}_1 \rVert\,\lVert \mathbf{v}_2 \rVert} (The dot product and the angle between vectors), absolute value since a direction’s sign is a choice.
Planes. Let \mathbf{n} = \langle a, b, c \rangle \neq \mathbf{0}. The plane through P_0 with normal vector \mathbf{n} is the set of points P with \overrightarrow{P_0P} orthogonal to \mathbf{n}:
In components, a(x - x_0) + b(y - y_0) + c(z - z_0) = 0, and expanding gives the general form ax + by + cz = d with d = \mathbf{n} \cdot \mathbf{r}_0. Two planes are parallel when their normals are parallel, and the angle between two planes is the angle between lines along their normals. A line is parallel to a plane when \mathbf{v} \cdot \mathbf{n} = 0.
Intuition
To reach the point at parameter t, go to P_0, then take t steps of \mathbf{v}; negative t walks backward. A rescaled direction or another starting point on the line traces the same set at a different pace, so a line has many vector equations.
A plane forbids exactly one kind of motion: from P_0 you may move any way that has no component along \mathbf{n}. That leaves two independent directions of freedom where a line has one. The general form \mathbf{n} \cdot \mathbf{r} = d says every point of the plane has the same Vector and scalar projection d / \lVert \mathbf{n} \rVert on \mathbf{n}: the same signed height measured along the normal.
Results
Every direction and normal vector below is nonzero. The distance from a point to a line is Theorem 7 of The cross product and the triple product.
Lemma. If \mathbf{a} \times \mathbf{b} \neq \mathbf{0} and \mathbf{x} is orthogonal to \mathbf{a} and \mathbf{b}, then \mathbf{x} is a multiple of \mathbf{a} \times \mathbf{b}.
Theorem 1 (one line, many equations). The line through \mathbf{r}_0 with direction \mathbf{v} equals the line through \mathbf{r}_1 with direction \mathbf{w} if and only if \mathbf{w} is a nonzero multiple of \mathbf{v} and \mathbf{r}_1 = \mathbf{r}_0 + s_0\mathbf{v} for some s_0.
Theorem 2 (planes are linear equations). If (a, b, c) \neq (0, 0, 0), the solutions of ax + by + cz = d form a plane with normal \langle a, b, c \rangle, and every plane is such a set. Two such equations have the same solutions if and only if one is a nonzero multiple of the other.
Theorem 3 (plane through three points). Three points P, Q, R not on one line lie in exactly one plane, and \overrightarrow{PQ} \times \overrightarrow{PR} is a normal to it.
Theorem 4 (a line and a plane). Let a line be \mathbf{r}_0 + t\mathbf{v} and a plane \mathbf{n} \cdot (\mathbf{r} - \mathbf{p}_0) = 0. If \mathbf{n} \cdot \mathbf{v} \neq 0 they meet in exactly one point, at
If \mathbf{n} \cdot \mathbf{v} = 0, the line lies in the plane when \mathbf{r}_0 does, and misses it otherwise.
Theorem 5 (two planes). Two parallel planes are equal or disjoint. Two planes \mathbf{n}_1 \cdot \mathbf{r} = d_1 and \mathbf{n}_2 \cdot \mathbf{r} = d_2 that are not parallel meet in a line with direction \mathbf{n}_1 \times \mathbf{n}_2.
Theorem 6 (distance to a plane). The distance from Q(x_1, y_1, z_1), position vector \mathbf{q}, to the plane ax + by + cz = d through \mathbf{r}_0 is
reached only at the foot
The planes \mathbf{n} \cdot \mathbf{r} = d_1 and \mathbf{n} \cdot \mathbf{r} = d_2 are \lvert d_1 - d_2 \rvert / \lVert \mathbf{n} \rVert apart.
Theorem 7 (two lines that are not parallel). Let L_1 be \mathbf{r}_1 + s\mathbf{v}_1 and L_2 be \mathbf{r}_2 + t\mathbf{v}_2 with \mathbf{m} = \mathbf{v}_1 \times \mathbf{v}_2 \neq \mathbf{0}. The least distance between a point of L_1 and a point of L_2 is
reached at exactly one pair of points, the pair joined by a segment perpendicular to both lines. The lines meet if and only if (\mathbf{r}_2 - \mathbf{r}_1) \cdot \mathbf{m} = 0, and are skew otherwise.
Why it is true
Lemma. By Theorems 2 and 3 of The cross product and the triple product,
If \mathbf{x} \neq \mathbf{0}, two nonzero vectors have cross product \mathbf{0}, so they are parallel (The cross product).
Theorem 1. If \mathbf{w} = c\mathbf{v} with c \neq 0 and \mathbf{r}_1 = \mathbf{r}_0 + s_0\mathbf{v}, then \mathbf{r}_1 + t\mathbf{w} = \mathbf{r}_0 + (s_0 + ct)\mathbf{v}, and t \mapsto s_0 + ct is a bijection of \mathbb{R}, so the sets agree. Conversely, if the lines are equal, \mathbf{r}_1 = \mathbf{r}_0 + s_0\mathbf{v} and \mathbf{r}_1 + \mathbf{w} = \mathbf{r}_0 + s_1\mathbf{v} for some s_0, s_1. Subtracting, \mathbf{w} = (s_1 - s_0)\mathbf{v}, a nonzero multiple since \mathbf{w} \neq \mathbf{0}.
Theorem 2. The plane \mathbf{n} \cdot (\mathbf{r} - \mathbf{r}_0) = 0 is the equation \mathbf{n} \cdot \mathbf{r} = \mathbf{n} \cdot \mathbf{r}_0. Conversely, given ax + by + cz = d with, say, a \neq 0, the point \mathbf{r}_0 = \langle d/a, 0, 0 \rangle has \mathbf{n} \cdot \mathbf{r}_0 = d, so the equation is \mathbf{n} \cdot (\mathbf{r} - \mathbf{r}_0) = 0.
Multiples have the same solutions. Suppose \mathbf{n}_1 \cdot \mathbf{r} = d_1 and \mathbf{n}_2 \cdot \mathbf{r} = d_2 have the same solutions, \mathbf{r}_0 among them. If \mathbf{n}_2 were not a multiple of \mathbf{n}_1, then \mathbf{w} = \mathbf{n}_2 - \operatorname{proj}_{\mathbf{n}_1} \mathbf{n}_2 would be nonzero and orthogonal to \mathbf{n}_1, with \mathbf{n}_2 \cdot \mathbf{w} = \lVert \mathbf{w} \rVert^2 > 0, so \mathbf{r}_0 + \mathbf{w} would solve the first equation and not the second. So \mathbf{n}_2 = c\,\mathbf{n}_1, c \neq 0, and d_2 = \mathbf{n}_2 \cdot \mathbf{r}_0 = c\,d_1.
Theorem 3. The vectors \overrightarrow{PQ} and \overrightarrow{PR} are not parallel, so \mathbf{n} = \overrightarrow{PQ} \times \overrightarrow{PR} has length \lVert \overrightarrow{PQ} \rVert\,\lVert \overrightarrow{PR} \rVert \sin\theta > 0, and it is orthogonal to both, so the plane through P with normal \mathbf{n} contains Q and R. A normal \mathbf{m} of any plane containing all three is orthogonal to \overrightarrow{PQ} and \overrightarrow{PR}, differences of its points, so \mathbf{m} = c\,\mathbf{n} by the Lemma. Both planes contain P, so their equations are multiples and Theorem 2 makes them equal.
Theorem 4. The point \mathbf{r}_0 + t\mathbf{v} is in the plane exactly when t\,(\mathbf{n} \cdot \mathbf{v}) = \mathbf{n} \cdot (\mathbf{p}_0 - \mathbf{r}_0). If \mathbf{n} \cdot \mathbf{v} \neq 0 the only solution is t^*. If \mathbf{n} \cdot \mathbf{v} = 0, every t solves it when \mathbf{r}_0 is in the plane, and none does otherwise.
Theorem 5. If \mathbf{n}_2 = c\,\mathbf{n}_1 and some \mathbf{r} lies in both planes, then d_2 = \mathbf{n}_2 \cdot \mathbf{r} = c\,d_1, so the planes are equal. Now let \mathbf{u} = \mathbf{n}_1 \times \mathbf{n}_2 \neq \mathbf{0}, and look for a common point \alpha\mathbf{n}_1 + \beta\mathbf{n}_2:
Its determinant is \lVert \mathbf{u} \rVert^2 > 0 by Lagrange’s identity, so a common point \mathbf{p} exists. As \mathbf{u} is orthogonal to both normals, every \mathbf{p} + t\mathbf{u} is in both planes. Conversely, for any common point \mathbf{q}, \mathbf{q} - \mathbf{p} is orthogonal to both normals, so it is a multiple of \mathbf{u} by the Lemma.
Theorem 6. By construction \mathbf{n} \cdot (\mathbf{f} - \mathbf{r}_0) = 0, so \mathbf{f} is in the plane, and \mathbf{q} - \mathbf{f} is a multiple of \mathbf{n} of length D. For any \mathbf{p} in the plane, \mathbf{f} - \mathbf{p} is orthogonal to \mathbf{n}, so by the Pythagorean theorem
least exactly when \mathbf{p} = \mathbf{f}. The second form uses \mathbf{n} \cdot \mathbf{r}_0 = d. Every point of the plane \mathbf{n} \cdot \mathbf{r} = d_2 then lies \lvert d_2 - d_1 \rvert / \lVert \mathbf{n} \rVert from the other.
Theorem 7. Let \mathbf{w} = \mathbf{r}_2 - \mathbf{r}_1, \mathbf{p} = \mathbf{r}_1 + s\mathbf{v}_1 and \mathbf{q} = \mathbf{r}_2 + t\mathbf{v}_2. Since \mathbf{m} is orthogonal to \mathbf{v}_1 and \mathbf{v}_2, (\mathbf{q} - \mathbf{p}) \cdot \mathbf{m} = \mathbf{w} \cdot \mathbf{m} for every s, t. By Cauchy-Schwarz, \lVert \mathbf{q} - \mathbf{p} \rVert \ge D, with equality exactly when \mathbf{q} - \mathbf{p} is parallel to \mathbf{m}, which by the Lemma means orthogonal to \mathbf{v}_1 and \mathbf{v}_2:
Its determinant is -\lVert \mathbf{m} \rVert^2 \neq 0 by Lagrange’s identity, so exactly one pair (s, t) works. The lines meet exactly when D = 0.
Worked examples
A weld seam
At a shipyard, Hiro runs a straight weld seam from A(1, 4, 2) to B(7, 1, 5), in meters. Give equations of the line AB and the seam’s length, and decide whether C(5, 2, 4) and D(9, 0, 7) lie on the line, and on the seam.
SolutionWith \mathbf{v} = \overrightarrow{AB} = \langle 6, -3, 3 \rangle, the line is \mathbf{r}(t) = \langle 1, 4, 2 \rangle + t\mathbf{v}, that is x = 1 + 6t, y = 4 - 3t, z = 2 + 3t, and the seam is 0 \le t \le 1, of length \displaystyle \lVert \mathbf{v} \rVert = \sqrt{54} = 3\sqrt{6} \approx 7.35 meters. By Theorem 1 the direction \displaystyle \langle 2, -1, 1 \rangle = \frac{1}{3}\mathbf{v} gives the same line, with neater symmetric equations
At C the three fractions are 2, 2, 2, so C is on the line, at \displaystyle t = \frac{2}{3} by x = 1 + 6t; that is in [0, 1], so C is on the seam. At D they are 4, 4, 5, so D is off the line.
The plane of a hull plate
Isabel cuts a parallelogram steel plate with corners P(2, 1, 0), Q(4, 0, 1), R(1, 3, 2) and S = Q + \overrightarrow{PR}. Find its plane.
Solution\overrightarrow{PQ} = \langle 2, -1, 1 \rangle and \overrightarrow{PR} = \langle -1, 2, 2 \rangle are not parallel, so by Theorem 3 a normal is
Any nonzero multiple is also a normal; take \mathbf{n} = \langle 4, 5, -3 \rangle. Through P, d = 8 + 5 - 0 = 13:
Check: Q gives 16 + 0 - 3 = 13, R gives 4 + 15 - 6 = 13, and S(3, 2, 3) gives 12 + 10 - 9 = 13.
Where a beam meets the plate
Malik aims an alignment laser from A(-2, 0, 9) in the direction \langle 1, 1, -1 \rangle. Where does the beam meet the plane of Isabel’s plate, and does it hit the plate? Does a second laser from the origin along \langle 1, 1, 3 \rangle meet the plane?
SolutionHere \mathbf{n} \cdot \mathbf{v} = 4 + 5 + 3 = 12 \neq 0, so Theorem 4 gives one point. With \mathbf{p}_0 = P, \mathbf{p}_0 - \mathbf{r}_0 = \langle 4, 1, -9 \rangle and \mathbf{n} \cdot \langle 4, 1, -9 \rangle = 16 + 5 + 27 = 48, so t^* = 48/12 = 4 and the beam meets the plane at (2, 4, 5). Check: 8 + 20 - 15 = 13.
The plate is P + a\overrightarrow{PQ} + b\overrightarrow{PR} with 0 \le a, b \le 1. From (2, 4, 5) - P = \langle 0, 3, 5 \rangle, the equations 2a - b = 0, -a + 2b = 3, a + 2b = 5 give a = 1, b = 2. Since b > 1 the beam lands on the line of edge QS beyond S, missing the plate.
For the second laser \mathbf{n} \cdot \mathbf{v} = 4 + 5 - 9 = 0, and its start gives 0 \neq 13, so by Theorem 4 it never meets the plane.
The seam where two plates meet
A deck plate lies in x + 2y - 2z = 1 and a bulkhead in 2x - y + 2z = 7. Find their line of intersection and the angle between them.
SolutionThe normals \mathbf{n}_1 = \langle 1, 2, -2 \rangle and \mathbf{n}_2 = \langle 2, -1, 2 \rangle are not parallel, so by Theorem 5 the line has direction
For a point, set z = 0: x + 2y = 1 and 2x - y = 7 give x = 3, y = -1. The seam is \langle 3, -1, 0 \rangle + t\langle 2, -6, -5 \rangle. Here \mathbf{n}_1 \cdot \mathbf{n}_2 = -4 and both normals have length 3, so \displaystyle \cos\theta = \frac{4}{9} and \theta \approx 63.61^\circ.
Drilling into a thick plate
The faces of a thick plate lie in 2x - y + 2z = 4 and -4x + 2y - 4z = 1, in centimeters. Find the thickness, and where a drill starting at Q(5, 1, 3) and moving perpendicular to the faces first touches the plate.
SolutionDividing the second equation by -2 gives \displaystyle 2x - y + 2z = -\frac{1}{2}, so both faces have \mathbf{n} = \langle 2, -1, 2 \rangle, \lVert \mathbf{n} \rVert = 3, and by Theorem 6 the thickness is \displaystyle \frac{\lvert 4 - (-1/2) \rvert}{3} = \frac{3}{2} centimeters.
The plate is where \mathbf{n} \cdot \mathbf{r} runs from \displaystyle -\frac{1}{2} to 4, and \mathbf{n} \cdot \mathbf{q} = 10 - 1 + 6 = 15 > 4, so the drill first reaches the face \mathbf{n} \cdot \mathbf{r} = 4, after \displaystyle \frac{\lvert 15 - 4 \rvert}{3} = \frac{11}{3} centimeters, at the foot
Check: \displaystyle \frac{46 - 20 + 10}{9} = 4.
Clearance between two pipes
Two straight pipes in the engine room have center lines \langle 1, -1, 2 \rangle + s\langle 1, 2, 2 \rangle and \langle 4, 2, 0 \rangle + t\langle 2, 1, -2 \rangle, in meters, and radius 0.25. Show the center lines are skew, find their distance and nearest points, and the gap between the pipes.
SolutionHere \mathbf{m} = \mathbf{v}_1 \times \mathbf{v}_2 = \langle -6, 6, -3 \rangle, so the lines are not parallel, and \lVert \mathbf{m} \rVert = 9. With \mathbf{w} = \langle 3, 3, -2 \rangle, \mathbf{w} \cdot \mathbf{m} = -18 + 18 + 6 = 6 \neq 0, so by Theorem 7 the lines are skew and
In the two equations of the proof of Theorem 7, \mathbf{v}_1 \cdot \mathbf{v}_2 = 0, \lVert \mathbf{v}_1 \rVert^2 = \lVert \mathbf{v}_2 \rVert^2 = 9, \mathbf{w} \cdot \mathbf{v}_1 = 5 and \mathbf{w} \cdot \mathbf{v}_2 = 13, so 9s = 5 and -9t = 13. The nearest points are \displaystyle (\frac{14}{9}, \frac{1}{9}, \frac{28}{9}) and \displaystyle (\frac{10}{9}, \frac{5}{9}, \frac{26}{9}), joined by \displaystyle \langle -\frac{4}{9}, \frac{4}{9}, -\frac{2}{9} \rangle, a multiple of \mathbf{m} of length \displaystyle \frac{2}{3}.
By the triangle inequality, points of the two pipes are at least \displaystyle \frac{2}{3} - 0.5 = \frac{1}{6} meters apart, and the common perpendicular reaches that gap, about 0.17 meters.
A proof: three planes and one point
Prove that if the planes \mathbf{n}_i \cdot \mathbf{r} = d_i (i = 1, 2, 3) have T = \mathbf{n}_1 \cdot (\mathbf{n}_2 \times \mathbf{n}_3) \neq 0, they meet in exactly one point,
and use it on the two planes of the seam example with the floor z = 0.
SolutionDot the formula with \mathbf{n}_1: it is orthogonal to \mathbf{n}_3 \times \mathbf{n}_1 and \mathbf{n}_1 \times \mathbf{n}_2, so only d_1 T / T = d_1 survives. The triple product is cyclic (Theorem 1 of The cross product and the triple product), so the same holds for the other two planes. For uniqueness, the difference \mathbf{x} of two common points is orthogonal to all three normals, and \mathbf{n}_2 \times \mathbf{n}_3 \neq \mathbf{0} since T \neq 0, so \mathbf{x} = c(\mathbf{n}_2 \times \mathbf{n}_3) by the Lemma. Then 0 = \mathbf{n}_1 \cdot \mathbf{x} = cT forces c = 0.
With \mathbf{n}_3 = \langle 0, 0, 1 \rangle, d_1 = 1, d_2 = 7, d_3 = 0: \mathbf{n}_2 \times \mathbf{n}_3 = \langle -1, -2, 0 \rangle, \mathbf{n}_3 \times \mathbf{n}_1 = \langle -2, 1, 0 \rangle and T = -1 - 4 = -5, so
the point found by elimination in the seam example.
Boundaries
- Symmetric equations need nonzero components. A zero component of \mathbf{v} becomes a separate equation such as x = x_0.
- One equation is a plane. A line needs two independent linear equations or a parametrization. With a = b = c = 0, the equation 0 = d is all of space or nothing.
- Higher dimensions. The vector equation of a line works in \mathbb{R}^n, where \mathbf{n} \cdot (\mathbf{r} - \mathbf{r}_0) = 0 is a hyperplane of dimension n - 1. Theorems 3, 5 and 7 use the cross product and are three-dimensional. Skew lines need at least three dimensions.
- Theorem 7 needs non-parallel lines. For parallel lines \mathbf{m} = \mathbf{0}; their distance is that from any point of one to the other, Theorem 7 of The cross product and the triple product.
Where this goes next
A line is the curve with constant derivative \mathbf{v}; Vector-valued functions lets the direction change. The tangent plane in Tangent planes and linear approximation is a plane with normal \langle f_x, f_y, -1 \rangle, and in Gradient and directional derivatives the gradient is the normal to a level surface. In Parametric surfaces and surface integrals the normal \mathbf{r}_u \times \mathbf{r}_v plays the role \overrightarrow{PQ} \times \overrightarrow{PR} plays here.
Exercises
Lines
- Give vector, parametric and symmetric equations of the line through (2, -1, 4) parallel to \langle 3, 0, -2 \rangle.
- Show that \langle 1, 0, 2 \rangle + t\langle 1, 1, -1 \rangle and \langle 2, 3, 0 \rangle + s\langle 0, 1, 1 \rangle are skew, and find the distance between them.
- Show that \langle 2, 0, 1 \rangle + t\langle 1, 2, -1 \rangle and \langle 0, 1, 8 \rangle + s\langle 1, 1, -2 \rangle meet. Find the point and the angle between the lines.
Planes
- Find the plane through (3, -2, 1) with normal \langle 2, 5, -1 \rangle.
- Find the plane through A(1, 1, 0), B(2, 0, 3), C(0, 2, 1), and describe it.
- Find the plane through (1, 0, -1) that contains the line \langle 2, 1, 1 \rangle + t\langle 1, -1, 2 \rangle.
Lines and planes meeting
- Where does the line x = 1 + 2t, y = -t, z = 3 + t meet the plane x + 3y - 2z = 4?
- For which c does the line \langle 1, 1, 1 \rangle + t\langle 2, 0, 1 \rangle lie in the plane x + y - 2z = c? What happens otherwise?
- Find the line where x - y + z = 2 and 2x + y - z = 1 meet, and the angle between the planes.
- The angle \varphi between a line and a plane it meets satisfies \displaystyle \sin\varphi = \frac{\lvert \mathbf{v} \cdot \mathbf{n} \rvert}{\lVert \mathbf{v} \rVert\,\lVert \mathbf{n} \rVert}. A crane cable runs straight from (0, 0, 12) to (3, 4, 0) on the deck z = 0. Find its angle with the deck.
Distances
- Find the distance from (1, -1, 3) to the plane 6x - 2y + 3z = 1 and the foot of the perpendicular.
- Malik runs a cable along the x-axis and a pipe along \langle 0, 3, 2 \rangle + t\langle 0, 1, 1 \rangle. Find the distance between them and the nearest points.
- Show that x + y + z = 6, x - y + 2z = 5 and 2x + y - z = 1 meet in exactly one point, and find it.
Proofs
- Prove that two distinct points lie on exactly one line.
- Prove that two lines that are not parallel lie in a common plane if and only if they meet.
- Prove that the points equidistant from distinct points A and B form the plane through the midpoint of AB with normal \overrightarrow{AB}.
- Prove that every line is the set of common points of two planes.
Answers
- \langle 2, -1, 4 \rangle + t\langle 3, 0, -2 \rangle; x = 2 + 3t, y = -1, z = 4 - 2t; symmetric form y = -1 with \displaystyle \frac{x - 2}{3} = \frac{z - 4}{-2}, since the y-component is 0.
- \displaystyle \frac{\sqrt{6}}{2} \approx 1.22. \mathbf{m} = \langle 2, -1, 1 \rangle \neq \mathbf{0} and \mathbf{w} = \langle 1, 3, -2 \rangle give \mathbf{w} \cdot \mathbf{m} = -3 \neq 0, so the lines are skew, and \displaystyle D = \frac{3}{\sqrt{6}}.
- (5, 6, -2), at t = 3, s = 5; \theta \approx 33.56^\circ. From 2 + t = s and 2t = 1 + s, then z: 1 - 3 = 8 - 10. And \displaystyle \cos\theta = \frac{5}{6}.
- 2x + 5y - z = -5, since d = 6 - 10 - 1.
- x + y = 2, a vertical plane (z is free). \langle 1, -1, 3 \rangle \times \langle -1, 1, 1 \rangle = \langle -4, -4, 0 \rangle.
- 2x - z = 3. The plane contains \langle 1, -1, 2 \rangle and \langle 1, 1, 2 \rangle (to (2, 1, 1)), with cross product \langle -4, 0, 2 \rangle.
- (-5, 3, 0). Substituting gives -5 - 3t = 4, so t = -3.
- Only c = 0. \mathbf{n} \cdot \mathbf{v} = 2 - 2 = 0 and (1, 1, 1) gives 0; for c \neq 0 the line misses the plane (Theorem 4).
- \langle 1, 0, 1 \rangle + t\langle 0, 1, 1 \rangle, at 90^\circ. The cross product of the normals is \langle 0, 3, 3 \rangle; adding the equations gives x = 1, and y = 0 gives z = 1. The normals have dot product 0.
- \varphi \approx 67.38^\circ. \mathbf{v} = \langle 3, 4, -12 \rangle has length 13 and \mathbf{n} = \mathbf{k}, so \displaystyle \sin\varphi = \frac{12}{13}.
- \displaystyle \frac{16}{7}, foot \displaystyle \left(-\frac{47}{49}, -\frac{17}{49}, \frac{99}{49}\right). \lvert 6 + 2 + 9 - 1 \rvert = 16, \lVert \mathbf{n} \rVert = 7, and the foot is \displaystyle \langle 1, -1, 3 \rangle - \frac{16}{49}\langle 6, -2, 3 \rangle.
- \displaystyle \frac{\sqrt{2}}{2} \approx 0.71, between (0, 0, 0) and \displaystyle (0, \frac{1}{2}, -\frac{1}{2}). \mathbf{m} = \langle 0, -1, 1 \rangle, \mathbf{w} \cdot \mathbf{m} = -1; the equations of Theorem 7 give s = 0, \displaystyle t = -\frac{5}{2}.
- (1, 2, 3). The normals’ triple product is -1 + 5 + 3 = 7 \neq 0, so by the last worked example there is exactly one point. Adding pairs of equations gives 2x + 3z = 11 and 3x + z = 6.
- For \mathbf{p} \neq \mathbf{q}, the line \mathbf{p} + t(\mathbf{q} - \mathbf{p}) contains both. If \mathbf{r}_0 + t\mathbf{v} contains both, \mathbf{p} = \mathbf{r}_0 + a\mathbf{v} and \mathbf{q} = \mathbf{r}_0 + b\mathbf{v} with a \neq b, so \mathbf{q} - \mathbf{p} = (b - a)\mathbf{v} and Theorem 1 makes the lines equal.
- Use Theorem 7’s notation. If the lines meet at X, the plane through X with normal \mathbf{m} contains both, since \mathbf{v}_1, \mathbf{v}_2 are orthogonal to \mathbf{m}. If both lie in a plane with normal \mathbf{n}, then \mathbf{n} is orthogonal to \mathbf{v}_1, \mathbf{v}_2 and \mathbf{r}_2 - \mathbf{r}_1; the Lemma gives \mathbf{n} = c\,\mathbf{m}, c \neq 0, so (\mathbf{r}_2 - \mathbf{r}_1) \cdot \mathbf{m} = 0 and the lines meet.
- Squaring, \lVert \mathbf{r} - \mathbf{a} \rVert^2 = \lVert \mathbf{r} - \mathbf{b} \rVert^2 becomes 2\,\mathbf{r} \cdot (\mathbf{b} - \mathbf{a}) = \lVert \mathbf{b} \rVert^2 - \lVert \mathbf{a} \rVert^2. For the midpoint \displaystyle \mathbf{c} = \frac{1}{2}(\mathbf{a} + \mathbf{b}), 2\,\mathbf{c} \cdot (\mathbf{b} - \mathbf{a}) is the same right side, so the condition is (\mathbf{b} - \mathbf{a}) \cdot (\mathbf{r} - \mathbf{c}) = 0, with \mathbf{b} - \mathbf{a} \neq \mathbf{0}.
- Let the line be \mathbf{r}_0 + t\mathbf{v}, \mathbf{v} = \langle a, b, c \rangle. One of \langle -b, a, 0 \rangle, \langle 0, -c, b \rangle, \langle c, 0, -a \rangle is nonzero, since \mathbf{v} \neq \mathbf{0}; call it \mathbf{n}_1. It is orthogonal to \mathbf{v}, and so is \mathbf{n}_2 = \mathbf{v} \times \mathbf{n}_1. By Theorem 3 of The cross product and the triple product, \mathbf{n}_1 \times \mathbf{n}_2 = \lVert \mathbf{n}_1 \rVert^2 \mathbf{v} \neq \mathbf{0}. So the planes \mathbf{n}_i \cdot (\mathbf{r} - \mathbf{r}_0) = 0 are not parallel, and by Theorem 5 (with \mathbf{p} = \mathbf{r}_0) they meet in the line through \mathbf{r}_0 with direction a multiple of \mathbf{v}, the given line by Theorem 1.