I am attempting to find the derivative of $\sqrt{3\cos^3 x}$.
Using the chain rule, I got:
$$\frac{1}{2} \sqrt{(3\cos x)^3} × 3(3\cos x)^2 × (-3\sin x).$$
Apparently this is where I went wrong, the correct answer stated that instead of the derivative of the inner function should have been $-\sin x$ instead of $-3\sin x$. To my understanding the derivative of $3\cos x$ is $-3\sin x$. Is my reasoning incorrect?
$$\begin{align*} \frac{\mathrm{d}}{\mathrm{d}x}\sqrt{3\cos^3x} &= \sqrt{3}\cdot\frac{\mathrm{d}}{\mathrm{d}x}\cos^\frac32x\\ &= \sqrt{3}\cdot\frac32\cos^{\frac32 - 1}x\cdot\frac{\mathrm{d}}{\mathrm{d}x}\cos x\\ &= \sqrt{3}\cdot\frac32\cos^\frac12x\cdot(-\sin x) \\ &= -\frac{3^\frac32}{2}\sin x\sqrt{\cos x} \end{align*}$$