Let $K$ be a field of characteristic$\ne 2$ and $u$ be an invertible element of $K$.
Show that $\begin{pmatrix}1&0\\0&-1\end{pmatrix}$ and $\begin{pmatrix}u&0\\0&-u\end{pmatrix}$ are congruent.
I tried to find a suitable transition matrix but I'm stuck, any ideas please?
Use the matrix
$$A=\begin{pmatrix} \frac{u+1}{2}& \frac{u-1}{2}\\ \frac{u-1}{2}& \frac{u+1}{2}\\ \end{pmatrix}$$