Series Solutions and Substitutions for Differential Equations | Analysis and Approaches IB Maths notes

Free preview: Series Solutions and Substitutions for Differential Equations

Series Solutions of Differential Equations

Analysis and approaches: HL only (AHL 5.19 Maclaurin series from differential equations; AHL 5.18 first-order differential equations)

Let's start with a problem: many differential equations, like dydx=x+y2, can't be solved exactly by any method you know. Separating fails, an integrating factor fails. But we can still find a polynomial approximation to the solution near a known point. The trick: we don't need y itself to build its series. We only need y and its derivatives at one point, and the DE hands us those.

The idea

  • You know the Maclaurin series: y = y_0 + xy'_0 + x^2 / 2!y''_0 + x^3 / 3!y'''_0 + ·s, where y0,y0′,… are the values at x = 0.
  • The initial conditions (the given values at the start) give y0 (and y0′ for second order).
  • The DE itself gives the next derivative. Differentiate the DE to get the one after, and so on.

y = y_0 + (x - x_0)y'_0 + (x - x_0)^2 / 2!y''_0 + (x - x_0)^3 / 3!y'''_0 + ·s

The method

  1. Write down y and its derivatives you already know at x0 (usually 0).
  2. Rearrange the DE to give the highest derivative, and evaluate it at x0.
  3. Differentiate the whole DE with respect to x (product rule and chain rule; y is a function of x), then evaluate again. Why: each differentiation produces the next derivative.
  4. Repeat until you have enough terms, then put the values into the Taylor series, dividing by the factorials.

👀 Watch me do it: find a series solution of dydx=x+y2, y = 1 at x = 0, up to x3

What I writeWhy I do it
y0=1 and y0′=0+12=1Steps 1 and 2: the initial condition, then the DE at x = 0.
y″=1+2yy′Step 3: differentiate. Chain rule on y2: its derivative is 2ydydx.
y0″=1+2(1)(1)=3Evaluate at x = 0.
y''' = 2(y')^2 + 2yy''Differentiate again: product rule on 2y·y′.
y'''_0 = 2 + 6 = 82(1)2+2(1)(3).
y≈1+x+32x2+86x3=1+x+32x2+43x3Step 4: divide by 2! and 3!.

Diagram: Both ladders start from y' = x + y^2 with y = 1 at x = 0.

What the picture shows

  • Both ladders start from y′=x+y2 with y = 1 at x = 0.
  • The wrong one writes the derivative of y2 as 2y. It gets y'' right by luck, but then y'''(0) = 2.
  • The right one uses 2yy′, so y''' = 2(y')^2 + 2yy'' and y'''(0) = 8. The cubic term is 43x3, not 13x3.

✏️ YOUR TURN 1

Try this first:

Find a series solution of dydx=1+y2, y = 0 at x = 0, up to the term in x3.

Answer:

  • y0=0, y0′=1+0=1.
  • y″=2yy′, so y0″=0.
  • y''' = 2(y')^2 + 2yy'', so y'''_0 = 2.
  • y≈x+26x3=x+x33.
  • Check: the exact solution is y = tan x, whose Maclaurin series starts x+x33.

Unlock the full note: start 7 days free.

Log in or subscribe to read the rest of this note. Members also get the AI tutor, practice quizzes, mock exams and flashcards for this topic.

Log in · Subscribe · Start free trial

All notes in HL: Differential equations and Maclaurin series (AHL 5.18, 5.19)

  1. Solving Separable Differential Equations
  2. Homogeneous Differential Equations: the Substitution y = vx
  3. First-Order Differential Equations: Families of Solutions and the Integrating Factor
  4. Euler's Step-by-Step Method and Slope Fields
  5. Maclaurin Series: Building a Polynomial from Derivatives at Zero
  6. The Standard Maclaurin Series, Their Ranges of Validity and Composite Expansions
  7. Series Solutions and Substitutions for Differential Equations

What's inside for this topic

7 teacher notes, 64 practice questions, 40 flashcards, 2 quizzes.

Get the full notes, every practice question, flashcards, quizzes and mock papers.

Start your free 7-day trial

Questions? Chat with us on WhatsApp · Try one live lesson

Previous note: The Standard Maclaurin Series, Their Ranges of Validity and Composite Expansions

All Analysis and Approaches IB Maths topics · IB Maths