← Back to Math 055

6.1 Review of Power Series: Class Notes

6.1a

A power series has the form

∑n=0∞cn(x−a)n=c0+c1(x−a)+c2(x−a)2+⋯

In our work, a=0, so

∑n=0∞cnxn=c0+c1x+c2x2+c3x3+⋯

The terms from x2 on form a series of their own, so this can also be written as

c0+c1x+∑n=2∞cnxn

Definition

A function is analytic at a point a if it can be represented with a power series centered at a with radius R≠0.

Example

Rewrite the given expression using a single power series whose general term involves xk.

∑n=1∞ncnxn−1+3∑n=0∞cnxn+2

Solution

Two steps:

  1. Make the exponents match.
  2. Make the indices match.

Exponents: in the first series, let k=n−1, so n=k+1. Its starting index n=1 becomes k=0. In the second series, let k=n+2 (so n=k−2); its starting index n=0 becomes k=2.

∑k=0∞(k+1)ck+1xk+∑k=2∞3ck−2xk

Both general terms now involve xk. Indices: the second series starts at k=2, so write out the k=0 and k=1 terms of the first series. Then both series start at k=2:

c1+2c2x+∑k=2∞(k+1)ck+1xk+∑k=2∞3ck−2xk

Combine the two series into one:

Answer: c1+2c2x+∑k=2∞[(k+1)ck+1+3ck−2]xk

6.1b

Find a power series solution y=∑n=0∞cnxn of the given linear first-order differential equation.

4y′+y=0

Solution

Written out, the series is y=c0+c1x+c2x2+⋯. Differentiate it term by term:

y=∑n=0∞cnxn⇒y′=∑n=1∞ncnxn−1

Substitute into the equation:

∑n=1∞4ncnxn−1+∑n=0∞cnxn=0

Make the exponents match, then the indices: let k=n−1 in the first series and k=n in the second. Both series then start at k=0.

∑k=0∞4(k+1)ck+1xk+∑k=0∞ckxk=0

∑k=0∞[4(k+1)ck+1+ck]xk=0

Every coefficient must be zero:

4(k+1)ck+1+ck=0

Solve for the constant with the highest subscript, ck+1. This gives the recurrence relation:

Recurrence relation

ck+1=−14(k+1)ck,k=0,1,2,…

k=0:c1=−14c0k=1:c2=−14·2c1=142·2c0k=2:c3=−14·3c2=−143·3·2c0

In general,

cn=(−1)n4n·n!c0

Put the coefficients back into the series:

y=c0+c1x+c2x2+⋯y=c0−14c0x+132c0x2−1384c0x3+⋯y=c0(1−14x+132x2−⋯)

Using the general formula for cn, the series is the Maclaurin series of e−x/4:

y=c0∑n=0∞(−1)n4nn!xn=c0e−x/4

Answer: y=c0(1−14x+132x2−⋯)=c0e−x/4

6.1c

Example

The given function is analytic at a=0. Use appropriate series and multiplication to find the first four nonzero terms of the Maclaurin series of the given function.

e−xcos⁡x

Solution

Start from the two known Maclaurin series:

e−x=∑n=0∞(−x)nn!=1−x+12x2−16x3+⋯

cos⁡x=∑n=0∞(−1)nx2n(2n)!=1−x22!+x44!−⋯

Multiply. The product needs terms through x4, so include the next term of e−x, 14!x4, too:

e−xcos⁡x=(1−x+12x2−16x3+14!x4−⋯)(1−12x2+124x4−⋯)

Multiply each term of the first factor by every term of the second:

1 times the second factor: 1−12x2+124x4

−x times the second factor: −x+12x3−124x5

12x2 times the second factor: 12x2−14x4+148x6

−16x3 times the second factor: −16x3+112x5−196x7

124x4 times the second factor: only the product with 1, 124x4, is needed (the others are beyond x4).

Collect by powers of x. The x2 terms cancel: −12x2+12x2=0. That leaves

constant: 1x: −xx3: 12−16=13x4: 124−14+124=−16

Answer: e−xcos⁡x=1−x+13x3−16x4+⋯