An equation whose unknown is a whole function. Multiply by the right factor, guess the right shape, and the answer assembles itself out of two pieces — the complementary function and a particular integral.
Put the equation into the standard form — coefficient of equal to :
Multiply through by the integrating factor . The left-hand side then collapses into a single derivative:
No constant of integration is needed when finding itself; one arbitrary constant appears at the final integration, which is exactly the one the general solution should have.
We want a function making the derivative of . By the product rule,
so we need . That is separable: , giving and .
Solve .
Already in standard form with , so and
Integrate the right-hand side by parts twice:
Hence , and multiplying by :
Check: , so ✓
Solve .
The coefficient of is , not , so divide first: . Then , , and
So , giving and
Check: ✓ Forgetting to divide through is the most common error in this whole section — the integrating factor would have been wrong from the first line.
Solve .
, whose integral is , so . Then
because is exactly . Dividing,
Spotting that is a logarithm — so that comes out as a clean function rather than an exponential — is what makes these tractable.
For a linear equation :
Why: if is a particular integral and is any solution, then , so is a complementary function. Every solution is therefore a CF plus that one PI — and none is missed.
A first order equation has one arbitrary constant; a second order equation has two. If your final answer has the wrong number, something has been dropped — most often the CF itself.
For , try . Substituting gives , and since we need the auxiliary equation
| Roots | Complementary function | Behaviour |
|---|---|---|
| real and distinct, | pure growth / decay | |
| real and repeated, | the extra is essential — two constants are needed | |
| complex, | oscillation inside an envelope |
For a first order equation the auxiliary equation is just , giving .
The real part of the roots controls growth or decay, and the imaginary part controls oscillation. Negative real part means the solution dies away, whatever the constants — which is exactly the answer to "describe the long-term behaviour" questions.
| Right-hand side | Try |
|---|---|
| a polynomial of degree | a general polynomial of degree |
| (or just one of them) | — always both |
Substitute the trial form into the equation and compare coefficients to pin down the constants.
If your trial PI is a solution of the homogeneous equation, substituting it gives — nonsense. The remedy is to multiply the trial form by (and by if it is still in the CF, which happens with a repeated root).
Solve .
CF: gives , so CF .
PI: is not in the CF, so try . Then and , so
General solution: .
Solve . Same CF, but now is in it, so try :
Every term cancels — as it must, since was chosen precisely to survive. So and
Evaluate given that is a particular integral of .
(The form has an in it because the CF is — this is the resonant case.) Differentiating twice by the product rule:
Then the terms cancel:
Comparing with gives , so , and a full general solution would be .
For equations of the form , put . Then
Substituting leaves a constant-coefficient equation in , which you solve as in and — then convert back with .
With we have , so by the chain rule , which is the first result. Differentiating that with respect to :
which rearranges to the second.
Use to solve for .
The first-derivative terms cancel. The auxiliary equation gives , so . Converting back with :
Check : ✓ Check : ✓
Use to solve .
With , the product rule gives , while the right-hand side becomes — every cancels, which is the whole point of the substitution. So
Now separate and split the left-hand integrand into two standard pieces:
Finally put . Leaving the answer in this implicit form is perfectly acceptable — do not waste time trying to make the subject.
Apply the conditions only after you have the complete general solution including the PI. Applying them to the CF alone is a guaranteed loss of every remaining mark, because the constants come out wrong.
For a second order equation you will be given two conditions — typically and at one value of — giving two simultaneous equations in and .
Solve given and when , and describe the behaviour for large .
From the general solution is . At : . Differentiating,
so at , . With this gives , and
Interpretation. The bracket oscillates between forever, but the factor . So the solution is a damped oscillation: it crosses zero repeatedly, with the size of each swing shrinking, and as . In a modelling context that is a system returning to equilibrium while overshooting on the way.
Move the arbitrary constants and watch the whole family of solutions sweep out — every one of them satisfies the equation. The panel substitutes the stated solution back into the differential equation numerically and reports the largest residual over the plotted range: if that is essentially zero, the solution really is a solution.
every curve solves it ✎
The integrating factor for is:
. The trap is stopping at — you must still exponentiate. Check: ✓
The complementary function of is:
gives the repeated root , so the CF is . The third option is really — one constant in disguise, so it cannot be a general solution of a second order equation.
For , a suitable form for the particular integral is:
The auxiliary equation is , so the CF is and is already in it. Trying would give ; multiplying by once is enough, because the root is not repeated. (You would need only for a repeated root.)
Given that is a particular integral of , the value of is:
With : and . The terms cancel in , leaving . Comparing with gives , so . The sign is the whole question here.
Solve , given that and when . Describe the behaviour of for large .
Complementary function. The auxiliary equation is , i.e. , so or and
Particular integral. The right-hand side is , and is not a root of the auxiliary equation, so try . Then , , and
General solution. .
Apply the conditions — to the full general solution, not just the CF. At :
Differentiating, , so at :
Subtracting the first from the second gives , and then . Hence
Check: at , ✓ and ✓
Behaviour for large . All three terms grow, but grows fastest, so it dominates: . The solution grows without bound, at the rate set by the particular integral rather than by the complementary function.