Separable and Linear Equations with Integrating Factors
Choosing Between Separation and an Integrating Factor
First-order differential equations connect a changing physical quantity to its instantaneous rate of change. Velocity under resistance, charge in a circuit, and temperature during cooling often lead to equations you can solve by separation or an integrating factor. The useful first step is to inspect the equation's structure. Once you choose a method, keep track of its restrictions and use the initial condition to select the physical solution.
Recognize the available route
A separable equation can be written as a product of a function of time and a function of the dependent variable:
Where g(y)=0, rearrangement gives
For the integrating-factor route, look for the standard linear form
Here the coefficients depend on time, rather than on the unknown y. Divide by the coefficient of dy/dt before identifying p(t) and q(t). Work on an interval where that division is valid.
Equation | Separation available? | Standard linear form available? |
|---|---|---|
y′=−ky | Yes | Yes |
y′=−ky2 | Yes | No |
y′+ky=a(t) | Generally no | Yes |
In the table, k=0 is constant and the coefficients have the units required by the model. A constant choice of a(t) makes the last equation separable too. An equation can fit both methods; choose the route with simpler algebra.
Separate without losing solutions
After separating, integrate both sides and include an integration constant:
Use the initial condition to find C. You may instead use definite integrals with matching initial and current limits. If you obtain logarithms, retain absolute values until the initial condition and solution interval justify a particular sign.
Before dividing by g(y), check its zeros in the original equation. A value y∗ satisfying g(y∗)=0 gives an equilibrium solution y(t)=y∗. Division removes this possibility from the rearranged equation, even though it remains a valid solution of the model.
An implicit relation can be a complete solution when isolating y is inconvenient. State the interval on which it applies, especially if a denominator can vanish.
Build the product derivative
An integrating factor is a nonzero multiplier that turns the left side of the standard linear equation into the derivative of a product. Choose
Because μ′=pμ, multiplying the entire equation gives
Integrating and dividing by μ produces
Multiply the right-hand side by the integrating factor too. Leaving it unchanged solves a different equation. Any nonzero constant multiple of μ works, so choose the simplest convenient factor.
In a physical model with time as the independent variable, p has units of inverse time. The exponent must be dimensionless. The equivalent choice μ(t)=exp(∫t0tp(u)du) makes both the integration reference and this dimensional requirement explicit.
Finally, substitute your result into the differential equation and the initial condition. Check units and the long-time behavior when the model remains applicable. These checks can expose an incorrect constant even when the integration itself is sound.
What to remember
- Separate only after checking values excluded by division.
- Put a linear equation in standard form before finding μ.
- Multiply every term by μ, then integrate the product derivative.
- Check the original equation, initial condition, units, and solution interval.
Example: A Drop Test Solved Two Ways
An idealized drop test uses an object of mass m=0.500 kg released from rest at t=0. Treat gravity and linear resistance as the only forces. The resistance magnitude is bv, with b=1.00 kg/s. Take downward as positive and use g=9.81 m/s2. The model is
a) Solve for v(t) by separating variables.
First identify the terminal speed, the constant speed at which the model's net force is zero. Setting mg−bv=0 gives
The weight is ________, so V=4.905 m/s. Dividing the original equation by m gives a rate coefficient k=b/m of ________. The equation becomes
Starting from rest, separate and use definite limits:
The integration gives
Here V−v is positive on the branch starting from rest. Exponentiating and isolating v gives
Dividing by V−v excluded the constant solution v=V. It is valid for the original equation but does not satisfy release from rest.
b) Obtain v(t) independently using an integrating factor and verify the initial condition.
Write the normalized linear equation:
The integrating factor is the multiplier that creates a product derivative. Here it is μ(t)=ekt, whose value at the initial time is ________. Multiply every term of the equation by this factor:
Integrate from 0 to t and use v(0)=0:
Dividing by ekt gives
At t=0, the bracket is zero, recovering release from rest. Both methods give the same initial-value solution because this equation is both separable and linear.
c) Calculate the speed after 1.00 s, to two decimal places, and check whether it is physically consistent.
At the requested time, the dimensionless exponent is −kt=−(2.00)(1.00)=−2.00. The exponential factor e−2.00 is approximately ________. Substitute without rounding the intermediate exponential:
The object moves downward, so its speed equals its positive velocity:
This lies between the initial speed of zero and the terminal speed of 4.905 m/s. Differentiating the solution also gives v′=ge−kt>0, consistent with continued downward acceleration that decreases as resistance builds.
A test vehicle coasts along a horizontal track. During positive motion, its measured velocity model is
Assume this model remains valid for the next 4.00 s. Find the vehicle's speed at that time, in m/s to two decimal places.
A motorized cart moves horizontally with velocity v(t). Its programmed drive and linear resistance give the model
where α=0.500 s−1, A=2.00 m/s2, B=1.00 m/s3, and v(0)=1.00 m/s. Find the velocity in m/s and the acceleration in m/s2 at t=2.00 s. Give both answers to three decimal places.