When given $T:V \to V$ such that $T^2=I$, prove that $U,W \subseteq V$ subspaces exist such that:
$$V=U\oplus W$$
$$T(u)=u, \forall u \in U$$
$$T(w)=-w, \forall w \in W$$
My first thought was to define $W=kerT$ and $U=ImT$, then I can prove that $\dim(U+W)=\dim(U)+\dim(W) = \dim(V)$. that shows $U \oplus W=V$, and also $T(-w)=w=\bar{0}$.
But the second condition is not met. I was also trying to define $U=sp\{\bar{u_1},....,\bar{u_n}\}\subseteq V$ as a subspace but I can't prove that $T(u)=u$
The problem should be solved with knowledge about direct sums and linear transformation.
any help will be much appreciated
As I am just a student take carefully my solution and I hope it is correct.
I think that there is a more elegant way than a prove by contradiction to prove (2). (btw i hope too that i ve understood correctly your question).
1 - Prove that $U$ and $W$ are in direct sum.
$U=\left \{ u \in V: T(u)=u \right \}$ and $W=\left \{ w \in V: T(w)=-w \right \}$.
It cames that any $v' \in U \cap W $ has to verify: $T(v')=v'$ as $v' \in U$ and in the same time $T(v')=-v'$ as $v' \in W$.
Moreover by definition of application the same input always give the same output so we have: $v'=T(v')=-v' \Rightarrow v'=0_V$ is the unique solution. Hence: $U \cap W = 0_V \Rightarrow U\oplus W$
2 - Prove that $V=U+W$.
By absurd we suppose $\exists v' \in V\setminus \left \{ U + W \right \}$.
Now let's note $T(v')=v'' \neq \pm v' \Rightarrow T(T(v')) = T(v'') = v' \neq \pm v''$. In this case it cames that: $(v'+v'')/2 \in U$ and $(v'-v'')/2 \in W$. So by definition as the sum of one element in $U$ and one element in $W$ we get: $(v'+v'')/2+(v'-v'')/2=v' \in U+W$ contradiction.
(1) & (2) $\Rightarrow$ Q.E.D.