Hyperplane arrangements and their cells
Count regions using a deletion-and-restriction recurrence while tracking general-position and degeneracy assumptions.
On this page
The question for today
What you’ll understand
- Interpret regions as feasible sign patterns of affine inequalities.
- Derive the general-position region-count recurrence and binomial formula.
- Explain how parallelism and concurrence change the counting problem.
A collection of linear decision boundaries partitions space into regions where every inequality keeps the same sign. This geometric partition appears in classification, optimization, and motion planning, but a picture in a small window can conceal unbounded regions and coincident intersections. Hyperplane-arrangement theory counts all regions in the entire space. The useful move is to add one hyperplane and count how existing hyperplanes cut that new one, reducing the dimension of the problem by one.
Regions are nonempty sign patterns
An affine hyperplane in real d-dimensional space is a set where a nonconstant affine linear form equals zero. A finite arrangement consists of distinct such hyperplanes. Away from their union, each point assigns a positive or negative sign to every defining form. A nonempty sign pattern defines an intersection of open halfspaces, hence a convex connected region. Some formal sign patterns are infeasible, so counting all binary strings generally overcounts the geometry.
The closure of a full-dimensional region is a convex polyhedron; it may be unbounded, even though the arrangement is finite. Lower-dimensional cells occur where one or more signs become zero. Our region count concerns the full-dimensional components of the complement, not every cell of every dimension. This convention matters when a software display labels intersection points and segments separately from the two-dimensional regions between lines.
A dimension-reducing recurrence counts the new cuts
In affine general position, every collection of k hyperplanes with k at most d intersects in dimension d − k, and no d + 1 hyperplanes have a common point. In the plane this means no parallel pair and no triple concurrence. The previous hyperplanes restrict to a general-position arrangement within the new hyperplane. Every region of that induced arrangement separates one previously existing region into two, producing the recurrence displayed above.
Pascal’s identity solves the recurrence: the number of regions is the sum of binomial coefficients from zero through d, using zero when the lower index exceeds N. In the plane this is one plus N plus the number of pairs of lines. In three dimensions an additional term counts triples of planes. The formula is polynomial in N for fixed d, which is far smaller than the two-to-the-N possible sign strings once N grows.
Degeneracy can be geometric information
If all planar lines pass through one common point, N distinct lines create only 2N regions for N positive. If they are all parallel, they create N + 1 regions. The general-position formula therefore cannot be used without checking its assumptions. Small perturbations can separate a concurrence into multiple intersection points and increase the region count; that perturbation changes the exact arrangement, even if a low-resolution drawing looks nearly identical.
The recurrence survives beyond general position in the more careful deletion-and-restriction form: remove a chosen hyperplane and consider the distinct induced hyperplanes inside it, discarding empty restrictions and repetitions. Their intersection structure determines the extra regions. Stanley’s characteristic-polynomial theory packages this data through the intersection poset, but one should first understand the geometric recurrence. An affine bijection preserves all cells and their incidences, whereas changing a line offset may genuinely change the combinatorics.
Work it through
Add a fifth general-position line
Four distinct lines in the plane have no parallel pair and no triple concurrence. Count their regions, then count after adding a fifth line that preserves these conditions.
For four lines, use the planar formula: one empty-arrangement region, four line contributions, and six pair intersections give 1 + 4 + 6 = 11 regions.
The fifth line meets the four earlier lines at four distinct points. Those points split the new line into five open intervals or rays, each passing through a different old region.
Each piece creates one additional region, so the total is 11 + 5 = 16. The closed formula checks this as 1 + 5 + 10 = 16.
The region counts are eleven and sixteen. Counting only visibly bounded cells in a diagram would omit some of these regions.
The living notebook
Explore the model
Interactive lab · matrix
An invertible map preserves an arrangement
Pause and Reset, then set diagonal scale a = 0.5 and shear b = 1. Predict that the displayed coordinate-grid families remain straight and parallel within each family, with their incidence structure preserved, while each unit cell has final area 0.5. Play to inspect. This fixed transformed grid is a degenerate arrangement, not N arbitrary general-position hyperplanes or a region-count solver.
- Area scale · det A
- 1.4
- Singular values · σmax, σmin
- 1.597, 0.876
- Condition number · κ₂(A)
- 1.823
The selected matrix is A = [[a,b],[0,1]]. Playback interpolates geometry between the identity and A; readouts always describe A. Its determinant is a and its singular values come from AᵀA. Positive a makes every supported matrix invertible. This two-dimensional family is not a general eigensolver or a learned network. Parameter changes pause playback and recompute the model at the current elapsed time. Reset restores both parameters and returns time to zero. Playback starts paused. Adjust either parameter, then choose Play or Step.
Look forA coordinate change preserves a given arrangement’s combinatorics; a genericity assumption concerns the arrangement itself.
Pause & reason
Check your understanding
Your turn
Try it yourself
Find the maximum number of regions cut by five affine planes in real three-dimensional space. State a configuration condition under which that maximum is attained, and compare five parallel planes.
Take a moment to make a prediction or work it out on paper. Open a hint when you need one.
Give me a hint
Use the binomial sum through dimension three and describe general position in terms of intersections of one, two, three, and four planes.
Compare with the solution
The general-position count is 1 + 5 + 10 + 10 = 26. It is attained when every pair intersects in a line, every triple in a point, and no four have a common point, with all planes distinct. Equivalently the full affine general-position intersection conditions hold. Five parallel planes create only six slabs. The contrast comes from the geometry of restrictions to each new plane, not from an arithmetic ambiguity in the region-count formula.
Keep the idea
Take it with you
- A region is a nonempty sign pattern and is convex.
- Adding a hyperplane reduces the counting of new regions to one lower dimension.
- Parallelism and concurrence invalidate the generic binomial count but remain meaningful geometric cases.
Read further
Original sources and deeper explanations to follow at your own pace.
Optional progress, saved in this browser when available. Revisit any lesson at any time.
Lesson not marked complete.