Hyperplanes and Cover’s recurrence

When we add one hyperplane through the origin, how many regions does it create?

Fix nonzero inputs \(x_1,\ldots,x_m\in\Rspace^d\). Each input defines a \(H_i=\{w\in\Rspace^d:w\cdot x_i=0\}\). A consists of weights with one fixed, strictly nonzero sign for every dot product. We count these regions, or equivalently realizable labelings.

If the inputs are in , write \(\coverCount(m,d)\) for this count. For \(m,d\ge2\),

$$\boxed{\coverCount(m,d)=\coverCount(m-1,d)+\coverCount(m-1,d-1).}$$

The first term counts the old regions. The second counts the old regions sliced by \(H_m\): each slice adds one region. This is the geometry behind Cover’s recurrence [proof of Thm. 3, Eq. (10), p. 328].

Six wedges split six octants

Begin with the coordinate planes \(H_1,H_2,H_3\), whose normals are \(x_1=(1,0,0),x_2=(0,1,0),x_3=(0,0,1)\). They enclose eight octants. Add \(H_4=\{w:w_1+w_2+w_3=0\}\). Predict how many octants it cuts, then select a wedge on the right.

3D weight space on the unit sphere

Figure H5(a). Gold traces the new plane. Amber regions are sliced; blue regions survive intact.

The new plane laid flat

Figure H5(b). Each wedge belongs to one sliced old region.

Coordinates of the experiment

The ordered normals are \(x_1,x_2,x_3\) above, followed by \(x_4=(1,1,1),x_5=(1,2,4),x_6=(1,3,9)\). The first \(m-1\) planes stay fixed while we insert \(H_m\). Positive rescaling preserves signs, so intersecting each cone with the sphere preserves its region. On the right, \(u,v\) are orthonormal coordinates within \(H_m\); the disk bounds the drawing, not the plane.

What happens when general position fails?

Keep \(m=4\) and change \(x_4\) to \((1,1,t)\). At \(t=0\), the new plane contains \(H_1\cap H_2\). Two section lines coincide, leaving four wedges.

At \(t=1\), the all-positive and all-negative octants miss \(H_4\); the other six split. Thus \(8+6=14\). At \(t=0\), four octants split and four remain intact, giving \(8+4=12\). The slice bijection holds in both cases; the general-position formula gives fourteen only in the first.

One section chamber, one split region

Let \(\mathcal R\) be the old chambers in \(\Rspace^d\). In the new plane, the old walls restrict to \(H_i\cap H_m\), for \(1\le i<m\). Let \(\mathcal S\) be the chambers of this restricted arrangement, using the topology of \(H_m\).

The slice bijection. For distinct central hyperplanes and \(d\ge2\), the map

$$\{R\in\mathcal R:R\cap H_m\ne\varnothing\}\longrightarrow\mathcal S,\qquad R\longmapsto R\cap H_m$$

is a bijection. Every region in its domain splits into two regions when we insert \(H_m\).

Proof

Write an old chamber as \(R=\{w:y_i(w\cdot x_i)>0,\ 1\le i<m\}\). Its nonempty intersection with \(H_m\) satisfies exactly the same strict inequalities within \(H_m\), so it is convex and relatively open. It is a complete restricted chamber: every point with those signs belongs to that intersection. Conversely, any restricted chamber has one fixed old sign vector, hence lies in exactly one old chamber. These constructions are inverse.

If \(w_0\in R\cap H_m\), openness of \(R\) gives \(w_0\pm\varepsilon x_m\in R\) for sufficiently small \(\varepsilon>0\). Their new scores are \(\pm\varepsilon\lVert x_m\rVert^2\). Thus both convex pieces \(R\cap\{w:\pm(w\cdot x_m)>0\}\) are nonempty. If the intersection is empty, convexity forces the score to keep one strict sign throughout \(R\). Each intersected chamber contributes one net new region. This is also the perturbation used in Cover’s Lemma 1 [proof, p. 328].

General position descends. If every subset of at most \(d\) original normals is independent, then the restricted normals in \(H_m\) are in general position in dimension \(d-1\).

Proof

Define the orthogonal projection

$$P_m:\Rspace^d\to H_m,\qquad v\mapsto v-\frac{v\cdot x_m}{\lVert x_m\rVert^2}x_m.$$

For \(w\in H_m\), we have \(w\cdot x_i=w\cdot P_mx_i\), so the normal of the restricted wall is \(P_mx_i\). Choose a subset \(I\subset\{1,\ldots,m-1\}\) with \(|I|\le d-1\). If \(\sum_{i\in I}a_iP_mx_i=0\), then \(\sum_{i\in I}a_ix_i=cx_m\) for a scalar \(c\). General position of these at most \(d\) original vectors forces every coefficient to vanish. Thus the projected normals are independent. In dimension one the walls all equal \(\{0\}\), but their nonzero normals satisfy the one-dimensional condition and leave two rays. Combining this with the slice bijection proves the recurrence. [Cover, proof of Thm. 3, projection argument and Eq. (10), p. 328]

Why the two-dimensional picture always adds two

In \(\Rspace^1\), every central wall is the point zero. For \(m\ge1\) this leaves two rays: \(\coverCount(m,1)=2\). In \(\Rspace^2\), a new distinct line meets every old line at zero. Its two rays therefore cut exactly two old wedges. For example, \(\coverCount(3,2)=4+2=6\). In \(\Rspace^3\), the restricted walls are lines in a plane, so the added count grows with \(m\).

Pascal’s identity gives the count

The boundary values are \(\coverCount(1,d)=2\) and \(\coverCount(m,1)=2\). The recurrence and these values give

$$\coverCount(m,d)=2\sum_{k=0}^{d-1}\binom{m-1}{k},\qquad q(m,d)=\frac{\coverCount(m,d)}{2^m}.$$

Here \(q(m,d)\) is the probability that independent fair labels are realizable. A coefficient is zero when its lower index exceeds its upper index. The cutoff \(d-1\) chooses the retained part of row \(m-1\) of Pascal’s triangle. [Cover, Thm. 1, Eq. (5), p. 326]

Figure H6(a). Blue retains a coefficient. Grey omits it. Select a coefficient to see its two parents.

Figure H6(b). Blue is the probability mass through the cutoff \(d-1\).

Proof of the formula

Pascal’s identity \(\binom{m-1}{k}=\binom{m-2}{k}+\binom{m-2}{k-1}\), summed from \(k=0\) to \(d-1\) and multiplied by two, gives precisely the two terms of the recurrence. The sum has both boundary values, so induction proves the expression. When \(m\le d\), we retain the whole row and obtain \(2^m\). Otherwise the missing labelings number \(2\sum_{k=d}^{m-1}\binom{m-1}{k}\). Dividing by \(2^m\) yields the binomial probability \(q(m,d)=\Pr(B\le d-1)\) for \(B\sim\operatorname{Bin}(m-1,1/2)\). [Cover, §V, Eqs. (21)–(25), p. 331]

Crossing a wall changes one prediction

Fix the planar inputs \(x_1=(1,0),x_2=(0,1),x_3=(-1,1)\), with bias zero. Move the weight in the right panel. Its orthogonal classifier in input space moves in the left panel. Crossing \(H_i\) changes the sign of \(x_i\).

Input space

Figure H7(a). The line is \(w\cdot X=0\); +/− marks show predictions.

Weight space

Figure H7(b). Gold marks the selected weight direction.

Choose a labeling. A blue choice moves the weight into its region. A grey choice has no region.

A sign vector defines an intersection of strict linear half-spaces, so a realizable labeling occupies one convex region. The dual arrangement therefore counts precisely the possible classifications. [Cover, Thm. 2 and its dual, p. 327]

Predict the next insertion

Five planes through the origin have normals in general position in three dimensions. After four planes there are fourteen regions. How many regions does the fifth add? Explain what we count inside the fifth plane.