21. Hyperplane

A hyperplane in 𝑛 is an (𝑛1)-dimensional affine subspace — the natural generalization of a line in 2 or a plane in 3.

Defined by a single linear equation:

𝑎𝑥=𝑏or equivalently𝑎1𝑥1+𝑎2𝑥2++𝑎𝑛𝑥𝑛=𝑏

where 𝑎𝟎 is the normal vector and 𝑏 is the offset.

21.1. Dimension of a hyperplane

In 𝑛, the equation 𝑎𝑥=𝑏 imposes one linear constraint. The solution set has dimension 𝑛1:

21.2. Through the origin

If 𝑏=0, the hyperplane passes through the origin and is a linear subspace (closed under addition and scalar multiplication). Otherwise it’s an affine subspace — a translated subspace.

21.3. Distance from a point to a hyperplane

Given hyperplane 𝑎𝑥=𝑏 and point 𝑝𝑛:

dist(𝑝,𝐻)=|𝑎𝑝𝑏|𝑎

(See Norm for 𝑎.)

21.4. Half-spaces

A hyperplane splits 𝑛 into two half-spaces:

𝐻+={𝑥:𝑎𝑥𝑏}𝐻={𝑥:𝑎𝑥𝑏}

These are the building blocks of polyhedra (intersections of finitely many half-spaces).

21.5. Where hyperplanes show up