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

A8 · Lesson 2 · Separable equations

Sorting the variables to opposite sides

A capacitor discharging through a resistor loses charge in proportion to its voltage, and decays exponentially. But discharge it through a device whose current grows as the voltage squared, like some nonlinear loads, and the decay changes character completely: fast at first, then a long, slow tail. Both are separable equations, the first kind of differential equation you can solve exactly whatever the nonlinearity: put everything involving the unknown on one side, everything involving time on the other, and integrate both.

  • Two capacitors start at the same voltage V0 with the same initial rate of discharge. One discharges through a resistor (V˙=−aV0V); the other through a load drawing current proportional to V2 (V˙=−aV2).
  • Which one is lower after a long time? Watch the tails.
  • The readouts give the time each takes to reach half of V0.

Predict

Both start at 8 V with the same slope. After a long time, which is lower?

Name it

The method

An equation is separable if it can be written

dydt=g(t)h(y)

Divide by h(y) and integrate both sides:

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

then solve for y if you can, and use the starting value to find C. The step works because, by the chain rule, ddtH(y(t))=1h(y)dydt when H′=1/h.

Watch for lost solutions. Dividing by h(y) assumes it isn't zero. Any y0 with h(y0)=0 gives a constant solution y=y0, an equilibrium, that the integral can miss.

Examples you'll meet

EquationSolutionWhere
y˙=kyy=y0ektRC, decay, growth
y˙=−ay2y=y01+ay0tquadratic loss
h˙=−chh=h0−c2ta draining tank
P˙=rP(1−P/K)P=K1+K−P0P0e−rtlogistic growth

The logistic equation needs partial fractions (A6) for the y integral.

Worked example

Solve V˙=−aV2 with V(0)=V0.

Show the solution
  1. Separate. dVV2=−adt
  2. Integrate. −1V=−at+C
  3. Fit the start. At t=0, C=−1V0, so 1V=1V0+atV=V01+aV0t
  4. How it halves. It halves when aV0t=1, and halves again only after three times as long: each halving takes twice the time of the one before.

Answer V=V0/(1+aV0t), and each halving takes twice as long as the one before.

Worked example

A tank drains through a hole, with h˙=−0.2h (h in m, t in s). Starting at 1 m, when is it empty?

Show the solution
  1. Separate. dhh=−0.2dt
  2. Integrate. 2h=−0.2t+C and the start at 1 m gives C=2.
  3. Find when it's empty. h=1−0.1t which reaches zero at t=10 s.
  4. Why it gets there. Unlike an exponential, this solution actually reaches zero in a finite time, because the outflow doesn't vanish fast enough as h→0.

Answer the tank is empty at t=10 s.

Worked example

Solve y˙=ty with y(0)=2, and find y(1).

Show the solution
  1. Separate. dyy=tdt
  2. Integrate. ln⁡|y|=t22+C so y=Aet2/2, and y(0)=2 gives A=2.
  3. Evaluate at t=1. y(1)=2e0.5=3.297
  4. Compare with an exponential. The growth rate is proportional to t itself, so the solution grows faster than any exponential with a fixed rate.

Answer y=2et2/2, and y(1)=3.297.

Check

Solve y˙=−0.5y with y(0)=2. What is y(4)?

Check

Solve y˙=−0.1y2 with y(0)=4. What is y(3)?

Check

Solve dydx=xy with y(0)=3 (y>0). What is y(4)?

Check

A tank obeys h˙=−0.1h and starts at 1 m. How long until it's empty?

Write units the way you normally would: 1.5 s and 1500 ms are the same answer.

Check

A population follows P˙=1P(1−P/1000) with P(0)=100. What is P(4)?

Check

Which equation is separable?

Check

Solve y˙=2ty with y(0) = 2.

(a)

What is y at t = 0.5?

(b)

What is y˙ there?

Check

Solve V˙=−aV2 with V(0)=V by separation.

Step 1

Separating gives 1V(t)=1V+at. What is 1V(t) at time t? (Enter the right side.)

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

When you separate dydt=g(t)h(y) by dividing by h(y), which solutions might you lose, and why?

Practice

Keep practicing

9 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.