Introduction
In our previous lesson, we developed a systematic method for solving first-order separable differential equations. This was our first step in moving from simply classifying ODEs to finding their solutions. However, many important physical systems are described by equations that cannot be separated. This is where we need to expand our toolkit.
Today, we will focus on another crucial class of equations: first-order linear ODEs. You will learn a powerful and elegant technique known as the method of integrating factors to solve them. We will first explore the structure of these equations, then derive the method from a principle you're very familiar with—the product rule for differentiation. Finally, we'll walk through the step-by-step process of applying this technique. This method is fundamental for modeling phenomena in engineering, from electrical circuits to heat transfer, which we will begin to explore in our next lesson.
First-Order Linear Equations: Standard Form
Before we can solve a first-order linear ODE, we must be able to identify it and write it in a specific format called standard form. This is the essential first step that makes the entire solution process possible.
A first-order differential equation is considered linear if it can be written in the general form:
The key feature is that the dependent variable and its derivative appear only to the first power and are not part of other functions (like or ).
To solve this, we manipulate it into standard form by ensuring the coefficient of is 1. We achieve this by dividing the entire equation by , which gives us:
where and . Identifying and is the starting point for our solution method.
Let's look at a resource that defines this form and provides clear examples.
8.5: First-order Linear Equations
This text from Mathematics LibreTexts clearly defines first-order linear ODEs and explains how to convert them into standard form.
Begin by reading the definition and the examples that distinguish linear from nonlinear equations. Next, focus on the section "Standard Form." Read the explanation and follow Example 1, which demonstrates how to rearrange several equations into the standard form y' + p(x)y = q(x) and identify the functions p(x) and q(x).
The "Magic" of the Integrating Factor
Now that we have our equation in the form , let's look at the left side. It's tantalizingly close to the result of the product rule for derivatives, , but it's not quite there.
What if we could multiply our entire equation by some "magic" function, which we'll call the integrating factor , to force the left side into the form of a product rule? This is the central idea of the method.
The following video provides an elegant derivation of this integrating factor. It shows exactly how this "magic" function is found by setting up a simple, separable differential equation—a direct link to our previous lesson.
Linear Differential Equations & the Method of Integrating Factors
This video by Dr. Trefor Bazett, titled "Linear Differential Equations & the Method of Integrating Factors," provides a superb conceptual derivation of the integrating factor.
Watch from the introduction of the standard form up to the point where the integrating factor, r(x) (he uses r instead of \mu), is derived. Pay close attention to how he compares the desired product rule form to the actual equation to find the property that the integrating factor must have. This leads to the formula: \mu(x) = e^{\int p(x)dx} After this derivation, continue watching to see how this allows us to solve the original ODE, from this point.
As the video shows, once we multiply our standard-form equation by this integrating factor , the left-hand side miraculously becomes the derivative of the product .
With the left side now expressed as a single derivative, the equation becomes straightforward to solve by simply integrating both sides.
The Solution Process in Action
With the theory established, let's turn to the practical, step-by-step procedure for solving these equations. The process is always the same:
- Standard Form: Ensure the equation is in the form . Identify .
- Integrating Factor: Calculate the integrating factor . You can ignore the constant of integration here, as it cancels out.
- Multiply: Multiply both sides of the standard form equation by .
- Product Rule: The left side will now be . Rewrite it as such.
- Integrate: Integrate both sides with respect to . Remember to add the constant of integration, , on the right side.
- Solve for y: Isolate to find the general solution. If an initial condition is given, use it to find the value of .
The following video provides excellent worked examples that solidify this process.
Solving Linear Differential Equations with an Integrating Factor (Differential Equations 16)
This video from Professor Leonard walks through several clear examples of solving linear ODEs with an integrating factor. We'll focus on two key cases.
First, watch the first example. Here, p(x) is a constant, which is the most straightforward case. Follow along as he identifies p(x), finds \mu(x), multiplies, integrates, and solves for y. Next, skip to a more involved example that requires rearrangement and uses an initial condition. This shows the importance of first putting the equation in standard form and then using the given values to find a particular solution.
For additional reinforcement and a written reference, let's return to the LibreTexts article. It formalizes the method into a problem-solving strategy and provides more worked examples.
8.5: First-order Linear Equations
This part of the LibreTexts article formalizes the procedure and provides detailed written solutions for both general and initial-value problems.
Start at the heading "Integrating Factors" and read the derivation and explanation of the method. This parallels the video you watched earlier. Follow the solution in Example 2. This shows the steps for finding a general solution. Finally, work through Example 3, which demonstrates how to apply an initial condition to find the constant C and arrive at a particular solution.
Application in Chemical Engineering: Heat Transfer
Why is this method so important for your goal of becoming a chemical engineer? Because many physical processes are naturally described by first-order linear ODEs.
Consider cooling a small metal object in a fluid bath, a common scenario in materials processing. According to Newton's Law of Cooling, the rate of change of the object's temperature, , is proportional to the difference between its temperature and the surrounding fluid's temperature, . This can be modeled by the equation:
where is a positive constant related to the material properties and surface area. If we rearrange this, we get:
This is a perfect example of a first-order linear ODE where and . By using the integrating factor method, an engineer can derive an equation for that predicts the object's temperature at any time. The resource LINK demonstrates this exact application in its Examples 7.13 and 7.14, showing how these equations are used to determine cooling times in thermal testing for microchips. We will explore this and other models in more detail in our next lesson.
Conclusion
Today, we've added a powerful new technique to our mathematical arsenal for solving differential equations. We've moved beyond separable equations to tackle the broad and important category of first-order linear ODEs.
Key Takeaways:
- A first-order linear ODE can be written in the standard form . Putting an equation in this form is always the first step.
- The integrating factor, , is a special function designed to make the left side of the equation collapsible via the product rule.
- The solution process is a clear algorithm: put in standard form, find , multiply the equation by , integrate both sides, and solve for .
- This method is not just a mathematical curiosity; it is essential for modeling and solving real-world engineering problems, such as heat transfer.
In our next lesson, we will synthesize what we've learned about both separable and linear ODEs. We will focus entirely on translating physical descriptions of phenomena—like radioactive decay or population dynamics—into differential equations and using the appropriate solution method to analyze them.