# Video: Differentiating Power Series

Find 2𝑦″ − 7𝑦′ + 5𝑦 given 𝑦 = 1 + (𝑥/1!) + (𝑥²/2!) + (𝑥³/3!) + ....

02:59

### Video Transcript

Find two 𝑦 double prime minus seven 𝑦 prime plus five 𝑦 given that 𝑦 is equal to one plus 𝑥 divided by one factorial plus 𝑥 squared over two factorial plus 𝑥 cubed over three factorial and the sum continues indefinitely.

The question gives us 𝑦 as a power series of 𝑥. And it wants us to find an expression involving the derivative of 𝑦 and the second derivative of 𝑦. We might be tempted at this point to use our rules for differentiating a power series. However, there’s a simpler method in this case. We start by writing 𝑦 out term by term. We want to write this out in sigma notation. We can start by noticing that the powers of 𝑥 seem to be increasing by one each term. In fact, we can see this is true for all of our terms. 𝑥 is equal to 𝑥 to the first power and 𝑥 to the zeroth power is equal to one.

Next, we notice our denominators seem to be factorials which increase by one each time. In fact, these values seem to be the same as our exponents. We can continue this pattern for our first time as well by noticing that zero factorial is equal to one. Using this, we can change our first term to 𝑥 to the zeroth power divided by zero factorial. And now, we can see that 𝑦 is equal to the sum from 𝑛 is equal to zero to infinity of 𝑥 to the 𝑛th power divided by 𝑛 factorial. And this is the point we might be tempted to differentiate our power series term by term and this would work.

We could do this once to get a power series for our first derivative, and then we could differentiate this again to get a power series for our second derivative. However, our power series for 𝑦 is actually a special power series. We recall that the power series for 𝑒 to the power of 𝑥 is equal to the sum from 𝑛 is equal to zero to infinity of 𝑥 to the 𝑛th power divided by 𝑛 factorial for all real values of 𝑥. And this is an important power series which we should commit to memory.

In fact, we can see that the power series for 𝑦 is equal to the power series for 𝑒 to the power of 𝑥. So because our power series is true for all of the real values of 𝑥, we must have that 𝑦 is equal to 𝑒 to the power of 𝑥. And we know if 𝑦 is equal to 𝑒 to the power of 𝑥, then our first derivative of 𝑦 is equal to 𝑒 to the power of 𝑥 and our second derivative of 𝑦 is equal to 𝑒 to the power of 𝑥. So we can evaluate the expression two 𝑦 double prime minus seven 𝑦 prime plus five 𝑦 by using the fact that 𝑦 double prime, 𝑦 prime, and 𝑦 are all equal to 𝑒 to the power of 𝑥.

So this gives us two times 𝑒 to the power of 𝑥 minus seven 𝑒 to the 𝑥 plus five 𝑒 to the 𝑥, which we can evaluate to just give us zero. Therefore, we’ve shown if 𝑦 is equal to one plus 𝑥 over one factorial plus 𝑥 squared over two factorial plus 𝑥 cubed over three factorial and this sum goes on indefinitely, then two 𝑦 double prime minus seven 𝑦 prime plus five 𝑦 is just equal to zero.