Separating Axis Theorem
   HOME

TheInfoList



OR:

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 ...
, the hyperplane separation theorem is a theorem about disjoint
convex set In geometry, a set of points is convex if it contains every line segment between two points in the set. For example, a solid cube (geometry), cube is a convex set, but anything that is hollow or has an indent, for example, a crescent shape, is n ...
s in ''n''-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 ...
. There are several rather similar versions. In one version of the theorem, if both these sets are closed and at least one of them is
compact Compact as used in politics may refer broadly to a pact or treaty; in more specific cases it may refer to: * Interstate compact, a type of agreement used by U.S. states * Blood compact, an ancient ritual of the Philippines * Compact government, a t ...
, then there is a
hyperplane In geometry, a hyperplane is a generalization of a two-dimensional plane in three-dimensional space to mathematical spaces of arbitrary dimension. Like a plane in space, a hyperplane is a flat hypersurface, a subspace whose dimension is ...
in between them and even two parallel hyperplanes in between them separated by a gap. In another version, if both disjoint convex sets are open, then there is a hyperplane in between them, but not necessarily any gap. An axis which is orthogonal to a separating hyperplane is a separating axis, because the orthogonal projections of the convex bodies onto the axis are disjoint. The hyperplane separation theorem is due to
Hermann Minkowski Hermann Minkowski (22 June 1864 – 12 January 1909) was a mathematician and professor at the University of Königsberg, the University of Zürich, and the University of Göttingen, described variously as German, Polish, Lithuanian-German, o ...
. The Hahn–Banach separation theorem generalizes the result to topological vector spaces. A related result is the supporting hyperplane theorem. In the context of
support-vector machine In machine learning, support vector machines (SVMs, also support vector networks) are supervised learning, supervised Maximum-margin hyperplane, max-margin models with associated learning algorithms that analyze data for Statistical classification ...
s, the ''optimally separating hyperplane'' or ''maximum-margin hyperplane'' is a
hyperplane In geometry, a hyperplane is a generalization of a two-dimensional plane in three-dimensional space to mathematical spaces of arbitrary dimension. Like a plane in space, a hyperplane is a flat hypersurface, a subspace whose dimension is ...
which separates two
convex hull In geometry, the convex hull, convex envelope or convex closure of a shape is the smallest convex set that contains it. The convex hull may be defined either as the intersection of all convex sets containing a given subset of a Euclidean space, ...
s of points and is equidistant from the two.


Statements and proof

In all cases, assume A, B to be disjoint, nonempty, and convex subsets of \R^n. The summary of the results are as follows: The number of dimensions must be finite. In infinite-dimensional spaces there are examples of two closed, convex, disjoint sets which cannot be separated by a closed hyperplane (a hyperplane where a ''continuous'' linear functional equals some constant) even in the weak sense where the inequalities are not strict. Here, the compactness in the hypothesis cannot be relaxed; see an example in the section Counterexamples and uniqueness. This version of the separation theorem does generalize to infinite-dimension; the generalization is more commonly known as the Hahn–Banach separation theorem. The proof is based on the following lemma: Since a separating hyperplane cannot intersect the interiors of open convex sets, we have a corollary:


Case with possible intersections

If the sets A, B have possible intersections, but their relative interiors are disjoint, then the proof of the first case still applies with no change, thus yielding: in particular, we have the supporting hyperplane theorem.


Converse of theorem

Note that the existence of a hyperplane that only "separates" two convex sets in the weak sense of both inequalities being non-strict obviously does not imply that the two sets are disjoint. Both sets could have points located on the hyperplane.


Counterexamples and uniqueness

If one of ''A'' or ''B'' is not convex, then there are many possible counterexamples. For example, ''A'' and ''B'' could be concentric circles. A more subtle counterexample is one in which ''A'' and ''B'' are both closed but neither one is compact. For example, if ''A'' is a closed half plane and B is bounded by one arm of a hyperbola, then there is no strictly separating hyperplane: :A = \ :B = \.\ (Although, by an instance of the second theorem, there is a hyperplane that separates their interiors.) Another type of counterexample has ''A'' compact and ''B'' open. For example, A can be a closed square and B can be an open square that touches ''A''. In the first version of the theorem, evidently the separating hyperplane is never unique. In the second version, it may or may not be unique. Technically a separating axis is never unique because it can be translated; in the second version of the theorem, a separating axis can be unique up to translation. The horn angle provides a good counterexample to many hyperplane separations. For example, in \R^2, the unit disk is disjoint from the open interval ((1, 0), (1,1)), but the only line separating them contains the entirety of ((1, 0), (1,1)). This shows that if A is closed and B is ''relatively'' open, then there does not necessarily exist a separation that is strict for B. However, if A is closed ''
polytope In elementary geometry, a polytope is a geometric object with flat sides ('' faces''). Polytopes are the generalization of three-dimensional polyhedra to any number of dimensions. Polytopes may exist in any general number of dimensions as an ...
'' then such a separation exists.


More variants

Farkas' lemma and related results can be understood as hyperplane separation theorems when the convex bodies are defined by finitely many linear inequalities. More results may be found.


Use in collision detection

In collision detection, the hyperplane separation theorem is usually used in the following form: Regardless of dimensionality, the separating axis is always a line. For example, in 3D, the space is separated by planes, but the separating axis is perpendicular to the separating plane. The separating axis theorem can be applied for fast collision detection between polygon meshes. Each
face The face is the front of the head that features the eyes, nose and mouth, and through which animals express many of their emotions. The face is crucial for human identity, and damage such as scarring or developmental deformities may affect th ...
's normal or other feature direction is used as a separating axis. Note that this yields possible separating axes, not separating lines/planes. In 3D, using face normals alone will fail to separate some edge-on-edge non-colliding cases. Additional axes, consisting of the cross-products of pairs of edges, one taken from each object, are required. For increased efficiency, parallel axes may be calculated as a single axis.


See also

*
Dual cone Dual cone and polar cone are closely related concepts in convex analysis, a branch of mathematics. Dual cone In a vector space The dual cone ''C'' of a subset ''C'' in a linear space ''X'' over the real numbers, reals, e.g. Euclidean spac ...
*
Farkas's lemma In mathematics, Farkas' lemma is a solvability theorem for a finite System of inequalities, system of linear inequalities. It was originally proven by the Hungarian mathematician Gyula Farkas (natural scientist), Gyula Farkas. Farkas' Lemma (mat ...
* Kirchberger's theorem * Optimal control


Notes


References

* * * *


External links


Collision detection and response
{{DEFAULTSORT:Separating Axis Theorem Theorems in convex geometry Hermann Minkowski Linear functionals fr:Séparation des convexes