Linear Algebra – Is Any Subspace of a Direct Sum Necessarily a Direct Sum of Subspaces?

direct-sumlinear algebravector-spaces

If I have a direct sum $V = V_1 \oplus V_2$ and a subspace $W \subset V$, it it necessarily true that $W = W_1 \oplus W_2$ where $W_1 \subset V_1$ and $W_2 \subset V_2$?

I believe this is true since we should be able take $W_1 :=W \cap V_1$ and $W_2 := W \cap V_2$, but I just want to make sure there isn't a flaw this this argument. Thanks!

Best Answer

In your attempt, while the sum $W_1 + W_2$ is direct (that is, $W_1 \cap W_2 = 0$), it might not equal all of $W$.

There is a simple counterexample for $V = \mathbb{R}^2$. $V$ is the direct sum of the $x$ and $y$ axes, but if we set $W$ equal to the line $y = x$, then $W$ intersected with the $x$ and $y$-axes is zero.

Related Question