Series Solutions to Differential Equations (Edexcel A Level Further Maths: Further Pure 1): Revision Note

Exam code: 9FM0

Mark Curtis

Written by: Mark Curtis

Updated on

Series solutions to differential equations

How do I find a series solution to a differential equation?

  • For complicated differential equations that cannot be solved, an approximate solution can be found using Taylor series

    • e.g. solve dydx=xlny+y2 where y=b when x=a

  • The series solution is given by

    • y(x)=y(a)+(xa)y'(a)+(xa)22!y''(a)+...+(xa)rr!y(r)(a)+...

      • where y(a)=b, y'(a)=(dydx)x=a, y''(a)=(d2ydx2)x=a, etc

Examiner Tips and Tricks

You will be given the Taylor series expansion below within the exam question itself. For differential equation solutions it helps to swap the f to a y.

f(x)=f(a)+(xa)f'(a)+(xa)22!f''(a)+...+(xa)rr!f(r)(a)+...

How do I calculate the derivatives at x=a?

  • To calculate y'(a)

    • substitute in x=a and y=b to the differential equation

    • rearrange to make dydx the subject

  • To calculate y''(a)

    • differentiate both sides of the differential equation with respect to x

      • this may involve implicit differentiation

    • substitute in x=a and y=b to both sides

    • then rearrange to make d2ydx2 the subject

  • This process is repeated to find d3ydx3 etc.

How do I find higher-order derivatives?

  • The differentiation involved gets harder and harder for higher-order derivatives

    • All derivatives must be with respect to x

      • which means functions of y require implicit differentiation

      • which could include implicit chain, product or quotient rules

    • There are also derivatives of derivatives that can be simplified

      • e.g. ddx(d2ydx2)=d3ydx3

  • The table below shows some common examples

Term

Derivative, ddx(...)

Result

x2

ddx(x2)

2x

y

ddx(y)

dydx

y2

ddx(y2)=ddy(y2)×dydx

2ydydx

dydx

ddx(dydx)

d2ydx2

d2ydx2

ddx(d2ydx2)

d3ydx3

xy

ddx(x)y+xddx(y)

y+xdydx

e2ydydx

ddx(e2y)dydx+e2yddx(dydx)=ddy(e2y)dydx×dydx+e2yddx(dydx)

2e2y(dydx)2+e2yd2ydx2

(dydx)5

5(dydx)4×ddx(dydx)

5(dydx)4d2ydx2

Examiner Tips and Tricks

Make sure you know the difference between powers of derivatives and higher-order derivatives.

  • E.g. (dydx)2 is the first derivative of y with respect to x, squared

  • d2ydx2 is the second derivative of y with respect to x

  • They are not the same thing!

Worked Example

The Taylor series expansion of f(x) about x=a is given by

f(x)=f(a)+(xa)f'(a)+(xa)22!f''(a)+...+(xa)rr!f(r)(a)+...

A differential equation is given by

y3dydx=lny+x2

where y=1 at x=2.

Determine a series solution for y, in ascending powers of (x2), up to and including the term in (x2)2, giving each coefficient in simplest form.

Answer:

Write out the relevant terms of the Taylor series formula, changing f into y and substituting in a=2

y(x)=y(2)+(x2)y'(2)+(x2)22!y''(2)+...

Find y(2), the value of y when x=2 (it is given in the question)

y(2)=1

Next find y'(2)

First substitute x=2 and y=1 into the original differential equation

13dydx=ln1+22

Then make dydx the subject (this gives the value of y'(2))

dydx=0+4y'(2)=4

To find y''(2), don't differentiate the version with numbers substituted in

Instead, go back to the original differential equation and differentiate both sides with respect to x

ddx(y3dydx)=ddx(lny+x2)

It is easier here to start on the right-hand side, which can be separated as follows

ddx(lny)+ddx(x2)

To calculate ddx(lny), use implicit differentiation

ddx(lny)=ddy(lny)×dydx=1ydydx

To calculate ddx(x2), differentiate x2 with respect to x

ddx(x2)=2x

Now look at the left-hand side, which is the derivative of a product of terms

ddx(y3dydx)

Apply the product rule, showing clearly the derivatives with respect to x

ddx(y3)dydx+y3ddx(dydx)

Use implicit differentiation to simplify the part ddx(y3)

ddx(y3)=ddy(y3)×dydx=3y2dydx

Also simplify the derivative of a derivative, ddx(dydx)

ddx(dydx)=d2ydx2

Substituting these parts back into the left-hand side

3y2dydx×dydx+y3d2ydx2

Simplify the first term using that dydx×dydx=(dydx)2

3y2(dydx)2+y3d2ydx2

Put the left-hand side and right-hand side back together

3y2(dydx)2+y3d2ydx2=1ydydx+2x

To find y''(2), substitute x=2 and y=1 into the equation above and make d2ydx2 the subject

  • (dydx)x=2=y'(2)=4, as found above

3×12(4)2+13d2ydx2=11×4+2×248+d2ydx2=4+4d2ydx2=40y''(2)=40

Finally, substitute y(2)=1, y'(2)=4 and y''(2)=40 into the Taylor series

y(x)=y(2)+(x2)y'(2)+(x2)22!y''(2)+...=1+(x2)×4+(x2)22×1×(40)+...=1+4(x2)20(x2)2+...

Write out the series solution for y, up to and including the term in (x2)2

y=1+4(x2)20(x2)2

Examiner Tips and Tricks

Don't forget to put y= at the start of your series solution, as this is an approximation to the exact curve y that satisfies the differential equation.

Unlock more, it's free!

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

the (exam) results speak for themselves:

Build on this topic

Mark Curtis

Author: 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.