
In
geometry
Geometry (; ) is a branch of mathematics concerned with properties of space such as the distance, shape, size, and relative position of figures. Geometry is, along with arithmetic, one of the oldest branches of mathematics. A mathematician w ...
, a hyperplane is a generalization of a
two-dimensional plane in
three-dimensional space to
mathematical spaces
Mathematics is a field of study that discovers and organizes methods, theories and theorems that are developed and proved for the needs of empirical sciences and mathematics itself. There are many areas of mathematics, which include num ...
of arbitrary
dimension. Like a
plane in space, a hyperplane is a
flat hypersurface, a
subspace whose
dimension is one less than that of the
ambient space. Two lower-dimensional examples of hyperplanes are
one-dimensional lines in a plane and
zero-dimensional points on a line.
Most commonly, the ambient space is -dimensional
Euclidean space
Euclidean space is the fundamental space of geometry, intended to represent physical space. Originally, in Euclid's ''Elements'', it was the three-dimensional space of Euclidean geometry, but in modern mathematics there are ''Euclidean spaces ...
, in which case the hyperplanes are the -dimensional
"flats", each of which separates the space into two
half spaces. A
reflection across a hyperplane is a kind of
motion
In physics, motion is when an object changes its position with respect to a reference point in a given time. Motion is mathematically described in terms of displacement, distance, velocity, acceleration, speed, and frame of reference to an o ...
(
geometric transformation preserving
distance between points), and the
group of all motions is
generated by the reflections. A
convex polytope is the
intersection of half-spaces.
In
non-Euclidean geometry, the ambient space might be the
-dimensional sphere or
hyperbolic space, or more generally a
pseudo-Riemannian space form, and the hyperplanes are the hypersurfaces consisting of all
geodesics through a point which are
perpendicular to a specific
normal geodesic.
In other kinds of ambient spaces, some properties from Euclidean space are no longer relevant. For example, in
affine space, there is no concept of distance, so there are no reflections or motions. In a
non-orientable space such as
elliptic space or
projective space, there is no concept of half-planes. In greatest generality, the notion of hyperplane is meaningful in any mathematical space in which the concept of the dimension of a
subspace is defined.
The difference in dimension between a subspace and its ambient space is known as its ''
codimension''. A hyperplane has codimension .
Technical description
In
geometry
Geometry (; ) is a branch of mathematics concerned with properties of space such as the distance, shape, size, and relative position of figures. Geometry is, along with arithmetic, one of the oldest branches of mathematics. A mathematician w ...
, a hyperplane of an
''n''-dimensional space ''V'' is a subspace of dimension ''n'' − 1, or equivalently, of
codimension 1 in ''V''. The space ''V'' may be a
Euclidean space
Euclidean space is the fundamental space of geometry, intended to represent physical space. Originally, in Euclid's ''Elements'', it was the three-dimensional space of Euclidean geometry, but in modern mathematics there are ''Euclidean spaces ...
or more generally an
affine space, or a
vector space or a
projective space, and the notion of hyperplane varies correspondingly since the definition of subspace differs in these settings; in all cases however, any hyperplane can be given in
coordinates as the solution of a single (due to the "codimension 1" constraint)
algebraic equation of degree 1.
If ''V'' is a vector space, one distinguishes "vector hyperplanes" (which are
linear subspace
In mathematics, the term ''linear'' is used in two distinct senses for two different properties:
* linearity of a ''function (mathematics), function'' (or ''mapping (mathematics), mapping'');
* linearity of a ''polynomial''.
An example of a li ...
s, and therefore must pass through the origin) and "affine hyperplanes" (which need not pass through the origin; they can be obtained by
translation of a vector hyperplane). A hyperplane in a Euclidean space separates that space into two
half spaces, and defines a
reflection that fixes the hyperplane and interchanges those two half spaces.
Special types of hyperplanes
Several specific types of hyperplanes are defined with properties that are well suited for particular purposes. Some of these specializations are described here.
Affine hyperplanes
An affine hyperplane is an
affine subspace
In mathematics, an affine space is a geometry, geometric structure (mathematics), structure that generalizes some of the properties of Euclidean spaces in such a way that these are independent of the concepts of distance (mathematics), distance ...
of
codimension 1 in an
affine space.
In
Cartesian coordinates, such a hyperplane can be described with a single
linear equation of the following form (where at least one of the
s is non-zero and
is an arbitrary constant):
:
In the case of a real affine space, in other words when the coordinates are real numbers, this affine space separates the space into two half-spaces, which are the
connected components of the
complement of the hyperplane, and are given by the
inequalities
:
and
:
As an example, a point is a hyperplane in 1-dimensional space, a line is a hyperplane in 2-dimensional space, and a plane is a hyperplane in 3-dimensional space. A line in 3-dimensional space is not a hyperplane, and does not separate the space into two parts (the complement of such a line is connected).
Any hyperplane of a Euclidean space has exactly two unit normal vectors:
. In particular, if we consider
equipped with the conventional inner product (
dot product
In mathematics, the dot product or scalar productThe term ''scalar product'' means literally "product with a Scalar (mathematics), scalar as a result". It is also used for other symmetric bilinear forms, for example in a pseudo-Euclidean space. N ...
), then one can define the affine subspace with normal vector
and origin translation
as the set of all
such that
.
Affine hyperplanes are used to define decision boundaries in many
machine learning
Machine learning (ML) is a field of study in artificial intelligence concerned with the development and study of Computational statistics, statistical algorithms that can learn from data and generalise to unseen data, and thus perform Task ( ...
algorithms such as linear-combination (oblique)
decision trees, and
perceptrons.
Vector hyperplanes
In a vector space, a vector hyperplane is a
subspace of codimension 1, only possibly shifted from the origin by a vector, in which case it is referred to as a
flat. Such a hyperplane is the solution of a single
linear equation.
Projective hyperplanes
Projective hyperplanes, are used in
projective geometry
In mathematics, projective geometry is the study of geometric properties that are invariant with respect to projective transformations. This means that, compared to elementary Euclidean geometry, projective geometry has a different setting (''p ...
. A
projective subspace is a set of points with the property that for any two points of the set, all the points on the line determined by the two points are contained in the set. Projective geometry can be viewed as
affine geometry with
vanishing points (points at infinity) added. An affine hyperplane together with the associated points at infinity forms a projective hyperplane. One special case of a projective hyperplane is the infinite or ideal hyperplane, which is defined with the set of all points at infinity.
In projective space, a hyperplane does not divide the space into two parts; rather, it takes two hyperplanes to separate points and divide up the space. The reason for this is that the space essentially "wraps around" so that both sides of a lone hyperplane are connected to each other.
Applications
In
convex geometry, two
disjoint convex sets in n-dimensional Euclidean space are separated by a hyperplane, a result called the
hyperplane separation theorem.
In
machine learning
Machine learning (ML) is a field of study in artificial intelligence concerned with the development and study of Computational statistics, statistical algorithms that can learn from data and generalise to unseen data, and thus perform Task ( ...
, hyperplanes are a key tool to create
support vector machines for such tasks as
computer vision
Computer vision tasks include methods for image sensor, acquiring, Image processing, processing, Image analysis, analyzing, and understanding digital images, and extraction of high-dimensional data from the real world in order to produce numerical ...
and
natural language processing
Natural language processing (NLP) is a subfield of computer science and especially artificial intelligence. It is primarily concerned with providing computers with the ability to process data encoded in natural language and is thus closely related ...
.
The datapoint and its predicted value via a linear model is a hyperplane.
In
astronomy
Astronomy is a natural science that studies celestial objects and the phenomena that occur in the cosmos. It uses mathematics, physics, and chemistry in order to explain their origin and their overall evolution. Objects of interest includ ...
, hyperplanes can be used to calculate shortest distance between star systems, galaxies and celestial bodies with regard of
general relativity and curvature of
space-time
In physics, spacetime, also called the space-time continuum, is a mathematical model that fuses the three-dimensional space, three dimensions of space and the one dimension of time into a single four-dimensional continuum (measurement), continu ...
as optimized
geodesic or paths influenced by gravitational fields.
Dihedral angles
The
dihedral angle between two non-parallel hyperplanes of a Euclidean space is the angle between the corresponding
normal vectors. The product of the transformations in the two hyperplanes is a
rotation
Rotation or rotational/rotary motion is the circular movement of an object around a central line, known as an ''axis of rotation''. A plane figure can rotate in either a clockwise or counterclockwise sense around a perpendicular axis intersect ...
whose axis is the
subspace of codimension 2 obtained by intersecting the hyperplanes, and whose angle is twice the angle between the hyperplanes.
Support hyperplanes
A hyperplane H is called a "support" hyperplane of the polyhedron P if P is contained in one of the two closed half-spaces bounded by H and
.
[Polytopes, Rings and K-Theory by Bruns-Gubeladze] The intersection of P and H is defined to be a "face" of the polyhedron. The theory of polyhedra and the dimension of the faces are analyzed by looking at these intersections involving hyperplanes.
See also
*
Hypersurface
*
Decision boundary
*
Ham sandwich theorem
*
Arrangement of hyperplanes
*
Supporting hyperplane theorem
References
*
*
Charles W. Curtis (1968) ''Linear Algebra'', page 62,
Allyn & Bacon, Boston.
*
Heinrich Guggenheimer (1977) ''Applicable Geometry'', page 7, Krieger, Huntington .
* Victor V. Prasolov & VM Tikhomirov (1997, 2001) ''Geometry'', page 22, volume 200 in ''Translations of Mathematical Monographs'',
American Mathematical Society, Providence .
External links
*
*
{{Dimension topics
Euclidean geometry
Affine geometry
Linear algebra
Projective geometry
Multi-dimensional geometry