Need help solving this problem of finding an expression for $y=f(x)+g(x)$ if
$$g(x) = 4 \sin(3x)$$ $$f(x) = 2 \cos(3x)$$
Also determine the minimum value $y=f(x)+g(x)$ can have.
I have re-written $2\cos(3x)$ to $2\sin((\pi/2)-3x)$ but I don't know if that is what I should do.
Hint With $\alpha=3x$ The range of expression $$a\sin\alpha+b\cos\alpha$$ Is $$[-\sqrt {a^2+b^2},\sqrt {a^2+b^2}]$$
And for solving $$\cos\alpha=2\sin\alpha$$ Try squaring both sides, use $\sin^2\alpha=1-\cos^2\alpha$ And then reject the unwanted solutions obtained after solving the above obtained equation