Calculus II For Dummies
Book image
Explore Book Buy On Amazon

A clever method for solving differential equations (DEs) is in the form of a linear first-order equation. This method involves multiplying the entire equation by an integrating factor. A linear first-order equation takes the following form:

image0.png

To use this method, follow these steps:

  1. Calculate the integrating factor.

  2. Multiply the DE by this integrating factor.

  3. Restate the left side of the equation as a single derivative.

  4. Integrate both sides of the equation and solve for y.

To help you understand how multiplying by an integrating factor works, the following equation is set up to practically solve itself — that is, if you know what to do:

image1.png

Notice that this is a linear first-degree DE, with

image2.png

and b(x) = 0. You now tweak this equation by multiplying every term by x2 (you see why shortly):

image3.png

Next, you use algebra to do a little simplifying and rearranging:

image4.png

Here’s where you appear to get extremely lucky: The two terms on the left side of the equation just happen to be the result of the application of the Product Rule to the expression y · x2:

image5.png

Notice that the right side of this equation is exactly the same as the left side of the previous equation. So you can make the following substitution:

image6.png

Now, to undo the derivative on the left side, you integrate both sides, and then you solve for y:

image7.png

To check this solution, you plug this value of y back into the original equation:

image8.png

The previous example works because you found a way to multiply the entire equation by a factor that made the left side of the equation look like a derivative resulting from the Product Rule. Although this looked lucky, if you know what to multiply by, every linear first-order DE can be transformed in this way. Recall that the form of a linear first-order DE is as follows:

image9.png

The trick is to multiply the DE by an integrating factor based on a(x). Here’s the integrating factor:

image10.png

For example, in the previous problem, you know that

image11.png

So here’s how to find the integrating factor:

image12.png

Remember that 2 ln x = ln x2, so:

image13.png

As you can see, the integrating factor x2 is the exact value that you multiplied by to solve the problem. To see how this process works now that you know the trick, here’s another DE to solve:

image14.png

In this case, a(x) = 3, so compute the integrating factor as follows:

image15.png

Now multiply every term in the equation by this factor:

image16.png

If you like, use algebra to simplify the right side and rearrange the left side:

image17.png

Now you can see how the left side of this equation looks like the result of the Product Rule applied to evaluate the following derivative:

image18.png

Because the right side of this equation is the same as the left side of the previous equation, you can make the following substitution:

image19.png

Notice that you change the left side of the equation using the Product Rule in reverse. That is, you’re expressing the whole left side as a single derivative. Now you can integrate both sides to undo this derivative:

image20.png

Now solve for y and simplify:

image21.png

To check this answer, substitute this value of y back into the original DE:

image22.png

As if by magic, this answer checks out, so the solution is valid.

About This Article

This article is from the book:

About the book author:

Mark Zegarelli, a math tutor and writer with 25 years of professional experience, delights in making technical information crystal clear — and fun — for average readers. He is the author of Logic For Dummies and Basic Math & Pre-Algebra For Dummies.

This article can be found in the category: