Line Arrangements and Duality
Line Arrangements
An arrangement of lines is the subdivision of the plane induced by a set of lines . The arrangement consists of:
- Vertices: intersection points of lines. At most vertices
- Edges: maximal connected portions of lines between vertices. At most edges
- Faces: connected regions of . At most faces
By Euler's formula for planar subdivisions: (connected) or (if counting the unbounded face appropriately).
Complexity: for lines in general position (no two parallel, no three concurrent). This is tight.
Construction
Incremental algorithm: insert lines one at a time, updating the arrangement.
For each new line :
- Find a face of the current arrangement that enters
- Walk along through the arrangement, splitting each traversed face into two
- Each face traversal takes amortized time
Total complexity: time and space, which is optimal since the arrangement has features. The walk uses the zone of the new line.
DCEL Representation
Arrangements are typically stored as a doubly-connected edge list (DCEL):
- Each edge is split into two half-edges with opposite orientations
- Each half-edge stores: origin vertex, twin half-edge, incident face, next/prev half-edge in face boundary
- Supports local navigation (adjacent faces, edges around a vertex)
Zone Theorem
The zone of a line in an arrangement of lines is the set of faces whose closure intersects .
Zone theorem: the total complexity (number of edges bounding faces) of the zone of any line in an arrangement of lines is .
Proof sketch: charge each edge in the zone to one of the lines. A careful argument shows each line contributes edges to the zone, giving total.
Consequences:
- Inserting a new line into an arrangement takes time (traverse its zone)
- Incremental construction: , matching the output size
- The zone theorem generalizes to hyperplane arrangements in : zone complexity is
Point-Line Duality
A fundamental transform mapping points to lines and vice versa. Standard duality:
Key property (incidence preservation): point lies on line iff point lies on line . More specifically:
- is above iff is above
- is below iff is below
Order preservation: the duality preserves the vertical ordering relation.
Primal-Dual Correspondences
| Primal | Dual | |---|---| | Point | Line | | Line | Point | | Point above line | Dual line above dual point | | Line through two points | Point = intersection of two dual lines | | Convex hull vertex | Line bounding dual arrangement face | | Upper envelope of lines | Convex hull of dual points |
Applications of Duality
- Ham-sandwich cuts via duality: transformed to finding a point in an arrangement with specific level properties
- Minimum area triangle: three points from a set forming the minimum area triangle. Via duality, this relates to closest lines in the dual arrangement
- Slope selection: find the -th smallest slope among all point pairs. Via duality, this becomes a -level problem. algorithm via parametric search or Cole's method
- Linear programming: the dual of finding the lowest point above lines is finding the intersection point of lines below dual points
Levels in Arrangements
The -level of an arrangement of lines is the set of points that have exactly lines strictly below them. Equivalently, it is a piecewise-linear -monotone curve.
- Level 0 = lower envelope; level = upper envelope
- Complexity of the -level: at most (Dey, 1998). Best lower bound: (Toth). Exact complexity is a major open problem
- The -level (all points with lines below) has complexity
Upper and Lower Envelopes
The upper envelope of lines: the pointwise maximum .
- Complexity: segments (each line contributes at most one segment)
- Computation: via divide-and-conquer or incremental insertion
- Equivalent to the convex hull of the dual point set (upper hull)
For curves (not lines): the upper envelope of curves that pairwise intersect at most times has complexity , a slowly growing function related to Davenport-Schinzel sequences:
- : (lines)
- : (line segments)
- : where is the inverse Ackermann function
Ham-Sandwich Theorem
Theorem (Stone-Tukey): given finite Borel measures in , there exists a hyperplane that simultaneously bisects all measures.
In : given two point sets (red and blue), there exists a line that bisects both. Proof uses the intermediate value theorem or Borsuk-Ulam theorem.
Algorithm in : via duality. Transform to finding a point at a specific level in the dual arrangement.
Discrete version: for red and blue points in general position, a ham-sandwich cut exists. Not unique in general; the space of valid cuts has specific structure.
Helly's Theorem
Theorem (Helly, 1923): let be a finite collection of convex sets in with . If every of them have a common point, then all of them have a common point.
In : if every three convex sets have a common point, then they all do.
Applications:
- Halfplane intersection: halfplanes have a common point iff every 3 do. Reduces feasibility of LP to checking triples (not efficient, but theoretically fundamental)
- Helly dimension: generalizes to abstract convexity spaces
- Fractional Helly theorem (Barany, 1982): if at least of the -subsets have non-empty intersection (for ), then at least of the sets have a common point, where
Radon's Theorem
Theorem (Radon, 1921): any points in can be partitioned into two sets whose convex hulls intersect.
In : any 4 points can be partitioned into two pairs whose convex hulls (line segments) intersect. Equivalently, one point is inside the triangle of the other three, or the two diagonals of the quadrilateral cross.
Radon partition: the partition with . Can be computed by finding a non-trivial affine dependence among the points.
Radon's theorem implies Helly's theorem (classical proof by induction).
Hyperplane Arrangements
In , an arrangement of hyperplanes has:
- At most vertices
- Total complexity (faces of all dimensions)
- Can be constructed incrementally in time (optimal)
Number of faces: the number of regions (full-dimensional faces) is at most , which is in general position. This is the Zaslavsky formula (computable via the characteristic polynomial of the intersection lattice).
Applications:
- Configuration spaces: robot arm reachability
- Machine learning: hyperplane arrangements partition feature space into regions with different linear functions (ReLU networks, decision trees)
- Discrete geometry: many counting problems reduce to arrangement complexity
Arrangement of Segments
For line segments with intersection points:
- Output complexity:
- Construction: Bentley-Ottmann sweep gives (see Chapter 07)
- Bounding : at most , but often much smaller in practice
Applications and Connections
- Linear programming: the optimal LP solution is a vertex of the arrangement of constraint hyperplanes. Dual LP corresponds to envelope computation
- Geometric optimization: many problems (smallest enclosing circle, widest corridor) reduce to computations in line arrangements
- Machine learning: SVM margins correspond to distances between arrangement features; ReLU network decision boundaries are hyperplane arrangements
- Discrete and combinatorial geometry: Szemeredi-Trotter theorem bounds point-line incidences to , with deep consequences for arrangement complexity and additive combinatorics