A model is a differential equation where the dependent and independent variables both represent measurable quantities. The very first model ever devised by mankind is Newton's famous equation:
\begin{equation*}
F = ma.
\end{equation*}
Where \(F\) represents the total force acting on an object of mass \(m\) and \(a\) represents acceleration, the second derivative of position with respect to time. The measurable quantities in this model are of course position and time.
Modeling is an iterative process of simplifying a physical system down to its essential features and expressing how the system changes via a differential equation or perhaps a system of differential equations. The iteration comes when you compare measured data with the model's predictions and then change or adjust the model so as to hopefully have better agreement with experimental data.
The population model is simple and yet, as we shall see later in the course, it is perhaps the most fundamental of all models. Consider a petri dish of bacteria. We want to predict how many bacteria will be in the dish at a given time.
The measurable quantites in this model will be population, \(P\) and time, \(t\text{,}\) which is often measured in days in biological experiments. Our goal is to determie the right hand side of the equation:
\begin{equation*}
\frac{dP}{dt} = f(t,P) = ?
\end{equation*}
To do so, we often do thought experiments where we rely upon our intuititon to devise a reasonable function for the right hand side.
Another extremely important separable equation comes about from modeling diffusion. Diffusion is the spreading of something from a concentrated state to a less concentrated state.
We will model the diffusion of salt across a semi--permeable membrane such as a cell wall. Imagine a cell, which contains a salt solution that is immersed in a bath of saline solution. If the salt concentration inside the cell is higher than outside the cell, then salt will on average, mostly flow out of the cell, and vice versa. Let's assume that the rate of change of salt concentration in the cell is proportional to the difference between the concentrations outside and inside the cell. Also, let's assume that the surrounding bath is so much larger in volume than the cell, that its concentration remains essentially constant because the outflow from the cell is miniscule. We must translate these ideas into a model. If we let \(y(t)\) represent the salt concentration inside the cell, and \(A\) the constant concentration of the surrounding bath, then we get the diffusion model:
Again, \(k\) is a constant of proportionality with units, 1/time, and we assume \(k>0\text{.}\) This is a separable equation, so we know how to solve it.
\begin{align*}
\int \dfrac{dy}{A-y} \amp=
\int k \; dt \qquad u=A-y, \: -du=dy\\
-\int \dfrac{du}{u} \amp= \int k \; dt\\
-\ln \abs{A-y} \amp= kt + C\\
\abs{A-y} \amp= e^{-kt-C} \quad
\textrm{ let } C = e^{-C}\\
\abs{A-y} \amp= C e^{-kt}\\
A-y = \amp
\begin{cases}
\;\;\,C e^{-kt} \amp A \gt y \\
-C e^{-kt} \amp A \lt y
\end{cases}\\
y = A - \amp
\begin{cases}
\;\;\,C e^{-kt} \amp A \gt y \\
-C e^{-kt} \amp A \lt y
\end{cases}
\end{align*}
Thus we get two solutions depending on which concentration is initially higher.
\begin{equation}
y(t) =
\begin{cases}
A - C e^{-kt} \amp y \lt A \\
A + C e^{-kt} \amp y \gt A
\end{cases}
\label{eqn-diffusion-model-sol}\tag{2.2.4}
\end{equation}
Actually, there is a third curious solution which occurs when \(y = A\text{.}\) In this case, the right hand side of equation (2.2.3) is 0, which implies that \(y\) will never change. This in turn forces \(y(t)=A\text{,}\) i.e. a constant solution.
Remark2.2.2
A remark is in order here. Don't memorize the three solutions. That is foolish, instead of memorizing solutions, it is far better to understand the steps of the solution and then practice the separation of variables method on other separable equations.
Example2.2.3Cell in a Salt Bath
Suppose a cell with a salt concentration of 5% is immersed in a bath of 15% salt solution. If the concentration in the cell doubles to 10% in 10 minutes, how long will it take for the salt concentration in the cell to reach 14%?
We wish to solve the IVP:
\begin{equation*}
\frac{dy}{dt} = k(15 - y) \qquad y(0) = 5,
\end{equation*}
along with the extra information \(y(10) = 10\text{.}\)
\begin{align*}
\int \dfrac{dy}{15 - y} \amp = \int k \; dt\\
u=15-y, \quad du \amp =-dy \quad \Rightarrow \quad -du=dy\\
-\int \dfrac{du}{u} \amp = \int k \; dt\\
-\ln \abs{15-y} \amp = kt+C\\
\abs{15-y} \amp = e^{-kt-C}\\
15 - y \amp = C e^{-kt}\\
y \amp = 15 - C e^{-kt}\\
5 \amp = 15 - C e^0 \Rightarrow C = 10
\end{align*}
Now we can use the second condition, (point on the solution curve), to determine \(k\text{:}\)
\begin{align*}
y(t) \amp =15 -10 e^{-kt}\\
10 \amp = 15 - 10 e^{-k\cdot 10}\\
e^{-k\cdot 10} \amp = \dfrac{15 - 10}{10}\\
-k\cdot 10 \amp = \ln \left( \frac{1}{2} \right)\\
k \amp = \dfrac{\ln(2) - \ln(1)}{10}\\
k \amp = \dfrac{\ln(2)}{10}
\end{align*}
Figure 2.2.4 graphs a couple of solution curves, for a few different starting cell concentrations. Notice that in the limit, as time goes to infinity all cells placed in this salt bath will approach a concentration of 15%. In other words, all cells will eventually come to equilibrium with their environment.
Finally, we wish to find the time at which the salt concentration of the cell will be exactly 14%. To find this time, we solve the following equation for \(t\text{:}\)
\begin{align*}
14 \amp = 15 - 10 e^{-kt}\\
e^{-kt} \amp= \dfrac{15-14}{10} = 1\\
-kt \amp= \ln \left( \frac{1}{10} \right)\\
-kt \amp= \ln(1) - \ln(10)\\
-kt \amp= -\ln(10)\\
t \amp= \dfrac{\ln(10)}{k}\\
t \amp= \dfrac{10\ln(10)}{\ln(2)}\\
t \amp\approx 33.2 \text{ minutes}
\end{align*}
SubsectionExercises
1Radioactive Carbon Dating
Carbon extracted from an ancient skull contained only one–sixth as much carbon–14 as extracted from present day bone. How old is the skull?
A pitcher of buttermilk initially at 25 °C is to be cooled by setting it on the front porch, where the temperature is 1 °C. Suppose that the temperature of the buttermilk has dropped to 15 °C after 20 minutes. When will it be at 5 °C?
Use the diffusion model, where \(T\) represents temperature and \(t\) represents time in minutes. Your starting equation is:
\begin{equation*}
\frac{dT}{dt} = k(A - T),
\end{equation*}
where \(A\) is the ambient (outdoor) temperature.
At about 66 and 1/2 minutes after first being brought outside.
3Drug Elimination
Suppose that sodium pentobarbital is used to anesthetize a dog. The dog is anesthetized when its bloodstream contains at least 45 mg of the drug per kg of the dog's body mass. The drug is eliminated exponentially from the dog's bloodstream with a half life of 5 hours. What single dose should be administered in order to anesthetize a 50 kg dog for 1 hour?
A certain piece of dubious information about phenylethylamine in the drinking water began to spread one day in a city with a population of 100,000. Within a week, 10,000 people had heard this rumor. Assume that the rate of increase of the number who have heard the rumor is proportional to the number who have not yet heard it. How long will it be until half the population of the city has heard the rumor?