A question asked by my math professor:
Prove by induction that if $$W_1, W_2, ... , W_n \subseteq W$$ are subspaces of a vector space W over F, then $$W = W_1 \oplus W_2 \oplus ...\oplus W_n$$ if and only if
$$W = W_1 + W_2 + ... + W_n$$ and $$W_i \cap (W_1 + W_2 + ... + W_{i-1}+W_{i+1}+...+W_n) = \{0\}.$$
I demonstrated a base case with $$W_1, W_2.$$
However, what would my inductive hypothesis be? It confuses me. For example, if I say $$W = W_1 \oplus W_2 \oplus ...\oplus W_k,$$ I can't say $$W = W_1 \oplus ... \oplus W_{k+1},$$ unless $$W_{k+1} = \{0\}.$$
Inductive step:
Assume there exists some $k\in \mathbb{N}$ such that
"For any subspaces $W_1,W_2,\dots,W_k\subseteq W$, we have the equivalence:
$W=W_1\oplus W_2\oplus \dots \oplus W_k$ iff $W=W_1+ W_2+ \dots + W_k$ and $W_i\cap(W_1+W_2+\dots+W_{i-1}+W_{i+1}+\dots+W_k)=\{0\}$"
Then your step is to prove that:
"For any subspaces $W_1,W_2,\dots,W_{k+1}\subseteq W$, we have the equivalence:
$W=W_1\oplus W_2\oplus \dots \oplus W_{k+1}$ iff $W=W_1+ W_2+ \dots + W_{k+1}$ and $W_i\cap(W_1+W_2+\dots+W_{i-1}+W_{i+1}+\dots+W_{k+1})=\{0\}$"