4.10e - Second order non-homogeneous equations
Solve second order equations with a polynomial, exponential or trigonometric forcing term. You will choose a particular integral, combine it with the complementary function, and recognise when a familiar-looking trial must change because it already belongs to the complementary function.
Polynomial forcing
How can you solve when the right-hand side is no longer zero? The extra term does not destroy the homogeneous solution: it asks you to find one extra piece.
You already know
For , the auxiliary equation is , giving . Two independent conditions determine the two arbitrary constants.
Try . Its derivatives are and , so . Adding either homogeneous exponential does not change that right-hand side, because its contribution to the left-hand side is zero.
Complementary function and particular integral
The complementary function, , is the general solution of the associated homogeneous equation. A particular integral, , is any one solution of the non-homogeneous equation, with no arbitrary constants needed. It is a function, rather than an instruction to integrate. It is not yet the particular solution selected by initial conditions.
Linearity explains why the two pieces fit. If , then . Conversely, subtracting one particular integral from any solution leaves a homogeneous solution.
General solution with a forcing term
For constants and , if and , then
is the general solution of . Find constants from conditions only after adding both pieces.
Not in the formula booklet: learn it.
For a polynomial forcing term, start with a polynomial of the same degree, including all lower powers. Differentiation mixes the lower coefficients, so a missing term on the right does not usually mean its trial coefficient is zero.
Worked example 1: a linear forcing term
Question. Find the general solution of .
Plan. Find the complementary function, then substitute and compare coefficients.
Why this trial? A linear function produces a linear expression on the left, and the constant absorbs the extra constant from differentiation.
Answer. .
Check. The polynomial contributes ; each exponential contributes zero.
Change just the degree of the forcing polynomial: the next trial needs a quadratic term as well as its linear and constant terms.
Worked example 2: a quadratic forcing term
Question. Find the general solution of .
Plan. Keep the same complementary function and substitute .
Why keep when the forcing has no linear term? The derivative of produces one; is needed to cancel it.
Answer. .
Check. The polynomial contributes .
A particular integral is often simple; the complete answer still needs both arbitrary constants.
Watch out
Wrong: because the forcing has no term. Differentiation creates in the left-hand side. Right: include , then compare coefficients to find it.
Now change the constant in the forcing, leaving the method and the other coefficients unchanged.
Exponential forcing
An exponential keeps its shape when differentiated, making it a natural trial for an exponential forcing term.
Exponential trial
For , first try . If , then
This is a substitution result, not a rule to use when the denominator is zero.
Not in the formula booklet: learn it.
The auxiliary polynomial appears again because each differentiation multiplies the trial by . Keep the substitution visible when detailed reasoning is requested.
Worked example 3: an exponential particular integral
Question. Find the general solution of .
Plan. Add a multiple of to the familiar complementary function.
Why this step? No new function is created by differentiation, so only one unknown coefficient is needed.
Answer. .
Check. .
Change only the exponent in the forcing. The coefficient changes because the first and second derivatives now multiply by different numbers.
Worked example 4: a different exponent
Question. Find the general solution of .
Plan. Substitute , keeping the complementary function unchanged.
Why divide by ? It is positive for every real , so the division loses no solutions.
Answer. .
Check. , as required.
A zero denominator will signal a different trial, rather than an infinite answer; that case comes shortly.
Watch out
Wrong: differentiating twice gives . Right: the second derivative is ; the chain-rule factor appears each time.
One further change of exponent tests the same substitution without repeating the full complementary-function calculation.
Trigonometric forcing
A cosine forcing term usually needs both cosine and sine in the trial: the first derivative swaps one into the other.
Trigonometric trial
For a forcing term , with , try
provided this trial does not overlap the complementary function. Substitute both derivatives and compare the cosine and sine coefficients separately.
Not in the formula booklet: learn it.
Even if , keep initially: a first-derivative term can force it to be non-zero.
Worked example 5: cosine forcing
Question. Find the general solution of .
Plan. Use both trigonometric functions in the particular integral and add the complementary function.
Why include sine? The term produces a sine term from cosine, and the extra trial term cancels it.
Answer. .
Check. The cosine coefficient is ; the sine coefficient is .
Change only the forcing from cosine to sine, at the same frequency. Keep the trial shape and change the two coefficient equations.
Worked example 6: sine forcing
Question. Find the general solution of .
Plan. Repeat the trial, putting zero on the cosine side and ten on the sine side.
Why compare with zero as well? The absence of cosine on the right is a coefficient condition, not permission to omit cosine from the trial.
Answer. .
Check. and .
The coefficient comparison should be an identity in , rather than an equation checked at just one convenient value.
Watch out
Wrong: use only because the forcing is a sine. Right: begin with ; substitution decides whether either coefficient vanishes.
Now change the frequency while keeping the forcing as a sine.
When the trial overlaps the complementary function
If already belongs to the complementary function, substituting gives zero for every . It cannot produce a non-zero forcing term. Multiplying the trial by gives it a new shape.
Repairing an overlapping trial
If the usual trial is a homogeneous solution, multiply it by , repeating until it no longer overlaps the complementary function. For forcing , use when is a simple auxiliary root, and when it is a repeated root.
Not in the formula booklet: learn it.
Continue this lesson.
You’re previewing NovaLearn without an account. Create a free account to read the rest.
Create free account