Study Guide

Second order differential equations

Edexcel International A-Level Further Mathematics· FP2 5.1-5.2 (2018 Spec Issue 3)· 45 min read

1. 1. Complementary Functions from the Auxiliary Equation★★☆☆☆⏱ 15 min

✓ Calculator OK

The standard form of a linear constant-coefficient second order ODE is where are real constants. The general solution is the sum of two components: the complementary function (CF), which solves the homogeneous equation , and a particular integral (PI), which solves the full non-homogeneous equation.

📘 Definition

Complementary Function

The general solution to the homogeneous version of the ODE, containing two arbitrary constants (A and B) for a second order equation.

Example:

For , the CF solves .

🔬 Derivation
Goal:

Derive the auxiliary equation for homogeneous ODEs

Starting from:

  1. 1

    Assume a trial solution of the form where is a constant to be found.

  2. 2
    dydx=memx,d2ydx2=m2emx\frac{dy}{dx} = m e^{mx}, \quad \frac{d^2y}{dx^2} = m^2 e^{mx}
  3. 3

    Substitute into the homogeneous ODE:

  4. 4
    am2emx+bmemx+cemx=0a m^2 e^{mx} + b m e^{mx} + c e^{mx} = 0
  5. 5

    Factor out (which is never zero):

  6. 6
    am2+bm+c=0a m^2 + b m + c = 0
Result:

This quadratic equation in is the auxiliary equation. Its roots determine the form of the complementary function.

Root type

Auxiliary equation property

Form of complementary function

Distinct real roots

Equal real roots

Complex conjugate roots

📐 Worked Example

Find the complementary function for the ODE

  1. 1

    First write the auxiliary equation for the homogeneous ODE :

  2. 2
    m2+2m+5=0m^2 + 2m +5 =0
  3. 3

    Solve the quadratic using the quadratic formula:

  4. 4
    m=2±4202=2±162=1±2im = \frac{-2 \pm \sqrt{4 - 20}}{2} = \frac{-2 \pm \sqrt{-16}}{2} = -1 \pm 2i
  5. 5

    These are complex conjugate roots with and

  6. 6

    Write the complementary function using the complex root form:

  7. 7
    yCF=ex(Acos2x+Bsin2x)y_{CF} = e^{-x}(A \cos 2x + B \sin 2x)

Exam tip:

Always write the auxiliary equation correctly first: copy coefficients directly from the ODE, preserving all signs. A sign error here will make your entire CF incorrect.

2. 2. Particular Integrals for Non-Homogeneous ODEs★★★☆☆⏱ 20 min

✓ Calculator OK

The particular integral (PI) is a specific solution to the full non-homogeneous ODE. You find it by choosing a trial function that matches the form of , substituting it into the ODE, and solving for unknown coefficients.

📘 Definition

Particular Integral

A single, constant-free solution to the full non-homogeneous ODE, added to the complementary function to form the general solution.

Form of f(x)

Standard trial PI

Linear polynomial

Quadratic polynomial

📐 Worked Example

Find the general solution to

  1. 1

    First find the complementary function by solving the homogeneous ODE:

  2. 2
    m2+4=0    m=±2im^2 +4 =0 \implies m = \pm 2i
  3. 3

    So CF is

  4. 4

    Notice that matches a term in the CF, so we have a resonance case. Multiply the standard trial PI by :

  5. 5

    Trial PI:

  6. 6

    Compute first and second derivatives of using the product rule:

  7. 7
    dyPIdx=(αcos2x+βsin2x)+x(2αsin2x+2βcos2x)\frac{dy_{PI}}{dx} = (\alpha \cos 2x + \beta \sin 2x) + x(-2\alpha \sin 2x + 2\beta \cos 2x)
  8. 8
    d2yPIdx2=4αsin2x+4βcos2x4x(αcos2x+βsin2x)\frac{d^2 y_{PI}}{dx^2} = -4\alpha \sin 2x + 4\beta \cos 2x -4x(\alpha \cos 2x + \beta \sin 2x)
  9. 9

    Substitute and its second derivative into the original ODE:

  10. 10
    (4αsin2x+4βcos2x4x(αcos2x+βsin2x))+4(x(αcos2x+βsin2x))=sin2x(-4\alpha \sin 2x + 4\beta \cos 2x -4x(\alpha \cos 2x + \beta \sin 2x)) + 4(x(\alpha \cos 2x + \beta \sin 2x)) = \sin 2x
  11. 11

    Simplify: the terms cancel out, leaving:

  12. 12
    4αsin2x+4βcos2x=sin2x-4\alpha \sin 2x + 4\beta \cos 2x = \sin 2x
  13. 13

    Equate coefficients of and :

  14. 14

    Coefficient of :

  15. 15

    Coefficient of :

  16. 16

    So

  17. 17

    General solution is CF + PI:

  18. 18
    y=Acos2x+Bsin2x14xcos2xy = A \cos 2x + B \sin 2x - \frac{1}{4}x \cos 2x

Exam tip:

When calculating derivatives for resonance cases, write out each product rule step explicitly to avoid arithmetic errors, which are common for these questions.

3. 3. Finding Particular Solutions from Conditions★★☆☆☆⏱ 10 min

✓ Calculator OK

Once you have the general solution (CF + PI), you can use given initial or boundary conditions to find the values of the arbitrary constants A and B, producing a single particular solution. Always substitute the conditions into the full general solution, not just the complementary function.

📐 Worked Example

For the ODE in the previous example, find the particular solution given that when , and .

  1. 1

    Start with the general solution:

  2. 2
    y=Acos2x+Bsin2x14xcos2xy = A \cos 2x + B \sin 2x - \frac{1}{4}x \cos 2x
  3. 3

    Apply first condition: , :

  4. 4
    0=Acos0+Bsin00    A=00 = A \cos 0 + B \sin 0 - 0 \implies A = 0
  5. 5

    Now simplify the solution with A=0:

  6. 6
    y=Bsin2x14xcos2xy = B \sin 2x - \frac{1}{4}x \cos 2x
  7. 7

    Compute the first derivative to apply the second condition:

  8. 8
    dydx=2Bcos2x14cos2x+12xsin2x\frac{dy}{dx} = 2B \cos 2x - \frac{1}{4}\cos 2x + \frac{1}{2}x \sin 2x
  9. 9

    Apply when :

  10. 10
    0=2Bcos014cos0+0    2B=14    B=180 = 2B \cos 0 - \frac{1}{4}\cos 0 + 0 \implies 2B = \frac{1}{4} \implies B = \frac{1}{8}
  11. 11

    Write the final particular solution:

  12. 12
    y=18sin2x14xcos2xy = \frac{1}{8}\sin 2x - \frac{1}{4}x \cos 2x

Exam tip:

Never substitute constants before finding both the CF and PI. Fixing A and B using only the homogeneous CF will produce a solution that does not satisfy the non-homogeneous ODE.

4. 4. Solving Reducible ODEs with Given Substitutions★★★★☆⏱ 20 min

✓ Calculator OK

Some non-standard second order ODEs can be converted into the linear constant-coefficient form you already know how to solve, using a substitution that is always given to you in the exam question. You only need to apply the provided substitution, rewrite the ODE in terms of the new variable, solve the resulting ODE, then convert back to the original variables.

📐 Worked Example

Use the substitution to reduce the ODE to a simpler ODE, hence find its general solution.

  1. 1

    Start with the given substitution: , so rearrange to get

  2. 2

    Compute first and second derivatives of y with respect to x using the product rule:

  3. 3
    dydx=dzdxe2x2ze2x=e2x(dzdx2z)\frac{dy}{dx} = \frac{dz}{dx} e^{-2x} - 2 z e^{-2x} = e^{-2x}\left(\frac{dz}{dx} - 2z\right)
  4. 4
    d2ydx2=e2x(d2zdx24dzdx+4z)\frac{d^2y}{dx^2} = e^{-2x}\left(\frac{d^2z}{dx^2} -4\frac{dz}{dx} +4z\right)
  5. 5

    Substitute y, dy/dx, d²y/dx² into the original ODE:

  6. 6
    e2x(d2zdx24dzdx+4z)+4e2x(dzdx2z)+4ze2x=3e2xe^{-2x}\left(\frac{d^2z}{dx^2} -4\frac{dz}{dx} +4z\right) + 4 e^{-2x}\left(\frac{dz}{dx} - 2z\right) + 4 z e^{-2x} = 3 e^{-2x}
  7. 7

    Divide both sides by (non-zero) to simplify:

  8. 8
    d2zdx24dzdx+4z+4dzdx8z+4z=3\frac{d^2z}{dx^2} -4\frac{dz}{dx} +4z +4\frac{dz}{dx} -8z +4z = 3
  9. 9
    d2zdx2=3\frac{d^2z}{dx^2} = 3
  10. 10

    Integrate twice to solve for z:

  11. 11
    dzdx=3x+A\frac{dz}{dx} = 3x + A
  12. 12
    z=32x2+Ax+Bz = \frac{3}{2}x^2 + A x + B
  13. 13

    Substitute back to get the general solution for y:

  14. 14
    y=e2x(32x2+Ax+B)y = e^{-2x}\left(\frac{3}{2}x^2 + A x + B\right)

Exam tip:

Double-check your substitution step before solving the reduced ODE: a single differentiation error here will make the rest of your solution incorrect.

5. Common Pitfalls

Wrong move:

Using wrong sign in auxiliary equation coefficients

Why:

Mismatching coefficients between the ODE and auxiliary equation leads to incorrect roots and wrong CF

Correct move:

Copy coefficients of d²y/dx², dy/dx, y directly into the auxiliary equation, preserving all signs

Wrong move:

Forgetting to multiply trial PI by x in resonance cases

Why:

If the trial PI duplicates a CF term, substituting it will give 0 on the left-hand side, so you cannot solve for coefficients

Correct move:

Always check if your standard trial PI matches any term in the CF before substitution; if yes, multiply the trial PI by x

Wrong move:

Substituting initial conditions into the CF before finding the PI

Why:

The constants in the CF apply to the full general solution, not just the homogeneous part

Correct move:

Form the full general solution (CF + PI) first, then substitute initial/boundary conditions to find A and B

Wrong move:

Misapplying product rule for resonance trial PIs or substitution problems

Why:

Trial PIs for resonance and substitution variables have multiplied functions of x, requiring careful product rule use

Correct move:

Write out each derivative step explicitly, separating terms before combining like terms

Wrong move:

Mixing up CF forms for different root types

Why:

Using the wrong CF form leads to a solution that does not satisfy the homogeneous ODE

Correct move:

Memorize the three CF forms for distinct real, equal real, and complex conjugate roots, and match them to your auxiliary equation roots

6. Quick Reference Cheatsheet

Component

Rule/Form

Auxiliary Equation

for

CF: Distinct real roots

CF: Equal real roots

CF: Complex roots

PI Trial:

(multiply by x if matches CF)

PI Trial:

(multiply by x if matches CF)

PI Trial:

(multiply by x if matches CF)

General Solution

Complementary Function + Particular Integral

Reducible ODEs

Apply given substitution first, solve reduced ODE, convert back to original variables

Going deeper

What's Next

Now that you have mastered second order differential equations for Edexcel IAL FP2, you are ready to apply these skills to more advanced topics in further mathematics. The ability to solve these ODEs is foundational for studying series solutions of ODEs, which is covered later in the FP2 unit, as well as for applications in mechanics and differential equations modules in further study. Practise past paper questions to build speed and accuracy, particularly for resonance cases and substitution problems, which are frequently tested in FP2 exams. Make sure you can recall all CF and PI forms without reference, as no formula sheet is provided for this topic.