Consider the function $$f(x)=\cfrac{x}{1+\cfrac{x}{1+\cfrac{x}{1+\ddots}}} $$ Determine the value of $f'(0)$.
I tried to differentiate $f(x)$ but it is not subject to chain rule, and now I'm stuck. How would I solve this?
Also how to rapidly evaluate $f(x)$ for a given $x$?
From the definition, you get
$$\frac{x}{1+f(x)}=f(x)$$
Thus
$$x=(1+f(x))f(x)$$
Now differentiate
$$1=f'(x)+2f(x)f'(x)=f'(x)(1+2f(x))$$
Or
$$f'(x)=\frac{1}{1+2f(x)}$$
Now, $f(0)=0$, from definition of $f$.
One remark though: I did not prove the continued fraction is differentiable or even convergent. I just assume it's true, then you can compute easily the derivative at $0$.