Try to solve y′=ky for some constant k. This is a primitive model for population growth, where the rate of growth is proportional to the existing population.
This equation is easily solved using the technique of separation, as described earlier; we get ln(y)=kx+C1, hence y=Cekx. Hence in ideal cases population growth is exponential. But, as Malthus observed, population growth is not nearly that pretty. The logistic equation is a more realistic model. Feel free to look up what each of the constants represents.
y′=rykk−y
dxdy∫y(k−y)dy=rykk−y=∫krdx
We evaluate the integral on the left using partial fractions:
∫y(k−y)dy=k1∫y1+k−y1dy=k1(ln(y)−ln(k−y))
Hence k1(ln(y)−ln(k−y))=krx+C1, so
k−yy=C2erx
So y(1+C2erx)=kC2erx, or
y=1+C2erxkC2erx=1+Ce−rxk,
where the last equality is obtained by dividing both numerator and denominator of the fraction by C2erx then setting C=C21.
Some interesting properties of this solution:
After we wait a long time (x→∞), the population y approaches k, which is the carrying capacity, as long as C is finite. If we wanted to solve for C given an initial condition y(0)=y0, we would find
y0=1+Ck→C=y0k−1=y0k−y0
so as long as y0=0, the population will approach k.