I can't really solve this exercise I've been trying to solve for some time now. It goes like that:
Matrix $R$ ($\in \mathbb R^{3\times3}$) is a reflection matrix, in relation to subspace $U$, $U=\text{span}\{u_1\}$, $\dim U=1$. It is given that $R\left(\begin{array}{c}3\\ 3\\ 3\end{array}\right)= \left(\begin{array}{c}1\\ 1\\ 5\end{array}\right)$ . Find a basis of $U$.
So what I assumed is that I actually need to find $u_1$, and what I tried to do is to firstly find $P$. I tried to do it as follows: Projection matrix on a line $\text{span}\{u_1\}$ is given by $P=(uu^t)/(u^tu)$, then $R=2P-I$, So instead of the equation that was given, I substituted $2P-I$ and found that $P\left(\begin{array}{c}3\\ 3\\ 3\end{array}\right)=\left(\begin{array}{c}2\\ 2\\ 4\end{array}\right)$. I can't really see a way to find $u_1$..
I haven't checked your answer, but if what you already have is correct you are almost done: $$ P\left(\begin{array}{c}3\\ 3\\ 3\end{array}\right) = \frac{uu^T}{u^Tu} \left(\begin{array}{c}3\\ 3\\ 3\end{array}\right)=\left(\begin{array}{c}2\\ 2\\ 4\end{array}\right) \implies \underbrace{\frac{u^T}{u^Tu} \left(\begin{array}{c}3\\ 3\\ 3\end{array}\right)}_{\text{scaler}} u =\left(\begin{array}{c}2\\ 2\\ 4\end{array}\right) $$ That is you have found $u$ up to a scaler multiple.