The Solution of First-Order Linear Differential Equations Using the Integrating Factor Method.

First-order linear differential equations are fundamental in the study of calculus and applied mathematics. These equations take the general form:
$$ \frac{dy}{dx} + P(x)y = Q(x), $$
where $ P(x) $ and $ Q(x) $ are functions of $ x $. The equation describes the rate of change of a function $ y(x) $, influenced by a term involving $ P(x) $ and a constant $ Q(x) $. Such equations arise in various contexts, including population dynamics, chemical reactions, and physical systems governed by linear relationships. The solution to these equations is critical for understanding the behavior of dynamic systems and predicting future states based on current conditions.

The integrating factor method is a powerful technique for solving first-order linear differential equations. This method transforms the equation into a separable form, enabling direct integration to find the solution. The core idea is to multiply both sides of the equation by an integrating factor, which is a function chosen to simplify the left-hand side into a derivative of a product. This approach is particularly effective when the equation is linear and the integrating factor can be explicitly computed.

The Integrating Factor Method

The integrating factor $ \mu(x) $ is defined as:
$$ \mu(x) = e^{\int P(x) , dx}. $$
This function is selected because it satisfies the condition:
$$ \frac{d}{dx}\left[ \mu(x) y \right] = \mu(x) \left( \frac{dy}{dx} + P(x) y \right). $$
Multiplying the original differential equation by $ \mu(x) $ yields:
$$ \frac{d}{dx}\left[ \mu(x) y \right] = \mu(x) Q(x). $$
This transformed equation is now exact, meaning the left-hand side is the derivative of a product, and the right-hand side is a simple function of $ x $. Integrating both sides with respect to $ x $ allows the solution to be expressed in terms of $ y $.

The process of solving the equation using the integrating factor method involves the following steps:

  1. Identify the equation: Recognize the form $ \frac{dy}{dx} + P(x)y = Q(x) $.
  2. Compute the integrating factor: Calculate $ \mu(x) = e^{\int P(x) , dx} $.
  3. Multiply through by the integrating factor: Multiply both sides of the equation by $ \mu(x) $ to obtain $ \frac{d}{dx}\left[ \mu(x) y \right] = \mu(x) Q(x) $.
  4. Integrate both sides: Integrate with respect to $ x $ to solve for $ y $.
  5. Solve for $ y $: Simplify the integrated equation to isolate $ y $, resulting in the general solution.

This method relies on the properties of derivatives and the structure of linear differential equations, ensuring that the solution process is both systematic and elegant. The integrating factor method is particularly valuable when $ P(x) $ is not easily integrable or when the equation is complex, as it avoids the need for advanced techniques such as power series or numerical methods.

Steps of the Method

The steps outlined above are foundational to the integrating factor method and are critical for applying the technique correctly. Let’s break down each step with examples to illustrate the process.

Example 1: Constant Coefficient Equation

Consider the equation:
$$ \frac{dy}{dx} + 2y = 4. $$
Here, $ P(x) = 2 $ and $ Q(x) = 4 $. The integrating factor is:
$$ \mu(x) = e^{\int 2 , dx} = e^{2x}. $$
Multiplying the equation by $ \mu(x) $:
$$ e^{2x} \frac{dy}{dx} + 2e^{2x} y = 4e^{2x}. $$
The left-hand side is the derivative of $ e^{2x} y $:
$$ \frac{d}{dx}\left( e^{2x} y \right) = 4e^{2x}. $$
Integrating both sides:
$$ \int \frac{d}{dx}\left( e^{2x} y \right) dx = \int 4e^{2x} dx. $$
This yields:
$$ e^{2x} y = 2e^{2x} + C, $$
where $ C $ is the constant of integration. Solving for $ y $:
$$ y = 2 + \frac{C}{e^{2x}} = 2 + Ce^{-2x}. $$
This is the general solution, representing all possible functions $ y(x) $ that satisfy the differential equation.

Example 2: Non-Constant Coefficient Equation

Consider the equation:
$$ \frac{dy}{dx} + e^{-x} y = \sin(x). $$
Here, $ P(x) = e^{-x} $ and $ Q(x) = \sin(x) $. The integrating factor is:
$$ \mu(x) = e^{\int e^{-x} dx} = e^{-e^{-x}}. $$
Multiplying the equation by $ \mu(x) $:
$$ e^{-e^{-x}} \frac{dy}{dx} + e^{-e^{-x}} e^{-x} y = e^{-e^{-x}} \sin(x). $$
The left-hand side is the derivative of $ e^{-e