Prove or disprove:
Theorem. Let $V$ be a finite-dimensional vector space and $T:V\to V$ a linear transformation. Then the following are equivalent.
(1) There exist non-trivial $T$-invariant subspaces $U_1,U_2$ of $V$, such that $V=U_1\oplus U_2$.
(2) $V$ has a non-trivial $T$-invariant subspace.
It's obvious that (1) implies (2).
For the converse, suppose that $U$ is a non-trivial $T$-invariant subspace of $V$. The obvious argument for proving (1) is to choose $U_1=U$ and then find a suitable $U_2$. However I have an example (leave a comment if you want details) which shows that this approach cannot work in general. The example works if you take $U_1$ to be a minimal (non-zero) $T$-invariant subspace of $U$ instead of $U$ itself, but I have not been able to turn this idea into a general proof.