I am self-learning linear algebra and my textbook asks to simplify the following matrix product with no explanation.
$\begin{pmatrix} \cos\theta & \sin\theta \\ \sin\theta & -\cos\theta \\ \end{pmatrix} \begin{pmatrix} \cos\theta\\ \sin\theta\\ \end{pmatrix}$
Basically I know how to calculate the product of the matrix, etc but what I don't get is how to achieve the answer they have given which is as follows.
$\begin{pmatrix} 1\\ 0\\ \end{pmatrix}$
What is it that I am missing, or is the answer in the book wrong?