To install click the Add extension button. That's it.

The source code for the WIKI 2 extension is being checked by specialists of the Mozilla Foundation, Google, and Apple. You could also do it yourself at any point in time.

Kelly Slayton
Congratulations on this excellent venture… what a great idea!
Alexander Grigorievskiy
I use WIKI 2 every day and almost forgot how the original Wikipedia looks like.
Live Statistics
English Articles
Improved in 24 Hours
Added in 24 Hours
Show all languages
What we do. Every page goes through several hundred of perfecting techniques; in live mode. Quite the same Wikipedia. Just better.

Distance from a point to a plane

From Wikipedia, the free encyclopedia

In Euclidean space, the distance from a point to a plane is the distance between a given point and its orthogonal projection on the plane, the perpendicular distance to the nearest point on the plane.

It can be found starting with a change of variables that moves the origin to coincide with the given point then finding the point on the shifted plane that is closest to the origin. The resulting point has Cartesian coordinates :


The distance between the origin and the point is .

Converting general problem to distance-from-origin problem

Suppose we wish to find the nearest point on a plane to the point (), where the plane is given by . We define , , , and , to obtain as the plane expressed in terms of the transformed variables. Now the problem has become one of finding the nearest point on this plane to the origin, and its distance from the origin. The point on the plane in terms of the original coordinates can be found from this point using the above relationships between and , between and , and between and ; the distance in terms of the original coordinates is the same as the distance in terms of the revised coordinates.

Restatement using linear algebra

The formula for the closest point to the origin may be expressed more succinctly using notation from linear algebra. The expression in the definition of a plane is a dot product , and the expression appearing in the solution is the squared norm . Thus, if is a given vector, the plane may be described as the set of vectors for which and the closest point on this plane is the vector


The Euclidean distance from the origin to the plane is the norm of this point,


Why this is the closest point

In either the coordinate or vector formulations, one may verify that the given point lies on the given plane by plugging the point into the equation of the plane.

To see that it is the closest point to the origin on the plane, observe that is a scalar multiple of the vector defining the plane, and is therefore orthogonal to the plane. Thus, if is any point on the plane other than itself, then the line segments from the origin to and from to form a right triangle, and by the Pythagorean theorem the distance from the origin to is


Since must be a positive number, this distance is greater than , the distance from the origin to .[2]

Alternatively, it is possible to rewrite the equation of the plane using dot products with in place of the original dot product with (because these two vectors are scalar multiples of each other) after which the fact that is the closest point becomes an immediate consequence of the Cauchy–Schwarz inequality.[1]

Closest point and distance for a hyperplane and arbitrary point

The vector equation for a hyperplane in -dimensional Euclidean space through a point with normal vector is or where .[3] The corresponding Cartesian form is where .[3]

The closest point on this hyperplane to an arbitrary point is

and the distance from to the hyperplane is


Written in Cartesian form, the closest point is given by for where


and the distance from to the hyperplane is


Thus in the point on a plane closest to an arbitrary point is given by



and the distance from the point to the plane is


See also


  1. ^ a b Strang, Gilbert; Borre, Kai (1997), Linear Algebra, Geodesy, and GPS, SIAM, pp. 22–23, ISBN 9780961408862.
  2. ^ a b Shifrin, Ted; Adams, Malcolm (2010), Linear Algebra: A Geometric Approach (2nd ed.), Macmillan, p. 32, ISBN 9781429215213.
  3. ^ a b c Cheney, Ward; Kincaid, David (2010). Linear Algebra: Theory and Applications. Jones & Bartlett Publishers. pp. 450, 451. ISBN 9781449613525.
This page was last edited on 30 October 2021, at 07:05
Basis of this page is in Wikipedia. Text is available under the CC BY-SA 3.0 Unported License. Non-text media are available under their specified licenses. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc. WIKI 2 is an independent company and has no affiliation with Wikimedia Foundation.