i am giving $e^{\sqrt{x^2+1}}$ and asked to find the Maclaurin series for this term.
Here is my solution:
let $u=\sqrt{x^2+1}$, and given that we know that Maclaurin series for $e^x= 1+x+\frac{x^2}{2!} ...$ then: $$e^u= 1+u+\frac{u^2}{2}+...$$ hence: $$e^{\sqrt{x^2+1}}=1+\sqrt{x^2+1}+\frac{x^2+1}{2}+...$$
Am I doing it right? please help
That's the right path. So far, we have
$$e^{\sqrt{x^2+1}}=\sum_{k=0}^\infty\frac{(x^2+1)^{k/2}}{k!}$$
However, this is certainly not a Maclaurin expansion for the reason that $\sqrt{x^2+1}$ is not a polynomial. This can be taken care of using the generalized binomial expansion, which has
$$(x^2+1)^{k/2}=\sum_{n=0}^\infty\binom{k/2}nx^{2n}$$
And thus,
$$e^{\sqrt{x^2+1}}=\sum_{k=0}^\infty\frac1{k!}\sum_{n=0}^\infty\binom{k/2}nx^{2n}$$
Likely, you do not like your terms like this and would like to collect like terms. This may be done:
$$e^{\sqrt{x^2+1}}=\sum_{n=0}^\infty a_nx^n$$
where
$$a_{2n+1}=0\\a_{2n}=\sum_{k=0}^\infty\binom{k/2}n\frac1{k!}$$
Likely, $a_n=eq_n$ for rational $q$. Since the above method does not provide good forms for $a_n$, it may be better to differentiate and equate terms:
$$f(x)=e^{\sqrt{x^2+1}}\\f'(x)=\frac x{\sqrt{x^2+1}}f(x)$$
One can see that
$$f(x)=\sum_{k=0}^\infty a_kx^k$$
$$f'(x)=\sum_{k=1}^\infty a_kkx^{k-1}=\sum_{k=0}^\infty a_{k+1}(k+1)x^k$$
$$\frac x{\sqrt{x^2+1}}=x(1+x)^{-1/2}=x\sum_{k=0}^\infty\binom{-1/2}kx^k$$
Thus, by Cauchy products,
$$\frac x{\sqrt{x^2+1}}f(x)=x\sum_{k=0}^\infty\sum_{n=0}^k\binom{-1/2}na_{k-n}x^k=\sum_{k=0}^\infty a_{k+1}(k+1)x^k=f'(x)$$
Equating parts, we find that
$$a_k=\begin{cases}e,&k=0\\0,&k=1\\\frac1k\sum_{n=0}^{k-2}\binom{-1/2}na_{k-2-n},&k>1\end{cases}$$