Line–plane intersection
Consider the line and plane defined by
${\overrightarrow{r}}_{\text{L}}=\overrightarrow{a}+t\overrightarrow{m}$ and ${\overrightarrow{r}}_{\mathrm{\Pi}}=\overrightarrow{b}+r\overrightarrow{u}+s\overrightarrow{v}\text{.}$
They may or may not intersect. In ${\mathbb{R}}^{3}\text{,}$ there are three cases:
- coplanar ($\infty $)
- The line lies on the plane. Formally, $\forall t\text{}\exists r\exists s$ such that ${\overrightarrow{r}}_{\text{L}}={\overrightarrow{r}}_{\mathrm{\Pi}}\text{.}$ This implies that $\overrightarrow{m}\text{,}$ $\overrightarrow{u}\text{,}$ and $\overrightarrow{v}$ are coplanar, therefore $\overrightarrow{m}\cdot \overrightarrow{u}\times \overrightarrow{v}=0\text{,}$ and that the position $\overrightarrow{a}$ lies on the plane. There are $\infty $ points of intersection.
- parallel (0)
- The line and the plane are parallel, so the three direction vectors are coplanar as before, but the position vector $\overrightarrow{a}$ does not lie on the plane. For all combinations of values of t, r, and s, we have ${\overrightarrow{r}}_{\text{L}}\ne {\overrightarrow{r}}_{\mathrm{\Pi}}\text{.}$ There are zero points of intersection.
- nonparallel (1)
- All other systems fall into this category. The line and the plane are not parallel, so the three direction vectors are not coplanar. There is exactly one point of intersection.
It is possible to find the point of intersection of a line and a plane this way by converting to parametric form, because you will have three variables (free parameters) and three equations. But this is a lot of work—there is an easier way. Two easier ways, in fact.
The first method works uses the parametric equations of a line and the standard equation of a plane. Given the latter,
$ax+by+cz+d=0\text{,}$
you can substitute the values of x, y, and z for the right-hand sides of the parametric equations of the line:
$a({x}_{0}+t{m}_{1})+b({y}_{0}+t{m}_{2})+c({z}_{0}+t{m}_{3})+d=0\text{.}$
You can then solve for t. If you get a value for t, the system is nonparallel, and the single point of intersection is found by evaluating the parametric equations of the line at t. If all the t terms and constant terms cancel and you are left with $0=0\text{,}$ then the value of t is irrelevant (the equation holds for all values $t\in \mathbb{R}$) and the system is coplanar—there are $\infty $ points of intersection. If only the t terms cancel and you are left with $0t=a$ where $a\ne 0\text{,}$ then there is no solution and the system is parallel but not coplanar (zero points of intersection).
The second method uses the vector equation of a line and the point-normal equation of a plane. Given the line and the plane defined by
${\overrightarrow{r}}_{\text{L}}=\overrightarrow{a}+t\overrightarrow{m}$ and $\overrightarrow{n}\cdot ({\overrightarrow{r}}_{\mathrm{\Pi}}-\overrightarrow{b})=0\text{,}$
we can substitute the first into the second because we are looking for the point of intersection, which occurs when ${\overrightarrow{r}}_{\text{L}}={\overrightarrow{r}}_{\mathrm{\Pi}}$:
$\overrightarrow{n}\cdot (\overrightarrow{a}+t\overrightarrow{m}-\overrightarrow{b})=0\text{.}$
Rearranging this to solve for t gives us
$t=\frac{(\overrightarrow{b}-\overrightarrow{a})\cdot \overrightarrow{n}}{\overrightarrow{n}\cdot \overrightarrow{m}}\text{.}$
If this equation gives you a value for t, there is one point of intersection. If you get the indeterminate case, zero over zero, there are $\infty $ points of intersection. And if the numerator isn’t zero, then there are none. It isn’t hard to see why: if $\overrightarrow{m}$ is perpendicular to the normal of the plane, then it is parallel to the plane; and if $\overrightarrow{b}-\overrightarrow{a}$ is parallel to the plane, then the position vector $\overrightarrow{a}$ lies on the plane.
Sometimes, in addition to the point of intersection, we want to find the angle of intersection. As with the angle between two planes, we only care about the acute angle. Let $\varphi $ represent the angle between $\overrightarrow{m}$ and $\overrightarrow{n}\text{,}$ and let $\theta $ represent the angle of intersection. They are complementary: $\varphi +\theta =90\text{\xba}\text{.}$ Since $\mathrm{cos}\phantom{\rule{0.08335em}{0ex}}\varphi =\mathrm{cos}(90\text{\xba}-\theta )=\mathrm{sin}\phantom{\rule{0.08335em}{0ex}}\theta \text{,}$ we can find the angle with
${\theta}_{\text{acute}}={\mathrm{sin}}^{-1}\left(\frac{|\overrightarrow{m}\cdot \overrightarrow{n}|}{\left|\overrightarrow{m}\right|\left|\overrightarrow{n}\right|}\right)\text{.}$