Suppose a linear transformation $T:\mathbb{R}^3\rightarrow \mathbb{R}^3$, $T\begin{pmatrix}
x\\
y\\
z
\end{pmatrix} = \begin{pmatrix}
x+y\\
y+z\\
z+x
\end{pmatrix}$ (just an example).
How do i find a linear transformation S such that $S^2=S\circ S=T$ ?
it's part of a basic linear algebra course. Would appreciate a general answer (not specific to the example above). Iv'e already tried several ways, didn't manage to get somewhere..
Thanks.
EDIT: The answer is supposed to be based only on basic matrices and linear transformations material, no Diagonalization and eigenvalues
S is linear from $R^{3}$ to $R^{3}$. so $S(x)= AX+B$, $A $ is 3 by 3 matrix and B is a constant vector in $R^{3}$. the same for T, then we have:
$$S(x)=Ax+B$$ $$T(x)=Cx+D$$
$$SoS=T$$ $$A(Ax+B)+B=Cx+D$$ $$A^{2}x+AB+B=Cx+D$$ $$A^{2}=C$$
$$AB+B=D$$ $$(A+I)B=D$$
Now you have to have T, i.e C and D to solve the equations