MathLabs

Geometry

Convex and discrete geometry

Studies convex shapes, lattices and arrangements of finitely many geometric objects.

IntuitionLine segments that never leave the shape, and how tightly objects pack

Stretch a rubber band around a handful of pins on a board: the region it encloses has no dents — every straight segment between two points inside stays completely inside. That single property is convexity, and its minimal wrapper around a set SS is the convex hull conv⁡(S)\operatorname{conv}(S). Discrete geometry pairs convexity with counting and lattices: how many points of SS do you actually need to build each point of conv⁡(S)\operatorname{conv}(S), when must a convex shape hit a grid point of Zd\mathbb{Z}^d, and how densely can identical spheres be packed in Rd\mathbb{R}^d?

Interactive 3D convex polyhedron with adjustable face explosion slider.
Explore a 3D convex polyhedron: it is the convex hull of its vertices, and every face is a flat polygon cut out by a supporting hyperplane.

SchoolConvex sets, convex hulls and lattice polygons

A subset C⊆RdC \subseteq \mathbb{R}^d is convex if for every pair of points x,y∈Cx, y \in C, the entire line segment joining them lies in CC. In the plane R2\mathbb{R}^2, when the vertices of a simple polygon all sit at integer lattice points of Z2\mathbb{Z}^2, Georg Pick discovered in 1899 that its area can be found purely by counting lattice points — no lengths or angles required.

∀x,y∈C,  ∀t∈[0,1]:(1−t)x+ty∈C\forall x, y \in C,\; \forall t \in [0, 1] : (1 - t)x + ty \in C

Here (1−t)x+ty(1-t)x + ty sweeps out the straight segment from xx (at t=0t=0) to yy (at t=1t=1). More generally, the convex hull of any set S⊆RdS \subseteq \mathbb{R}^d is the set of all finite convex combinations of points of SS: conv⁡(S)={ ∑i=1kλixi:xi∈S,  λi≥0,  ∑i=1kλi=1 }\operatorname{conv}(S) = \left\{\, \sum_{i=1}^{k} \lambda_i x_i : x_i \in S,\; \lambda_i \ge 0,\; \sum_{i=1}^{k} \lambda_i = 1 \,\right\}.

A=I+B2−1A = I + \frac{B}{2} - 1

In Pick's formula A=I+B2−1A = I + \frac{B}{2} - 1, AA is the area of a simple lattice polygon in Z2\mathbb{Z}^2, II is the number of lattice points strictly in its interior, and BB is the number of lattice points along its boundary edges (including vertices). Every interior point contributes 11 full unit of area, every boundary point contributes half a unit, and the exterior angle sum subtracts 11.

Cornerstone theorems of convex and discrete geometry
TheoremDimensionKey threshold / formula
CarathéodoryRd\mathbb{R}^dd+1d + 1 points suffice for conv⁡(S)\operatorname{conv}(S)
HellyRd\mathbb{R}^dEvery d+1d + 1 intersect ⇒\Rightarrow all intersect
MinkowskiRd\mathbb{R}^dvol⁡(K)>2ddet⁡(Λ)  ⟹  K∩(Λ∖{0})≠∅\operatorname{vol}(K) > 2^d \det(\Lambda) \;\Longrightarrow\; K \cap (\Lambda \setminus \{0\}) \neq \emptyset
PickR2\mathbb{R}^2A=I+B2−1A = I + \frac{B}{2} - 1

UndergraduateCombinatorial convexity and the geometry of numbers

If a point x∈Rdx \in \mathbb{R}^d lies in the convex hull conv⁡(S)\operatorname{conv}(S) of a subset S⊆RdS \subseteq \mathbb{R}^d, then xx lies in the convex hull of at most d+1d + 1 points of SS.

Why is it true?

A convex combination in conv⁡(S)\operatorname{conv}(S) can a priori involve arbitrarily many points of SS, but in Rd\mathbb{R}^d any d+2d + 2 or more points are affinely dependent. That linear relation lets you eliminate one point at a time while keeping all weights nonnegative until at most d+1d + 1 points remain (a simplex). Helly's theorem — that a finite family of convex sets in Rd\mathbb{R}^d has a common point whenever every d+1d + 1 of them do — is a direct sibling of this dimension bound.

Proof

Write x=∑i=1kλixix = \sum_{i=1}^{k} \lambda_i x_i with xi∈Sx_i \in S, λi>0\lambda_i > 0, and ∑i=1kλi=1\sum_{i=1}^{k} \lambda_i = 1, chosen so that the number of terms kk is minimal. We claim k≤d+1k \le d + 1.

Suppose toward a contradiction that k≥d+2k \ge d + 2. Then the k−1≥d+1k - 1 \ge d + 1 difference vectors x2−x1,x3−x1,…,xk−x1x_2 - x_1, x_3 - x_1, \ldots, x_k - x_1 in Rd\mathbb{R}^d are linearly dependent, so there exist scalars μ2,…,μk\mu_2, \ldots, \mu_k, not all zero, such that ∑i=2kμi(xi−x1)=0\sum_{i=2}^{k} \mu_i (x_i - x_1) = 0. Setting μ1=−∑i=2kμi\mu_1 = -\sum_{i=2}^{k} \mu_i gives ∑i=1kμixi=0\sum_{i=1}^{k} \mu_i x_i = 0 and ∑i=1kμi=0\sum_{i=1}^{k} \mu_i = 0 with at least one μi>0\mu_i > 0.

For any real tt we have x=∑i=1k(λi−tμi)xix = \sum_{i=1}^{k} (\lambda_i - t \mu_i) x_i with coefficients summing to 11. Choose t=min⁡μi>0(λi/μi)>0t = \min_{\mu_i > 0} (\lambda_i / \mu_i) > 0; then every new coefficient λi−tμi\lambda_i - t \mu_i is nonnegative and at least one becomes 00, expressing xx as a convex combination of at most k−1k - 1 points of SS and contradicting the minimality of kk.

Let Λ⊂Rd\Lambda \subset \mathbb{R}^d be a full-rank lattice with fundamental domain volume det⁡(Λ)\det(\Lambda), and let K⊂RdK \subset \mathbb{R}^d be a centrally symmetric convex set (x∈K⇒−x∈Kx \in K \Rightarrow -x \in K). Then vol⁡(K)>2ddet⁡(Λ)  ⟹  K∩(Λ∖{0})≠∅\operatorname{vol}(K) > 2^d \det(\Lambda) \;\Longrightarrow\; K \cap (\Lambda \setminus \{0\}) \neq \emptyset (and if KK is also compact, the strict inequality >> can be weakened to ≥\ge).

Why is it true?

It is the continuous pigeonhole principle of number theory: once a symmetric convex body is larger than 2d2^d fundamental cells of the lattice, shrinking it by a factor of 22 still leaves volume larger than one cell, forcing two points of the shrunk body to differ by a nonzero lattice vector — and symmetry plus convexity pull that lattice vector back inside KK.

Proof

Consider the half-sized body 12K={ x/2:x∈K }\frac{1}{2} K = \{\, x / 2 : x \in K \,\}. Scaling in dd dimensions multiplies volume by 2−d2^{-d}, so the hypothesis vol⁡(K)>2ddet⁡(Λ)\operatorname{vol}(K) > 2^d \det(\Lambda) becomes vol⁡(12K)>det⁡(Λ)\operatorname{vol}(\frac{1}{2} K) > \det(\Lambda).

Let FF be a fundamental parallelepiped of Λ\Lambda, so Rd=⨆v∈Λ(F+v)\mathbb{R}^d = \bigsqcup_{v \in \Lambda} (F + v) and vol⁡(F)=det⁡(Λ)\operatorname{vol}(F) = \det(\Lambda). Cut 12K\frac{1}{2} K into pieces Av=(12K)∩(F+v)A_v = (\frac{1}{2} K) \cap (F + v) and translate each piece back into FF via Bv=Av−v⊆FB_v = A_v - v \subseteq F. Since the sum of the volumes of the BvB_v equals vol⁡(12K)>vol⁡(F)\operatorname{vol}(\frac{1}{2} K) > \operatorname{vol}(F), the sets BvB_v cannot be pairwise disjoint (Blichfeldt's principle).

Pick distinct lattice vectors u≠vu \neq v in Λ\Lambda with Bu∩Bv≠∅B_u \cap B_v \neq \emptyset. Then there exist two distinct points p,q∈12Kp, q \in \frac{1}{2} K such that p−u=q−vp - u = q - v, so p−q=u−v∈Λ∖{0}p - q = u - v \in \Lambda \setminus \{0\}. Because p,q∈12Kp, q \in \frac{1}{2} K, we have 2p,2q∈K2p, 2q \in K; central symmetry of KK gives −2q∈K-2q \in K, and convexity of KK places the midpoint 12(2p)+12(−2q)=p−q\frac{1}{2}(2p) + \frac{1}{2}(-2q) = p - q inside KK. Thus p−qp - q is a nonzero lattice point in K∩(Λ∖{0})K \cap (\Lambda \setminus \{0\}).

UndergraduateReal-World Applications and Worked Examples

Post-quantum cryptography (such as ML-KEM / Kyber and ML-DSA / Dilithium) rests on the computational hardness of finding the shortest nonzero vector in a high-dimensional lattice Λ⊂Rd\Lambda \subset \mathbb{R}^d, whose existence is guaranteed by Minkowski's theorem. In digital communications, sphere packings in Rd\mathbb{R}^d are error-correcting codes for noisy radio and optical channels: the 2424-dimensional Leech lattice and the 88-dimensional E8E_8 lattice (with optimal packing density Δ8=π4384≈0.25367\Delta_{8} = \frac{\pi^4}{384} \approx 0.25367) were used in space-probe telemetry and high-speed modems. In computer graphics, robotics, and GIS, collision detection between 3D meshes reduces to testing whether the origin lies in the Minkowski difference of their convex hulls, while Pick's theorem provides fast grid-based area estimation in digital image processing.

Example: Land parcel area from a GPS lattice grid via Pick's theorem

A triangular land parcel has vertices at the integer grid points (0,0)(0, 0), (4,0)(4, 0), and (0,6)(0, 6) in Z2\mathbb{Z}^2. Count the boundary lattice points BB and interior lattice points II, and verify that Pick's formula A=I+B2−1A = I + \frac{B}{2} - 1 gives the exact area.

Solution

Along a segment from (x1,y1)(x_1, y_1) to (x2,y2)(x_2, y_2), the number of lattice edges is gcd⁡(∣x2−x1∣,∣y2−y1∣)\gcd(|x_2 - x_1|, |y_2 - y_1|). Summing over the three sides of the triangle gives B=gcd⁡(4,0)+gcd⁡(0,6)+gcd⁡(4,6)=4+6+2=12B = \gcd(4, 0) + \gcd(0, 6) + \gcd(4, 6) = 4 + 6 + 2 = 12 boundary lattice points.

For the interior points (x,y)(x, y) with x>0x > 0, y>0y > 0, and 3x+2y<123x + 2y < 12: when x=1x = 1 we have 2y<92y < 9 (y∈{1,2,3,4}y \in \{1,2,3,4\}, giving 44 points); when x=2x = 2 we have 2y<62y < 6 (y∈{1,2}y \in \{1,2\}, giving 22 points); when x=3x = 3 we have 2y<32y < 3 (y=1y = 1, giving 11 point). Thus I=4+2+1=7I = 4 + 2 + 1 = 7.

Substituting I=7I = 7 and B=12B = 12 into Pick's formula A=I+B2−1A = I + \frac{B}{2} - 1 gives A=7+12/2−1=12A = 7 + 12/2 - 1 = 12, which matches the base-times-height calculation 12⋅4⋅6=12\frac{1}{2} \cdot 4 \cdot 6 = 12.

Example: Guaranteeing a nonzero integer solution via Minkowski's theorem

Use Minkowski's convex body theorem to prove that the inequality x2+9y2<16x^2 + 9y^2 < 16 has at least one nonzero integer solution (x,y)∈Z2∖{(0,0)}(x, y) \in \mathbb{Z}^2 \setminus \{(0,0)\}, and exhibit one.

Solution

The set K={ (x,y)∈R2:(x/4)2+(3y/4)2<1 }K = \{\, (x, y) \in \mathbb{R}^2 : (x/4)^2 + (3y/4)^2 < 1 \,\} is an open ellipse centered at the origin with semi-axes a=4a = 4 and b=4/3b = 4/3, so it is convex and centrally symmetric.

Its area is vol⁡(K)=πab=π⋅4⋅(4/3)=16π/3≈16.755\operatorname{vol}(K) = \pi a b = \pi \cdot 4 \cdot (4/3) = 16\pi / 3 \approx 16.755. For the standard integer lattice Λ=Z2\Lambda = \mathbb{Z}^2 in dimension d=2d = 2, we have det⁡(Λ)=1\det(\Lambda) = 1 and Minkowski's threshold is 2ddet⁡(Λ)=42^d \det(\Lambda) = 4.

Since 16π/3>416\pi / 3 > 4, Minkowski's theorem vol⁡(K)>2ddet⁡(Λ)  ⟹  K∩(Λ∖{0})≠∅\operatorname{vol}(K) > 2^d \det(\Lambda) \;\Longrightarrow\; K \cap (\Lambda \setminus \{0\}) \neq \emptyset guarantees a nonzero integer point inside KK; indeed (1,1)(1, 1) satisfies 12+9(1)2=10<161^2 + 9(1)^2 = 10 < 16 (and (1,0)(1, 0), (2,0)(2, 0), (3,0)(3, 0) also lie in KK).

By Carathéodory's theorem, any point in the convex hull conv⁡(S)\operatorname{conv}(S) of a set S⊆R3S \subseteq \mathbb{R}^3 can be written as a convex combination of at most how many points of SS?

A simple lattice polygon in Z2\mathbb{Z}^2 has I=10I = 10 interior lattice points and B=8B = 8 boundary lattice points. What is its area AA?

For the standard integer lattice Λ=Z3\Lambda = \mathbb{Z}^3 in R3\mathbb{R}^3, what volume must a centrally symmetric convex body KK exceed for Minkowski's theorem to guarantee a nonzero integer point in KK?

In which pair of dimensions greater than 33 did Maryna Viazovska and her collaborators prove the exact optimal sphere-packing density in 2016?

References

  1. Peter M. Gruber (2007). Convex and Discrete Geometry (Grundlehren der mathematischen Wissenschaften, Vol. 336) · DOI:10.1007/978-3-540-71133-9
  2. Maryna S. Viazovska (2017). The sphere packing problem in dimension 8 · arXiv:1603.04246
  3. Henry Cohn, Abhinav Kumar, Stephen D. Miller, Danylo Radchenko, Maryna Viazovska (2019). Universal optimality of the E8 and Leech lattices and interpolation formulas · arXiv:1902.05438