Note: This is a homework question.
After pages of attempts and failures, here I am. First, I will present the question then state what I have tried.
The question:
Let $u$ be a non-zero vector in $\mathbb{R}^n$. Let $L = \mbox{Span}\{u\}$. Define a map, $R:\mathbb{R}^n\rightarrow\mathbb{R}^n$ by
$$R(x) = 2proj_Lx - x$$
for $x\in\mathbb{R}^n$.
Show that $R$ can be represented by an orthogonal matrix $Q$, state what the matrix is and show that it is orthogonal. (This matrix $Q$ will involve the vector $u$ and the identity matrix $I$.)
Attempted solution:
Since $u$ is the basis for $L$, we can rewrite $proj_Lx$ as $proj_ux$. Then, since this seems like a problem dealing with a reflection over $L$, I used the following reflection matrix:
$$\begin{bmatrix} cos(\theta)&sin(\theta)\\ sin(\theta)&-cos(\theta)\\ \end{bmatrix}$$
Where:
$cos(\theta) = \frac{x\cdot proj_ux}{\left|\left|x\right|\right|\,\left|\left|proj_ux\right|\right|}u = \frac{x\cdot\frac{<u,x>}{<u,u>}u}{\left|\left|x\right|\right|\,\left|\left|\frac{<u,x>}{<u,u>}u\right|\right|} = \frac{x}{\left|\left|x\right|\right|}\cdot\frac{<u,x>u}{\left|\left|<u,x>u\right|\right|}$
$sin(\theta) = \sqrt{\left(\frac{x\cdot proj_ux}{\left|\left|x\right|\right|\,\left|\left|proj_ux\right|\right|}u\right)^2-1} = \sqrt{\left(\frac{x\cdot\frac{<u,x>}{<u,u>}u}{\left|\left|x\right|\right|\,\left|\left|\frac{<u,x>}{<u,u>}u\right|\right|}\right)^2-1} = \sqrt{\left(\frac{x}{\left|\left|x\right|\right|}\cdot\frac{<u,x>u}{\left|\left|<u,x>u\right|\right|}\right)^2-1}$
However, once I get here, I get a bit lost in how I might be able to continue, especially since the problem states that $Q$ will involve the identity matrix $I$. I feel there should be a better way of approaching this but I certainly can't come up with anything.
Thank you for any help you may be able to provide.