Particular integrals

Particular integrals

Spec I5 · AQA A-Level Further Maths: Revision notes

Studying this course? Keep your progress in one place.

Key facts

  • For y′′+ay′+by=f(x)y''+ay'+by=f(x): general solution y=CF+PIy=\text{CF}+\text{PI}.
  • The complementary function has two arbitrary constants; the particular integral has none.
  • Choose the trial PI to match f(x)f(x); for sine or cosine always use both.
  • If f(x)f(x) appears in the CF, multiply the trial by xx (or x2x^2 for a repeated root).
  • Apply the initial conditions to the full general solution, not to the CF alone.

CF plus PI

The general solution is the complementary function plus a particular integral.

For y′′+ay′+by=f(x)y''+ay'+by=f(x) the general solution is

y=CF+PI.y=\text{CF}+\text{PI}.

The complementary function (CF) is the general solution of the homogeneous equation y′′+ay′+by=0y''+ay'+by=0 (found from the auxiliary equation) and contains two arbitrary constants.

The particular integral (PI) is any one function that satisfies the full equation and contains no arbitrary constants. Adding the PI shifts the solution so that it also produces f(x)f(x) on the left.

−1−0.50.511.52246810xyCF (A = 1, B = 0)PI = 2y = CF + PI
For y″ − 3y′ + 2y = 4: the CF is Aeˣ + Be²ˣ and the PI is 2. With A = 1, B = 0 the solution is eˣ + 2 (CF shifted up by the PI).
  • General solutiony=CF+PIy=\text{CF}+\text{PI}

How many arbitrary constants does the general solution of a second order equation y′′+ay′+by=f(x)y''+ay'+by=f(x) contain?

Choosing a trial function

Match the form of f(x)f(x) and include every lower power; use both sine and cosine for trigonometric terms.

Choose the PI to match the form of f(x)f(x).

Include every lower power in a polynomial trial: px2+qx+rpx^2+qx+r for a quadratic ff. For sine and cosine, always use both terms, because differentiation swaps sine and cosine.

123456−3−2−1123xycos 2xsin 2xp cos 2x + q sin 2x
For a trigonometric f(x) the trial needs both terms. With p cos 2x + q sin 2x you can match any amplitude and phase. Slide p and q.

f(x)f(x)

Polynomial:
Degree nn, e.g. 12x12x
Exponential:
keλxke^{\lambda x}
Sine or cosine:
kcos⁡ωxk\cos\omega x or ksin⁡ωxk\sin\omega x

Trial PI

Polynomial:
General polynomial, e.g. px+qpx+q
Exponential:
peλxpe^{\lambda x}
Sine or cosine:
pcos⁡ωx+qsin⁡ωxp\cos\omega x+q\sin\omega x

Which trial function suits f(x)=5sin⁡2xf(x)=5\sin 2x?

Finding the coefficients

Differentiate the trial twice, substitute, then compare coefficients of each type of term.

Differentiate the trial function twice, substitute into the equation, then compare coefficients of each type of term.

  1. 1

    Write the trial

    for example px + q

  2. 2

    Differentiate twice

    find y′ and y″

  3. 3

    Substitute into the equation

    every term now has p and q

  4. 4

    Compare coefficients

    of each type of term, such as x and constants

  5. 5

    Solve for p and q

    then write down the PI

Finding the coefficients of the trial PI.
  • Trial PIdifferentiate twice, substitute, compare coefficients

Worked example

Find the general solution of y′′−y′−6y=12xy''-y'-6y=12x.

For y′′+y=2exy''+y=2e^{x}, what is pp in the trial y=pexy=pe^{x}?

When the trial is in the CF

The trial gives 00 on the left, so multiply it by xx (or x2x^2 for a repeated root).

If f(x)f(x) is a term of the CF, the trial function gives 00 on the left and fails. Multiply it by xx.

If a repeated root makes emxe^{mx} and xemxxe^{mx} both part of the CF, multiply by x2x^2 instead. Always find the CF first so that you spot this.

0.511.522.53102030405060xyeˣ (in the CF)xeˣ (new trial)
If eˣ is part of the CF, trying peˣ gives 0 on the left. The independent function xeˣ (dashed) is used instead.
  • f(x)f(x) is part of the CFmultiply the trial by xx (x2x^2 for a repeated root)

Worked example

Find a PI for y′′−3y′+2y=4exy''-3y'+2y=4e^{x}.

For y′′−4y=e2xy''-4y=e^{2x}, which trial function should you use?

Particular solutions and long-term behaviour

Apply the conditions to the full general solution; for large xx the CF decays and the PI remains.

Write the general solution first, then apply two conditions (often yy and dydx\frac{dy}{dx} at x=0x=0) to the general solution, not to the CF alone.

For large xx the CF terms decay and the PI gives the steady oscillation.

24681012−4−3−2−11234xy(0, 2)y = e^(−2x) + cos x + 3 sin x
The e^(−2x) term decays, leaving a steady oscillation of amplitude √10 ≈ 3.16.

Worked example

Solve y′′+3y′+2y=10cos⁡xy''+3y'+2y=10\cos x with y(0)=2y(0)=2 and y′(0)=1y'(0)=1.

Why does the long-term behaviour of this solution match the PI alone?

Try an exam question

Find a particular integral for y′′+3y′+2y=4e−xy''+3y'+2y=4e^{-x}.

[4 marks]

That's the notes covered.

Carry on to the next subtopic.

Try a question

Which is a suitable trial function for a particular integral?

1 mark, marked against the mark scheme

Revision notes