ArticleslgStudy

mathematics

Hyperplane separation theorem

Hyperplane separation theorem is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Hyperplane separation theorem rather than just read about it. In short: In geometry, the hyperplane separation theorem is a theorem about disjoint convex sets in n-dimensional Euclidean space. There are several rather similar versions.

Hyperplane separation theorem — main illustration
Hyperplane separation theorem — illustration

Key takeaways

  • Hyperplane separation theorem belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Hyperplane separation theorem to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Hyperplane separation theorem from memory before moving on to harder problems.

Reference excerpt

In geometry, the hyperplane separation theorem is a theorem about disjoint convex sets in n-dimensional Euclidean space. 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, then there is a hyperplane 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. 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 machines, the optimally separating hyperplane or maximum-margin hyperplane is a hyperplane which separates two sets of points and maximizes its distance to both sets.

Statements and proof

In all cases, assume A,B to be disjoint, nonempty, and convex subsets of ℝ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={(x,y):x≤0} B={(x,y):x>0,y≥1/x}. (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 ℝ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 a closed convex polyhedron 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'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 Farkas's lemma Kirchberger's theorem Optimal control

Notes

References Boyd, Stephen P.; Vandenberghe, Lieven (2004). Convex Optimization (PDF). Cambridge University Press. ISBN 978-0-521-83378-3. Golshtein, E. G.; Tretyakov, N.V. (1996). Modified Lagrangians and monotone maps in optimization. New York: Wiley. p. 6. ISBN 0-471-54821-9.{{cite book}}: CS1 maint: publisher location (link) Shimizu, Kiyotaka; Ishizuka, Yo; Bard, Jonathan F. (1997). Nondifferentiable and two-level mathematical programming. Boston: Kluwer Academic Publishers. p. 19. ISBN 0-7923-9821-1.{{cite book}}: CS1 maint: publisher location (link) Soltan, V. (2021). Support and separation properties of convex sets in finite dimension. Extracta Math. Vol. 36, no. 2, 241-278.

External links Collision detection and response

Illustrations

Hyperplane separation theorem illustration
Hyperplane separation theorem: Proof illustration.
Proof illustration.
Hyperplane separation theorem: The theorem does not apply if one of the bodies is not convex.
The theorem does not apply if one of the bodies is not convex.

Worked examples

Example 1 — a first encounter with Hyperplane separation theorem

Start with the simplest possible case. Write down what Hyperplane separation theorem claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Hyperplane separation theorem before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Hyperplane separation theorem ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Hyperplane separation theorem

In research
Hyperplane separation theorem appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Hyperplane separation theorem in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Hyperplane separation theorem is common in secondary-school and first-year university syllabi. It links to neighbouring topics Hermann Minkowski, Linear functionals, Theorems in convex geometry, so understanding it makes those chapters shorter.
In everyday life
Look for Hyperplane separation theorem outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Hyperplane separation theorem” →

How to study Hyperplane separation theorem in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Hyperplane separation theorem means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Hyperplane separation theorem out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Hyperplane separation theorem in simple terms?

In geometry, the hyperplane separation theorem is a theorem about disjoint convex sets in n-dimensional Euclidean space. There are several rather similar versions.

Why does Hyperplane separation theorem matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Hyperplane separation theorem?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Hyperplane separation theorem.

Tags

  • Hermann Minkowski
  • Linear functionals
  • Theorems in convex geometry

Keep exploring