You can navigate through this E-Book using the menu to the left. For E-Books that have a Chapter/Section organization each option in the menu to the left indicates a chapter and will open a menu showing the sections in that chapter. Alternatively, you can navigate to the next/previous section or chapter by clicking the links in the boxes at the very top and bottom of the material.
Also, depending upon the E-Book, it will be possible to download the complete E-Book, the chapter containing the current section and/or the current section. You can do this be clicking on the E-Book, Chapter, and/or the Section link provided below.
For those pages with mathematics on them you can, in most cases, enlarge the mathematics portion by clicking on the equation. Click the enlarged version to hide it.
In this section we will take a look at the first method that
can be used to find a particular solution to a nonhomogeneous differential
equation.
One of the main advantages of this method is that it reduces
the problem down to an algebra problem.
The algebra can get messy on occasion, but for most of the problems it
will not be terribly difficult. Another
nice thing about this method is that the complimentary solution will not be
explicitly required, although as we will see knowledge of the complimentary
solution will be needed in some cases and so we’ll generally find that as well.
There are two disadvantages to this method. First, it will only work for a fairly small
class of g(t)’s. The class of g(t)’s for which the method works, does include some of the more
common functions, however, there are many functions out there for which
undetermined coefficients simply won’t work.
Second, it is generally only useful for constant coefficient differential
equations.
The method is quite simple.
All that we need to do is look at g(t)
and make a guess as to the form of YP(t)
leaving the coefficient(s) undetermined (and hence the name of the
method). Plug the guess into the
differential equation and see if we can determine values of the
coefficients. If we can determine values
for the coefficients then we guessed correctly, if we can’t find values for the
coefficients then we guessed incorrectly.
It’s usually easier to see this method in action rather than
to try and describe it, so let’s jump into some examples.
|
Example 1 Determine
a particular solution to

Solution
The point here is to find a particular solution, however
the first thing that we’re going to do is find the complimentary solution to
this differential equation. Recall
that the complimentary solution comes from solving,

The characteristic equation for this differential equation
and its roots are.

The complimentary solution is then,

At this point the reason for doing this first will not be
apparent, however we want you in the habit of finding it before we start the
work to find a particular solution. Eventually,
as we’ll see, having the complimentary solution in hand will be helpful and
so it’s best to be in the habit of finding it first prior to doing the work
for undetermined coefficients.
Now, let’s proceed with finding a particular
solution. As mentioned prior to the
start of this example we need to make a guess as to the form of a particular
solution to this differential equation.
Since g(t) is an exponential
and we know that exponentials never just appear or disappear in the
differentiation process it seems that a likely form of the particular
solution would be

Now, all that we need to do is do a couple of derivatives,
plug this into the differential equation and see if we can determine what A needs to be.
Plugging into the differential equation gives

So, in order for our guess to be a solution we will need
to choose A so that the
coefficients of the exponentials on either side of the equal sign are the
same. In other words we need to choose
A so that,

Okay, we found a value for the coefficient. This means that we guessed correctly. A particular solution to the differential
equation is then,

|
















Before proceeding any further let’s again note that we
started off the solution above by finding the complimentary solution. This is not technically part the method of
Undetermined Coefficients however, as we’ll eventually see, having this in had
before we make our guess for the particular solution can save us a lot of work
and/or headache. Finding the
complimentary solution first is simply a good habit to have so we’ll try to get
you in the habit over the course of the next few examples. At this point do not worry about why it is a
good habit. We’ll eventually see why it
is a good habit.
Now, back to the work at hand. Notice in the last example that we kept
saying “a” particular solution, not “the” particular solution. This is because there are other possibilities
out there for the particular solution we’ve just managed to find one of
them. Any of them will work when it
comes to writing down the general solution to the differential equation.
Speaking of which…
This section is devoted to finding particular solutions and most of the
examples will be finding only the particular solution. However, we should do at least one full blown
IVP to make sure that we can say that we’ve done one.
|
Example 2 Solve
the following IVP

Solution
We know that the general solution will be of the form,

and we already have both the complimentary and particular solution
from the first example so we don’t really need to do any extra work for this
problem.
One of the more common mistakes in these problems is to
find the complimentary solution and then, because we’re probably in the habit
of doing it, apply the initial conditions to the complimentary solution to
find the constants. This however, is
incorrect. The complimentary solution
is only the solution to the homogeneous differential equation and we are
after a solution to the nonhomogeneous differential equation and the initial
conditions must satisfy that solution instead of the complimentary solution.
So, we need the general solution to the nonhomogeneous
differential equation. Taking the
complimentary solution and the particular solution that we found in the
previous example we get the following for a general solution and its
derivative.

Now, apply the initial conditions to these.

Solving this system gives c1 = 2 and c2
= 1. The actual solution is then.

|










This will be the only IVP in this section so don’t forget
how these are done for nonhomogeneous differential equations!
Let’s take a look at another example that will give the
second type of g(t) for which
undetermined coefficients will work.
|
Example 3 Find
a particular solution for the following differential equation.

Solution
Again, let’s note that we should probably find the
complimentary solution before we proceed onto the guess for a particular
solution. However, because the
homogeneous differential equation for this example is the same as that for
the first example we won’t bother with that here.
Now, let’s take our experience from the first example and
apply that here. The first example had
an exponential function in the g(t)
and our guess was an exponential. This
differential equation has a sine so let’s try the following guess for the
particular solution.

Differentiating and plugging into the differential
equation gives,

Collecting like terms yields

We need to pick A
so that we get the same function on both sides of the equal sign. This means that the coefficients of the
sines and cosines must be equal. Or,

Notice two things.
First, since there is no cosine on the right hand side this means that
the coefficient must be zero on that side.
More importantly we have a serious problem here. In order for the cosine to drop out, as it
must in order for the guess to satisfy the differential equation, we need to
set A = 0, but if A = 0, the sine will also drop out and
that can’t happen. Likewise, choosing A to keep the sine around will also
keep the cosine around.
What this means is that our initial guess was wrong. If we get multiple values of the same
constant or are unable to find the value of a constant then we have guessed
wrong.
One of the nicer aspects of this method is that when we
guess wrong our work will often suggest a fix. In this case the problem was the cosine
that cropped up. So, to counter this
let’s add a cosine to our guess. Our
new guess is

Plugging this into the differential equation and
collecting like terms gives,

Now, set the coefficients equal

Solving this system gives us

We found constants and this time we guessed
correctly. A particular solution to
the differential equation is then,

|




















Notice that if we had had a cosine instead of a sine in the
last example then our guess would have been the same. In fact, if both a sine and a cosine had
shown up we will see that the same guess will also work.
Let’s take a look at the third and final type of basic g(t) that we can have. There are other types of g(t) that we can have, but as we will see they will all come back
to two types that we’ve already done as well as the next one.
|
Example 4 Find
a particular solution for the following differential equation.

Solution
Once, again we will generally want the complimentary
solution in hand first, but again we’re working with the same homogeneous
differential equation (you’ll eventually see why we keep working with the
same homogeneous problem) so we’ll again just refer to the first example.
For this example g(t)
is a cubic polynomial. For this we
will need the following guess for the particular solution.

Notice that even though g(t) doesn’t have a t2
in it our guess will still need one!
So, differentiate and plug into the differential equation.

Now, as we’ve done in the previous examples we will need
the coefficients of the terms on both sides of the equal sign to be the same
so set coefficients equal and solve.

Notice that in this case it was very easy to solve for the
constants. The first equation gave A.
Then once we knew A the
second equation gave B, etc.
A particular solution for this differential equation is then

|










Now that we’ve gone over the three basic kinds of functions
that we can use undetermined coefficients on let’s summarize.
Notice that there are really only three kinds of functions
given above. If you think about it the
single cosine and single sine functions are really special cases of the case
where both the sine and cosine are present.
Also, we have not yet justified the guess for the case where both a sine
and a cosine show up. We will justify
this later.
We now need move on to some more complicated functions. The more complicated functions arise by
taking products and sums of the basic kinds of functions. Let’s first look at products.
|
Example 5 Find
a particular solution for the following differential equation.

Solution
You’re probably getting tired of the opening comment, but
again find the complimentary solution first really a good idea but again
we’ve already done the work in the first example so we won’t do it again
here. We promise that eventually
you’ll see why we keep using the same homogeneous problem and why we say it’s
a good idea to have the complimentary solution in hand first. At this point all we’re trying to do is
reinforce the habit of finding the complimentary solution first.
Okay, let’s start off by writing down the guesses for the
individual pieces of the function. The
guess for the t would be

while the guess for the exponential would be

Now, since we’ve got a product of two functions it seems
like taking a product of the guesses for the individual pieces might
work. Doing this would give

However, we will have problems with this. As we will see, when we plug our guess into
the differential equation we will only get two equations out of this. The problem is that with this guess we’ve
got three unknown constants. With only
two equations we won’t be able to solve for all the constants.
This is easy to fix however. Let’s notice that we could do the following

If we multiply the C
through, we can see that the guess can be written in such a way that there
are really only two constants. So, we
will use the following for our guess.

Notice that this is nothing more than the guess for the t with an exponential tacked on for
good measure.
Now that we’ve got our guess, let’s differentiate, plug
into the differential equation and collect like terms.

Note that when we’re collecting like terms we want the
coefficient of each term to have only constants in it. Following this rule we will get two terms
when we collect like terms. Now, |