Second-Order Differential Equations: Complementary Function plus Particular Integral | Cambridge A Level Maths notes

Free preview: Second-Order Differential Equations: Complementary Function plus Particular Integral

Non-Homogeneous Equations: Two Parts to Every Answer

9231 Paper 2: Further Pure Mathematics 2 (A Level)

Watch: common mistake (1-minute fix)

Watch: 1-minute explainer

Watch: 1-minute explainer

Left alone, a spring settles back to rest. Push it with a motor and it does two things at once: its own natural motion, which dies away, plus a motion forced by the motor, which carries on. The maths splits the answer in exactly the same way.

The new type of equation

Now the right-hand side is a function of x, not 0:

ad2ydx2+bdydx+cy=f(x)

  • This is non-homogeneous. f(x) is often a polynomial, an exponential, or a sine or cosine.
  • The complementary function (CF) is the general solution of the same equation with 0 on the right. You found these in the last note, with the auxiliary equation.
  • A particular integral (PI) is any one function that satisfies the full equation, with f(x) on the right. It has no arbitrary constants.

y=CF+PI

Why add them?

  • Put the CF into the left side and you get 0. Put the PI in and you get f(x).
  • The left side is linear, so CF + PI gives 0+f(x)=f(x). It works.
  • The CF brings the two constants, so CF + PI is the general solution.

๐Ÿ’ก In plain words

  • CF: "what the system does on its own". PI: "the extra response forced by f(x)".
  • Find the CF first: you need it to choose the PI safely (page 2).

The method

  1. Solve the auxiliary equation and write the CF.
  2. Choose a trial PI of the same type as f(x), with unknown coefficients (table on page 2).
  3. Differentiate the trial twice and substitute into the left side.
  4. Compare coefficients of matching terms on both sides and solve for the unknowns.
  5. Write y = CF + PI. Only then use any conditions.

๐Ÿ‘€ Watch me do it: find the general solution of y'' โˆ’ 5y' + 6y = 12x

What I writeWhy I do it
CF: (m−2)(m−3)=0, so Ae2x+Be3xStep 1: the auxiliary equation.
Try y=ax+bStep 2: f(x) is linear, so the trial is a general linear function.
y′=a, y″=0Step 3: differentiate twice.
0−5a+6(ax+b)=12xSubstitute into the left side.
6a=12, 6b−5a=0Step 4: compare x terms, then constants (there is no constant on the right).
a=2, b=53Solve.
y=Ae2x+Be3x+2x+53Step 5: CF + PI.

โœ๏ธ YOUR TURN 1

Try this first:

Find the general solution of y″−3y′+2y=4x+2.

Answer:

  • CF: (m−1)(m−2)=0, so Aex+Be2x.
  • Try ax+b: 0−3a+2ax+2b=4x+2.
  • x terms: 2a = 4, so a = 2. Constants: 2b−6=2, so b = 4.
  • y=Aex+Be2x+2x+4.

โœ๏ธ YOUR TURN 2

Try this first:

Find the general solution of y″+y′−6y=12e−x.

Answer:

  • CF: (m+3)(m−2)=0, so Ae2x+Be−3x.
  • Try λe−x: the derivatives are −λe−x and λe−x.
  • λe−x(1−1−6)=12e−x, so λ=−2.
  • y=Ae2x+Be−3x−2e−x.

Choosing the Trial Function, Including the Clash Cases

Guessing the PI sounds risky, but it is not really a guess. The left side of the DE turns polynomials into polynomials, exponentials into exponentials and waves into waves. So the trial copies the shape of f(x), with letters for the numbers.

The table of trials

f(x)Trial PINotes
constant kλif c = 0 in the DE, try λx
polynomial of degree ngeneral polynomial of degree ninclude every lower power, e.g. ax2+bx+c
kepxλepxif p is a root of the AE, try λxepx; if a repeated root, λx2epx
kcosωx or ksinωxλcosωx+μsinωxalways both; if the CF contains cosωx, multiply by x
a sum of thesethe sum of the trialse.g. ex+2: try λex+μ

๐Ÿ’ก In plain words

  • Copy the type of f(x), with every term of that type that differentiating could create.
  • If the trial already sits in the CF, it will give 0, so multiply it by x.

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 Differential equations (2.6)

  1. First-Order Differential Equations: Families of Solutions and the Integrating Factor
  2. Second-Order Differential Equations: the Auxiliary Equation and Its Three Cases
  3. Second-Order Differential Equations: Complementary Function plus Particular Integral
  4. Solving Differential Equations with a Given Substitution
  5. Modelling with First-Order Differential Equations: Motion, Mixing and Populations

Video

What's inside for this topic

5 teacher notes, 96 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: Second-Order Differential Equations: the Auxiliary Equation and Its Three Cases Next note: Solving Differential Equations with a Given Substitution

Second-Order Differential Equations: Complementary Function plus Particular Integral on other exam boards

All Cambridge A Level Maths topics ยท A Level Maths