I'm trying to find the first couple of coefficients of the power series expansion of $\sin (x e^x)$. The answers are given, but I'm not sure how to derive them.
What I've got so far:
$\sum_{n=0} ^{\infty} \frac{(-1)^n}{ (2n+1)!} * (x * \sum_{k=0} ^{\infty} \frac{x^k}{k!})^{2n+1}$
$\sum_{n=0} ^{\infty} \frac{(-1)^n}{ (2n+1)!} * (\sum_{k=0} ^{\infty}c_k ^{2n+1} x^{k+1})$
Now first question: is this right? Should $c_k$ be to the power of $2n+1$?
Then rewrite and reorder to
$\sum_{k=0} ^{\infty} (\sum_{n=0} ^{\infty} \frac{(-1)^n}{ (2n+1)!} * c_k ^{2n+1})x^{n+1}$
If this is right and the right way to calculate the coefficients, I have trouble calculating them (that $d_0$ is zero I can see, seeing how $c_0 ^n$ is zero for all positive integers. But $d_1$ (first coefficient) is already quite a bit trickier for me; is $c_1^3 = 3$, corresponding to the three ways to get 1, given three elements? The answer for the coefficient $d_1$ is (according to my book) 1, but $(-1)\ 3! * 3 $ definitely isn't one.
I'm not even sure if this is the right way to calculate the coefficients; any help is greatly appreciated.
Using the power series for $e^x$ \begin{eqnarray*} xe^x = x+x^2+ \frac{x^3}{2} + \cdots \end{eqnarray*} The first couple of terms in the power series for $\sin x$ are \begin{eqnarray*} \sin x = x- \frac{x^3}{6} + \cdots \end{eqnarray*} Now substitute ... \begin{eqnarray*} \sin ( x e^{x})= x+x^2+ \frac{x^3}{2} + \cdots- \frac{1}{6} \left(x+x^2+ \frac{x^3}{2} + \cdots \right)^3+ \cdots \end{eqnarray*} We already have the first two terms ... but we shall calculate the third ... to be on the safe side \begin{eqnarray*} \sin ( x e^{x})= x+x^2+ \left( \frac{1}{2}-\frac{1}{6}\right) x^3+ \cdots \end{eqnarray*} So the coefficients of the first two (non zero) terms in the expansion are $\color{red}{1}$ & $\color{red}{1}$ ... & $\color{green}{\frac{1}{3}}$ if you want the third.