How to differentiate a power series?

$\begingroup$

I have a task where I need to write the power series:

$\sum\limits_{n=0}^\infty\frac{(-1)^n}{(2n)!}x^n$

differentiated 2 times where $x=0$.

This is what I have done so far:

$f'(x) = \sum\limits_{n=1}^\infty n\frac{(-1)^n}{(2n)!}x^{n-1} \\ f''(x) = \sum\limits_{n=1}^\infty n(n-1)\frac{(-1)^n}{(2n)!}x^{n-2} = \sum\limits_{n=1}^\infty\frac{((-1)^n (n - 1) n x^{n - 2})}{((2 n)!)}$

However I'm not quite sure how to proceed.

Update: So I found the solution by replacing x with 0 which meant that the only term that wouldn't be undefined was 2 which resulted in the sollution:

$ f''(0) = \frac{(-1)^2(2-1)2}{(2*2)!} = \frac{2}{4!} = \frac{2}{4*3*2*1} = \frac{1}{4*3} = \frac{1}{12}$

$\endgroup$ 2

3 Answers

$\begingroup$

It's easiest to see this when you write out the series.

For an arbitrary power series: $$ \begin{align} f(x) =& a_0 + a_1x + a_2x^2 + a_3x^3 + \dots \\ \\ f'(x) =& a_1 + 2a_2x + 3a_3x^2 + 4a_4x^3 + \dots \\ \\ f''(x) =& 2a_2 + 6a_3x + 12a_4x^2 + 20a_5x^3 + \dots \\ \\ f''(0) =& 2a_2 \end{align} $$

$\endgroup$ $\begingroup$

If your task is to compute the second derivative at $x=0$, you don't need to differentiate the series: just recall that a power series is the Taylor series at $0$ of its sum in the interval of convergence. Hence $$ f(x)=\sum_{n=0}^\infty \frac{f^{(n)}(0)}{n!}x^n $$ so that, in this case, $$ \frac{f^{(n)}(0)}{n!}=\frac{(-1)^n}{(2n)!} $$ and, for $n=2$, $$ \frac{f''(0)}{2!}=\frac{(-1)^2}{4!} $$ that is, $$ f''(0)=\frac{1}{12} $$

$\endgroup$ $\begingroup$

\begin{eqnarray*} \sum\limits_{n=1}^\infty\frac{(-1)^n n(n - 1) x^{n - 2}}{(2 n)!} \mid _{x=0} \end{eqnarray*} Note that the first term is zero, the third & higher terms are all zero, so only the second term contributes & gives the value $\color{red}{1/12}$.

Another way to figure is the function is $y=\cos(\sqrt{x})$ now differntiate this twice (chain rule and quotient) \begin{eqnarray*} \frac{d^2y}{dx^2} =\frac{ \sin(\sqrt{x})-\sqrt{x} \cos(\sqrt{x})}{4 x^{3/2}} \end{eqnarray*} Now use $\sin(\sqrt{x})=\sqrt{x}-x^{3/2}/6 +\cdots$ and $ \sqrt{x} \cos( \sqrt{x} ) = \sqrt{x} -x^{3/2}/2$ and again we get $\color{red}{1/12}$.

$\endgroup$

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like