I want a Taylor series expansion of $\sqrt{1+\sqrt{x}}$ around $x=0$. I have two doubts here and these are as follows:
- I see that the first and higher order derivatives of the above function blows up at $x=0$ and so I should not be able to find its Taylor expansion. But mathematica gives me the finite answer. How?
- Let's say I want a series expansion upto 1st order in $x$. I guess mathematica does not put $x=0$ whenever it blows up. Taylor series of any function $f(x)$ around $x=0$ is given as: $$ f(0)+f'(0)x+\frac{f''(0)}{2!}x^2+\frac{f'''(0)}{3!}x^3+... $$ Here I see that each terms containing derivatives contribute something finite to the terms of order $x^{1/2}$ and $x$. How would I combine all these contribution in order to get the final coefficients of terms of order $x^{1/2}$ and $x$.
Do you seek a Taylor series in $x$, or one in $\sqrt{x}$? The former is impossible because (i) the first derivative diverges at $x=0$ (as would be expected from the small-$x$ approximation $1+\frac{x}{2\sqrt{x}}$) and (ii) the Taylor series in $\sqrt{x}$ naturally introduces half-odd-integer powers of $x$. Just as $\sqrt{1+y}\approx 1+\frac{y}{2}-\frac{y^2}{8}$, $\sqrt{1+\sqrt{x}}\approx 1+\frac{\sqrt{x}}{2}-\frac{x}{8}$. This begins a Taylor series, just one in $\sqrt{x}$, not in $x$.