Planes

Figure 1.5: Example of a plane in $\mathbb{R}^3$.
Image fig_plane

The treatment of lines can be generalized to planes and hyperplanes in space $\mathbb{R}^{n}$. As with lines, a plane can be described by an implicit, homogeneous equation, whose locus consists of points represented by the homogeneous coordinate $\tilde{\mathbf{x}} \in \mathbb{R}^{n+1}$, with the same dimension as $\mathbf{x}\in\mathbb{R}^{n}$:

\begin{displaymath}
\mathbf{m}^{\top}\tilde{\mathbf{x}}=0
\end{displaymath} (1.84)

The dot product of homogeneous coordinates always encodes a hyperplane.

Homogeneous coordinates are defined up to a multiplicative factor, so an optional constraint can be imposed: as for lines, the first $n$ components of the homogeneous coordinate can be constrained to form a unit-length vector.

A general plane, or hyperplane, is therefore the locus of points $\mathbf{x}\in\mathbb{R}^{n}$ satisfying the condition

\begin{displaymath}
\mathbf{x} \cdot \mathbf{n} - \rho = 0
\end{displaymath} (1.85)

where $\mathbf{n} \in \mathbb{R}^{n}$ is the normal to the plane, and $\rho=0$ if and only if the plane passes through the origin. In the case of $\rho \neq 0$, an alternative expression for the plane is
\begin{displaymath}
\frac{1}{\rho} \mathbf{p} \cdot \mathbf{n} = 1
\end{displaymath} (1.86)

Another form of Equation (1.85) found in the literature is
\begin{displaymath}
(\mathbf{x} - \mathbf{x}_0) \cdot \mathbf{n} = 0
\end{displaymath} (1.87)

where $\mathbf{x}_0 \in \mathbb{R}^n$ is an arbitrary point on the plane, from which the correspondence $\rho = \mathbf{x}_0 \cdot \mathbf{n}$ can be derived.

It is important to remember that the number of degrees of freedom is always just $n$.

When imposed, the normalization constraint $\vert\hat{\mathbf{n}}\vert=1$ is a special case: under this constraint, as for lines, $\rho$ represents the minimum Euclidean distance between the plane and the origin.

If the plane (or hyperplane) is normalized, the distance from an arbitrary point $\mathbf {p}$ to the plane is

\begin{displaymath}
d = \vert \mathbf{p} \cdot \hat{\mathbf{n}} - \rho \vert
\end{displaymath} (1.88)

Otherwise, as with lines, the distance must be divided by $\Vert\mathbf{n} \Vert$.

The point $\mathbf {x}$ on the hyperplane nearest to an arbitrary point $\mathbf {p}$ lies at the intersection of the plane and the line passing through $\mathbf {p}$ with direction $\mathbf{n}$:

\begin{displaymath}
\left\{ \begin{array}{l}
\mathbf{p} + t \mathbf{n} = \mathb...
...\\
\mathbf{x} \cdot \mathbf{n} = \rho \\
\end{array}\right.
\end{displaymath} (1.89)

that is,
\begin{displaymath}
\mathbf{x} = \mathbf{p} - \frac{\mathbf{p} \cdot \mathbf{n} - \rho}{ \vert \mathbf{n} \vert^2 } \mathbf{n}
\end{displaymath} (1.90)

As already shown, this formulation also applies to lines.

As for methods of estimation, Section 4.6.3 will show how to fit a plane equation to a set of points using least squares.

As with lines, the parameters of a plane in $\mathbb{R}^3$ can also be expressed using 3 spherical coordinates (azimuth, zenith, and $\rho$):

\begin{displaymath}
x \sin \vartheta \cos \varphi + y \sin \vartheta \sin \varphi + z \cos \vartheta = \rho
\end{displaymath} (1.91)

the plane equation expressed in spherical polar coordinates (1.54).

Paolo medici
2026-10-19