My Mathematics Textbook covers the topic of Values of Trigonometric Functions at Allied Angles using some general formulae first and then goes on to the topic of finding the values of trigonometric functions at allied angles using an algorithm.
The cases discussed in finding the values using some general formulae are :
The algorithm is as follows :
Let's take an example : Find the value of $\sin \dfrac{7\pi}{4}$.
One method to do this will be using the first method.
$\sin \dfrac{7\pi}{4} = \sin \Big (2\pi - \dfrac{\pi}{4} \Big )$
We know that $\sin (2\pi-x)=(-\sin x)$. So, $\sin \Big (2\pi - \dfrac{\pi}{4} \Big ) = \Big ( -\sin \dfrac {\pi}{4} \Big ) = -\dfrac {1}{\sqrt{2}}$
Another method would be to use the algorithm
$\dfrac{7\pi}{4}=\dfrac{3\pi}{2}+\dfrac{\pi}{4}$, so $\dfrac {3\pi}{2} < \dfrac{7\pi}{4} < 2\pi$ and $\dfrac{7\pi}{4}$ lies in the $IV$ quadrant, which means that $\sin \dfrac{7\pi}{4} < 0$
Now, $\dfrac{7\pi}{4} = \dfrac {3.\pi}{2} + \dfrac{\pi}{4}$. $3$ is odd, so $\sin \dfrac{7\pi}{4} = -\sin \dfrac {\pi}{4} = -\dfrac{1}{\sqrt{2}}$
Now, this algorithm seems like something extremely complex for solving simple questions like these. So, why do we use this algorithm when we can just use the simple formulae that help us find the values of trigonometric functions at allied angles? Are there some advantageous applications of this algorithm?
I feel like it's just a generalization for all the cases that appear in the case of allied angles, just like the lens formula is a generalization of all the cases of image formation through lenses.
Thanks!
EDIT : Also, when should I use which method?