[Math] How to find distance from a point to a plane

linear algebravectors

Compute the distance from the point A = (1,1,-1) to the plane which contains the point B = (3,6,-1) and the line, \begin{align}
\begin{bmatrix}
x \\
y \\
z \\
\end{bmatrix} &= \begin{bmatrix}
2 \\
5 \\
0 \\
\end{bmatrix} t
\end{align}

NOT ALLOWED to use cross product to determine the answer!

The answer is 0, because point A is on the plane. But I don't know how to get the plane equation using the point B which is on the plane and the line which is also on the plane, to then derive the distance.

Edit: thanks for all the answers, I decided to go talk to my prof and she explained that we were supposed to first select two points on the line(lets call them G and H), so we would have three points on the plane, including point B. So we could then create two directional vectors, example: BG and BH. Using these two directional vectors, we would find a vector N, which is orthogonal to both of these vectors. this would give us a vector which is orthogonal to the plane. This would be done by have BG∙N=0 and BH∙N=0 and solving the system to give us N. After we get N, we will use N and a point on the plane, B to compute the distance from A to the plane.

Best Answer

One way to write a general equation of a plane in $x,y,z$-space is $$ ax + by + cz = d $$ where $a, b, c$, and $d$ are constants. The equation is not unique, because you can multiply all the constants by the same constant factor (as long as it is not zero) and get a different equation of the same plane.

Three non-collinear points determine a plane in three-dimensional space. From the problem description, you have at least these three points on the plane: \begin{align} &(0,0,0) && \text{on the given line at $t=0$} \\ &(2,5,0) && \text{on the given line at $t=1$} \\ &(3,6,-1) && \text{the given point $B$} \end{align}

Plugging each of these points into the general equation $ax + by + cz = d$ will give you a system of equations in which the only unknowns are $a, b, c$, and $d$. If the three points are not collinear, every solution of the system of equations will give you a set of constants $a, b, c$, and $d$ such that $ax + by + cz = d$ is a correct equation of the desired plane. At this point you can just choose one of the solutions; which one does not matter (at least not much) as long as $a, b, c$, and $d$ are not all zero.

Note that this means the vector $\begin{bmatrix} a & b & c \end{bmatrix}^T$ is perpendicular to the desired plane, and therefore it is some scalar multiple of the cross product of any two independent vectors parallel to the plane, which is the other way you could have found an equation of the plane if you were allowed to use a cross product.

In this particular case, since the point $A$ actually is exactly in the plane (distance $0$), just plugging the coordinates of $A$ into the equation will answer the question. But in general, for any arbitrary point $(x,y,z)$, the distance from $(x,y,z)$ to the plane is $$ \frac{ax + by + cz - d}{\sqrt{a^2 + b^2 + c^2}}. $$

Related Question