Mastering First Order Differential Equations with Integrating Factors
Learn how to solve first order linear differential equations using the integrating factor method. This guide provides step-by-step techniques essential for Further Maths success.
Introduction to First Order Linear Differential Equations
In your Further Maths studies, you will frequently encounter differential equations that describe how systems change over time or space. A first order linear differential equation is one of the most important types you will master. It takes the standard form:
$$\frac{dy}{dx} + P(x)y = Q(x)$$
where $P(x)$ and $Q(x)$ are functions of $x$. The integrating factor method is a powerful, systematic approach to solving these equations. By multiplying the entire equation by a carefully chosen function, we can transform the left-hand side into the derivative of a product, making the equation straightforward to integrate. Mastering this technique is essential for your exams, as it provides a reliable pathway to finding the general solution for a wide range of problems.
The Standard Form Requirement
Before applying any method, you must ensure your differential equation is in the correct standard form. Many students lose marks by attempting to find the integrating factor before rearranging the equation. The coefficient of $\frac{dy}{dx}$ must be exactly $1$. If your equation looks like $A(x)\frac{dy}{dx} + B(x)y = C(x)$, you must divide every term by $A(x)$ first. Only once you have isolated $\frac{dy}{dx}$ can you correctly identify $P(x)$ and proceed to calculate the integrating factor.
Calculating the Integrating Factor
The integrating factor, denoted as $\mu(x)$, is defined by the formula:
$$\mu(x) = e^{\int P(x) dx}$$
This function is designed to satisfy the condition that $\frac{d}{dx}(\mu(x)y) = \mu(x)(\frac{dy}{dx} + P(x)y)$. When you multiply your standard-form equation by $\mu(x)$, the left-hand side collapses into the derivative of the product $\mu(x)y$. Remember that when calculating the integral in the exponent, you do not need to include the constant of integration $C$ at this stage, as it would eventually cancel out.
Worked Example 1: Basic Linear Equation
Solve the differential equation: $\frac{dy}{dx} + 2y = e^x$.
- Identify $P(x)$: Here, $P(x) = 2$.
- Find $\mu(x)$: $\mu(x) = e^{\int 2 dx} = e^{2x}$.
- Multiply by $\mu(x)$: $e^{2x}\frac{dy}{dx} + 2e^{2x}y = e^{2x} \cdot e^x = e^{3x}$.
- Rewrite as a product: $\frac{d}{dx}(e^{2x}y) = e^{3x}$.
- Integrate both sides: $e^{2x}y = \int e^{3x} dx = \frac{1}{3}e^{3x} + C$.
- Solve for $y$: $y = \frac{1}{3}e^x + Ce^{-2x}$.
Worked Example 2: Variable Coefficient
Solve $\frac{dy}{dx} + \frac{1}{x}y = 3x$ for $x > 0$.
- Identify $P(x)$: $P(x) = \frac{1}{x}$.
- Find $\mu(x)$: $\mu(x) = e^{\int \frac{1}{x} dx} = e^{\ln|x|} = x$.
- Multiply by $\mu(x)$: $x\frac{dy}{dx} + y = 3x^2$.
- Rewrite as a product: $\frac{d}{dx}(xy) = 3x^2$.
- Integrate both sides: $xy = \int 3x^2 dx = x^3 + C$.
- Solve for $y$: $y = x^2 + \frac{C}{x}$.
Common Mistakes to Avoid
- Forgetting to divide by the leading coefficient: Always ensure the coefficient of $\frac{dy}{dx}$ is $1$ before identifying $P(x)$.
- Sign errors in $P(x)$: If the equation is $\frac{dy}{dx} - 3y = x$, then $P(x) = -3$. Neglecting the negative sign will lead to an incorrect integrating factor.
- Integration errors: Ensure you integrate $P(x)$ correctly. If $P(x)$ involves fractions, ensure you handle the natural logarithm correctly, such as $e^{\ln(x)} = x$.
- Missing the constant $C$: Always add the constant of integration immediately after integrating the right-hand side.
Frequently Asked Questions
What if the equation is not linear? If the equation contains terms like $y^2$ or $\sin(y)$, it is non-linear. You may need to use substitution or separation of variables instead.
Do I need the constant of integration for the integrating factor? No, you can omit it. Adding a constant $k$ would result in $e^{\int P dx + k} = e^k e^{\int P dx}$. Since $e^k$ is just a constant multiplier, it cancels out when you divide both sides of the equation.
How do I handle initial conditions? Once you have the general solution $y(x)$, substitute the given $x$ and $y$ values to solve for the specific constant $C$.
Conclusion
Solving first order differential equations using the integrating factor method is a fundamental skill for any Further Maths student. By following the standard form, calculating the correct factor, and applying the product rule in reverse, you can solve complex problems with confidence. To see these steps visualised and to practice more problems, generate a free animated lesson on this topic at MathInstructor AI.
Topics
Want this explained out loud?
Turn any question into a narrated, animated lesson in seconds.
Try the Studio free