Point on plane closest to origin
| This article does not cite any references or sources. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed. (December 2006) |
|
|
This article provides insufficient context for those unfamiliar with the subject. Please help improve the article with a good introductory style. (October 2009) |
| This page is a candidate to be copied to Wikiversity using the Import process. If the page can be re-written into an encyclopedic article, please do so and remove this message. Before you move this content to Wikiversity, verify that it conforms to Wikiversity policies of acceptable content at What is Wikiversity? Often content unacceptable to Wikipedia may not be acceptable on Wikiversity either; facilitate the copying of this article by listing it on Wikiversity:Requests for Import. |
In Euclidean 3-space we will find the point on an arbitrary plane that is closest to the origin using the method of Lagrange multipliers.
First, let us start with an arbitrary plane, ax + by + cz = d. The distance, L, from the origin to a point (x,y,z) on the plane is given by:

Therefore the function that we want to minimize is: 
Our one constraint on x, y, and z is that the point (x,y,z) must lie on the given plane. Thus, we define g(x,y,z) = ax + by + cz - d.
Next we define a new function with a Lagrange multiplier, 

Take the partial of
with respect to x, y, and z and set each to zero.



Now each partial includes a
and a
term.
If we solve each equation for
and set them equal to one another
we can find the relation:

From this we can obtain y and z as functions of x:
and 
Substitute these for y and z in the equation of the plane and solve for x to obtain:

With this x you can solve for y and z:

and

Hence the point on the plane closest to the origin is:

and the distance is given by:

[edit] An applied solution to this problem using linear algebra
This approach is useful in computational geometry and applications of computer graphics.
Given a plane defined by three points
,
, and
.
The normal for this plane is
The nearest point
on the plane to the origin is the orthogonal projection of any point on the plane onto the plane's normal
Composed of the distance
from the plane to the origin, which is the dot product of
and any point on the plane such as
.


