"Find the derivative of $y=x\sqrt{9-x}$."
So this is what I have and now I'm stuck.
\begin{align} y' &= x \frac{d}{dx}\left[(9-x)^{1/2}\right] + (9-x)^{1/2} \frac{d}{dx}(x)\\ &= x \left[\frac{1}{2}(9-x)^{-1/2}\right] + (9-x)^{1/2} (1) \end{align}
So I now that I need to multiply and simplify but I don't know where to start. Help!
This problem is actually part of a homework question where I have to analyze a graph and find critical points and min and max.
Set $$f(x)= x, \quad g(z) = \sqrt{z}\quad \text{ and }\quad h(x)= 9-x,$$ then $$y = f(x)g(h(x)).$$ You should be able to compute $$f'(x)= 1, \quad g'(z) = \frac{1}{2\sqrt{z}}\quad \text{ and }\quad h'(x)=-1.$$ Now using the multiplication rule and the chain rule for derivatives, we know that $$y' = g(h(x))f'(x)+f(x)(g(h(x)))' = g(h(x))f'(x)+f(x)(g'(h(x))h'(x)),$$ replacing by the expressions above, we get $$y' = \sqrt{9-x}\cdot 1+x\left(\frac{1}{2\sqrt{9-x}}\cdot (-1)\right)= \sqrt{9-x}-\frac{x}{2\sqrt{9-x}}$$