Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Method of Undetermined Coefficients (aka, Lecture notes of Differential Equations

In this chapter, we will discuss one particularly simple-minded, yet often effective, method for finding particular solutions to nonhomogeneous differential ...

Typology: Lecture notes

2021/2022

Uploaded on 09/12/2022

ekasha
ekasha 🇺🇸

4.8

(22)

270 documents

1 / 20

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
21
Method of Undetermined Coefficients
(aka: Method of Educated Guess)
In this chapter, we will discuss one particularly simple-minded, yet often effective, method
for finding particular solutions to nonhomogeneous differential equations. As the above title
suggests, the method is based on making “good guesses” regarding these particular solutions.
And, as always, “good guessing” is usually aided by a thorough understanding of the problem
(the ‘education’), and usually works best if the problem is simple enough. Fortunately, you have
had the necessary education, and a great many nonhomogeneous differential equations of interest
are sufficiently simple.
As usual, we will start with second-order equations, and then observe that everything devel-
oped also applies, with little modification, to similar nonhomogeneous differential equations of
any order.
21.1 Basic Ideas
Suppose we wish to find a particular solution to a nonhomogeneous second-order differential
equation
ay′′ +by+cy =g.
If gis a relatively simple function and the coefficients a,band c are constants, then,
after recalling what the derivatives of various basic functions look like, we might be able to make
a good guess as to what sort of function yp(x)yields g(x)after being plugged into the left side
of the above equation. Typically, we won’t be able to guess exactly what yp(x)should be, but
we can often guess a formula for yp(x)involving specific functions and some constants that can
then be determined by plugging the guessed formula for yp(x)into the differential equation and
solving the resulting algebraic equation(s) for those constants (provided the initial ‘guess’ was
good).
!
Example 21.1: Consider
y′′ 2y3y=36e5x
.
417
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14

Partial preview of the text

Download Method of Undetermined Coefficients (aka and more Lecture notes Differential Equations in PDF only on Docsity!

Method of Undetermined Coefficients

(aka: Method of Educated Guess)

In this chapter, we will discuss one particularly simple-minded, yet often effective, method for finding particular solutions to nonhomogeneous differential equations. As the above title suggests, the method is based on making “good guesses” regarding these particular solutions. And, as always, “good guessing” is usually aided by a thorough understanding of the problem (the ‘education’), and usually works best if the problem is simple enough. Fortunately, you have had the necessary education, and a great many nonhomogeneous differential equations of interest are sufficiently simple. As usual, we will start with second-order equations, and then observe that everything devel- oped also applies, with little modification, to similar nonhomogeneous differential equations of any order.

21.1 Basic Ideas

Suppose we wish to find a particular solution to a nonhomogeneous second-order differential equation

ay ′′^ + by ′^ + cy = g.

If g is a relatively simple function and the coefficients — a , b and c — are constants, then, after recalling what the derivatives of various basic functions look like, we might be able to make a good guess as to what sort of function yp ( x ) yields g ( x ) after being plugged into the left side of the above equation. Typically, we won’t be able to guess exactly what yp ( x ) should be, but we can often guess a formula for yp ( x ) involving specific functions and some constants that can then be determined by plugging the guessed formula for yp ( x ) into the differential equation and solving the resulting algebraic equation(s) for those constants (provided the initial ‘guess’ was good).

!Example 21.1: Consider

y ′′^ − 2 y ′^ − 3 y = 36 e^5 x.

417

418 Method of Educated Guess

Since all derivatives of e^5 x equal some constant multiple of e^5 x , it should be clear that, if we let y ( x ) = some multiple of e^5 x , then y ′′^ − 2 y ′^ − 3 y = some other multiple of e^5 x. So let us let A be some constant “to be determined”, and try

yp ( x ) = Ae^5 x

as a particular solution to our differential equation:

yp ′′^ − 2 yp ′^ − 3 yp = 36 e^5 x

H⇒

[

Ae^5 x^

]′′

[

Ae^5 x^

]′

[

Ae^5 x^

]

= 36 e^5 x

H⇒

[

25 Ae^5 x^

]

[

5 Ae^5 x^

]

[

Ae^5 x^

]

= 36 e^5 x

H⇒ 25 Ae^5 x^ − 10 Ae^5 x^ − 3 Ae^5 x^ = 36 e^5 x

H⇒ 12 Ae^5 x^ = 36 e^5 x

H⇒ A = 3.

So our “guess”, yp ( x ) = Ae^5 x , satisfies the differential equation only if A = 3. Thus,

yp ( x ) = 3 e^5 x

is a particular solution to our nonhomogeneous differential equation.

In the next section, we will determine the appropriate “first guesses” for particular solutions corresponding to different choices of g in our differential equation. These guesses will involve specific functions and initially unknown constants that can be determined as we determined A in the last example. Unfortunately, as we will see, the first guesses will sometimes fail. So we will discuss appropriate second (and, when necessary, third) guesses, as well as when to expect the first (and second) guesses to fail. Because all of the guesses will be linear combinations of functions in which the coefficients are “constants to be determined”, this whole approach to finding particular solutions is formally called the method of undetermined coefficients. Less formally, it is also called the method of (educated) guess. Keep in mind that this method only finds a particular solution for a differential equation. In practice, we really need the general solution, which (as we know from our discussion in the previous chapter) can be constructed from any particular solution along the general solution to the corresponding homogeneous equation (see theorem 20.1 and corollary 20.2 on page 411).

!Example 21.2: Consider finding the general solution to

y ′′^ − 2 y ′^ − 3 y = 36 e^5 x.

From the last example, we know yp ( x ) = 3 e^5 x

420 Method of Educated Guess

21.2 Good First Guesses For Various Choices of g

In all of the following, we are interested in finding a particular solution yp ( x ) to

ay ′′^ + by ′^ + cy = g (21.1)

where a , b and c are constants and g is the indicated type of function. In each subsection, we will describe a class of functions for g and the corresponding ‘first guess’ as to the formula for a particular solution yp. In each case, the formula will involve constants “to be determined”. These constants are then determined by plugging the guessed formula for yp into the differential equation and solving the system of algebraic equations that, with luck, results. Of course, if the resulting equations are not solvable for those constants, then the first guess is not adequate and you’ll have to read the next section to learn a good ‘second guess’.

Exponentials

As illustrated in example 21.1,

If, for some constants C and α ,

g ( x ) = Ce α x

then a good first guess for a particular solution to differential equation (21.1) is

yp ( x ) = Ae α x

where A is a constant to be determined.

Sines and Cosines

!Example 21.4: Consider

y ′′^ − 2 y ′^ − 3 y = 65 cos( 2 x ).

A naive first guess for a particular solution might be

yp ( x ) = A cos( 2 x ) ,

where A is some constant to be determined. Unfortunately, here is what we get when plug this guess into the differential equation: yp ′′^ − 2 yp ′^ − 3 yp = 65 cos( 2 x )

H⇒ [ A cos( 2 x )]′′^ − 2 [ A cos( 2 x )]′^ − 3 [ A cos( 2 x )] = 65 cos( 2 x )

H⇒ − 4 A cos( 2 x ) + 4 A sin( 2 x ) − 3 A cos( 2 x ) = 65 cos( 2 x )

H⇒ A [−7 cos( 2 x ) + 4 sin( 2 x )] = 65 cos( 2 x ).

But there is no constant A satisfying this last equation for all values of x. So our naive first guess will not work.

Good First Guesses For Various Choices of g 421

Since our naive first guess resulted in an equation involving both sines and cosines, let us add a sine term to the guess and see if we can get all the resulting sines and cosines in the resulting equation to balance. That is, assume yp ( x ) = A cos( 2 x ) + B sin( 2 x ) where A and B are constants to be determined. Plugging this into the differential equation: yp ′′^ − 2 yp ′^ − 3 yp = 65 cos( 2 x )

H⇒ [ A cos( 2 x ) + B sin( 2 x )]′′^ − 2 [ A cos( 2 x ) + B sin( 2 x )]′ − 3 [ A cos( 2 x ) + B sin( 2 x )] = 65 cos( 2 x )

H⇒ − 4 A cos( 2 x ) − 4 B sin( 2 x ) − 2 [− 2 A sin( 2 x ) + 2 B cos( 2 x )] − 3 [ A cos( 2 x ) + B sin( 2 x )] = 65 cos( 2 x )

H⇒ (− 7 A − 4 B ) cos( 2 x ) + ( 4 A − 7 B ) sin( 2 x ) = 65 cos( 2 x ). For the cosine terms on the two sides of the last equation to balance, we need − 7 A − 4 B = 65 , and for the sine terms to balance, we need 4 A − 7 B = 0. This gives us a relatively simple system of two equations in two unknowns. Its solution is easily found. From the second equation, we have

B = 4 7

A.

Combining this with the first equation yields

65 = − 7 A − 4

[

4 7

A

]

[

49 7

16 7

]

A = −

65 7

A.

Thus, A = − 7 and B = 4 7

A =

4 7

and a particular solution to the differential equation is given by yp ( x ) = A cos( 2 x ) + B sin( 2 x ) = −7 cos( 2 x ) − 4 sin( 2 x ).

This example illustrates that, typically, if g ( x ) is a sine or cosine function (or a linear combination of a sine and cosine function with the same frequency) then a linear combination of both the sine and cosine can be used for yp ( x ). Thus, we have the following rule:

If, for some constants Cc , Cs and ω , g ( x ) = Cc cos(ω x ) + Cs sin(ω x ) then a good first guess for a particular solution to differential equation (21.1) is yp ( x ) = A cos(ω x ) + B sin(ω x ) where A and B are constants to be determined.

Good First Guesses For Various Choices of g 423

Products of Exponentials, Polynomials, and Sines and

Cosines

If g is a product of the simple functions discussed above, then the guess for yp must take into account everything discussed above. That leads to the following rule:

If, for some pair of polynomials P ( x ) and Q ( x ) , and some pair of constants α and ω , g ( x ) = P ( x ) e α x^ cos(ω x ) + Q ( x ) e α x^ sin(ω x ) then a good first guess for a particular solution to differential equation (21.1) is

yp ( x ) =

[

A 0 x K^ + A 1 x K^ −^1 + · · · + AK − 1 x + AK

]

e α x^ cos(ω x )

[

B 0 x K^ + B 1 x K^ −^1 + · · · + BK − 1 x + BK

]

e α x^ sin(ω x )

where the Ak ’s and Bk ’s are constants to be determined and K is the highest power of x appearing in polynomial P ( x ) or Q ( x ). (Note that the above include the cases where α = 0 or ω = 0. In these cases the formula for yp simplifies a bit.)

!Example 21.6: To find a particular solution to

y ′′^ − 2 y ′^ − 3 y = 65 x cos( 2 x ) ,

we should start by assuming it is of the form

yp ( x ) = [ A 0 x + A 1 ] cos( 2 x ) + [ B 0 x + B 1 ] sin( 2 x ).

With a bit of work, you can verify yourself that, with y = yp ( x ) , the above differential equation reduces to

[− 2 A 0 − 7 A 1 + 4 B 0 − 4 B 1 ] cos( 2 x ) + [− 7 A 0 − 4 B 0 ] x cos( 2 x )

  • [− 4 A 0 + 4 A 1 − 2 B 0 − 7 B 1 ] sin( 2 x ) + [ 4 A 0 − 7 B 0 ] x sin( 2 x ) = 65 x cos( 2 x ).

Comparing the terms on either side of the last equation, we get the following system:

cos( 2 x ) terms: − 2 A 0 − 7 A 1 + 4 B 0 − 4 B 1 = 0 x cos( 2 x ) terms: − 7 A 0 − 4 B 0 = 65 sin( 2 x ) terms: − 4 A 0 + 4 A 1 − 2 B 0 − 7 B 1 = 0 x sin( 2 x ) terms: 4 A 0 − 7 B 0 = 0

Solving this system yields

A 0 = − 7 , A 1 = − 158 65 ,^ B^0 = −^4.^ and^ B^1 =^

244

So a particular solution to the differential equation is given by

yp ( x ) =

[

− 7 x − (^15865)

]

cos( 2 x ) +

[

− 4 x + (^24465)

]

sin( 2 x ).

424 Method of Educated Guess

21.3 When the First Guess Fails

!Example 21.7: Consider

y ′′^ − 2 y ′^ − 3 y = 28 e^3 x. Our first guess is yp ( x ) = Ae^3 x. Plugging it into the differential equation: yp ′′^ − 2 yp ′^ − 3 yp = 28 e^3 x

H⇒

[

Ae^3 x^

]′′

[

Ae^3 x^

]′

[

Ae^3 x^

]

= 28 e^3 x

H⇒

[

9 Ae^3 x^

]

[

3 Ae^3 x^

]

[

Ae^3 x^

]

= 28 e^3 x

H⇒ 9 Ae^3 x^ − 6 Ae^3 x^ − 3 Ae^3 x^ = 28 e^3 x. But when we add up the left side of the last equation, we get the impossible equation 0 = 28 e^3 x! No value for A can make this equation true! So our first guess fails. Why did it fail? Because the guess, Ae^3 x was already a solution to the corresponding homogeneous equation y ′′^ − 2 y ′^ − 3 y = 0 , which we would have realized if we had recalled the general solution to this homogeneous differential equation. So the left side of our differential equation will have to vanish when we plug in this guess, leaving us with an ‘impossible’ equation.

In general, whenever our first guess for a particular solution contains a term that is also a solution to the corresponding homogeneous differential equation, then the contribution of that term to a yp ′′^ + byp ′^ + cyp = g

vanishes, and we are left with an equation or a system of equations with no possible solution. In these cases, we can still attempt to solve the problem using the first guess with the reduction of order method mentioned in the previous chapter. To save time, though, I will tell you what would happen: You would discover that, if the first guess fails, then there is a particular solution of the form x × “the first guess”

unless this formula also contains a term satisfying the corresponding homogeneous differential equation, in which case there is a particular solution of the form

x^2 × “the first guess”.

Thus, instead of using reduction of order (or the method we’ll learn in the next chapter), we can apply the following rules for generating the appropriate guess for the form for a particular solution yp ( x ) (given that we’ve already figured out the first guess using the rules in the previous section):

426 Method of Educated Guess

Using this: yp ′′^ − 2 yp ′^ − 3 yp = 28 e^3 x

H⇒

[

Axe^3 x^

]′′

[

Axe^3 x^

]′

[

Axe^3 x^

]

= 28 e^3 x

H⇒

[

6 Ae^3 x^ + 9 Axe^3 x^

]

[

Ae^3 x^ + 3 Axe^3 x^

]

− 3 Axe^3 x^ = 28 e^3 x

H⇒ [ ︸ 9 − (^2) ︷︷( 3 ) − (^3) ︸] 0

Axe^3 x^ + [ 6 − 2 ] Ae^3 x^ = 28 e^3 x

H⇒ 4 Ae^3 x^ = 28 e^3 x.

Thus, A = 28 4

and yp ( x ) = 7 xe^3 x.

21.4 Method of Guess in General

If you think about why the method of (educated) guess works with second-order equations, you will realize that this basic approach will work just as well with any linear differential equation with constant coefficients,

a 0 y ( N^ )^ + a 1 y ( N^ −^1 )^ + · · · + aN − 1 y ′^ + aN y = g ,

provided the g ( x ) is any of the types of functions already discussed. The appropriate first guesses are exactly the same, and, if a term in one ‘guess’ happens to already satisfy the corresponding homogeneous differential equation, then x times that guess will be an appropriate ‘next guess’. The only modification in our method is that, with higher order equations, we may have to go to a fourth guess or a fifth guess or....

!Example 21.9: Consider the seventh-order nonhomogeneous differential equation

y (^7 )^ − 625 y (^3 )^ = 6 e^2 x.

An appropriate first guess for a particular solution is still

yp ( x ) = Ae^2 x.

Plugging this guess into the differential equation:

yp (^7 )^ − 625 yp (^3 )^ = 6 e^2 x

H⇒

[

Ae^2 x^

]( 7 )

[

Ae^2 x^

]( 3 )

= 6 e^2 x

H⇒ 27 Ae^2 x^ − 625 · 23 Ae^2 x^ = 6 e^2 x

Method of Guess in General 427

H⇒ 128 Ae^2 x^ − 5 , 000 Ae^2 x^ = 6 e^2 x

H⇒ − 4 , 872 Ae^2 x^ = 6 e^2 x

H⇒ A = − 6 4 , 872

1 812

So a particular solution to our differential equation is

yp ( x ) = − 1 812 e^2 x.

Fortunately, we dealt with the corresponding homogeneous equation,

y (^7 )^ − 625 y (^3 )^ = 0 ,

in example 18.6 on page 382. Looking back at that example, we see that the general solution to this homogeneous differential equation is

yh ( x ) = c 1 + c 2 x + c 3 x^2 + c 4 e^5 x^ + c 5 e −^5 x^ + c 6 cos( 5 x ) + c 7 sin( 5 x ). (21.2)

Thus, the general solution to our nonhomogeneous equation,

y (^7 )^ − 625 y (^3 )^ = 6 e^2 x ,

is y ( x ) = yp ( x ) + yh ( x )

= − 1 809 e^2 x^ + c 1 + c 2 x + c 3 x^2 + c 4 e^5 x^ + c 5 e −^5 x

  • c 6 cos( 5 x ) + c 7 sin( 5 x ).

!Example 21.10: Now consider the nonhomogeneous equation

y (^7 )^ − 625 y (^3 )^ = 300 x + 50.

Since the right side is a polynomial of degree one, the appropriate first guess for a particular solution is yp ( x ) = Ax + B. However, the general solution to the corresponding homogeneous equation (formula (21.2), above) contains both a constant term and an cx term. So plugging this guess into the nonho- mogeneous differential equation will yield the impossible equation

0 = 300 x + 50.

Likewise, both terms of the second guess,

x × “first guess” = x × ( Ax + B ) = Ax^2 + Bx ,

and the last term of the third guess,

x × “second guess” = x × ( Ax^2 + Bx ) = Ax^3 + Bx^2 ,

Using the Principle of Superposition 429

Then there are constants A 0 , A 1 ,... and AK , and constants B 0 , B 1 ,... and BK such that

yp ( x ) = x M^

[

A 0 x K^ + A 1 x K^ −^1 + · · · + AK − 1 x + AK

]

e α x^ cos(ω x )

  • x M^

[

B 0 x K^ + B 1 x K^ −^1 + · · · + BK − 1 x + BK

]

e α x^ sin(ω x )

is a particular solution to the given nonhomogeneous differential equation.

Proving this theorem is not that difficult, provided you have the right tools. Those who are interested can turn to section 21.6 for the details.

21.5 Using the Principle of Superposition

Suppose we have a nonhomogeneous linear differential equation with constant coefficients

a 0 y ( N^ )^ + a 1 y ( N^ −^1 )^ + · · · + aN − 1 y ′^ + aN y = g

where g is the sum of functions,

g ( x ) = g 1 ( x ) + g 2 ( x ) + · · ·.

with each of the gk ’s requiring a different ‘guess’ for yp. One approach to finding a particular solution yp ( x ) to this is to construct a big guess by adding together all the guesses suggested by the gk ’s. This typically leads to rather lengthy formulas and requires keeping track of many undetermined constants, and that often leads to errors in computations — errors that, themselves, may be difficult to recognize or track down. Another approach is to break down the differential equation to a collection of slightly simpler differential equations,

a 0 y ( N^ )^ + a 1 y ( N^ −^1 )^ + · · · + aN − 1 y ′^ + aN y = g 1 ,

a 0 y ( N^ )^ + a 1 y ( N^ −^1 )^ + · · · + aN − 1 y ′^ + aN y = g 2 , .. .

and, for each gk , find a particular solution y = ypk to

a 0 y ( N^ )^ + a 1 y ( N^ −^1 )^ + · · · + aN − 1 y ′^ + aN y = gk.

By the principle of superposition, we know that a particular solution to the differential equation of interest,

a 0 y ( N^ )^ + a 1 y ( N^ −^1 )^ + · · · + aN − 1 y ′^ + aN y = g 1 + g 2 + · · · ,

can then be constructed by simply adding up the ypk ’s ,

yp ( x ) = yp 1 ( x ) + yp 2 ( x ) + · · ·.

430 Method of Educated Guess

Typically, the total amount of computational work is essentially the same for either approach. Still the approach of breaking the problem into simpler problems and using superposition is usually considered to be easier to actually carry out since we are dealing with smaller formulas and fewer variables at each step.

!Example 21.11: Consider

y ′′^ − 2 y ′^ − 3 y = 65 cos( 2 x ) + 9 x^2 + 1.

Because g 1 ( x ) = 65 cos( 2 x ) and g 2 ( x ) = 9 x^2 + 1 lead to different initial guesses for yp ( x ) , we will break this problem into the separate problems of finding particular solutions to

y ′′^ − 2 y ′^ − 3 y = 65 cos( 2 x ) and y ′′^ − 2 y ′^ − 3 y = 9 x^2 + 1.

Fortunately, these happen to be differential equations considered in previous examples. From example 21.4 we know that a particular solution to the first of these two equations is

yp 1 ( x ) = −7 cos( 2 x ) − 4 sin( 2 x ) ,

and from example 21.5 we know that a particular solution to the second of these two equations is yp 2 ( x ) = − 3 x^2 + 4 x − 5. So, by the principle of superposition, we have that a particular solution to

y ′′^ − 2 y ′^ − 3 y = 65 cos( 2 x ) + x^2 + 1

is given by yp ( x ) = yp 1 ( x ) + yp 2 ( x ) = −7 cos( 2 x ) − 4 sin( 2 x ) − 3 x^2 + 4 x − 5.

21.6 On Verifying Theorem 21.

Theorem 21.1, which confirms our “method of guess”, is the main theorem of this chapter. Its proof follows relatively easily using some of the ideas developed in sections 12.4 and 18.4 on multiplying and factoring linear differential operators.

432 Method of Educated Guess

From what we learned about the general solutions to homogeneous linear differential equations with constant coefficients in chapter 18, we know that

yq ( x ) = Y 1 ( x ) + Y ρ ( x )

where Y 1 is a linear combination of the xk^ er x^ ’s arising from the roots other than ρ , and

Y ρ ( x ) = C 0 e ρ x^ + C 1 xe ρ x^ + C 2 x^2 e ρ^ + · · · + CM + K x M + K^ e ρ x

Now let Y ρ, 0 consist of the first M terms of Y ρ , and set

yp = yqY 1 − Y ρ, 0

Observe that, while yq is a solution to the nonhomogeneous differential equation L [ y ] = g , every term in Y 1 ( x ) and Y ρ, 0 ( x ) is a solution to the corresponding homogeneous differential equation L [ y ] = 0. Hence,

L [ yp ] = L [ yqY 1 − Y ρ, 0 ] = L [ yq ] − L [ Y 1 ] − L [ Y ρ, 0 ] = g − 0 − 0.

So yp is a solution to the nonhomogeneous differential equation in the lemma. Moreover,

yp ( x ) = yqY 1 − Y ρ, 0 = Y ρ ( x ) − the first M terms of Y ρ ( x ) = CM x M^ e ρ x^ + CM + 1 x M +^1 xe ρ x^ + CM + 2 x M +^2 e ρ^ + · · · + CM + K x M + K^ e ρ x = x M^

[

CM + CM + 1 x + CM + 2 x^2 + · · · + CM + K x K^

]

e ρ x^ ,

which, except for minor cosmetic differences, is the formula for yp claimed in the lemma.

Proving the Main Theorem

Take a look at theorem 21.1 on page 428. Observe that, if you set ρ = α , then our lemma is just a restatement of that theorem with the additional assumption that ω = 0. So the claims of theorem 21.1 follow immediately from our lemma when ω = 0. Verifying the claims of theorem 21.1 when ω 6 = 0 requires just a little more work. Simply let ρ = α + i ω

and redo the lemma’s proof (making the obvious modifications) with the double factor ( d dx − ρ

d dx − ρ∗

replacing the single factor (^) ( d dx − ρ

and keeping in mind what you know about the solutions to a homogeneous differential equation with constant coefficients corresponding to the complex roots of the characteristic polynomial. I’ll leave the details to you.

Additional Exercises 433

Additional Exercises

21.1 a. Find both a particular solution (via the method of educated guess) and a general solution to each of the following: i. y ′′^ + 9 y = 52 e^2 x ii. y ′′^ − 6 y ′^ + 9 y = 27 e^6 x iii. y ′′^ + 4 y ′^ − 5 y = 30 e −^4 x iv. y ′′^ + 3 y ′^ = ex /^2 b. Solve the initial-value problem

y ′′^ − 3 y ′^ − 10 y = − 5 e^3 x with y ( 0 ) = 5 and y ′( 0 ) = 3.

21.2 a. Find both a particular solution (via the method of educated guess) and a general solution to each of the following: i. y ′′^ + 9 y = 10 cos( 2 x ) + 15 sin( 2 x ) ii. y ′′^ − 6 y ′^ + 9 y = 25 sin( 6 x ) iii. y ′′^ + 3 y ′^ = 26 cos

( (^) x 3

− 12 sin

( (^) x 3

iv. y ′′^ + 4 y ′^ − 5 y = cos( x )

b. Solve the initial-value problem

y ′′^ − 3 y ′^ − 10 y = −4 cos( x ) + 7 sin( x ) with y ( 0 ) = 8 and y ′( 0 ) = − 5.

21.3 a. Find both a particular solution (via the method of educated guess) and a general solution to each of the following: i. y ′′^ − 3 y ′^ − 10 y = − 200 ii. y ′′^ + 4 y ′^ − 5 y = x^3 iii. y ′′^ − 6 y ′^ + 9 y = 18 x^2 + 3 x + 4 iv. y ′′^ + 9 y = 9 x^4 − 9 b. Solve the initial-value problem

y ′′^ + 9 y = x^3 with y ( 0 ) = 0 and y ′( 0 ) = 0.

21.4 a. Find both a particular solution (via the method of educated guess) and a general solution to each of the following: i. y ′′^ + 9 y = 25 x cos( 2 x ) ii. y ′′^ − 6 y ′^ + 9 y = e^2 x^ sin( x ) iii. y ′′^ + 9 y = 54 x^2 e^3 x iv. y ′′^ = 6 xex^ sin( x ) b. Solve the initial-value problem

y ′′^ + 9 y = 39 xe^2 x with y ( 0 ) = 1 and y ′( 0 ) = 0.

21.5. Find both a particular solution (via the method of educated guess) and a general solution to each of the following: a. y ′′^ − 3 y ′^ − 10 y = − 3 e −^2 x b. y ′′^ + 4 y ′^ = 20 c. y ′′^ + 4 y ′^ = x^2 d. y ′′^ + 9 y = 3 sin( 3 x ) e. y ′′^ − 6 y ′^ + 9 y = 10 e^3 x f. y ′′^ + 4 y ′^ = 4 xe −^4 x

Additional Exercises 435

21.10. Find particular solutions to the following. Use superposition and/or answers to previous exercises, if practical. a. y ′′^ − 6 y ′^ + 9 y = 27 e^6 x^ + 25 sin( 6 x ) b. y ′′^ + 9 y = 25 x cos( 2 x ) + 3 sin( 3 x )

c. y ′′^ − 4 y ′^ + 5 y = 5 sin^2 ( x ) (Hint: Use a trig. identity to rewrite the sin^2 ( x ) in a form we’ve already discussed.)

d. y ′′^ − 4 y ′^ + 5 y = 20 sinh( x )