Can infinite-dimensional vector spaces be decomposed into direct sum of its subspaces? [duplicate]
I'm reading Axler "Linear agebra done right" and in Chapter 1 he discusses subspaces and direct sum. My question is, are there subspaces of the infinite-dimensional vector spaces, e.g. a functional Banach space with sup norm $V$ that directly sum to the entire space $$V = U_1\oplus U_2$$ (except for trivial $U_1=\{0\}$, $U_2 = V$).
Solution 1:
Given a vector space $V$, every subspace has a direct complement. This follows from the fact that if $U$ is a subspace we can take a basis of $U$, then complete it to a basis of $V$.
However, unlike the finite dimensional, as we generally cannot write an explicit basis to an infinite dimensional vector space, we need to use an axiom in mathematics which guarantees the existence of one. The axiom of choice allows us to construct bases like that, and so if we assume it - as one often does in modern mathematics - we can always guarantee that there exists a direct complement to any subspace of every vector space.
It is possible to construct mathematical universes in which there are vector spaces which are not spanned by any finite set, and cannot be decomposed into two disjoint subspaces. In fact, the axiom of choice is equivalent to the assertion that in every vector space, every subspace has a direct complement. So just assuming that the axiom of choice fails assures us that there is a vector space that has a subspace without a direct complement.
So we really need it. But sometimes, some spaces are well-behaved enough that we can prove they have nontrivial decompositions; or something even prove that every subspace has a direct complement; or a particular family of subspaces which have a particular form have direct complements. But this depends a lot on the space itself.