Maclaurin Series from Differential Equations (DP IB Maths: AA HL)

Revision Note

Roger

Author

Roger

Expertise

Maths

Maclaurin Series for Differential Equations

Can I apply Maclaurin Series to solving differential equations?

  • If you have a differential equation of the form fraction numerator d y over denominator d x end fraction equals g left parenthesis x comma y right parenthesis along with the value of y left parenthesis 0 right parenthesis it is possible to build up the Maclaurin series of the solution y equals f left parenthesis x right parenthesis 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?

  • STEP 1: Use implicit differentiation to find expressions for y apostrophe apostrophe comma space y apostrophe apostrophe apostrophe etc., in terms of x comma space 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  term, then you will need to find derivatives up to y to the power of left parenthesis 4 right parenthesis end exponent (the fourth derivative of y)
  • STEP 2: Using the given initial value for y left parenthesis 0 right parenthesis, find the values of y apostrophe left parenthesis 0 right parenthesis comma space y apostrophe apostrophe left parenthesis 0 right parenthesis comma space y apostrophe apostrophe apostrophe left parenthesis 0 right parenthesis comma 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 left parenthesis x right parenthesis equals f left parenthesis 0 right parenthesis plus x f apostrophe left parenthesis 0 right parenthesis plus fraction numerator x squared over denominator 2 factorial end fraction f apostrophe apostrophe left parenthesis 0 right parenthesis plus...

    • This formula is in your exam formula booklet
    • y equals f left parenthesis x right parenthesis is the solution to the differential equation, so y left parenthesis 0 right parenthesis corresponds to f left parenthesis 0 right parenthesis in the formula, y apostrophe left parenthesis 0 right parenthesis corresponds to f apostrophe left parenthesis 0 right parenthesis, 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 apostrophe equals y squared minus x with the initial condition y left parenthesis 0 right parenthesis equals 2.

a)
Use implicit differentiation to find expressions for y apostrophe apostrophe, y apostrophe apostrophe apostrophe and y to the power of left parenthesis 4 right parenthesis end exponent.

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 apostrophe left parenthesis 0 right parenthesis comma space y apostrophe apostrophe left parenthesis 0 right parenthesis comma space y apostrophe apostrophe apostrophe left parenthesis 0 right parenthesis and y to the power of left parenthesis 4 right parenthesis end exponent equals 0.

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

Let y equals f left parenthesis x right parenthesis be the solution to the differential equation with the given initial condition.

c)
Find the first five terms of the Maclaurin series for f left parenthesis x right parenthesis.

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

Did this page help you?

Roger

Author: Roger

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.