CALCULUS 1 • DIFFERENTIAL EQUATIONS (INTRO)

Modeling with Differential Equations — Modeling Situations with Differential Equations

Learn how rates of change translate real-world scenarios into powerful mathematical equations you can solve.

Historical Context & Motivation

The idea of describing nature through rates of change is one of the most powerful breakthroughs in the history of mathematics. Long before anyone wrote down a differential equation, scientists struggled to predict how things like planetary motion, population growth, and cooling liquids behaved over time. They could observe what was happening at a single moment, but they lacked the tools to connect that snapshot to the full story of how a quantity evolves.

The development of calculus in the late 1600s changed everything. Once Isaac Newton and Gottfried Wilhelm Leibniz introduced the concept of the derivative, mathematicians could finally write equations that related a quantity to its own rate of change. These equations — differential equations — became the universal language for modeling dynamic systems, from the swing of a pendulum to the spread of a disease.

1687
Newton's Principia
Isaac Newton publishes Principia Mathematica, using rates of change ("fluxions") to model gravitational motion. This marks the birth of differential equations as a tool for physics.
1736
Euler's Systematic Methods
Leonhard Euler develops systematic techniques for solving differential equations. He introduces notation and methods that students still use today, making the subject far more accessible.
1798
Malthus & Population Growth
Thomas Malthus proposes that populations grow proportionally to their current size — an idea that translates directly into the exponential growth differential equation dP/dt = kP.
1840s
Newton's Law of Cooling Formalized
Scientists formally express Newton's cooling observations as a differential equation: the rate of temperature change is proportional to the difference between an object's temperature and its surroundings.
Modern Era
Differential Equations Everywhere
Today, differential equations model everything from viral epidemics (SIR models) to financial markets, climate systems, and even social media trends. They remain the backbone of applied mathematics.

The central question this lesson addresses is straightforward but profound: how do you take a real-world situation — bacteria multiplying, a hot cup of coffee cooling, a bank account earning interest — and translate it into a mathematical equation involving derivatives? Once you can set up the equation, you unlock the ability to predict future behavior, and that is what makes differential equations so valuable.

Core Principles & Definitions

Before diving into examples, you need a clear understanding of what a differential equation actually is and what it means to "model" something with one. A differential equation is any equation that contains a function and one or more of its derivatives. Instead of telling you the value of a quantity directly, it tells you something about the rate at which that quantity changes. When we say we are "modeling" a situation, we mean we are writing a differential equation that captures the essential behavior of that situation mathematically.

1

Rate = Derivative

Whenever a problem says "rate of change," think derivative. The phrase "the rate at which the population grows" translates directly to dP/dt — the derivative of population P with respect to time t.
2

Proportionality Statements

Many models start with phrases like "the rate is proportional to…" This means the derivative equals a constant k multiplied by some expression. For example, "grows proportionally to its size" becomes dy/dt = ky.
3

Initial Conditions

A differential equation alone has infinitely many solutions. An initial condition like y(0) = 50 pins down exactly one specific solution, giving you a concrete prediction.
4

Solution = A Function

The solution to a differential equation is not just a number — it is an entire function y(t) that, when you take its derivative, satisfies the original equation for all values of t.
5

Positive vs. Negative k

In the equation dy/dt = ky, a positive k means growth (the quantity increases over time), while a negative k means decay (the quantity decreases over time).
KEY TAKEAWAY
Think of a differential equation like a recipe that tells you how fast to stir, based on how thick the batter currently is. It does not tell you the batter's thickness at every moment — instead, it gives you a rule connecting the current state to the rate of change. If you also know the starting thickness (the initial condition), you can follow the recipe forward in time to predict exactly how the batter will behave.

Visual Explanation — From Words to Equations

The diagram below illustrates the thought process behind modeling with differential equations. On the left, you see a real-world scenario described in plain English. In the middle column, the key verbal phrases are identified and translated into mathematical symbols. On the right, the complete differential equation appears, ready to be solved.

This flowchart shows how three different real-world scenarios (left) are translated through key verbal clues (center) into complete differential equations with initial conditions (right). Notice that each scenario follows the same logical steps: identify the changing quantity, express the rate statement as a derivative, and write the proportionality relationship.

The diagram highlights a crucial pattern: the modeling process always begins with identifying what is changing and what drives that change. In the bacteria example, the population P is changing, and the driver is the current population itself — more bacteria produce more bacteria. In the cooling example, the temperature T is changing, and the driver is the gap between the coffee's temperature and room temperature. Every differential equation model follows this same logic: the derivative on the left side tells you what is changing, and the expression on the right side tells you why it changes.

Mathematical Framework

There are a few fundamental differential equation forms that appear again and again when modeling real-world situations. Understanding these templates gives you the ability to recognize and set up equations for a wide range of problems. Let's walk through the most important ones.

EXPONENTIAL GROWTH / DECAY
dy/dt = ky
Here y is the quantity (population, mass, money), t is time, and k is a constant. If k > 0, the quantity grows; if k < 0, it decays. The solution is y(t) = y₀ekt, where y₀ = y(0).
NEWTON'S LAW OF COOLING
dT/dt = −k(T − Tₐ)
T is the object's temperature, Tₐ is the ambient (surrounding) temperature, and k is a positive constant. The negative sign ensures the object cools when T > Tₐ and warms when T < Tₐ. The solution is T(t) = Tₐ + (T₀ − Tₐ)e−kt.
LOGISTIC GROWTH
dP/dt = kP(1 − P/M)
P is the population, M is the carrying capacity (maximum sustainable population), and k is the growth rate constant. When P is small compared to M, growth is nearly exponential. As P approaches M, the factor (1 − P/M) approaches 0, slowing growth to zero.
MIXING / TANK PROBLEMS
dA/dt = (rate in) − (rate out)
A is the amount of substance in the tank. Rate in is the concentration of incoming fluid times its flow rate. Rate out is the concentration of outgoing fluid (A divided by the tank volume) times the outflow rate.

The key skill here is not memorizing these formulas — it is learning to read a word problem and match it to the correct template. Words like "proportional to the current amount" point to exponential models. Phrases like "difference between" or "gap" suggest Newton's cooling law. Descriptions of inflow and outflow naturally lead to mixing models. Once you translate the English into the right equation form, the calculus takes over.

Classifying Common Models

Differential equation models can be organized by the type of behavior they describe. The diagram below shows three classic growth/decay curves side by side, helping you visualize how the same mathematical framework produces different shapes depending on the model.

Three fundamental curve shapes produced by common differential equation models. Exponential growth (left, pink) accelerates without bound. Exponential decay (center, cyan) drops rapidly at first, then slows as it approaches zero. Logistic growth (right, emerald) combines both behaviors — starting like exponential growth but leveling off at the carrying capacity M.
Summary of fundamental differential equation models and their applications
Model TypeEquationTypical ApplicationsBehavior
Exponential Growthdy/dt = ky (k > 0)Bacteria, compound interest, unchecked population growthIncreases without bound
Exponential Decaydy/dt = ky (k < 0)Radioactive decay, drug metabolism, depreciationDecreases toward zero
Newton's CoolingdT/dt = −k(T − Tₐ)Cooling/heating objects, thermal equilibriumApproaches ambient temperature
Logistic GrowthdP/dt = kP(1 − P/M)Populations with limited resources, disease spread, market saturationS-shaped; levels off at M
Mixing / TankdA/dt = (rate in) − (rate out)Salt in a tank, pollutant concentration, IV dripApproaches equilibrium concentration

Worked Example — Setting Up and Solving a Model

Let's walk through a complete example that takes a word problem and turns it into a differential equation, then solves it. Problem: A biologist places 200 bacteria in a nutrient-rich dish. The bacteria population grows at a rate proportional to the number of bacteria present. After 4 hours, there are 800 bacteria. Write and solve a differential equation for the population P(t), then predict the population after 10 hours.

Bacterial Growth Model
1
Step 1 — Identify the Changing Quantity and the Rate StatementThe quantity changing is the population P. The problem says the growth rate is "proportional to the number of bacteria present." This means the rate of change dP/dt is proportional to P.
Rate statement identified: dP/dt ∝ P
2
Step 2 — Write the Differential EquationTranslating "proportional to" into math means we introduce a constant k. The differential equation is:
dP/dt = kP
3
Step 3 — State the Initial ConditionThe problem says there are 200 bacteria at the start (t = 0). This gives us our initial condition.
P(0) = 200
4
Step 4 — Write the General SolutionThe equation dP/dt = kP has the well-known general solution P(t) = P₀ekt. Substituting P₀ = 200, we get P(t) = 200ekt. We still need to find k.
P(t) = 200ekt
5
Step 5 — Use the Second Data Point to Find kWe know P(4) = 800. Substituting: 800 = 200e4k. Dividing both sides by 200 gives e4k = 4. Taking the natural log: 4k = ln(4), so k = ln(4)/4 ≈ 0.3466.
k = ln(4)/4 ≈ 0.3466
6
Step 6 — Write the Particular Solution and PredictThe complete model is P(t) = 200e0.3466t. To predict the population after 10 hours: P(10) = 200e0.3466 × 10 = 200e3.466 ≈ 200 × 32 = 6400.
P(10) ≈ 6,400 bacteria
💡 Pro Tip
Notice we needed two pieces of information from the problem: the initial condition (P(0) = 200) to choose the right solution curve, and the second data point (P(4) = 800) to determine the constant k. Most modeling problems follow this same pattern — the initial condition alone is not enough to fully determine the model.

Strengths and Limitations of Differential Equation Models

Differential equations are incredibly versatile tools, but every model is a simplification of reality. Understanding when these models work well — and when they break down — is just as important as knowing how to set them up. The table below summarizes the key strengths and limitations.

Strengths vs. Limitations of Differential Equation Models
StrengthsLimitations
Capture dynamic behavior: they describe how quantities change over time, not just their static values.Assumptions may not hold: real bacteria don't grow at a perfectly constant proportional rate forever.
Make predictions: once you have the model, you can forecast future values by plugging in different times.Require accurate data: a wrong initial condition or growth constant leads to wrong predictions.
Unify diverse phenomena: the same equation dy/dt = ky models bacteria, money, and radioactive atoms.Simple models ignore complexity: factors like competition, seasonal effects, or random events are omitted.
Provide exact solutions: many first-order equations can be solved analytically for a precise formula.Not all equations are solvable: some differential equations require numerical (computer) methods.
KEY TAKEAWAY
A differential equation model is like a weather forecast: it uses current conditions and known rules to project what happens next. Just as a weather forecast gets less accurate over longer time frames and doesn't account for every cloud, a differential equation model gets less reliable when its simplifying assumptions break down. The power lies in choosing the right model for the right situation and understanding its boundaries.

Connection to Advanced Theory

The models you've learned in this lesson — exponential growth, Newton's cooling, and logistic growth — are all examples of first-order ordinary differential equations (ODEs). "First-order" means they involve only the first derivative (dy/dt), and "ordinary" means there is only one independent variable (usually time). As you progress in calculus and beyond, you will encounter more sophisticated equation types.

Introductory vs. Advanced Differential Equation Models
FeatureIntroductory Models (This Lesson)Advanced Models (Future Courses)
OrderFirst-order (dy/dt only)Second-order and higher (d²y/dt², d³y/dt³, ...)
VariablesOne independent variable (time)Multiple variables → partial differential equations (PDEs)
EquationsOne equation at a timeSystems of coupled equations (e.g., predator-prey models)
SolutionsExact, closed-form formulasOften numerical or approximate (Euler's method, Runge-Kutta)
ApplicationsGrowth, decay, cooling, simple mixingVibrations, wave motion, fluid dynamics, quantum mechanics

The good news is that the modeling process you learned today — identify what's changing, express the rate in terms of known quantities, and write the equation — is exactly the same process used for all differential equations, no matter how advanced. Master this foundation, and you'll be well prepared when the equations become more complex.

Practice Problems

PROBLEM 1CONCEPTUAL
A student says: "The equation dy/dt = 3y is not a differential equation because it doesn't have a y″ in it." Is this student correct? Explain your reasoning.
PROBLEM 2BASIC CALCULATION
A radioactive substance decays at a rate proportional to the amount present. If there are initially 100 grams, write the differential equation and the general solution with the initial condition applied. (You do not need to find k.)
PROBLEM 3INTERMEDIATE
A cup of coffee at 90°C is placed in a room at 20°C. After 5 minutes, the coffee's temperature is 70°C. Write the differential equation, find the value of k, and determine the temperature after 15 minutes.
PROBLEM 4APPLIED
A savings account earns interest at a continuous rate of 5% per year. You deposit $1,000 initially. Write a differential equation for the balance B(t), solve it, and determine how long it takes for the balance to reach $2,000.
PROBLEM 5CRITICAL THINKING
A biologist models a fish population with dP/dt = 0.4P(1 − P/5000). Explain in words what each part of the equation means. What happens when P is very small compared to 5000? What happens as P approaches 5000? Is exponential growth (dP/dt = 0.4P) or this logistic model more realistic for the fish population, and why?

Lesson Summary

A differential equation is an equation relating a function to its own derivatives, and modeling with differential equations means translating a real-world rate-of-change statement into such an equation. The most common introductory models include exponential growth and decay (dy/dt = ky), Newton's Law of Cooling (dT/dt = −k(T − Tₐ)), and logistic growth (dP/dt = kP(1 − P/M)). Each model captures a different type of dynamic behavior.

The modeling process follows a consistent pattern: identify the changing quantity, express the rate of change as a derivative, translate proportionality statements into equations using a constant k, and apply the initial condition to pin down a unique solution. These simple first-order models form the foundation for all advanced differential equations you will encounter in future courses — from systems of equations to partial differential equations used in physics and engineering.

Varsity Tutors • Calculus 1 • Modeling with Differential Equations — Modeling Situations with Differential Equations