Solving Plane Equation: 3 Coordinates Given

  • Thread starter Thread starter dcl
  • Start date Start date
  • Tags Tags
    Plane
AI Thread Summary
To find the equation of a plane given three coordinates, first compute the vectors formed by the points and then calculate the cross product to obtain a normal vector. The plane's equation can be expressed as n_1x + n_2y + n_3z + d = 0, where d is determined by substituting one of the points into the equation. For additional calculations, the angle between a line and the plane can be found using the dot product of the line's direction vector and the plane's normal vector. The point of intersection between the line and the plane can be derived by solving the system of equations formed by their respective equations.
dcl
Messages
54
Reaction score
0
I'm having trouble working out the equation of a plane. Say I'm given 3 coordiantes , how would I work out the equation of the plane in the form of ax + by + cz = d?

say (1,-1,-1), (2,1,2), (2,-2,1) for example.

thank you in advance
 
Mathematics news on Phys.org
Let A = (1, -1, -1), B = (2, 1, 2) and C = (2, -2, 1). The vectors A - B and A - C will be parallel to the plane (of course, so will B - C, C - A, and so on). A normal vector to the plane will be given by the cross product between A - B and A - C, let's assume this vector is (n_1, n_2, n_3). The plane will then have the equation n_1x + n_2y + n_3z + d = 0, finding d is simple since you know a point on the plane (in fact, you know three).
 
A(1, -1, -1)
B(2, 1, 2)
C(2, -2, 1)

\vec{AB} = (1, 2, 3)
\vec{BC} = (0, -3, -1)

The cross product is:
Code:
    |i  j  k|
n = |1  2  3| = -2i + 9i + 0j + j - 3k - 0k = (7, 1, -3)
    |0 -3 -1|
(At least that's how we were taught to do it.)

So the plane equation is: 7x + y - 3z + D = 0
To find D, substitude the coordinates of one of the points in the equation and solve for D = -9.
 
Last edited:
In 3D (the space with 3 dimensions) the general form of the equation is A*x +B*y +C*z +D=0. You have three points in 3D, which uniquely determine your plane.
Since your points belong to the plane, their coordinates have to verify identically plan’s equation.
Plug in the known values for x, y, and z; you will get a system of 4 equations with four unknowns.
Through elimination’s you should be able to determine A, B, C and D and write the plane's equation, containing your three points in its general form.
Another way is writing a matrix of the system.
Plug in the known values for x, y, and z; you will get a system of 4 equations with 4 unknowns.
You’ll get :
First line: | x y z 1|
2nd line: |x1 y1 z1 1 |
3rd line | x2 y2 z2 1| = |0|
4th line: | x3 y3 z3 1|
This should be equal with zero(if you write it like a matrix, as I tried above). Doing the calculations(elimination or reduction) you should get the plane equation.
If you have problems e-mail me for help.
Here’s a site where you can easily find information regarding general math and good reference:

http://mathworld.wolfram.com/Plane.html
Hope this helps,

Michael
 
thank you so much guys for your help :)
 
Some more questions.. regarding that plane. :(
We also have a line going through the points (-3.2,1) and (2,1,-5)
I worked out the equation of that line to be
r= (-3,2,1) + t(5,-1,-6)

I have to find the angle the line makes with the plane. The point where they intersect and the shortest distance from the line and the plane to the origin.
 
I think you can just find the angle between the line and the normal vector of the plane, using the dot product. And then the angle between the line and the plane is just 90o minus that.
 
That makes sense... How do I get the normal vector of the plane?
 
If the plane's equation is Ax + By + Cz + D = 0, the normal vector is (A, B, C). We used this eariler, except we found the normal vector and from there proceeded to find the plane's equation.
 
  • #10
The point of intersection of the line and plane can be found by solving the system of equations: Line: (x, y, z) = (k, l, m)t + (a, b, c), Plane: Ax + By + Cz + D = 0. So:

A(kt+a) + B(lt+b) + C(mt+c) = -D

Solve for t:

t = -\frac{D + Aa + Bb + Cc}{Ak + Bl + Cm}

And plug it back into the equation for the line to get the point of intersection. (It's easier to do this process in each instance than it is to remember the formula.)

For any point not on a line or plane, the shortest distance is along a line normal to the original line or plane. In particular, for the origin and the plane, the line along which the least distance is accomplished is (A, B, C)t. The closest point on the plane to the origin is the point where this line intersects the plane. Finding the point as above gives

t = -\frac{D}{A^2 + B^2 + C^2}

and the point (At, Bt, Ct). The distance from this point to the origin is then \frac{|D|}{\sqrt{A^2 + B^2 + C^2}}.

An alternative approach for finding the distance from the line to the origin: Let the line be \vec{r} = \vec{A}t + \vec{B}, then you need to minimize |\vec{r}|, but the square root is an increasing function, so this is the same as minimizing r^2 = A^2t^2 + 2\vec{A}\cdot\vec{B}t + B^2. The minimum of this quadratic equation in t is found at the vertex: t = \frac{-\vec{A}\cdot\vec{B}}{A^2}. Using this, we find that r^2 = B^2 - \frac{(\vec{A}\cdot\vec{B})^2}{A^2}. Since \vec{A}\cdot\vec{B} = AB \cos \theta, where \theta is the angle between them, this simplifies to r = B\sin \theta.
 
Back
Top