Introduction
A line’s direction and a plane’s orientation are described by different kinds of vectors. A direction vector points along the line, while a normal vector is perpendicular to the plane. Comparing these two vectors gives a convenient way to find the angle between the line and the plane.
The main point to keep straight is that the angle between the line and the plane is complementary to the acute angle between the line’s direction and the plane’s normal. Confusing these two angles is a common source of errors.
Direction Vectors and Normal Vectors
A line in three-dimensional space can be written in parametric vector form as \(\mathbf{r}=\mathbf{r}_0+t\mathbf{v}\), where \(\mathbf{r}_0\) is a point on the line, \(t\) is a real parameter, and \(\mathbf{v}\ne\mathbf{0}\) is a direction vector. Any nonzero scalar multiple of \(\mathbf{v}\) is also a direction vector for the same line.
A plane has a normal vector \(\mathbf{n}\ne\mathbf{0}\), meaning that \(\mathbf{n}\) is perpendicular to every direction lying in the plane. For example, the plane \(Ax+By+Cz=D\) has normal vector \(\mathbf{n}=(A,B,C)\), provided the coefficients are not all zero.
Using an angle in this range means the angle does not depend on which way the line’s direction vector points, or which of the two possible orientations is chosen for the plane’s normal.
The Formula and Its Geometric Reason
Let \(\alpha\) be the angle between a line with direction vector \(\mathbf{v}\) and a plane with normal vector \(\mathbf{n}\). The acute angle between \(\mathbf{v}\) and \(\mathbf{n}\) is complementary to \(\alpha\). The dot-product formula therefore gives a direct way to calculate \(\alpha\).
Why the formula works. Decompose the direction vector into a part parallel to the plane and a part perpendicular to the plane. The perpendicular part is parallel to \(\mathbf{n}\); its length is the magnitude of the projection of \(\mathbf{v}\) onto \(\mathbf{n}\):
In the right triangle formed by \(\mathbf{v}\), its in-plane component, and its perpendicular component, the perpendicular side is opposite the angle \(\alpha\), and the hypotenuse has length \(\|\mathbf{v}\|\). Thus \(\sin\alpha\) is the perpendicular component’s length divided by \(\|\mathbf{v}\|\), giving the stated formula. If the in-plane component is zero, the line is perpendicular to the plane, \(\alpha=\frac{\pi}{2}\), and the same formula gives \(\sin\alpha=1\).
To see the complementary relationship another way, let \(\theta\) be the acute angle between \(\mathbf{v}\) and \(\mathbf{n}\). A normal is perpendicular to every direction in the plane, so the line-plane angle and the acute line-normal angle add to \(90^\circ\):
The dot product gives \(\cos\theta=\frac{|\mathbf{v}\cdot\mathbf{n}|}{\|\mathbf{v}\|\,\|\mathbf{n}\|}\). Since \(\sin\alpha=\cos\theta\), this is the same formula as above.
Worked Examples
Worked Example: A Line and Plane with Nonzero Dot Product
Find the angle between the line with direction vector \(\mathbf{v}=(2,-1,2)\) and a plane with normal vector \(\mathbf{n}=(1,2,2)\).
First calculate the dot product and the two vector lengths:
Substitute these values into the line-plane formula:
The angle is approximately \(26.4^\circ\), rounded to the nearest tenth of a degree. As a check, the acute angle between the direction and the normal is \(\arccos(4/9)\approx63.6^\circ\), and \(26.4^\circ+63.6^\circ=90.0^\circ\) to the displayed precision.
Worked Example: A Line Parallel to a Plane
Find the angle between the line \(\mathbf{r}=(1,0,0)+t(2,-1,0)\) and the plane \(z=4\).
The line’s direction vector is \(\mathbf{v}=(2,-1,0)\). The plane \(z=4\) has normal vector \(\mathbf{n}=(0,0,1)\). Calculate:
Therefore,
The line is parallel to the plane: its direction has no component in the normal direction. Indeed, the \(z\)-coordinate along the line is always \(0\), so the line lies in a plane parallel to \(z=4\). The calculated angle \(0^\circ\) agrees with this geometry.
Worked Example: A Line Perpendicular to a Plane
Find the angle between a line with direction vector \(\mathbf{v}=(0,0,4)\) and a plane with normal vector \(\mathbf{n}=(0,0,2)\).
The dot product and lengths are
Thus,
The line’s direction is parallel to the plane’s normal, so it is perpendicular to the plane. The formula correctly gives \(90^\circ\).
Worked Example: Using a Plane Equation
Find the angle between the line with direction vector \(\mathbf{v}=(1,2,2)\) and the plane \(x=3\).
In the equation \(x=3\), the coefficients of \(x,y,z\) are \(1,0,0\), so a normal vector is \(\mathbf{n}=(1,0,0)\). The required quantities are
Then
The angle is approximately \(19.5^\circ\), rounded to the nearest tenth. The line-normal angle is \(\arccos(1/3)\approx70.5^\circ\); the two angles add to \(90.0^\circ\) to the displayed precision.
A Common Mistake: Using the Wrong Inverse Trigonometric Function
A frequent error is to calculate \(\arccos\left(\frac{|\mathbf{v}\cdot\mathbf{n}|}{\|\mathbf{v}\|\|\mathbf{n}\|}\right)\) and report it as the angle between the line and the plane. That calculation gives the acute angle between the line’s direction and the plane’s normal, not the line-plane angle.
For example, take \(\mathbf{v}=(1,2,2)\) and \(\mathbf{n}=(1,0,0)\). Their dot product is \(1\), and their lengths are \(3\) and \(1\). The incorrect calculation would be
That is the angle to the normal. The correction is to take its complement, or directly use the sine formula:
Another useful check is that the result must be between \(0^\circ\) and \(90^\circ\). If reversing \(\mathbf{v}\) or \(\mathbf{n}\) changes your answer, an absolute value has likely been omitted.
A Reliable Calculation Process
Read a direction vector \(\mathbf{v}\) from the line and a normal vector \(\mathbf{n}\) from the plane.
Find \(\mathbf{v}\cdot\mathbf{n}\), \(\|\mathbf{v}\|\), and \(\|\mathbf{n}\|\), keeping the absolute value in the numerator.
Calculate \(\alpha=\arcsin\left(\frac{|\mathbf{v}\cdot\mathbf{n}|}{\|\mathbf{v}\|\|\mathbf{n}\|}\right)\) and state whether the answer is in degrees or radians.
A zero dot product means the line is parallel to the plane; a direction parallel to the normal means the line is perpendicular to the plane.
Why the Complement Matters
The complementary relationship makes it easier to interpret a calculation geometrically. A direction nearly parallel to the plane has a direction nearly perpendicular to its normal, so the line-plane angle is small. A direction nearly parallel to the normal has a line-plane angle near \(90^\circ\).
This is useful whenever a problem provides a line direction and a plane equation, since those are precisely the data needed for the calculation. The point on the line and the constant on the plane do not affect the angle: translating a line or plane changes its location, not its orientation.
Check Your Understanding
Use the direction-normal relationship to answer these questions. Give angle answers in degrees unless otherwise stated.
- A line has direction \((1,0,0)\), and a plane has normal \((0,1,0)\). What is the angle between the line and plane?
- A line has direction \((0,0,3)\), and a plane has normal \((0,0,1)\). What is their angle, and what geometric relationship does it indicate?
- For direction \((1,2,2)\) and normal \((1,0,0)\), write the exact inverse-trigonometric expression for the line-plane angle.
- Why must the dot product be placed inside absolute-value bars in the line-plane formula?
- If the acute angle between a line’s direction and a plane’s normal is \(38^\circ\), what is the angle between the line and the plane?