Let $V$ and $W$ be finite dimensional complex vector spaces and let $f: V\xrightarrow[]{}W$ and $g: W\xrightarrow[]{}V$ be linear maps. Suppose that $f(g(w))=w$ holds for any $w\in W$. Show that there exist subspaces $V_0, V_1$ of $V$ that satisfy all of the following three conditions.
- $V= V_0 \oplus V_1$ that is $V$ is the direct sum of $V_0$ and $V_1$
- For any $v\in V_0$, $g(f(v))=0$
- For any $v\in V_1$, $g(f(v))=v$
I tried to think so much to prove the existence but could not get a good idea, here we need to prove the existence of these two subspaces $V_0$ and $V_1$. Does that mean we need to check the three conditions(not empty, closure under addition and scalar multiplication) only? How do we use the given conditions to prove that.
I know from 1 - $V_0 \cap V_1 = \{0\}$
How do we contribute all the things? I would appreciate if anyone could show me the right path
Let $V_1=\ker f$ and let $V_0=g(W)$.