Can somebody point me in the right direction in finding the maximum value of $y$ for a given value of $\alpha$ for the following trigonometric expression.
$$ y = 3 \cos\alpha \sin\alpha + \sqrt 3 \sin^2\alpha$$
Thanks
Many thanks to all those that contributed to the solution to this problem. Below is how I solved this question.
The "trick" is to use the double angle formulas.
$$ y = \bigl(\frac{3}{2}\bigr) 2 \cos\alpha \sin\alpha + \sqrt3 \bigl(\frac{1}{2}[1 - \cos 2\alpha]\bigr)$$
$$ y = \bigl(\frac{3}{2}\bigr) \sin(2\alpha) + \frac{\sqrt3}{2} - \frac{\sqrt3}{2} \cos (2\alpha)$$
$$ y = \frac{\sqrt3}{2} +\bigl(\frac{3}{2}\bigr) \sin(2\alpha) - \frac{\sqrt3}{2} \cos (2\alpha)$$
$$ y = \frac{\sqrt3}{2} +\frac{1}{2} \bigl(3\sin(2\alpha) - \sqrt3 \cos (2\alpha)\bigl)$$
Now let $$ x = 3\sin(2\alpha) - \sqrt3 \cos (2\alpha)$$
Differentiate $x$ with respect to $\alpha$ and set
$$\frac{dx}{d\alpha} = 0 $$
$$\frac{dx}{d\alpha} = 6\cos(2\alpha) + 2\sqrt3\sin(2\alpha) = 0$$
$$6\cos(2\alpha) = -2\sqrt3\sin(2\alpha) $$
$$\tan(2\alpha) = -\frac{6}{2\sqrt3}$$
Simplifying
$$\tan(2\alpha) = -\sqrt3$$
This angle is in the 2nd quadrant.
$$2\alpha = 180^{\circ}- \tan^{-1}\sqrt3$$
$$2\alpha = 180^{\circ}- 60^{\circ}$$
$$2\alpha = 120^{\circ}$$
$$\alpha = 60^{\circ}$$
So maximum value of original equation $y = 3 \cos\alpha \sin\alpha + \sqrt 3 \sin^2\alpha$ occurs when $\alpha = 60^{\circ}$.
$y = \dfrac{3\sin(2\alpha)}{2}+\sqrt{3}\cdot \dfrac{1-\cos(2\alpha)}{2}= \dfrac{\sqrt{3}}{2}+\dfrac{1}{2}\left(3\sin(2\alpha)-\sqrt{3}\cos(2\alpha)\right)\le \dfrac{\sqrt{3}}{2}+\dfrac{1}{2}\cdot \sqrt{3^2+(-\sqrt{3})^2}\cdot \sqrt{\sin^2(2\alpha)+\cos^2(2\alpha)}=\dfrac{\sqrt{3}}{2}+\dfrac{\sqrt{12}}{2}=\dfrac{3\sqrt{3}}{2}\implies y_{\text{max}} = \dfrac{3\sqrt{3}}{2}$ .