Skip to main content
Logo image

Section 5.5 Modeling with Separation of Variables

Separation of variables is one of the most versatile techniques for solving first-order differential equations. It applies when the rate of change can be expressed as a product of separate functions of the independent and dependent variables. This structure appears naturally in many growth and decay processes.
In this section, we’ll model population growth using the logistic equation, a classic example where separation of variables provides insight into how populations evolve over time.

Subsection The Problem: Bacterial Growth with Limited Resources

Consider a bacterial colony growing in a petri dish with limited nutrients. Initially, when the population is small, growth is approximately exponential. However, as resources become scarce and the dish becomes crowded, the growth rate slows down.
How can we model this transition from exponential growth to a steady state?

Subsection Assumptions

  • The growth rate is proportional to both the current population and the remaining capacity.
  • There is a maximum sustainable population (carrying capacity) \(K\text{.}\)
  • The environment provides constant resources per unit time.
  • There is no immigration or emigration.
  • All individuals have equal reproductive potential.

Subsection Building the Model

Let \(P(t)\) represent the population at time \(t\text{.}\) The rate of change \(\frac{dP}{dt}\) should:
  • Increase with \(P\) (more individuals produce more offspring)
  • Decrease as \(P\) approaches \(K\) (limited resources slow growth)
The logistic equation captures this behavior:
\begin{equation*} \frac{dP}{dt} = rP\left(1 - \frac{P}{K}\right) \end{equation*}
This can be rewritten as:
\begin{equation*} \frac{dP}{dt} = \frac{r}{K}P(K - P) \end{equation*}
Parameters:
  • \(r > 0\text{:}\) intrinsic growth rate (growth rate when population is small)
  • \(K > 0\text{:}\) carrying capacity (maximum sustainable population)
  • \(P_0\text{:}\) initial population at \(t = 0\)
Solving by Separation of Variables:
Separate the variables:
\begin{equation*} \frac{dP}{P(K-P)} = \frac{r}{K}\ dt \end{equation*}
Using partial fractions on the left side and integrating both sides yields:
\begin{equation*} P(t) = \frac{K}{1 + Ae^{-rt}} \end{equation*}
where \(A = \frac{K - P_0}{P_0}\text{.}\)

Subsection Lab Activity: Yeast Population Growth

Objective: Observe logistic growth in a yeast culture and estimate model parameters.
Materials:
  • Active dry yeast
  • Sugar solution (nutrient source)
  • Test tubes or small bottles
  • Hemocytometer or turbidity meter (or use visual density scale)
  • Warm water bath (optimal: 30-35Β°C)
  • Timer
Procedure:
  1. Prepare a sugar solution: dissolve 5g sugar in 100mL warm water.
  2. Add 1g active dry yeast and mix well.
  3. Divide into multiple test tubes (for repeated measurements).
  4. Every 30 minutes for 4-6 hours, measure the yeast density (cell count or turbidity).
  5. Record: Time (hours), Population measure (cells/mL or turbidity units).
Alternative Simplified Version:
Use provided data from a controlled experiment (data set available from instructor).
Data Analysis:
  1. Plot population versus time. Describe the curve’s shape.
  2. Does the population appear to level off? Estimate the carrying capacity \(K\) from your graph.
  3. In the early phase (first 2-3 measurements), does growth appear exponential? Estimate the initial growth rate \(r\text{.}\)
  4. Compute \(\ln\left(\frac{K-P_0}{P_0}\right) - rt\) for each data point. If the model is correct, this should equal \(\ln\left(\frac{K-P}{P}\right)\text{.}\)
  5. Plot \(\ln\left(\frac{K-P}{P}\right)\) versus \(t\text{.}\) Is it approximately linear? The slope should be \(-r\text{.}\)

Subsection Analytical Questions

  1. What happens to \(P(t)\) as \(t \to \infty\text{?}\) Verify this using both the differential equation and the solution.
  2. Find the time at which the population reaches half the carrying capacity (\(P = K/2\)).
  3. At what population level is the growth rate \(\frac{dP}{dt}\) maximized? (Hint: find \(\frac{d}{dP}\left[\frac{dP}{dt}\right]\) and set it to zero.)
  4. If the initial population \(P_0 > K\) (starting above carrying capacity), what happens? Sketch the solution.
  5. How does doubling \(r\) affect the time to reach carrying capacity? How does doubling \(K\) affect it?
  6. Compare the logistic model to exponential growth (\(\frac{dP}{dt} = rP\)). When are they similar? When do they differ significantly?

Subsection Extensions: Real-World Applications

The logistic model appears in many contexts:
  • Epidemiology: spread of disease in a population
  • Ecology: fish populations in a lake, predator-prey dynamics
  • Technology adoption: how innovations spread through a market
  • Chemical reactions: autocatalytic processes
Research one of these applications and explain how the logistic equation applies.

Subsection Final Report

Submit a comprehensive report (3-4 pages) including:
  1. Derivation of the logistic equation from the stated assumptions.
  2. Complete solution using separation of variables (show all steps).
  3. Your experimental data with clear graphs and analysis.
  4. Parameter estimation: values of \(r\text{,}\) \(K\text{,}\) and \(P_0\) with explanation of methods used.
  5. Comparison between your data and the theoretical logistic curve (include both on the same graph).
  6. Answers to analytical questions with detailed explanations.
  7. Discussion of model limitations and factors not accounted for (e.g., death rate, mutations, environmental changes).
  8. Brief exploration of one real-world application of the logistic model.
The logistic equation demonstrates the power of separation of variables to solve differential equations that model real-world constraints. Unlike exponential growth, which continues indefinitely, logistic growth captures the realistic scenario where growth eventually stabilizes. This model has been fundamental in understanding everything from bacterial colonies to human populations, and illustrates how a simple differential equation can capture complex behavior.
You have attempted of activities on this page.