Ive been given this rule and asked to differentiate $\sqrt{x^2+1}$, however I am not sure what I am missing.It is said that if f is differentiable at x and f(x)>0.
$\frac{d}{\text{dx}}$$\sqrt{f(x)}=\frac{f'(x)}{2 \sqrt{f(x)}}$
What I thought would be correct is that:
$\frac{d}{\text{dx}}$$\sqrt{x^2+1}$ = $\frac{1}{2 \sqrt{x^2+1}}$,
However in the textbook the answer is:
$\frac{x}{ \sqrt{x^2+1}}$
I do not get how this square rule is made, and why $f'(x)$ is in the numerator.