Canonical: https://knowlpedia.com/convex-analysis/codimension-one-subspaces-yield-direct-sum-decompositions/

# Codimension-One Subspaces Give Direct Sum Decompositions

If codim(L)=1 and x0∉L, then X=L⊕span{x0}.

Let \(X\) be a [vector space](https://knowlpedia.com/linear-algebra/vector-space/) and let \(L\subset X\) be a [subspace](https://knowlpedia.com/convex-analysis/linear-subspace/) with [codim(L)](https://knowlpedia.com/convex-analysis/codimension/) \(=1\). If \(x_0\notin L\), then:

**Proposition**:
\[
X = L \oplus \operatorname{span}\{x_0\},
\]

where \(\oplus\) denotes the [direct sum](https://knowlpedia.com/convex-analysis/direct-sum-of-subspaces/).

## Remarks

**Context:**
This shows that a codimension-one subspace is "one linear dimension short" of the whole space. It is the structural fact behind representing hyperplanes as kernels (or level sets) of nonzero linear functionals.
