While working on the problem $g(x)= \sqrt{x^{2}-4x+4}$, I got stuck and plugged the formula into Wolfram Alpha. It simplified alot of things for me, but there is one section I'm having trouble with, since one of my weaknesses is radicals.
According to the Chain Rule, $\frac{dy}{dx}=\frac{dy}{du}\cdot\frac{du}{dx}$, and therefore $u= x^{2}-4x+4$ and $y= \sqrt{u}$, resulting in $\frac{d\sqrt{u}}{du}$. That then transforms to $\frac{1}{2\sqrt{u}}$.
How does that work?