I've been asked to prove this:
Let $V$ be a vector space over a field $F$ and suppose that $V = U \oplus W$, where $U$ and $W$ are subspaces of $V$.
Show that $Im(P)=U$ and $\ker(P)=W$ for some $P \in End(V )$.
Sorry if I come across as being a bit dense but doesn't the direct sum hold the property of being commutative?
How can we specifically say that $Im(P) = U$? Say we took the direct sum as $W \oplus U$. Then $Im(P) = W$?
Could someone explain to me where I'm going wrong and maybe point me in the right direction? Cheers!
And sorry again if the answer is very obvious.
The direct sum is commutative in the sense that there is a canonical isomorphism $U \oplus W \cong W \oplus U$. But that doesn't mean that a given endomorphism $P$ behaves w.r.t. the summands $U$ and $W$ in the same way.
As for the problem itself:
Hint We can decompose the matrix for $P$ (w.r.t. any adapted basis of $V$ adapted to the decomposition $V = U \oplus W$) into blocks, as $$P := \begin{pmatrix} A & B \\ C & D \end{pmatrix},$$ so that for any $(u, w) \in U \oplus W$ we have $$P\begin{pmatrix}u \\ w\end{pmatrix} =\begin{pmatrix} A & B \\ C & D \end{pmatrix} \begin{pmatrix}u \\ w\end{pmatrix}.$$
Now, what restrictions do our conditions $\ker P = W$ and $\text{im }P = U$ impose on the matrix blocks $A, B, C, D$?