Representing Functions as Power Series (College Board AP® Calculus BC): Revision Note

Roger B

Written by: Roger B

Reviewed by: Mark Curtis

Updated on

Power series of composite functions & products

How can I find the power series for a composite function?

  • A composite function is a ‘function of a function’ or a ‘function within a function’

    • For example sin(2x) is a composite function,

      • with 2x as the ‘inside function’

      • and sinx as the ‘outside function’

    • Similarly ex2 is a composite function

      • with x2 as the ‘inside function’

      • and ex as the ‘outside function’

  • To find the power series for a composite function

  • STEP 1
    Start with the power series for the ‘outside function’

  • STEP 2
    Substitute the ‘inside function’ every place that x appears in the series for the ‘outside function’

    • For example, for sin(2x) you would substitute 2x everywhere that x appears in the series for sinx

      • Put brackets around the 'inside function' when you do this, (2x)

  • STEP 3
    Expand the brackets and simplify the coefficients for the powers of x in the resultant power series

    • It may be necessary to use substitution to find the new interval of convergence as well

    • See the Worked Example

Worked Example

Find the Maclaurin series for the function  f(x)=11+4x2, up to and including the term in x8. Be sure to include the interval of convergence.

Answer:

Start with the standard result for the 'outside function', 11x

11x = n=0xn=1+x+x2+x3+x4+...

11+4x2=11(4x2), so substitute the 'inside function' in brackets, (4x2) everywhere x appears in the original series and simplify

11+4x2 =1+(4x2)+(4x2)2+(4x2)3+(4x2)4+...=14x2+16x464x6+256x8...

Now consider the interval of convergence

The series for 11x converges for |x|<1, so substitute 4x2 as x into that

|4x2|<1    4x2<1    x2<14   12<x<12

14x2+16x464x6+256x8, with interval of convergence 12<x<12

How can I find the power series for a product of two functions?

  • To find the power series for a product of two functions

  • STEP 1
    Start with the series for the individual functions

    • For each of these series you should only use terms up to an appropriately chosen power of x

    • See the Worked Example

  • STEP 2
    Put each of the series into brackets and multiply them together

    • Only keep terms in powers of x up to the power you are interested in

  • STEP 3
    Collect terms and simplify coefficients

Examiner Tips and Tricks

For composite functions and products you could work out the power series 'from scratch' using the Taylor series formula n=0f(n)(a)n!(xa)n. However using standard results and the methods here is usually much quicker.

Examiner Tips and Tricks

For power series of products, it will save you work to use the minimum number of terms necessary for each of the series involved.

But if in doubt, always use more terms than you think you might need. You can always remove any unneeded extra terms at the end after carrying out the multiplication.

Worked Example

Find the Maclaurin series for the function  g(x)=exsin(2x), up to and including the term in x4.

Answer:

First use substitution to find the Maclaurin series for sin(2x)

The 'outside function' is sinx = n=0(1)nx2n+1(2n+1)!=xx33!+x55!... and the 'inside function' is 2x so substitute (2x) everywhere x appears and simplify

sin(2x)=(2x)(2x)33!+(2x)55!...=2x4x33+4x515...

The Maclaurin series for ex is also a standard result

ex=1+x+x22!+x33!+x44!+...=1+x+x22+x36+x424+...

Before multiplying those together, think about which terms you actually need

The question only asks for terms up to x4

  • That means you don't need the x5 term (or any higher-order terms) from the series for sin(2x)

  • Also the smallest power in the sin(2x) series is the 2x term

    • So you can stop the ex series with the x36 term

    • Because any higher-order term will multiply with 2x to give a term in x5 or higher

exsin(2x)(1+x+x22+x36)(2x4x33)=1(2x4x33)+x(2x4x33)+x22(2x4x33)+x36(2x4x33)=2x4x33+2x24x43+x32x53+x432x69=2x+2x2x33x42x532x69

For the answer, we only want terms up to x4

Note that the terms in x5 and x6 there are not actually the correct terms for the power series of exsin(2x)

  • To find those terms properly, we would need to use more terms from the two original series in the product

2x+2x2x33x4

Examiner Tips and Tricks

If the 'basic' series you are using converge for all values of x, then series found by using substitution or taking products will also converge for all values of x.

Differentiating & integrating power series

How can I use differentiation to find the power series of a function?

  • If you differentiate the power series for a function f(x) term by term,

    • you get the power series for the function’s derivative f'(x)

  • You can use this to find new power series from existing ones

    • For example, the derivative of sinx is cosx

    • So if you differentiate the Maclaurin series for sinx term by term you will get the Maclaurin series for cosx

Worked Example

Confirm that differentiating the Maclaurin series for cosx term by term yields the Maclaurin series for sinx.

Answer:

The Maclaurin series for cosx is a standard result, cosx = n=0(1)nx2n(2n)!=1x22!+x44!x66!+x88!...

cosx = 1x22!+x44!x66!+x88!...

Differentiate that term by term

ddx(cosx) =ddx(1x22!+x44!x66!+x88!...)=02x2!+4x34!6x56!+8x78!...=x+x33!x55+x77...

The series for sinx is also a standard result, sinx = n=0(1)nx2n+1(2n+1)!=xx33!+x55!x77!+...

sinx =xx33!+x55!x77!+...

  sinx =(xx33!+x55!x77!+...)=x+x33!x55!+x77!...

Indeed those two series match

Differentiating the Maclaurin series for cosx term by term gives the Maclaurin series for sinx

How can I use integration to find the power series of a function?

  • If you integrate the power series for a derivative f'(x) term by term

    • you get the power series for the function f(x)

  • Be careful however, as you will have a constant of integration to deal with

    • The value of the constant of integration will have to be chosen so that the series produces the correct value of

      • f(a), for a Taylor series about x=a

      • f(0), for a Maclaurin series

    • See the Worked Example

  • You can use this to find new power series from existing ones

    • For example, the derivative of sinx is cosx

    • So if you integrate the Maclaurin series for cosx (and correctly deal with the constant of integration) you will get the Maclaurin series for sinx

Examiner Tips and Tricks

The radius of convergence of a power series found using term-by-term differentiation or term-by-term integration is the same as the radius of convergence of the original power series.

However convergence or divergence at the endpoints is not always the same, and needs to be checked separately.

Worked Example

Find the Maclaurin series for 11+x2, and use that result to determine the Maclaurin series for arctanx up to and including the term in x7. Be sure to include the radius of convergence.

Answer:

Start with the standard Maclaurin series result for 11x, and substitute x2 everywhere

11x =1+x+x2+x3+x4+...

  11+x2 =1+(x2)+(x2)2+(x2)3+(x2)4+...=1x2+x4x6+x8...

Now use the standard integral result, 11+x2dx=arctanx+C

That means you can integrate the series for 11+x2 term by term to get the series for arctanx

Just remember to include a constant of integration, which it is easiest to write at the front of the series

arctanx=(1x2+x4x6+x8...) dx=C+xx33+x55x77+x99...

To find the value of C, substitute in x=0; remember that arctan(0)=0

arctan(0)=C+(0)(0)33+(0)55(0)77+(0)990=C

Now consider the radius of convergence

The series for 11x converges for |x|<1, so substitute x2 into that

|x2|<1    x2<1    1<x<1    |x|<1

Thus the radius of convergence for the 11+x2 series is 1 (i.e. the radius of convergence is 1, with the series centered on x=0);

The series we found by integrating that will have the same radius of convergence

And the question only wants terms up through x7, so

xx33+x55x77, with the radius of convergence equal to 1

Unlock more, it's free!

Join the 100,000+ Students that ❤️ Save My Exams

the (exam) results speak for themselves:

Build on this topic

Roger B

Author: Roger B

Expertise: Development Editor

Roger's teaching experience stretches all the way back to 1992, and in that time he has taught students at all levels between Year 7 and university undergraduate. Having conducted and published postgraduate research into the mathematical theory behind quantum computing, he is more than confident in dealing with mathematics at any level the exam boards might throw at you.

Mark Curtis

Reviewer: Mark Curtis

Expertise: Maths Content Creator

Mark graduated twice from the University of Oxford: once in 2009 with a First in Mathematics, then again in 2013 with a PhD (DPhil) in Mathematics. He has had nine successful years as a secondary school teacher, specialising in A-Level Further Maths and running extension classes for Oxbridge Maths applicants. Alongside his teaching, he has written five internal textbooks, introduced new spiralling school curriculums and trained other Maths teachers through outreach programmes.