- Published on
Engineering Math Series 3: Separation of Variables, Integrating Factor, Exact Equations
- Authors

- Name
- Youngju Kim
- @fjvbn20031
Engineering Math Series 3: Separation of Variables, Integrating Factor, Exact Equations
First-order differential equations may seem to come in many varieties, but at the introductory level, learning three representative patterns first is sufficient. The key is to develop the eye to classify "what form is this" as soon as you see an equation.
1. Separation of Variables
The first form to look at is
This equation can be solved if you can separate the terms involving and to opposite sides.
Integrating both sides gives
Example
If
then
and integrating,
Therefore
Intuition
Separation of variables is powerful "when the rate of change decomposes into a product of two factors." It frequently appears in situations where the growth rate splits into the effect of time and the effect of the current state.
2. Integrating Factor Method
The following standard form of a first-order linear equation is solved using the integrating factor method.
The key idea is to multiply by some function to make the left side into a form that can be differentiated all at once.
The integrating factor is
Multiplying both sides gives
and the left side becomes
Example
For
we have , so
Multiplying both sides by gives
Integrating,
Therefore
Engineering Significance
The integrating factor method frequently appears in systems with a "term that pulls the current state," such as RC and RL circuits or simple thermal equilibrium models.
3. Exact Equations
Consider the following form.
If this equation can be interpreted as the total differential of some scalar function
then the solution is simply
In this case, the equation is called an exact equation.
The test condition is
Example
Consider
We have
and
so it is exact.
Integrating with respect to ,
Differentiating with respect to and comparing with ,
so
Therefore the solution is
How to Distinguish
When you see a problem, think in the following order.
- Can and be cleanly separated
- Does it look like the linear standard form
- Can you write it in differential form and check the exactness condition
At the beginning, these three alone can handle a great many introductory problems.
A Short Worked Example
The initial value problem
is easier to solve by direct integration than by separation of variables.
Integrating,
Applying the initial condition,
so
This example is very simple, but it is good for confirming the basic procedure of "find the general solution and then determine the constant using the initial condition."
Common Mistakes
Forcing the wrong form
Trying to force separation on an equation that is not separable will derail the calculation. Classification must come first.
Computing the integrating factor incorrectly
The integrating factor is . A common mistake is to integrate along with it.
Integrating without checking the exactness condition
For exact equations, you must verify the condition first. Otherwise, you end up trying to force-find a potential function that does not exist.
One-Line Summary
For first-order differential equations, the key is to identify whether it is separable, linear, or exact before starting any computation.
Next Post Preview
In the next post, we will move beyond first-order to second-order linear differential equations, where we will begin seriously exploring vibration and response of engineering systems.
References
- Erwin Kreyszig, Advanced Engineering Mathematics, 10th Edition
- William E. Boyce, Richard C. DiPrima, Elementary Differential Equations and Boundary Value Problems
- MIT OpenCourseWare, Differential Equations