Maclaurin Series from Differential Equations (DP IB Analysis & Approaches (AA): HL): Revision Note

Roger B

Written by: Roger B

Reviewed by: Dan Finlay

Updated on

Maclaurin series for differential equations

Can I apply Maclaurin Series to solving differential equations?

  • If you have a differential equation of the form dydx=g(x,y) along with the value of y(0) it is possible to build up the Maclaurin series of the solution y=f(x) term by term

    • This does not necessarily tell you the explicit function of x that corresponds to the Maclaurin series you are finding

    • But the Maclaurin series you find is the exact Maclaurin series for the solution to the differential equation

  • The Maclaurin series can be used to approximate the value of the solution y = f(x) for different values of x

    • You can increase the accuracy of this approximation by calculating additional terms of the Maclaurin series for higher powers of x

How can I find the Maclaurin Series for the solution to a differential equation?

Examiner Tips and Tricks

It is most convenient to use the 'tick notation' for derivatives here, where y'=dydx, y''=d2ydx2, y'''=d3ydx3, etc.

  • STEP 1
    Use implicit differentiation to find expressions for y'', y''' etc., in terms of x, y and lower-order derivatives of y 

    • The number of derivatives you need to find depends on how many terms of the Maclaurin series you want to find

    • For example, if you want the Maclaurin series up to the x4 term, then you will need to find derivatives up to y(4) (the fourth derivative of y)

  • STEP 2
    Using the given initial value for y(0), find the values of y'(0), y''(0), y'''(0), etc., one by one 

    • Each value you find will then allow you to find the value for the next higher derivative

  • STEP 3
    Put the values found in STEP 2 into the general Maclaurin series formula


    f(x)=f(0)+xf'(0)+x22!f''(0)+...

    • This formula is in your exam formula booklet

    • y=f(x) is the solution to the differential equation, so y(0) corresponds to f(0) in the formula, y'(0) corresponds to f'(0), and so on

  • STEP 4
    Simplify the coefficients for each of the powers of x in the resultant Maclaurin series

Worked Example

Consider the differential equation y'=y2x with the initial condition y(0)=2.

a) Use implicit differentiation to find expressions for y'', y''' and y(4).

Answer:

5-11-2-ib-aa-hl-maclaurin-series-from-diff-eqns-a-we-solution

b) Use the given initial condition to find the values of y'(0), y''(0), y'''(0) and y(4)=0.

Answer:

5-11-2-ib-aa-hl-maclaurin-series-from-diff-eqns-b-we-solution

Let y=f(x) be the solution to the differential equation with the given initial condition.

c) Find the first five terms of the Maclaurin series for f(x).

Answer:

5-11-2-ib-aa-hl-maclaurin-series-from-diff-eqns-c-we-solution

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.

Dan Finlay

Reviewer: Dan Finlay

Expertise: Portfolio Lead

Dan graduated from the University of Oxford with a First class degree in mathematics. As well as teaching maths for over 8 years, Dan has marked a range of exams for Edexcel, tutored students and taught A Level Accounting. Dan has a keen interest in statistics and probability and their real-life applications.