For subspaces of :
is a subspace (the smallest containing ). The sum is direct, written , when every element of decomposes uniquely as ; equivalently (see below) when . When , the subspaces are supplementary in .
Examples
Example 18.8 (A sum of two lines)
In , let and . Their sum is
the plane through the origin containing both lines. It is strictly bigger than the union (the mere cross of the two lines): the vector lies in the sum but on neither line. And (a common vector requires , whose first two coordinates force ): the sum is direct, and is exactly that plane.
Example 18.11
In , the even functions and the odd functions are supplementary: any writes
and a function both even and odd is zero. (Applied to , this is the pair of Chapter 4.)
Example 18.12 (A supplementary pair in )
Fix and set , (the constants). Then . Indeed consists of the constants vanishing at , i.e. ; and every decomposes as
The decomposition is worth memorizing: subtracting the value at a point is the standard way to project onto “functions vanishing at ”. Note that is a large subspace and a small one; a supplementary pair need not be balanced in any sense.