MathsGenie logo
RevisionResourcesBlog
  1. Home
  2. /
  3. Blog
  4. /
  5. Second-Order Differential Equations Further Maths

Second-Order Differential Equations Further Maths

Revise second-order differential equations for A-level Further Maths with clear methods, worked examples, common errors and exam-style practice.

MathsGenie Team
•Last updated: 20 Nov 2026
Share
Add as a preferred source on Google

Second-Order Differential Equations Further Maths Revision Guide

Second-order differential equations in Further Maths are equations involving a second derivative, usually written in the form

d2ydx2+adydx+by=f(x),\frac{d^2y}{dx^2}+a\frac{dy}{dx}+by=f(x),dx2d2y​+adxdy​+by=f(x),

where aaa and bbb are constants. For the equations studied at A-level, the standard method is to find a complementary function, find a particular integral, and combine them to obtain the general solution.

This guide explains that process step by step. It covers the three possible types of auxiliary equation, suitable trial functions for particular integrals, initial conditions, resonance, worked examples and second-order differential equations exam questions.

What is a second-order differential equation?

The order of a differential equation is the order of its highest derivative. An equation containing y′′y''y′′ but no higher derivative is therefore second order.

A linear second-order differential equation with constant coefficients has the form

ay′′+by′+cy=f(x),ay''+by'+cy=f(x),ay′′+by′+cy=f(x),

where aaa, bbb and ccc are constants and a≠0a\ne0a=0. It is often divided through by aaa so that the coefficient of y′′y''y′′ is 111.

The equation is:

  • homogeneous if its right-hand side is zero;
  • non-homogeneous if its right-hand side is not zero.

For example, y′′−5y′+6y=0y''-5y'+6y=0y′′−5y′+6y=0 is homogeneous, while y′′−5y′+6y=exy''-5y'+6y=e^xy′′−5y′+6y=ex is non-homogeneous.

The general solution of a non-homogeneous equation is

y=yc+yp,y=y_c+y_p,y=yc​+yp​,

where ycy_cyc​ is the complementary function and ypy_pyp​ is a particular integral. The complementary function contains the two arbitrary constants expected in the general solution of a second-order equation.

Step 1: Find the complementary function

To find the complementary function, replace the right-hand side by zero. For

y′′+ay′+by=f(x),y''+ay'+by=f(x),y′′+ay′+by=f(x),

the associated homogeneous equation is

y′′+ay′+by=0.y''+ay'+by=0.y′′+ay′+by=0.

Assume that y=emxy=e^{mx}y=emx. Since y′=memxy'=me^{mx}y′=memx and y′′=m2emxy''=m^2e^{mx}y′′=m2emx, substitution gives

m2emx+amemx+bemx=0.m^2e^{mx}+ame^{mx}+be^{mx}=0.m2emx+amemx+bemx=0.

As emx≠0e^{mx}\ne0emx=0, this reduces to

m2+am+b=0.m^2+am+b=0.m2+am+b=0.

This quadratic is called the auxiliary equation. The form of the complementary function depends on its roots.

Roots of the auxiliary equationComplementary function
Two distinct real roots ppp and qqqyc=Aepx+Beqxy_c=Ae^{px}+Be^{qx}yc​=Aepx+Beqx
A repeated real root pppyc=(A+Bx)epxy_c=(A+Bx)e^{px}yc​=(A+Bx)epx
Complex roots α±βi\alpha\pm\beta iα±βiyc=eαx(Acos⁡βx+Bsin⁡βx)y_c=e^{\alpha x}(A\cos\beta x+B\sin\beta x)yc​=eαx(Acosβx+Bsinβx)

Here AAA and BBB are arbitrary constants. They must remain in the solution until any given initial or boundary conditions are applied.

Why complex roots produce sine and cosine

If the roots are α±βi\alpha\pm\beta iα±βi, the corresponding exponential solutions involve e(α±βi)xe^{(\alpha\pm\beta i)x}e(α±βi)x. Euler's relation converts these into real functions involving eαxcos⁡βxe^{\alpha x}\cos\beta xeαxcosβx and eαxsin⁡βxe^{\alpha x}\sin\beta xeαxsinβx.

The factor eαxe^{\alpha x}eαx controls growth or decay, while the sine and cosine terms produce oscillation. This interpretation is especially useful in mathematical models of mechanical or electrical systems.

Worked example 1: A homogeneous equation

Solve

y′′−2y′+5y=0.y''-2y'+5y=0.y′′−2y′+5y=0.

The auxiliary equation is

m2−2m+5=0.m^2-2m+5=0.m2−2m+5=0.

Using the quadratic formula,

m=2±4−202=1±2i.m=\frac{2\pm\sqrt{4-20}}{2}=1\pm2i.m=22±4−20​​=1±2i.

The roots have real part 111 and imaginary part 222, so

y=ex(Acos⁡2x+Bsin⁡2x).\boxed{y=e^x(A\cos2x+B\sin2x)}.y=ex(Acos2x+Bsin2x)​.

A common error is to write e2x(Acos⁡x+Bsin⁡x)e^{2x}(A\cos x+B\sin x)e2x(Acosx+Bsinx). The real part of the root belongs in the exponential, and the coefficient of iii belongs in the trigonometric arguments.

Step 2: Choose a particular integral

For a non-homogeneous equation, the complementary function alone solves only the version whose right-hand side is zero. A particular integral is one specific function that produces the required f(x)f(x)f(x) when substituted into the left-hand side.

At A-level, the usual method is undetermined coefficients. Choose a trial function of the same general type as f(x)f(x)f(x), differentiate it and substitute it into the equation.

Form of f(x)f(x)f(x)Usual trial for ypy_pyp​
kerxke^{rx}kerxCerxCe^{rx}Cerx
Constant kkkCCC
Linear polynomial p+qxp+qxp+qxC+DxC+DxC+Dx
Quadratic polynomial p+qx+rx2p+qx+rx^2p+qx+rx2C+Dx+Ex2C+Dx+Ex^2C+Dx+Ex2
pcos⁡ωx+qsin⁡ωxp\cos\omega x+q\sin\omega xpcosωx+qsinωxCcos⁡ωx+Dsin⁡ωxC\cos\omega x+D\sin\omega xCcosωx+Dsinωx

For a polynomial, include every power down to the constant term, even if some are absent from the right-hand side. Differentiation mixes these terms, so omitting one may make coefficient comparison impossible.

For a trigonometric function, include both sine and cosine. Differentiating sine produces cosine, and differentiating cosine produces sine.

Worked example 2: Exponential particular integral

Solve

y′′−3y′+2y=6e3x.y''-3y'+2y=6e^{3x}.y′′−3y′+2y=6e3x.

First find the complementary function. The auxiliary equation is

m2−3m+2=0,m^2-3m+2=0,m2−3m+2=0,

so

(m−1)(m−2)=0.(m-1)(m-2)=0.(m−1)(m−2)=0.

Therefore,

yc=Aex+Be2x.y_c=Ae^x+Be^{2x}.yc​=Aex+Be2x.

For the particular integral, try

yp=Ce3x.y_p=Ce^{3x}.yp​=Ce3x.

Then

yp′=3Ce3x,yp′′=9Ce3x.y_p'=3Ce^{3x},\qquad y_p''=9Ce^{3x}.yp′​=3Ce3x,yp′′​=9Ce3x.

Substitution gives

9Ce3x−9Ce3x+2Ce3x=6e3x.9Ce^{3x}-9Ce^{3x}+2Ce^{3x}=6e^{3x}.9Ce3x−9Ce3x+2Ce3x=6e3x.

Hence

2C=6,2C=6,2C=6,

so C=3C=3C=3. The general solution is

y=Aex+Be2x+3e3x.\boxed{y=Ae^x+Be^{2x}+3e^{3x}}.y=Aex+Be2x+3e3x​.

The arbitrary constants appear only in the complementary function. A particular integral is one specific solution, so it does not require another arbitrary constant.

Worked example 3: Polynomial particular integral

Solve

y′′+y′−2y=4x+1.y''+y'-2y=4x+1.y′′+y′−2y=4x+1.

The auxiliary equation is

m2+m−2=0,m^2+m-2=0,m2+m−2=0,

which factorises as

(m+2)(m−1)=0.(m+2)(m-1)=0.(m+2)(m−1)=0.

Thus

yc=Aex+Be−2x.y_c=Ae^x+Be^{-2x}.yc​=Aex+Be−2x.

Since the right-hand side is linear, try

yp=Cx+D.y_p=Cx+D.yp​=Cx+D.

Then

yp′=C,yp′′=0.y_p'=C,\qquad y_p''=0.yp′​=C,yp′′​=0.

Substituting gives

C−2(Cx+D)=4x+1.C-2(Cx+D)=4x+1.C−2(Cx+D)=4x+1.

Comparing coefficients of xxx,

−2C=4,-2C=4,−2C=4,

so C=−2C=-2C=−2. Comparing constant terms,

C−2D=1.C-2D=1.C−2D=1.

Therefore

−2−2D=1,-2-2D=1,−2−2D=1,

which gives D=−32D=-\frac32D=−23​. Hence

y=Aex+Be−2x−2x−32.\boxed{y=Ae^x+Be^{-2x}-2x-\frac32}.y=Aex+Be−2x−2x−23​​.

Resonance: when the normal trial fails

A trial fails if it duplicates part of the complementary function. This is often called resonance. Multiplying the trial by xxx makes it linearly independent from the duplicated solution.

For example, suppose the right-hand side is e2xe^{2x}e2x and e2xe^{2x}e2x already appears in ycy_cyc​. The trial Ce2xCe^{2x}Ce2x cannot work because the differential operator sends every complementary-function term to zero. Use

yp=Cxe2xy_p=Cxe^{2x}yp​=Cxe2x

instead.

If the corresponding root is repeated twice, multiply by x2x^2x2. The general rule is to multiply by the lowest power of xxx that removes the duplication.

Worked example 4: A resonant trial

Solve

y′′−4y′+4y=e2x.y''-4y'+4y=e^{2x}.y′′−4y′+4y=e2x.

The auxiliary equation is

m2−4m+4=(m−2)2=0.m^2-4m+4=(m-2)^2=0.m2−4m+4=(m−2)2=0.

Therefore,

yc=(A+Bx)e2x.y_c=(A+Bx)e^{2x}.yc​=(A+Bx)e2x.

Both e2xe^{2x}e2x and xe2xxe^{2x}xe2x are already represented in the complementary function. The usual trial and the trial multiplied by xxx would both overlap, so use

yp=Cx2e2x.y_p=Cx^2e^{2x}.yp​=Cx2e2x.

Differentiating,

yp′=C(2x+2x2)e2x,y_p'=C(2x+2x^2)e^{2x},yp′​=C(2x+2x2)e2x,

and

yp′′=C(2+8x+4x2)e2x.y_p''=C(2+8x+4x^2)e^{2x}.yp′′​=C(2+8x+4x2)e2x.

Substitution gives

C(2+8x+4x2)e2x−4C(2x+2x2)e2x+4Cx2e2x=e2x.C(2+8x+4x^2)e^{2x}-4C(2x+2x^2)e^{2x}+4Cx^2e^{2x}=e^{2x}.C(2+8x+4x2)e2x−4C(2x+2x2)e2x+4Cx2e2x=e2x.

The xxx and x2x^2x2 terms cancel, leaving

2Ce2x=e2x.2Ce^{2x}=e^{2x}.2Ce2x=e2x.

Thus C=12C=\frac12C=21​, and

y=(A+Bx)e2x+12x2e2x.\boxed{y=(A+Bx)e^{2x}+\frac12x^2e^{2x}}.y=(A+Bx)e2x+21​x2e2x​.

Applying initial conditions

A second-order general solution contains two arbitrary constants. Two independent conditions are normally required to determine them, often values such as

y(0)=pandy′(0)=q.y(0)=p\qquad\text{and}\qquad y'(0)=q.y(0)=pandy′(0)=q.

Find the complete general solution first. Then differentiate it carefully and substitute the conditions into yyy and y′y'y′.

Worked example 5: Finding the constants

Given

y′′+4y=8,y(0)=1,y′(0)=2,y''+4y=8,\qquad y(0)=1,\qquad y'(0)=2,y′′+4y=8,y(0)=1,y′(0)=2,

find yyy.

The auxiliary equation is

m2+4=0,m^2+4=0,m2+4=0,

so m=±2im=\pm2im=±2i and

yc=Acos⁡2x+Bsin⁡2x.y_c=A\cos2x+B\sin2x.yc​=Acos2x+Bsin2x.

Try the constant particular integral yp=Cy_p=Cyp​=C. Substitution gives

4C=8,4C=8,4C=8,

so C=2C=2C=2. Therefore,

y=Acos⁡2x+Bsin⁡2x+2.y=A\cos2x+B\sin2x+2.y=Acos2x+Bsin2x+2.

Using y(0)=1y(0)=1y(0)=1 gives

A+2=1,A+2=1,A+2=1,

so A=−1A=-1A=−1. Now

y′=−2Asin⁡2x+2Bcos⁡2x.y'=-2A\sin2x+2B\cos2x.y′=−2Asin2x+2Bcos2x.

Using y′(0)=2y'(0)=2y′(0)=2 gives 2B=22B=22B=2, so B=1B=1B=1. Hence

y=−cos⁡2x+sin⁡2x+2.\boxed{y=-\cos2x+\sin2x+2}.y=−cos2x+sin2x+2​.

Common mistakes in second-order differential equations

Solving the wrong auxiliary equation

The auxiliary equation comes from the homogeneous left-hand side, not from the whole differential equation. Keep the powers consistent: y′′y''y′′ corresponds to m2m^2m2, y′y'y′ to mmm, and yyy to a constant term.

Mishandling repeated roots

If m=pm=pm=p is a repeated root, the two independent terms are epxe^{px}epx and xepxxe^{px}xepx. Writing Aepx+BepxAe^{px}+Be^{px}Aepx+Bepx provides only one independent solution because it simplifies to (A+B)epx(A+B)e^{px}(A+B)epx.

Omitting part of a trial function

For a quadratic right-hand side, use Ax2+Bx+CAx^2+Bx+CAx2+Bx+C, not just Ax2Ax^2Ax2. For a trigonometric right-hand side, include both sine and cosine even if only one appears initially.

Failing to check for overlap

Before differentiating a trial, compare it with the complementary function. If it duplicates a complementary term, multiply the entire trial by xxx, or by x2x^2x2 when required by a repeated root.

Applying conditions too early

Do not use initial conditions on the complementary function before adding the particular integral. The conditions apply to the complete solution y=yc+ypy=y_c+y_py=yc​+yp​.

Losing chain-rule factors

When differentiating sin⁡kx\sin kxsinkx, cos⁡kx\cos kxcoskx or ekxe^{kx}ekx, retain the factor kkk. Missing these factors changes the equations used to find the unknown coefficients.

Embedded exam-style question

Solve the differential equation

y′′+2y′+5y=10cos⁡x,y''+2y'+5y=10\cos x,y′′+2y′+5y=10cosx,

subject to

y(0)=1,y′(0)=0.y(0)=1,\qquad y'(0)=0.y(0)=1,y′(0)=0.

Give your answer in terms of real functions.

Answer

The auxiliary equation is

m2+2m+5=0,m^2+2m+5=0,m2+2m+5=0,

with roots m=−1±2im=-1\pm2im=−1±2i. Therefore,

yc=e−x(Acos⁡2x+Bsin⁡2x).y_c=e^{-x}(A\cos2x+B\sin2x).yc​=e−x(Acos2x+Bsin2x).

Try

yp=Ccos⁡x+Dsin⁡x.y_p=C\cos x+D\sin x.yp​=Ccosx+Dsinx.

Substitution and comparison of coefficients give

4C+2D=10,−2C+4D=0.4C+2D=10,\qquad -2C+4D=0.4C+2D=10,−2C+4D=0.

Hence C=2C=2C=2 and D=1D=1D=1, so

y=e−x(Acos⁡2x+Bsin⁡2x)+2cos⁡x+sin⁡x.y=e^{-x}(A\cos2x+B\sin2x)+2\cos x+\sin x.y=e−x(Acos2x+Bsin2x)+2cosx+sinx.

From y(0)=1y(0)=1y(0)=1, A+2=1A+2=1A+2=1, so A=−1A=-1A=−1. Differentiating and applying y′(0)=0y'(0)=0y′(0)=0 gives

−A+2B+1=0,-A+2B+1=0,−A+2B+1=0,

so B=−1B=-1B=−1. The required solution is

y=−e−x(cos⁡2x+sin⁡2x)+2cos⁡x+sin⁡x.\boxed{y=-e^{-x}(\cos2x+\sin2x)+2\cos x+\sin x}.y=−e−x(cos2x+sin2x)+2cosx+sinx​.

Try 4 more: practise with MathsGenie past-paper questions and mark schemes.

Exam technique and revision priorities

Show the auxiliary equation before giving its roots. This makes your method clear and may allow method marks to be awarded even if a later arithmetic error occurs.

Write y=yc+ypy=y_c+y_py=yc​+yp​ explicitly before applying conditions. When finding a particular integral, display the trial, its derivatives and the coefficient comparison rather than attempting too much mentally.

A reliable checking method is to substitute the particular integral back into the original equation. You can also check that the complementary function gives zero when substituted into the homogeneous equation.

Practise questions with distinct real roots, repeated roots and complex roots. Then include polynomial, exponential and trigonometric forcing terms, followed by resonant cases and questions involving initial conditions. MathsGenie's OCR Further Maths Pure Core 2 paper provides further examination practice, while its Edexcel A-level Maths revision page is useful for reviewing prerequisite differentiation and integration.

Students reviewing their wider course can also use the MathsGenie guide to GCSE Maths topics by exam board and tier to identify earlier algebra and calculus foundations, although second-order differential equations themselves are an A-level Further Maths topic on relevant specifications rather than a GCSE topic.

Conclusion

For second-order differential equations in Further Maths, begin with the homogeneous equation and solve its auxiliary equation. Use the roots to construct the complementary function, choose a suitable particular-integral trial, check for resonance, and then apply any conditions to the complete solution.

Accuracy depends on recognising the correct solution form and differentiating it carefully. After learning the method, use MathsGenie past papers and mark schemes to practise selecting trials, handling repeated or complex roots, and presenting solutions in a form that examiners can follow.

Sources and referenced URLs

  • https://mathsgenie.co.uk/paper/a-level/further-maths/ocr/a-level-ocr-further-maths-a-2024-june-pure-core-2-y541-01-7ca8e55908
  • https://mathsgenie.co.uk/paper/a-level/further-maths/ocr/a-level-ocr-further-maths-a-2023-june-pure-core-2-y541-01-3b08179ae1
  • https://mathsgenie.co.uk/a-level/maths/edexcel
  • https://mathsgenie.co.uk/blog/gcse-maths-topics-by-exam-board-and-tier
  • Second-Order Differential Equations Further Maths Revision Guide
  • What is a second-order differential equation?
  • Step 1: Find the complementary function
  • Worked example 1: A homogeneous equation
  • Step 2: Choose a particular integral
  • Worked example 2: Exponential particular integral
  • Worked example 3: Polynomial particular integral
  • Resonance: when the normal trial fails
  • Worked example 4: A resonant trial
  • Applying initial conditions
  • Common mistakes in second-order differential equations
  • Embedded exam-style question
  • Exam technique and revision priorities
  • Conclusion
  • Sources and referenced URLs

Frequently Asked Questions

How helpful was this article?
Add as a preferred source on Google

More from the blog

20 Nov 2026

Sequences and the Nth Term GCSE Maths Guide

Learn sequences and the nth term for GCSE Maths with step-by-step methods, worked examples, common mistakes, exam-style questions and clear answers.

20 Nov 2026

Marks Needed for Grade 4 AQA GCSE Maths

Find the marks needed for grade 4 in AQA GCSE Maths Foundation, why grade boundaries change, and which topics to revise to reach grade 4.

20 Nov 2026

Marks Needed for Grade 9 AQA GCSE Maths

Understand the marks needed for grade 9 AQA GCSE Maths, how Higher-tier boundaries work, and how to use topic revision and past papers to improve your scores.

20 Nov 2026

Marks Needed for Grade 5 Edexcel GCSE Maths

Find the marks needed for grade 5 in Edexcel GCSE Maths Foundation, understand changing grade boundaries, and plan focused revision with practical exam advice.

1m+ Students Can't Be Wrong

What GCSE and A-level students say after revising with MathsGenie.

Harvey B. avatar

Harvey B.

Student

“This is such an amazing platform, it offers everything needed to improve your grade in a time efficient manor. Personally I love the videos as I am able to find areas that I am weak at in the practice papers.”
Tameem R. avatar

Tameem R.

Student

“Genuinely took me from a grade 4 in maths to achieving a grade 8 in my GCSE's in less than a few months. Best mathematics revision website for those who are aiming to get those high grades.”
Anyim P. avatar

Anyim P.

Student

“Genuinely I think every maths student should have this site. It takes you through the entire AS and A level Maths course, alongside exam questions with step by step solutions.”
Muhammad A. avatar

Muhammad A.

Student

“predicted papers are very useful and i believe there's not a better website for GCSE maths in the UK”
Rayan K. avatar

Rayan K.

Student

“Best Maths Resource out there! Absolutely amazing videos and very concise explantions on everything. Don't even get me started on the loads of exam question/worksheets that are so helpful. And it's all free!”
Dee avatar

Dee

Student

“The best Maths resource site in the world! They have it all and do a great job of keeping everything up to date. I still don't know how they are able to make this free for all. You are truly amazing.”
Hamid I. avatar

Hamid I.

Student

“They have helped me with my A level Maths performance significantly and I jumped from a grade U to a Grade A in only 2-3 months. I HIGHLY recommend to Maths students especially for A level.”
Sophie avatar

Sophie

Student

“MathsGenie's YouTube videos and worksheets are amazing. The videos go into such great depth but in a way that's simple to understand.”
Maria E. avatar

Maria E.

Student

“Amazing website! Truly helped with my GCSEs - I was a very poor student. Managed to go up and reach all grade 6-9's from U-4's. Would definitely recommend :)”
Justine K. avatar

Justine K.

Student

“Absolutely brilliant website with well organised, well written resources for learning or revising maths. I never hesitate to recommend mathsgenie to my students.”
Daryl G. avatar

Daryl G.

Student

“Took me a bit of getting used to but this new site is excellent. I found the old one really useful but this is next level. I share it with all my colleagues and students.”
Binuk J. avatar

Binuk J.

Student

“I used to be really bad at math. My first GCSE mocks I had a 2 but after I found MathsGenie I jumped from 2 to 4 under 3 months.”
Jourdie avatar

Jourdie

Student

“Improved my grade, I used to be borderline passing maths now I'm performing much better. There are videos, practice papers, solutions, exam questions, past GCSE papers all for free. This is really useful.”
Olla avatar

Olla

Student

“Honestly, it's super great. Easy, with the explanation on the side. Every topic also has more than 50 questions, making you feel more confident in doing different types f question in one topic. Try it!”

Ready to breeze through your GCSEs?IGCSEs?A-Levels?AS Levels?GCSEs?GCSEs?

Sign inStart studying for free

Footer

Quick links

  • GCSE past papers
  • GCSE question bank
  • GCSE worksheets
  • GCSE revision guides
  • GCSE lessons
  • Literary Hub
  • Free maths course
  • A Level past papers
  • A Level question bank
  • Old MathsGenie

Tools

  • Revision planner
  • Mock exam builder
  • Ask Genie AI
  • Answer marking
  • Grade calculator
  • Pricing

Company

  • About MathsGenie
  • Maths Genie on Google Play
  • Careers
  • Contact
  • For educators
  • For parents
  • Student ambassadors
  • More resources
  • Blog
  • Student questions
  • Sitemap
  • Privacy policy
  • Terms of Service
  • Cookie policy
  • Report a bug

GCSE

  • Biology
  • Chemistry
  • English Language
  • English Literature
  • Geography
  • Maths
  • Old Maths
  • Physics
  • Statistics

IGCSE

  • Biology
  • Business
  • Chemistry
  • Computer Science
  • English Language
  • English Literature
  • Geography
  • Maths
  • Physics

A Level

  • Biology
  • Business
  • Chemistry
  • Economics
  • Maths
  • Old Maths
  • Physics
  • Psychology
  • Sociology

AS Level

  • Biology
  • Business
  • Chemistry
  • Economics
  • Maths
  • Physics
  • Psychology
  • Religious Studies
  • Sociology
MathsGenie logo

© 2026 MyDojo, Inc. All rights reserved. MyDojo, Inc. does business as MathsGenie.

Exam board names are used for identification only and do not imply affiliation or endorsement.