[Math] Power Series Expansion $e^{2x}$

calculuspower series

I'm currently finding the power series expansion centered at 0 for a bunch of functions. My answers are starting not to add up with the 'correct' ones and I'm looking for some assistance as to what I'm doing wrong, or if my answers are correct but just written differently…
For the problem: $$f(x) = e^{2x}$$
I derived it 4 times:
$$\frac{f^1(x)}{n!} = \frac{2e^{2x}}{1!}$$
$$\frac{f^2(x)}{n!} = \frac{4e^{2x}}{2!}$$
$$\frac{f^3(x)}{n!} = \frac{8e^{2x}}{3!}$$
$$\frac{f^4(x)}{n!} = \frac{16e^{2x}}{4!}$$
That was enough for me to "come up with the pattern." So I wrote for my power series expansion:
$$\sum_{n=0}^\infty \frac{2^ne^{2n}}{n!}$$
However, my professors answer is:
$$e^{2x} = \sum_{n=0}^\infty \frac{(2x)^n}{n!} = \sum_{n=0}^\infty (2)^n\frac{x^n}{n!}$$
I'm not really sure where the $x$ comes from in his solution, replacing $e$.
Thanks for your help

Best Answer

As you mentioned in your comment, and as others have pointed out, you know that the Taylor series about $0$, or the Maclaurin series for a function $f(x)$, is defined:

$f(x)=\displaystyle \sum_{n=0}^∞ \frac{x^n \cdot f^{(n)}(0)}{n!}$

Where $f^{(n)}(0)$ represents the $n$th derivative of $f$ evaluated at $0$.

You did right in noticing that the $n$th derivative of $f(x)=e^{2x}$ is:

$f^{(n)}(x)=2^n e^{2x}$

Now, notice, as you let $x=0$, the $n$th derivative evaluated at $0$ is:

$f^{(n)}(0)=2^n$

Now, using the definition you provided for the Maclaurin series, we have that:

$f(x)=e^{2x}=\displaystyle \sum_{n=0}^∞ \frac{2^{n} x^n}{n!}$

as req'd.

Related Question