This is a good article. Click here for more information.

Convex hull

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

The convex hull of the red set is the blue and red convex set.

In geometry, the convex hull or 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, or equivalently as the set of all convex combinations of points in the subset. For a bounded subset of the plane, the convex hull may be visualized as the shape enclosed by a rubber band stretched around the subset.

Convex hulls of open sets are open, and convex hulls of compact sets are compact. Every compact convex set is the convex hull of its extreme points. The convex hull operator is an example of a closure operator, and every antimatroid can be represented by applying this closure operator to finite sets of points. The algorithmic problems of finding the convex hull of a finite set of points in the plane or other low-dimensional Euclidean spaces, and its dual problem of intersecting half-spaces, are fundamental problems of computational geometry. They can be solved in time for two or three dimensional point sets, and in time matching the worst-case output complexity given by the upper bound theorem in higher dimensions.

As well as for finite point sets, convex hulls have also been studied for simple polygons, Brownian motion, space curves, and epigraphs of functions. Convex hulls have wide applications in mathematics, statistics, combinatorial optimization, economics, geometric modeling, and ethology. Related structures include the orthogonal convex hull, convex layers, Delaunay triangulation and Voronoi diagram, and convex skull.


Convex hull of a bounded planar set: rubber band analogy

A set of points in a Euclidean space is defined to be convex if it contains the line segments connecting each pair of its points. The convex hull of a given set may be defined as[1]

  1. The (unique) minimal convex set containing
  2. The intersection of all convex sets containing
  3. The set of all convex combinations of points in
  4. The union of all simplices with vertices in

For bounded sets in the Euclidean plane, not all on one line, the boundary of the convex hull is the simple closed curve with minimum perimeter containing . One may imagine stretching a rubber band so that it surrounds the entire set and then releasing it, allowing it to contract; when it becomes taut, it encloses the convex hull of .[2] This formulation does not immediately generalize to higher dimensions: for a finite set of points in three-dimensional space, a neighborhood of a spanning tree of the points encloses them with arbitrarily small surface area, smaller than the surface area of the convex hull.[3] However, in higher dimensions, variants of the obstacle problem of finding a minimum-energy surface above a given shape can have the convex hull as their solution.[4]

For objects in three dimensions, the first definition states that the convex hull is the smallest possible convex bounding volume of the objects. The definition using intersections of convex sets may be extended to non-Euclidean geometry, and the definition using convex combinations may be extended from Euclidean spaces to arbitrary real vector spaces or affine spaces; convex hulls may also be generalized in a more abstract way, to oriented matroids.[5]

Equivalence of definitions[edit]

3D convex hull of 120 point cloud

It is not obvious that the first definition makes sense: why should there exist a unique minimal convex set containing , for every ? However, the second definition, the intersection of all convex sets containing , is well-defined. It is a subset of every other convex set that contains , because is included among the sets being intersected. Thus, it is exactly the unique minimal convex set containing . Therefore, the first two definitions are equivalent.[1]

Each convex set containing must (by the assumption that it is convex) contain all convex combinations of points in , so the set of all convex combinations is contained in the intersection of all convex sets containing . Conversely, the set of all convex combinations is itself a convex set containing , so it also contains the intersection of all convex sets containing , and therefore the second and third definitions are equivalent.[6]

In fact, according to Carathéodory's theorem, if is a subset of a -dimensional Euclidean space, every convex combination of finitely many points from is also a convex combination of at most points in . The set of convex combinations of a -tuple of points is a simplex; in the plane it is a triangle and in three-dimensional space it is a tetrahedron. Therefore, every convex combination of points of belongs to a simplex whose vertices belong to , and the third and fourth definitions are equivalent.[6]

Upper and lower hulls[edit]

In two dimensions, the convex hull is sometimes partitioned into two parts, the upper hull and the lower hull, stretching between the leftmost and rightmost points of the hull. More generally, for convex hulls in any dimension, one can partition the boundary of the hull into upward-facing points (points for which an upward ray is disjoint from the hull), downward-facing points, and extreme points. For three-dimensional hulls, the upward-facing and downward-facing parts of the boundary form topological disks.[7]

Topological properties[edit]

Closed and open hulls[edit]

The closed convex hull of a set is the closure of the convex hull, and the open convex hull is the interior (or in some sources the relative interior) of the convex hull.[8]

The closed convex hull of is the intersection of all closed half-spaces containing . If the convex hull of is already a closed set itself (as happens, for instance, if is a finite set or more generally a compact set), then it equals the closed convex hull. However, an intersection of closed half-spaces is itself closed, so when a convex hull is not closed it cannot be represented in this way.[9]

If the open convex hull of a set is -dimensional, then every point of the hull belongs to an open convex hull of at most points of . The sets of vertices of a square, regular octahedron, or higher-dimensional cross-polytope provide examples where exactly points are needed.[10]

Preservation of topological properties[edit]

The witch of Agnesi. The points on or above the red curve provide an example of a closed set whose convex hull is open (the open upper half-plane).

Topologically, the convex hull of an open set is always itself open, and the convex hull of a compact set is always itself compact. However, there exist closed sets for which the convex hull is not closed.[11] For instance, the closed set

(the set of points that lie on or above the witch of Agnesi) has the open upper half-plane as its convex hull.[12]

The compactness of convex hulls of compact sets, in finite-dimensional Euclidean spaces, is generalized by the Krein–Smulian theorem, according to which the closed convex hull of a weakly compact subset of a Banach space (a subset that is compact under the weak topology) is weakly compact.[13]

Extreme points[edit]

An extreme point of a convex set is a point in the set that does not lie on any open line segment between any other two points of the same set. For a convex hull, every extreme point must be part of the given set, because otherwise it cannot be formed as a convex combination of given points. According to the Krein–Milman theorem, every compact convex set in a Euclidean space (or more generally in a locally convex topological vector space) is the convex hull of its extreme points.[14] However, this may not be true for convex sets that are not compact; for instance, the whole Euclidean plane and the open unit ball are both convex, but neither one has any extreme points. Choquet theory extends this theory from finite convex combinations of extreme points to infinite combinations (integrals) in more general spaces.[15]

Geometric and algebraic properties[edit]

Closure operator[edit]

The convex-hull operator has the characteristic properties of a closure operator:[16]

  • It is extensive, meaning that the convex hull of every set is a superset of .
  • It is non-decreasing, meaning that, for every two sets and Y with , the convex hull of is a subset of the convex hull of .
  • It is idempotent, meaning that for every , the convex hull of the convex hull of is the same as the convex hull of .

When applied to a finite set of points, this is the closure operator of an antimatroid, the shelling antimatroid of the point set. Every antimatroid can be represented in this way by convex hulls of points in a Euclidean space of high-enough dimension.[17]

Minkowski sum[edit]

The operations of constructing the convex hull and taking the Minkowski sum commute with each other, in the sense that the Minkowski sum of convex hulls of sets gives the same result as the convex hull of the Minkowski sum of the same sets. This provides a step towards the Shapley–Folkman theorem bounding the distance of a Minkowski sum from its convex hull.[18]

Projective duality[edit]

The projective dual operation to constructing the convex hull of a set of points is constructing the intersection of a family of closed halfspaces that all contain the origin (or any other designated point).[19]

Special cases[edit]

Finite point sets[edit]

Convex hull of points in the plane

The convex hull of a finite point set forms a convex polygon when , or more generally a convex polytope in . Each extreme point of the hull is called a vertex, and (by the Krein–Milman theorem) every convex polytope is the convex hull of its vertices. It is the unique convex polytope whose vertices belong to and that encloses all of .[2] For sets of points in general position, the convex hull is a simplicial polytope.[20]

According to the upper bound theorem, the number of faces of the convex hull of points in -dimensional Euclidean space is .[21] In particular, in two and three dimensions the number of faces is at most linear in .[22]

Simple polygons[edit]

Convex hull ( in blue and yellow) of a simple polygon (in blue)

The convex hull of a simple polygon encloses the given polygon and is partitioned by it into regions, one of which is the polygon itself. The other regions, bounded by a polygonal chain of the polygon and a single convex hull edge, are called pockets. Computing the same decomposition recursively for each pocket forms a hierarchical description of a given polygon called its convex differences tree.[23] Reflecting a pocket across its convex hull edge expands the given simple polygon into a polygon with the same perimeter and larger area, and the Erdős–Nagy theorem states that this expansion process eventually terminates.[24]

Brownian motion[edit]

The curve generated by Brownian motion in the plane, at any fixed time, has probability 1 of having a convex hull whose boundary forms a continuously differentiable curve. However, for any angle in the range , there will be times during the Brownian motion where the moving particle touches the boundary of the convex hull at a point of angle . The Hausdorff dimension of this set of exceptional times is (with high probability) .[25]

Space curves[edit]

An oloid, the convex hull of two circles in 3d space

For the convex hull of a space curve or finite set of space curves in general position in three-dimensional space, the parts of the boundary away from the curves are developable and ruled surfaces.[26] Examples include the oloid, the convex hull of two circles in perpendicular planes, each passing through the other's center,[27] the sphericon, the convex hull of two semicircles in perpendicular planes with a common center, and D-forms, the convex shapes obtained from Alexandrov's uniqueness theorem for a surface formed by gluing together two planar convex sets of equal perimeter.[28]


The convex hull or lower convex envelope of a function on a real vector space is the function whose epigraph is the lower convex hull of the epigraph of . It is the unique maximal convex function majorized by .[29] The definition can be extended to the convex hull of a set of functions (obtained from the convex hull of the union of their epigraphs, or equivalently from their pointwise minimum) and, in this form, is dual to the convex conjugate operation.[30]


In computational geometry, a number of algorithms are known for computing the convex hull for a finite set of points and for other geometric objects. Computing the convex hull means constructing an unambiguous, efficient representation of the required convex shape. Output representations that have been considered for convex hulls of point sets include a list of linear inequalities describing the facets of the hull, an undirected graph of facets and their adjacencies, or the full face lattice of the hull.[31] In two dimensions, it may suffice more simply to list the points that are vertices, in their cyclic order around the hull.[2]

For convex hulls in two or three dimensions, the complexity of the corresponding algorithms is usually estimated in terms of , the number of input points, and , the number of points on the convex hull, which may be significantly smaller than . For higher-dimensional hulls, the number of faces of other dimensions may also come into the analysis. Graham scan can compute the convex hull of points in the plane in time . For points in two and three dimensions, more complicated output-sensitive algorithms are known that compute the convex hull in time . These include Chan's algorithm and the Kirkpatrick–Seidel algorithm.[32] For dimensions , the time for computing the convex hull is , matching the worst-case output complexity of the problem.[33] The convex hull of a simple polygon in the plane can be constructed in linear time.[34]

Dynamic convex hull data structures can be used to keep track of the convex hull of a set of points undergoing insertions and deletions of points,[35] and kinetic convex hull structures can keep track of the convex hull for points moving continuously.[36] The construction of convex hulls also serves as a tool, a building block for a number of other computational-geometric algorithms such as the rotating calipers method for computing the width and diameter of a point set.[37]

Related structures[edit]

Several other shapes can be defined from a set of points in a similar way to the convex hull, as the minimal superset with some property, the intersection of all shapes containing the points from a given family of shapes, or the union of all combinations of points for a certain type of combination. For instance:

  • The affine hull is the smallest affine subspace of a Euclidean space containing a given set, or the union of all affine combinations of points in the set.[38]
  • The linear hull is the smallest linear subspace of a vector space containing a given set, or the union of all linear combinations of points in the set.[38]
  • The conical hull or positive hull of a subset of a vector space is the set of all positive combinations of points in the subset.[38]
  • The visual hull of a three-dimensional object, with respect to a set of viewpoints, consists of the points such that every ray from a viewpoint through intersects the object. Equivalently it is the intersection of the (non-convex) cones generated by the outline of the object with respect to each viewpoint. It is used in 3D reconstruction as the largest shape that could have the same outlines from the given viewpoints.[39]
  • The circular hull or alpha-hull of a subset of the plane is the intersection of all disks with a given radius that contain the subset.[40]
  • The relative convex hull of a subset of a two-dimensional simple polygon is the intersection of all relatively convex supersets, where a set within the same polygon is relatively convex if it contains the geodesic between any two of its points.[41]
  • The orthogonal convex hull or rectilinear convex hull is the intersection of all orthogonally convex and connected supersets, where a set is orthogonally convex if it contains all axis-parallel segments between pairs of its points.[42]
  • The orthogonal convex hull is a special case of a much more general construction, the hyperconvex hull, which can be thought of as the smallest injective metric space containing the points of a given metric space.[43]
  • The holomorphically convex hull is a generalization of similar concepts to complex analytic manifolds, obtained as an intersection of sublevel sets of holomorphic functions containing a given set.[44]

The Delaunay triangulation of a point set and its dual, the Voronoi diagram, are mathematically related to convex hulls: the Delaunay triangulation of a point set in can be viewed as the projection of a convex hull in [45] The alpha shapes of a finite point set give a nested family of (non-convex) geometric objects describing the shape of a point set at different levels of detail. Each of alpha shape is the union of some of the features of the Delaunay triangulation, selected by comparing their circumradius to the parameter alpha. The point set itself forms one endpoint of this family of shapes, and its convex hull forms the other endpoint.[40] The convex layers of a point set are a nested family of convex polygons, the outermost of which is the convex hull, with the inner layers constructed recursively from the points that are not vertices of the convex hull.[46]

The convex skull of a polygon is the largest convex polygon contained inside it. It can be found in polynomial time, but the exponent of the algorithm is high.[47]


Convex hulls have wide applications in many fields. Within mathematics, convex hulls are used to study polynomials, matrix eigenvalues, and unitary elements, and several theorems in discrete geometry involve convex hulls. They are used in robust statistics as the outermost contour of Tukey depth, are part of the bagplot visualization of two-dimensional data, and define risk sets of randomized decision rules. Convex hulls of indicator vectors of solutions to combinatorial problems are central to combinatorial optimization and polyhedral combinatorics. In economics, convex hulls can be used to apply methods of convexity in economics to non-convex markets. In geometric modeling, the convex hull property Bézier curves helps find their crossings, and convex hulls are part of the measurement of boat hulls. And in the study of animal behavior, convex hulls are used in a standard definition of the home range.


Partition of seven points into three subsets with intersecting convex hulls, guaranteed to exist for any seven points in the plane by Tverberg's theorem

Newton polygons of univariate polynomials and Newton polytopes of multivariate polynomials are convex hulls of points derived from the exponents of the terms in the polynomial, and can be used to analyze the asymptotic behavior of the polynomial and the valuations of its roots.[48] Convex hulls and polynomials also come together in the Gauss–Lucas theorem, according to which the roots of the derivative of a polynomial all lie within the convex hull of the roots of the polynomial.[49]

In spectral analysis, the numerical range of a normal matrix is the convex hull of its eigenvalues.[50] The Russo–Dye theorem describes the convex hulls of unitary elements in a C*-algebra.[51] In discrete geometry, both Radon's theorem and Tverberg's theorem concern the existence of partitions of point sets into subsets with intersecting convex hulls.[52]

The definitions of a convex set as containing line segments between its points, and of a convex hull as the intersection of all convex supersets, apply to hyperbolic spaces as well as to Euclidean spaces. However, in hyperbolic space, it is also possible to consider the convex hulls of sets of ideal points, points that do not belong to the hyperbolic space itself but lie on the boundary of a model of that space. The boundaries of convex hulls of ideal points of three-dimensional hyperbolic space are analogous to ruled surfaces in Euclidean space, and their metric properties play an important role in the geometrization conjecture in low-dimensional topology.[53] Hyperbolic convex hulls have also been used as part of the calculation of canonical triangulations of hyperbolic manifolds, and applied to determine the equivalence of knots.[54]

See also the section on Brownian motion for the application of convex hulls to this subject, and the section on space curves for their application to the theory of developable surfaces.


A bagplot. The outer shaded region is the convex hull, and the inner shaded region is the 50% Tukey depth contour.

In robust statistics, the convex hull provides one of the key components of a bagplot, a method for visualizing the spread of two-dimensional sample points. The contours of Tukey depth form a nested family of convex sets, with the convex hull outermost, and the bagplot also displays another polygon from this nested family, the contour of 50% depth.[55]

In statistical decision theory, the risk set of a randomized decision rule is the convex hull of the risk points of its underlying deterministic decision rules.[56]

Combinatorial optimization[edit]

In combinatorial optimization and polyhedral combinatorics, central objects of study are the convex hulls of indicator vectors of solutions to a combinatorial problem. If the facets of these polytopes can be found, describing the polytopes as intersections of halfspaces, then algorithms based on linear programming can be used to find optimal solutions.[57] In multi-objective optimization, a different type of convex hull is also used, the convex hull of the weight vectors of solutions. One can maximize any quasiconvex combination of weights by finding and checking each convex hull vertex, often more efficiently than checking all possible solutions.[58]


In the Arrow–Debreu model of general economic equilibrium, agents are assumed to have convex budget sets and convex preferences. These assumptions of convexity in economics can be used to prove the existence of an equilibrium. When actual economic data is non-convex, it can be made convex by taking convex hulls. The Shapley–Folkman theorem can be used to show that, for large markets, this approximation is accurate, and leads to a "quasi-equilibrium" for the original non-convex market.[59]

Geometric modeling[edit]

In geometric modeling, one of the key properties of a Bézier curve is that it lies within the convex hull of its control points. This so-called "convex hull property" can be used, for instance, in quickly detecting intersections of these curves.[60]

In the geometry of boat and ship design, chain girth is a measurement of the size of a sailing vessel, defined using the convex hull of a cross-section of the hull of the vessel. It differs from the skin girth, the perimeter of the cross-section itself, except for boats and ships that have a convex hull.[61]


The convex hull is commonly known as the minimum convex polygon in ethology, the study of animal behavior, where it is a classic, though perhaps simplistic, approach in estimating an animal's home range based on points where the animal has been observed.[62] Outliers can make the minimum convex polygon excessively large, which has motivated relaxed approaches that contain only a subset of the observations, for instance by choosing one of the convex layers that is close to a target percentage of the samples,[63] or in the local convex hull method by combining convex hulls of neighborhoods of points.[64]

Quantum physics[edit]

In quantum physics, the state space of any quantum system — the set of all ways the system can be prepared — is a convex hull whose extreme points are positive-semidefinite operators known as pure states and whose interior points are called mixed states.[65] The Schrödinger–HJW theorem proves that any mixed state can in fact be written as a convex combination of pure states in multiple ways.[66]


The lower convex hull of points in the plane appears, in the form of a Newton polygon, in a letter from Isaac Newton to Henry Oldenburg in 1676.[67] The term "convex hull" itself appears as early as the work of Garrett Birkhoff (1935), and the corresponding term in German appears earlier, for instance in Hans Rademacher's review of Kőnig (1922). Other terms, such as "convex envelope", were also used in this time frame.[68] By 1938, according to Lloyd Dines, the term "convex hull" had become standard; Dines adds that he finds the term unfortunate, because the colloquial meaning of the word "hull" would suggest that it refers to the surface of a shape, whereas the convex hull includes the interior and not just the surface.[69]


  1. ^ a b Rockafellar (1970), p. 12.
  2. ^ a b c de Berg et al. (2008), p. 3.
  3. ^ Williams & Rossignac (2005). See also Douglas Zare, answer to "the perimeter of a non-convex set", MathOverflow, May 16, 2014.
  4. ^ Oberman (2007).
  5. ^ Knuth (1992).
  6. ^ a b Rockafellar (1970), p. 12; Lay (1982), p. 17.
  7. ^ de Berg et al. (2008), p. 6. The idea of partitioning the hull into two chains comes from an efficient variant of Graham scan by Andrew (1979).
  8. ^ Sontag (1982).
  9. ^ Rockafellar (1970), p. 99.
  10. ^ Steinitz (1914); Gustin (1947); Bárány, Katchalski & Pach (1982)
  11. ^ Grünbaum (2003), p. 16; Lay (1982), p. 21; Sakuma (1977).
  12. ^ This example is given by Talman (1977), Remark 2.6.
  13. ^ Whitley (1986).
  14. ^ Krein & Milman (1940); Lay (1982), p. 43.
  15. ^ Okon (2000).
  16. ^ Kiselman (2002).
  17. ^ Kashiwabara, Nakamura & Okamoto (2005).
  18. ^ Krein & Šmulian (1940), Theorem 3, pages 562–563; Schneider (1993), Theorem 1.1.2 (pages 2–3) and Chapter 3.
  19. ^ de Berg et al. (2008), p. 254.
  20. ^ Grünbaum (2003), p. 57.
  21. ^ de Berg et al. (2008), p. 256.
  22. ^ de Berg et al. (2008), p. 245.
  23. ^ Rappoport (1992).
  24. ^ Demaine et al. (2008).
  25. ^ Cranston, Hsu & March (1989).
  26. ^ Sedykh (1981).
  27. ^ Dirnböck & Stachel (1997).
  28. ^ Seaton (2017).
  29. ^ Rockafellar (1970), p. 36.
  30. ^ Rockafellar (1970), p. 149.
  31. ^ Avis, Bremner & Seidel (1997).
  32. ^ de Berg et al. (2008), p. 13.
  33. ^ Chazelle (1993); de Berg et al. (2008), p. 256.
  34. ^ McCallum & Avis (1979); Graham & Yao (1983); Lee (1983).
  35. ^ Chan (2012).
  36. ^ Basch, Guibas & Hershberger (1999).
  37. ^ Toussaint (1983).
  38. ^ a b c Westermann (1976).
  39. ^ Laurentini (1994).
  40. ^ a b Edelsbrunner, Kirkpatrick & Seidel (1983).
  41. ^ Toussaint (1986).
  42. ^ Ottmann, Soisalon-Soininen & Wood (1984).
  43. ^ Herrlich (1992).
  44. ^ Rossi (1961).
  45. ^ Brown (1979).
  46. ^ Chazelle (1985).
  47. ^ Chang & Yap (1986).
  48. ^ Artin (1967); Gel'fand, Kapranov & Zelevinsky (1994)
  49. ^ Prasolov (2004).
  50. ^ Johnson (1976).
  51. ^ Gardner (1984).
  52. ^ Reay (1979).
  53. ^ Epstein & Marden (1987).
  54. ^ Weeks (1993).
  55. ^ Rousseeuw, Ruts & Tukey (1999).
  56. ^ Harris (1971).
  57. ^ Pulleyblank (1983); see especially remarks following Theorem 2.9.
  58. ^ Katoh (1992).
  59. ^ Nicola (2000). See in particular Section 16.9, Non Convexity and Approximate Equilibrium, pp. 209–210.
  60. ^ Chen & Wang (2003).
  61. ^ Mason (1908).
  62. ^ Kernohan, Gitzen & Millspaugh (2001), p. 137–140; Nilsen, Pedersen & Linnell (2008)
  63. ^ Worton (1995).
  64. ^ Getz & Wilmers (2004).
  65. ^ Rieffel & Polak (2011).
  66. ^ Kirkpatrick (2006).
  67. ^ Newton (1676); see Auel (2019), page 336, and Escobar & Kaveh (2020).
  68. ^ See, e.g., White (1923), page 520.
  69. ^ Dines (1938).


External links[edit]