To find the maximum of $$1 - 4\cos(2\theta) + 3\sin(2\theta) $$I tried: $$1-4(1)+3(1)=0.$$ To find the minimum I tried to substitute with the minimum values of sin and cos: $$1-4(-1)+3(-1)=2$$
I know I'm wrong, could someone explain why? And how I should go around obtaining the correct answer?
Thanks
Your objective is to maximize and minimize $y$ where $y = 1 - 4 \cos(2\theta) + 3\sin(2\theta)$, and find the one value of some one $\theta$ that will permit you to do that, not to evaluate by picking one $\theta$ at which the maximum/minimum value $\cos\theta$ is, a picking another $\theta = \alpha$ such that $\sin2\alpha$ is maximized or minimized, since then we have $2\theta_1 \neq 2\alpha = 2\theta_2$ appearing in the expression, where we must have the same $\theta$ to evaluate for $y$ AT THAT ONE $\theta$
Example:
Notice,
when $\theta = \pi/2$, $y = 1 - 4\cos(\pi) + 3\sin(\pi) = 1 - 4(-1) + 0 = 1 + 4 + 0 = 5$
When $\theta = 0, \;\;y = 1 - 4\cos(0) + 3\sin(0) = - 3$.
But we can do better than that...$y$ can be maximized a bit more, and we can do better on minimizing: $y$.. See if you can find a way to express $y$ as a function of either $\cos$ or $\sin$?
See arbautjc's trick in the comments above: when you have and expression which includes $a\cos(2\theta) + b\sin(2\theta)$ and can be expressed solely as a function of $\cos$: $$a\cos(2\theta) + b\sin(2\theta) = \sqrt{a^2+b^2} \cos (2\theta - \phi)$$ $$\text{ where}\;\;\cos \phi = \dfrac{a}{\sqrt{a^2 + b^2}}\;\text{ and}\;\;\sin \phi = \dfrac{b}{\sqrt{a^2 + b^2}}$$
Plotting the graph of $y$ will always provide you with some intuition, as well.