Equations of the form dy/dx = g(y) and logistic equations
Solving dy/dx = g(y) by taking reciprocals, exponential growth, the logistic equation dP/dt = kP(1 − P/K), its solution, carrying capacity, constant solutions, and where the growth is fastest.
When the gradient depends only on $y$, as in $\dfrac{dy}{dx} = g(y)$, the trick is to flip the derivative. That handles exponential growth, and it leads to the logistic equation: the standard model for anything that grows quickly at first and then runs out of room, from rabbits on an island to a rumour in a school.
Solving $\dfrac{dy}{dx} = g(y)$
From 5B, $\dfrac{dx}{dy} = \dfrac{1}{dy/dx}$. So if $\dfrac{dy}{dx} = g(y)$, then $\dfrac{dx}{dy} = \dfrac{1}{g(y)}$, and integrating with respect to $y$ gives $x$ as a function of $y$. (This is the separable method with $f(x) = 1$.) As before, check first for constant solutions where $g(y) = 0$.
Solve $\dfrac{dy}{dx} = 2(y + 2)$, given $y = 0$ when $x = 0$.
Solve $\dfrac{dy}{dx} = 1 + y^2$, given $y = 1$ when $x = 0$.
The logistic equation
Exponential growth $\dfrac{dP}{dt} = kP$ assumes unlimited resources. In reality growth slows as the population $P$ approaches the most the environment can support, the carrying capacity $K$. The factor $\left(1 - \dfrac{P}{K}\right)$ does exactly that: close to $1$ when $P$ is small, close to $0$ when $P$ is near $K$.
The upper dashed line is the carrying capacity K and the lower one is K/2. The segments show the slope field.
With $K = 8$ and $P_0 = 1$, find where the curve is steepest and check that it is on the line $P = K/2$. Then predict what happens when $P_0 = 12$ (above $K$), and check. Does $k$ change the long-run value?
A population follows $P = \dfrac{1000}{1 + 9e^{-0.5t}}$. Find the initial population, the carrying capacity, and when the population reaches $500$.
Your turn
A population starts at $50$ with carrying capacity $400$, and $P = 100$ after $2$ years. Find $k$.
Show the working
$A = \tfrac{400}{50} - 1 = 7$, so $P = \dfrac{400}{1 + 7e^{-kt}}$. At $t = 2$: $1 + 7e^{-2k} = 4$, so $e^{-2k} = \tfrac37$ and $k = \tfrac12\ln\tfrac73 \approx 0.42$.
Solve $\dfrac{dy}{dx} = 3(y + 1)$ with $y = 0$ when $x = 0$. Find $y$ when $x = 0.5$, correct to $2$ decimal places.
$\dfrac{dx}{dy} = \dfrac{1}{3(y + 1)}$, so $x = \tfrac13\ln(y + 1) + C$, and $C = 0$ from the initial condition. Then $y + 1 = e^{3x}$, so $y = e^{3x} - 1$ and $y(0.5) = e^{1.5} - 1 \approx 3.48$.
If $\dfrac{dy}{dx} = g(y)$ and $g(y) \ne 0$, then:
$\dfrac{dx}{dy}$ is the reciprocal of $\dfrac{dy}{dx}$.
Find the carrying capacity for $\dfrac{dP}{dt} = 0.3P\left(1 - \dfrac{P}{600}\right)$.
It is $K = 600$, where the factor $1 - \tfrac{P}{K}$ becomes $0$.
For $\dfrac{dP}{dt} = 0.3P\left(1 - \dfrac{P}{600}\right)$, at what population is the growth rate greatest?
$\dfrac{dP}{dt}$ is a downward quadratic in $P$ with zeroes $0$ and $600$, so its maximum is halfway, at $P = 300$.
Find the greatest value of $\dfrac{dP}{dt}$ for $\dfrac{dP}{dt} = 0.3P\left(1 - \dfrac{P}{600}\right)$.
At $P = 300$: $0.3 \times 300 \times \left(1 - \tfrac12\right) = 45$.
Find the initial population for $P = \dfrac{800}{1 + 15e^{-0.4t}}$.
At $t = 0$: $\dfrac{800}{1 + 15} = 50$.
For $P = \dfrac{800}{1 + 15e^{-0.4t}}$, when does $P$ reach $400$? Give $t$ correct to $2$ decimal places.
$1 + 15e^{-0.4t} = 2$, so $e^{-0.4t} = \tfrac{1}{15}$ and $t = \dfrac{\ln15}{0.4} \approx 6.77$.
The constant solutions of $\dfrac{dP}{dt} = kP\left(1 - \dfrac{P}{K}\right)$ are:
The rate is zero when $P = 0$ or $1 - \tfrac{P}{K} = 0$, that is $P = K$.
Exam style: solve $\dfrac{dy}{dx} = 1 + y^2$ with $y = \sqrt3$ when $x = 0$. Find $y$ when $x = 0.1$, correct to $2$ decimal places.
$x = \tan^{-1}y + C$, and $0 = \tfrac{\pi}{3} + C$. So $\tan^{-1}y = x + \tfrac{\pi}{3}$ and $y = \tan\left(x + \tfrac{\pi}{3}\right)$. At $x = 0.1$: $\tan(1.147) \approx 2.22$.
Exam style: a population starts at $20$, has carrying capacity $200$, and reaches $100$ after $5$ years. Using $P = \dfrac{K}{1 + Ae^{-kt}}$, find $k$ correct to $2$ decimal places.
$A = \tfrac{200}{20} - 1 = 9$. At $t = 5$: $100 = \dfrac{200}{1 + 9e^{-5k}}$, so $9e^{-5k} = 1$ and $k = \dfrac{\ln9}{5} \approx 0.44$.
Coaching Centre