doPhysics.in
All chapters
Integration · Lesson 6 of 6

Separable Differential Equations

16 min read3 ideas5 checks2 figures to playBy Asheshanand Acharya
What you will learn 0 / 3
Separable differential equations
Maths you need
Look around
The flash that takes time to charge

The flash unit of a camera stores its energy in a capacitor. When the unit is switched on, a battery charges the capacitor through a resistor. The charge rises quickly at first, then more and more slowly. The "ready" lamp glows after a few seconds, although the charge never quite reaches its full value. The circuit gives a rule for the rate of charging at each instant. How does a rule for the rate become a formula for the charge itself?

you will be able to solve the four rate equations of the book, and find the charge on a charging capacitor after one time constant.

An equation for a rate

Many laws of physics state how fast a quantity changes, not what the quantity is. A radioactive sample loses nuclei at a rate proportional to the number left. A capacitor charges at a rate that falls as its charge grows. An equation that contains a derivative like \(dy/dx\) is called a differential equation. To solve it is to find the function \(y(x)\) itself.

principle 5.2
Separating the variables

A differential equation is separable when its right side is a product of a function of \(x\) and a function of \(y\): \(dy/dx = f(x)\,g(y)\). To solve it, divide by \(g(y)\) and multiply by \(dx\), so that each side holds one variable. Integrate each side between matching limits: \(y_0\) to \(y\) on one side, and \(x_0\) to \(x\) on the other. Then solve the result for \(y\).

RememberThe separated equation
\[ \int_{y_0}^{y} \dfrac{dy}{g(y)} = \int_{x_0}^{x} f(x)\,dx \]
Holds whenfor \(dy/dx = f(x)\,g(y)\), wherever \(g(y) \ne 0\). The pair \((x_0, y_0)\) is the starting value, the initial condition.
Symbols\(y\) the unknown quantity, \(x\) the variable it depends on, \(f\) and \(g\) the two factors of the rate, \((x_0, y_0)\) the starting point
Unitseach side is a pure number or carries the same unit

Matching limits do the work of the constant \(C\). The lower limits are the starting values, \(y_0\) at \(x_0\). The upper limits are a later pair, \(y\) at \(x\). So the constant of integration never has to be found separately.

The simplest case is the first equation of motion. The acceleration is a constant, so \(dv/dt = a\). Separate: \(dv = a\,dt\). Integrate from the start, where the velocity is \(u\) at \(t = 0\): \(\int_u^v dv = \int_0^t a\,dt\). This gives \(v - u = at\), so \(v = u + at\). Motion in One Dimension, lesson 6, derives the first equation in exactly these steps.

Checkpoint · tap in orderUnanswered

Put the steps for solving a separable equation in order.

Decay at a rate proportional to the amount

A rate proportional to the amount

In a radioactive sample, each nucleus has the same small chance of decaying in each second. This chance per second is the decay constant \(\lambda\). Among \(N\) nuclei, about \(\lambda N\) decay each second. So the number falls at the rate \(dN/dt = -\lambda N\). The minus sign says that \(N\) decreases. The rate depends on \(N\) itself, so a simple integration of the right side is not possible.

Deriving \(N = N_0 e^{-\lambda t}\) step 1 of 4
1

\[ \dfrac{dN}{N} = -\lambda\,dt \]

Why. divide both sides by \(N\) and multiply by \(dt\). Now each side holds one variable.

The solution says something that the rate law hides. The fraction left, \(N/N_0 = e^{-\lambda t}\), does not depend on \(N_0\) at all. A large sample and a small sample of the same nuclide lose the same fraction in the same time. The figure shows three samples together.

Three samples, one decay constantSolutions of dN/dt = minus lambda N with lambda = 0.2 per second, for three samples that start with 1000, 600 and 300 nuclei. As time runs, a dot moves along each curve at the same instant. The readout gives the fraction left, N over N0, which is the same on all three curves: 0.37 at 5 s and 0.14 at 10 s.246810122004006008001000Ot (s)N 1000 600 300 t = 0.0 s, N/N0 = 1.00 on all three
Fig 6.1Three solutions of \(dN/dt = -\lambda N\) with \(\lambda = 0.2\) per second, starting from 1000, 600 and 300 nuclei. Press play. The readout gives \(N/N_0\), the same on all three curves: \(0.37\) at \(5\,\text{s}\) and \(0.14\) at \(10\,\text{s}\).
Checkpoint · numericUnanswered

A sample has a decay constant \(\lambda = 0.3\) per hour. What fraction of its nuclei is left after \(5\) hours? Give a number between 0 and 1.

± 2 %
Approach to a final value

Approaching a final value

Two more equations of the book have one shape. A steel ball falls through oil. Its weight pulls it down and a drag proportional to its speed holds it back: \(m\,dv/dt = mg - kv\). The drag grows until it balances the weight, at the terminal velocity \(v_t = mg/k\). A capacitor charges through a resistor: \(R\,dq/dt = \mathcal E - q/C\). The charge grows until the current stops, at \(q = C\mathcal E\). Both rates are proportional to the gap left to a final value.

Deriving \(v = v_t\left(1 - e^{-t/\tau}\right)\) step 1 of 5
1

\[ m\dfrac{dv}{dt} = mg - kv = k\,(v_t - v) \]

Why. take \(k\) out as a common factor, with \(v_t = mg/k\), the speed at which the drag balances the weight.

The quantity \(\tau\) is the time constant. After one time constant the gap has shrunk to \(1/e = 0.37\) of its first size, so the velocity has reached \(63\,\%\) of \(v_t\). The rate is largest at the start, when the gap is largest, and becomes ever smaller as the gap closes. So the final value is approached but never quite reached.

A steel ball approaching its terminal velocityThe velocity of a steel ball let go in oil, v = 0.1 times one minus e to the minus t over 12.5 ms, in metres per second. The dashed line is the terminal velocity, 0.1 m/s. As time runs, a dot moves along the curve with its tangent. A vertical bar shows the gap left to the terminal velocity. The slope of the tangent, the acceleration a in the readout, is always the gap divided by 12.5 ms: 8 m/s squared at the start, 2.9 m/s squared after one time constant, and almost zero after 50 ms.1020304050600.020.040.060.080.10.12Ot (ms)v (m/s) vt = 0.1 m/s t = 0.0 ms, v = 0.000 m/s, a = 8.0 m/s²
Fig 6.2The steel ball of Viscosity, lesson 3: \(v_t = 0.1\,\text{m/s}\) and \(\tau = 12.5\,\text{ms}\). Press play. The vertical bar is the gap left to \(v_t\). The slope of the tangent, the acceleration \(a\) of the readout, is always the gap divided by \(\tau\). The slope starts at \(8\,\text{m/s}^2\) and falls towards zero as the gap closes.
ExampleBack to physics: charge and current after one time constant

This is a worked example of Circuits: Kirchhoff's Laws, Networks and RC Transients, lesson 5, done with the tool. A \(500\,\mu\text{F}\) capacitor is charged from \(12\,\text{V}\) through \(2\,\text{k}\Omega\). Find the final charge, and the charge and the current at \(t = 1\,\text{s}\). Take \(1/e = 0.37\).

Reveal one step at a time and finish the rest yourself.
Checkpoint · numericUnanswered

The steel ball in oil has \(v_t = 0.1\,\text{m/s}\) and \(\tau = 12.5\,\text{ms}\). It starts from rest. Find its velocity at \(t = 12.5\,\text{ms}\), in m/s.

m/s± 2 %
Checkpoint · numericUnanswered

A rocket in free space obeys \(m\,dv = -u\,dm\), where \(u\) is the exhaust speed and \(m\) the rocket's mass. Separated and integrated from rest, this gives \(v = u\ln(m_0/m)\). With \(u = 2.5\,\text{km/s}\) and the mass falling to a quarter of \(m_0\), find the final speed in m/s. Use \(\ln 2 = 0.693\).

m/s± 2 %
CheckpointUnanswered

Which of these equations cannot be solved by separating the variables?

Common mistake

Separation fails in three ways. The right side must be a product \(f(x)\,g(y)\); a sum such as \(x + y\) cannot be separated. Dividing by \(g(y)\) is not allowed where \(g(y) = 0\), and such a value may itself be a solution, like \(N = 0\) for decay. And a logarithm needs a positive argument, so keep the signs: the gap \(C\mathcal E - q\) is positive while the capacitor charges.

The camera flash is now understood. Its loop equation gives the rate of charging, proportional to the charge still missing. Separating and integrating changes this rate into \(q = C\mathcal E(1 - e^{-t/RC})\). The charge reaches \(63\,\%\) of its final value after one time constant and \(99\,\%\) after about five. The ready lamp is set to glow somewhere on that slow final stretch.

In the world
Where this tool works in physics

Separable equations appear wherever a rate depends on the quantity itself. In Motion in One Dimension, \(dv/dt = a\) gives the first equation of motion. In Radioactivity, \(dN/dt = -\lambda N\) gives exponential decay. In Circuits: Kirchhoff's Laws, Networks and RC Transients, the loop equation gives the charging and discharging of a capacitor. In Viscosity it gives the approach to terminal velocity, and in Momentum and Its Conservation it gives the rocket equation. Newton's law of cooling, the barometric formula and the growth of current in an inductor follow the same steps.

Exam traps
  1. Integrating the right side of \(dN/dt = -\lambda N\) as if \(N\) were constant.
    The rate depends on \(N\), so separate first: \(dN/N = -\lambda\,dt\).
  2. Using mismatched limits, such as \(N_0\) to \(N\) on one side and \(0\) to \(t\) with a different start on the other.
    The lower limits must be the same instant on both sides, and so must the upper limits.
  3. Treating the final value as reached after one time constant.
    After one \(\tau\) the gap is still \(37\,\%\). It takes about five time constants to close to within 1 %.

Where this tool works in the book

The physics that leans on this lesson. Each card opens the topic where the tool is at work.