A617 of 55
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

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 dydt=g(t)h(y), 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, h(t)=(h0−ct2)2. 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 c and watch the emptying time move.

Predict

A tank's level obeys h′=−ch. Does it empty in a finite time?

Name it

Separating the variables

If dydt=g(t)h(y), divide by h(y) and multiply by dt:

dyh(y)=g(t)dt⇒∫dyh(y)=∫g(t)dt+C

Integrate both sides, then use the starting value to find C, and solve for y if you can.

Three examples worth knowing

  • Exponential: y′=ky gives ln⁡|y|=kt+C, so y=y0ekt.
  • Quadratic decay: y′=−ky2 gives −1y=−kt+C, so y=y01+ky0t. It falls like 1/t for large t, much more slowly than an exponential.
  • Draining tank (Torricelli): h′=−ch gives h=h0−ct2, empty in finite time.

Watch out for

  • Lost solutions: dividing by h(y) assumes it isn't zero. If h(y*)=0, the constant y=y* is a solution too (here, y=0).
  • Checking: differentiate your answer and put it back into the equation, and check the starting value.

Worked example

Solve y′=−0.2y2 with y(0)=2. What is y at t=10?

Show the solution
  1. Separate and integrate. dyy2=−0.2dt−1y=−0.2t+C
  2. Use the starting value. At t=0, C=−12: 1y=0.5+0.2tsoy=21+0.4t
  3. Evaluate at t=10. y=25=0.4
  4. Check. Differentiate y and compare with −0.2y2: y′=−0.8(1+0.4t)2−0.2y2=−0.2⋅4(1+0.4t)2 the same.

Answer y=21+0.4t, so y=0.4 at t=10.

Worked example

A tank 1 m deep drains as h′=−0.05h (with h in m and t in s). When is it empty, and how deep is it after 20 s?

Show the solution
  1. Solve. Separating and starting from h=1 m gives h=1−0.025t
  2. When it's empty. h reaches 0 at t=40 s.
  3. Depth after 20 s. h=0.5soh=0.25m 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 i=kv2 with k = 5 mA/V². What is its voltage after 10 ms?

Show the solution
  1. Recognize quadratic decay. Cdvdt=−kv2 is quadratic decay with rate constant k/C: v=v01+kv0t/C
  2. Put in the numbers. kv0tC=0.005×12×0.0110−4=6
  3. Find the voltage. v=127=1.71V 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 y′=−0.1y2 with y(0) = 2. What is y at t = 10?

Check

A tank 4 m deep drains as h′=−0.02h. 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 kv2, k = 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 y′=0.5ty with y(0)=1. What is y at t = 1?

Check

A tank 1 m deep drains as h′=−0.04h.

(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 y′=−ky2 with y(0)=y0.

Step 1

Separate and integrate ∫−dyy2. 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°.

Explain why

Why does a draining tank empty in finite time, while an RC circuit never quite discharges?

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.