First-Order Nonhomogeneous Linear Differential Equations First-order nonhomogeneous linear differential equations are those in which, after isolating the
linear terms containing y(t) and
When the right hand side is actually a constant, k, it is still valid to think of it as a function; it's merely the constant function b(t) = k for all t. The general solution for the nonhomogeneous case is a little trickier than that of the homogeneous case, but it's far from being beyond understanding. In a manner similar to both the simplest and homogeneous cases, we will manipulate the equation into a form that looks like.
Then, also as in the simplest and homogeneous cases, we will integrate both sides of the equation and solve for y(t). The trick to accomplishing this in the nonhomogeneous case is to find an integrating factor. An integrating factor is a function that you can multiply both sides of the equation by (the factor) to produce a form of the equation that transforms into a manageable form (then comes the integrating). Here's how it works. Let's start with an analysis of the situation that's
actually a little ahead of where we actually are, and then work backwards. Looking
at what the situation would be like if you already knew the integrating factor actually
yields the crucial insights into how to find the integrating factor (this is not an
uncommon solution strategy in mathematics and physics). So, let's assume we know the
integrating factor,
Now here's the real trick. The left side of
the equation doesn't look to promising as it stands now (from an integration standpoint),
but by a judicious choice of the function
That is, we need to find a specific function,
This will enable a substitution that leave us with the "simpler" form of the equation which we know how to solve (remember, the product of two functions of t is itself a function of t).
A theorem of calculus tells us how to compute the derivative of a product of two functions f(t) and g(t).
Compare this to the equality that we want
Striking similarity.
Note what the similarity implies: if you find a
then you can make the needed substitution to create
the "simpler" form of the differential equation
you want to solve (if you don't see it, take a moment to figure it out -- let y(t)
= f(t), and
This is the general form of the integrating factor for all first-order nonhomogeneous linear differential equations. We can now make the desired substitution,
that results in the "simpler" form that we know how to solve (simpler in quotes because in many cases finding an exact form for the needed integrals can be quite difficult, perhaps impossible).
Integrating both sides,
simplifies to
And finally, substituting
and isolating y(t) yields
This is the general solution of a first-order nonhomogeneous linear differential equation. It looks a little scary, but sometimes you gotta' do what you gotta' do. Of course, it could get a lot scarier depending on the difficulty of the two integrals. Perhaps this is the first point in this tutorial where the use of tools supplied by a CAS like Maple can really start to save you a lot of time and trouble. The example problems below involve simple integrals, but in the real world this is typically not the situation.
Actually, its easier to not
memorize the equation above. Instead, put the equation in standard
form, and remember the much simpler formula for creating the integrating factor,
Evaluate its integral (not shown here), and multiply both sides of the equation in standard form by this integrating factor.
Then make the needed substitution.
Once you get the feel of it you can combine the above two steps. Now take the integral of both sides of this equation,
and then isolate y(t) to one side of the equation.
This process may seem like a lot more work than just memorizing the general solution, but in actuality it is much easier to remember, because it attaches the solution to the exact steps that bring it about. The continual reinforcement of much of the solution process is another benefit of not memorizing the general solution equation. Either way, you still have to do the same number of integrals.
An example: Solve Solution: Note that this equation is already in standard form. Following the suggested solution algorithm, we see that
Evaluate the integral in
Multiply both sides of the equation in standard form by this integrating factor.
Make the substitution.
Integrate both sides of this equation.
Isolate y(t).
As a check, substitute y(t) back into the original equation and evaluate it.
This obviously simplifies to
Another example: Solve Solution: First place the equation in standard form.
Create the needed integrating factor.
Combine the multiplication of the integrating factor and the substitution steps to produce the more easily integrated version of the equation to be solved.
Integrate both sides of the equation.
Isolate y(t).
As a check, substitute y(t) into the original equation and then simplify it.
Solving initial-value problems of nonhomogeneous linear differential equations is directly analogous to solving them in the homogeneous case. An example: Solve Solution: Create the integrating factor.
Multiply the original equation by the integrating factor and make the substitution.
Integrate both sides of the equation between 2 and t (thus, we need to introduce the dummy variable s).
Substitute y(2) = 4.
Isolate y(t).
On your own, as a check, substitute this back into the original equation and simplify it to see that this is indeed the solution. At this point you now have a solid introductory knowledge of first-order linear differential equations, both the homogeneous and nonhomogeneous types. It's now time to learn how to use Maple functions to solve these equations very quickly, even when the integrals involved are difficult.
A System with Air Resistance An Introduction to Differential Equations Homogeneous Linear Diff Eqs Top Tutorial Index Maple Index How to... Problem Set Index Please send me any polite comments, suggestions, or corrections. |