Let $J:\mathbb R^2\to \mathbb R^2$ be the linear transformation defined by $J(p_1,p_2)=(−p_2,p_1),\forall (p_1,p_2)\in \mathbb R^2$. Let $p,q\in \mathbb R^2\setminus\{(0,0)\}$. Show that there exists a unique number $\theta$ satisfying $\cos\theta=\dfrac{\langle p,q\rangle}{\lVert p\rVert\lVert q\rVert}$ and $\sin\theta=\dfrac{\langle p,J(q)\rangle}{\lVert p\rVert\lVert q\rVert}, 0≤\theta<2\pi$. The oriented angle from $q$ to $p$ is $\theta$.
We can prove $J$ is inner product and norm preserving because $J(J(x))=-x$ for $x\in\mathbb R^2$. But I don't understand how to proof the existence of the angle above.
By the Cauchy-Schwarz inequality $$ -1\le \frac{\langle p,q\rangle}{\|p\|\,\|q\|}\le1\ , $$ and \begin{align} \langle p, J(q)\rangle^2+ \langle p,q \rangle^2&=p_1^2q_2^2+p_2^2q_1^2+p_1^2q_1^2+p_2q_2^2\\ &=\left(p_1^2+p_2^2\right)\left(q_1^2+q_2^2\right)\\ &=\left\|p\right\|^2 \left\|q\right\|^2\ . \end{align}