In the context of linear algebra itβs important to have some knowledge about planes.
The general formula for a plane in 3D space is
ax+by+cz=d.
Derivation
We will derive this formula in a few simple steps using some of
the knowledge acquired so far. We start with some assumptions:
We suppose that we haveβ¦
β¦a known point P0β=(x0β,y0β,z0β) which lies in the plane.
β¦a point P=(x,y,z) which represents any possible point in the plane.
β¦a known vector that is orthogonal
to the plane denoted by n=(a,b,c). We refer to this vector as the normal vector.
We then define the vectors r0β and r to be the position vectors pointing
to the points P0β and P respectively.
A position vector of a point P is the vector from the origin to P.
Also, we know that the vector rβr0β lies inside of the plane, since
P and P0β - which are the points pointed to by the vectors r and r0β
respectively - both lie in the plane as well.
The vector rβr0β is the vector which starts at P0β and points to P.
Since n is orthogonal to the plane, and rβr0β lies in the plane,
n must also be orthogonal to rβr0β.
If you recall from the lesson about
orthogonal vectors,
we know that the
dot product
of two orthogonal vectors is 0.
Note that ax0β, by0β, and cz0β are all known values, so usually it is said that
d=ax0β+by0β+cz0β,
and then the above equation can be rewritten as
ax+by+cz=d.
And in fact, this is just the coordinate form of the equation, and our starting point
nβ (rβr0β)=0,
is the vector form of the same idea.
The vector form has a straightforward geometric interpretation. Itβs basically stating that
we are interested in all points P such that the vector rβr0β -
the vector from P0β to P - is orthogonal to the normal vector n.
Now if you notice, a, b, and c are the components of n.
In fact, if youβre asked to find the normal (orthogonal) vector to the plane,
and the plane is given to you in the form ax+by+cz=d, all you have to do is
collect the components of n into a vector, and youβre done.
For example, take the plane
3x+2yβ1z=8.
Just from looking at this, I know that the vector orthogonal to the plane is
n=β32β1ββ
Finding the Equation of the Plane From Three Points
Before we can get into the explanation itself, we must first go on a small digression.
Vectors From Points
When we want to express the idea of a vector which points from
some point A to some other point B, we can use the notation AB.
The vector AB can be computed as
AB=rBββrAβ,
where rBβ and rAβ are the location vectors of the points B and A
respectively.
The location vectors are simply vectors which point to some point. For example,
the location vector of the point C=(1,2,3) is
rCβ=β123ββ.
Back to Our Main Endeavor
Itβs easy to find the equation of a plane when given one point and the normal vector,
since we know that
d=ax0β+by0β+cz0β,
and the left-hand side only needs a, b, and c. These are all values which come
from the information we have directly.
But if weβre only given three points, there are some extra steps involved.
We can use one point for our x0β, y0β, and z0β values.
We then combine the three points to find two vectors in the plane.
If weβre given three points
P1β=(1,2,0),P2β=(4,1,3),P3β=(2,5,1).
We now want to find two vectors lying in the plane.
To do this, we compute the vectors P2βP1ββ and P2βP3ββ as described above:
We can even by using the points given as our x, y, and z:
For P1β:
x=1,y=2,z=0βx+zβ1+0β1β=β1=β1=β1.β
For P2β:
x=4,y=1,z=3βx+zβ4+3β1β=β1=β1=β1.β
For P3β:
x=2,y=5,z=1βx+zβ2+1β1β=β1=β1=β1.β
A Final Remark on the Normal Vector
Itβs important to note that the normal vector cannot be all zeroes, so
nξ =0.
This is because - as outlined in the lesson about
orthogonal vectors - by definition,
the zero vector 0 is orthogonal to all vectors,
and it not uniquely determine a plane.