A6 · Lesson 17 · Separable differential equations
Moving each variable to its own side and integrating
A tank drains faster when it's full, because the pressure at the outlet is higher. A capacitor leaking through a part whose current grows with the square of the voltage slows its discharge in a way no exponential describes. Both are equations of the form , where the rate splits into a part that depends on time and a part that depends on the quantity itself. Those equations can be solved with two ordinary integrals.
- The solid curve is the water level in a draining tank, . The dashed curve is an exponential decay with the same starting slope.
- The tank empties completely, in a finite time, and the exponential never does.
- Change the outlet constant and watch the emptying time move.
Predict
A tank's level obeys . Does it empty in a finite time?
Yes. Separating, , so , which reaches zero at . An exponential's rate is proportional to itself, so it slows to nothing as shrinks; this rate goes as , which falls more slowly than , so the level keeps draining fast enough to finish.
Name it
Separating the variables
If , divide by and multiply by :
Integrate both sides, then use the starting value to find , and solve for if you can.
Three examples worth knowing
- Exponential: gives , so .
- Quadratic decay: gives , so . It falls like for large , much more slowly than an exponential.
- Draining tank (Torricelli): gives , empty in finite time.
Watch out for
- Lost solutions: dividing by assumes it isn't zero. If , the constant is a solution too (here, ).
- Checking: differentiate your answer and put it back into the equation, and check the starting value.
Worked example
Solve with . What is at ?
Show the solution
- Separate and integrate.
- Use the starting value. At , :
- Evaluate at .
- Check. Differentiate and compare with : the same.
Answer , so at .
Worked example
A tank 1 m deep drains as (with in m and in s). When is it empty, and how deep is it after 20 s?
Show the solution
- Solve. Separating and starting from m gives
- When it's empty. reaches 0 at s.
- Depth after 20 s. Half the time has drained three quarters of the water, because it drains fastest when full.
Answer the tank is empty at 40 s, and after 20 s it is 0.25 m deep.
Worked example
A 100 µF capacitor at 12 V discharges through a part that conducts with = 5 mA/V². What is its voltage after 10 ms?
Show the solution
- Recognize quadratic decay. is quadratic decay with rate constant :
- Put in the numbers.
- Find the voltage. It falls fast while the voltage is high, then lingers, since the part conducts less and less.
Answer after 10 ms the capacitor is at 1.71 V.
Check
Solve with = 2. What is at = 10?
Check
A tank 4 m deep drains as . When is it empty?
Write units the way you normally would: 1.5 s and 1500 ms are the same answer.
Check
A 10 µF capacitor at 12 V discharges through a part conducting , = 1 mA/V². What is its voltage after 20 ms?
Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.
Check
Solve with . What is at = 1?
Check
A tank 1 m deep drains as .
(a)
When has its level fallen to 0.5 of the start?
Write units the way you normally would: 1.5 s and 1500 ms are the same answer.
(b)
How fast is it falling at the start, in m/s?
Check
Solve with .
Step 1
Separate and integrate . What do you get (without the constant)?
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Step 2
The other side integrates to . Using , write in terms of .
Step 3
Solve for .
Explain why
Why does a draining tank empty in finite time, while an RC circuit never quite discharges?
The difference is how the rate depends on what's left. In an RC circuit the current is proportional to the voltage, so the rate of fall is proportional to the remaining voltage: each time constant removes the same fraction, and a fixed fraction of a positive number is always positive. In a tank, the outflow is proportional to , which shrinks more slowly than as the tank empties: near the bottom, the remaining water is tiny but the outflow is still relatively large. Separating the variables shows it: falls linearly in time and reaches zero at a definite moment. Any rate that goes as with finishes in finite time; gives the exponential; gives an even slower tail.
Practice
Keep practicing
7 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.