2.6 - Finding particular integrals

2.6 - Finding particular integrals

The right-hand side of a linear differential equation suggests the shape of a particular integral. You will determine coefficients for polynomial, exponential and trigonometric trials, then use supplied forms when an ordinary trial overlaps the complementary function or needs extra terms.

Polynomial forcing

Can the shape of the right-hand side save us from integrating a differential equation? For y′′+3y′+2y=4x+7y''+3y'+2y=4x+7, try a straight line: differentiation cannot produce any higher powers, and the 2y2y term can reproduce the linear term.

The right-hand side is sometimes called the forcing term. For a polynomial forcing term, try a polynomial of the same degree when that is a suitable form. Include all lower powers: their coefficients may be needed to cancel terms produced by differentiation.

You already know

The general solution is the complementary function plus one particular integral. For y′′+3y′+2y=f(x)y''+3y'+2y=f(x), the complementary function is C1e−x+C2e−2xC_1e^{-x}+C_2e^{-2x}.

Use new lower-case coefficients in the trial so that they do not become confused with the arbitrary constants in the complementary function.

Worked example 1: a linear polynomial

Question. Find the general solution of y′′+3y′+2y=4x+7y''+3y'+2y=4x+7.

Plan. Try yp=ax+by_p=ax+b, substitute and compare coefficients of xx and the constant.

Here yp′=ay_p'=a and yp′′=0y_p''=0, so

2ax+(3a+2b)=4x+7.2ax+(3a+2b)=4x+7.

Thus 2a=42a=4, giving a=2a=2, and 6+2b=76+2b=7, giving b=1/2b=1/2.

Answer. y=C1e−x+C2e−2x+2x+1/2y=C_1e^{-x}+C_2e^{-2x}+2x+1/2.

Check. For yp=2x+1/2y_p=2x+1/2, the left-hand side is 0+6+4x+1=4x+70+6+4x+1=4x+7. Each exponential in the complementary function contributes zero separately.

Change only the degree of the forcing polynomial. The trial now needs a quadratic term and both lower powers.

Worked example 2: a quadratic polynomial

Question. Find the general solution of y′′+3y′+2y=4x2+7y''+3y'+2y=4x^2+7.

Plan. Use yp=ax2+bx+cy_p=ax^2+bx+c, then work down from the highest power.

Since yp′=2ax+by_p'=2ax+b and yp′′=2ay_p''=2a, comparison gives

2a=46a+2b=02a+3b+2c=7.\begin{aligned} 2a&=4 \\ 6a+2b&=0 \\ 2a+3b+2c&=7. \end{aligned}

Therefore a=2a=2, b=−6b=-6 and c=21/2c=21/2. The linear coefficient on the right is zero, but a linear term in the trial is still necessary.

Answer. y=C1e−x+C2e−2x+2x2−6x+21/2y=C_1e^{-x}+C_2e^{-2x}+2x^2-6x+21/2.

Check. The trial gives yp′=4x−6y_p'=4x-6, yp′′=4y_p''=4, and hence

4+3(4x−6)+2(2x2−6x+21/2)=4x2+7.4+3(4x-6)+2(2x^2-6x+21/2)=4x^2+7.

If a proposed trial belongs to the complementary function, substitution gives zero instead of the required forcing. The form then needs adjustment; a later part uses explicitly supplied adjusted trials.

Watch out

For quadratic forcing, trying only ax2ax^2 usually fails. Include bx+cbx+c before comparing coefficients, even if the forcing has no linear or constant term.

Find just the particular integral in the next problem.

Exponential forcing

An exponential forcing term suggests an exponential trial because all its derivatives retain the same exponential factor.

For ay′′+by′+cy=Kerxay''+by'+cy=Ke^{rx}, trying yp=kerxy_p=ke^{rx} gives k(ar2+br+c)erxk(ar^2+br+c)e^{rx}. If the bracket is nonzero, comparing coefficients determines kk. The same reasoning works for a first-order equation: in y′+2y=8e2xy'+2y=8e^{2x}, the trial ke2xke^{2x} gives 4k=84k=8.

Exponential trial

For a constant-coefficient linear equation, try yp=kerxy_p=ke^{rx} for forcing KerxKe^{rx}, provided that exponential is not a homogeneous solution. Substitute its derivatives to determine kk.

If it overlaps the complementary function, the trial must change. Check a supplied adjusted form by differentiation. This method is not in the formula booklet: learn it.

The overlap test is a practical check, not an instruction to divide by zero and continue.

Worked example 3: no overlap

Question. Find the general solution of y′′−y′−2y=9e3xy''-y'-2y=9e^{3x}.

Plan. Find the complementary function, then try ke3xke^{3x}.

The auxiliary equation is (m−2)(m+1)=0(m-2)(m+1)=0, giving yc=C1e2x+C2e−xy_c=C_1e^{2x}+C_2e^{-x}. Substitution of the trial gives

(9k−3k−2k)e3x=9e3x,(9k-3k-2k)e^{3x}=9e^{3x},

so 4k=94k=9.

Answer. y=C1e2x+C2e−x+94e3xy=C_1e^{2x}+C_2e^{-x}+\tfrac94e^{3x}.

Check. The particular term has first and second derivatives 274e3x\tfrac{27}4e^{3x} and 814e3x\tfrac{81}4e^{3x}. Their combination is (81−27−18)e3x/4=9e3x(81-27-18)e^{3x}/4=9e^{3x}.

Change only the forcing exponent from 33 to 22. The ordinary exponential trial now lies inside the complementary function, so an adjusted form is supplied.

Worked example 4: a supplied trial avoids overlap

Question. Find the general solution of y′′−y′−2y=9e2xy''-y'-2y=9e^{2x}, using the particular-integral form yp=kxe2xy_p=kxe^{2x}.

Plan. Retain the preceding complementary function and differentiate the supplied product carefully.

yp′=k(1+2x)e2xyp′′=k(4+4x)e2xyp′′−yp′−2yp=3ke2x.\begin{aligned} y_p'&=k(1+2x)e^{2x} \\ y_p''&=k(4+4x)e^{2x} \\ y_p''-y_p'-2y_p&=3ke^{2x}. \end{aligned}

Thus 3k=93k=9, giving k=3k=3.

Answer. y=C1e2x+C2e−x+3xe2xy=C_1e^{2x}+C_2e^{-x}+3xe^{2x}.

Check. Put y=e2xvy=e^{2x}v directly in the original equation. The left-hand side becomes e2x(v′′+3v′)e^{2x}(v''+3v'). For the particular choice v=3xv=3x, this is 9e2x9e^{2x}, confirming the adjusted trial independently.

Trying ke2xke^{2x} instead would give zero for every kk; no value of its coefficient could make it a particular integral here.

Watch out

Before cancelling an exponential and solving for its coefficient, check whether the coefficient multiplier is zero. An overlap requires a new trial, not an infinite coefficient.

Use the provided adjusted form with a new forcing size.

Continue this lesson.

You’re previewing NovaLearn without an account. Create a free account to read the rest.

Create free account