Unit 0: Differential equations and initial conditions
Differential equations and initial conditions
A DE is a rule for change, not a single answer.
Symbolic model and dimensionsdtdy=f(t,y),y(t0)=y0[dtdy]=[t][y]=[f],y′=ry⟹[r]=[t]−1
For an abstract equation the coordinates can be dimensionless. For a physical model, assign a unit to the state and time first; the right-hand side must have units of state per time. Arguments of logarithms and exponentials must be dimensionless.
y(t)=y0ert,y(2h)=(5kg)e(0.3h−1)(2h)≈9.11059kg
This example models proportional growth with constant r; it does not describe a conserved total mass in a closed system.
Lesson Progress
0 / 0 complete
Big idea
A differential equation doesn’t tell you what a quantity is. It tells you how it changes. Your job is to turn that “rule for change” into a story about behavior over time.
START HERE
What is a differential equation, really?
In physics, chemistry, biology, and economics, the most useful facts often sound like: “when the system is bigger/hotter/farther from equilibrium, it changes faster.” Differential equations are the mathematical tools we use to describe those scenarios.
A DE is a rule for change
It’s a statement about slopes, not a single number.
A typical differential equation says:
“The rate of change of y depends on (t, y).”
In symbols:
dtdy=f(t,y)
Quick check
choose one
Which sentence best matches what a DE gives you?
EXPLORE
Start like a researcher: what drives the change?
Explore: “what should the rate depend on?”
Choose a scenario. Before you “solve,” act like a researcher: decide what variables should control the change.
Scenario A , Growth
You track a bacteria culture. The bigger it gets, the faster it grows.
Prediction question
What should the growth rate depend on: time t, or the current amount y?
Plausible “first models”
Real modeling is iterative. Start with a simple claim, then refine.
“Rate depends on how much you have” (proportional to y)
dtdy=ky,k>0
“Rate depends only on the clock” (depends on t)
dtdy=g(t)
FEEL IT
Slope first, solving later
Interactive: “a DE is a slope rule”
Let’s use dtdy=y. At each point (t,y), the slope equals the y-value. Drag the sliders and watch what that implies.
Point
t=0,y=1
t0
y1
What the DE says right here
Slope dtdy = 1 → the curve tilts up.
If we took a tiny step dt=0.5, we’d predict:
ynext≈y+(dtdy)dt=1+(1)(0.5)=1.5
WHY INFINITELY MANY?
Same law, different starting points
Key idea: one DE → many curves (until you add a starting value)
A differential equation is a rule for slopes. Many different curves can obey the same slope rule because you can start at different initial values.
Choose an initial condition
For dtdy=y, pick y(0)=1
Snapshot values along the curve
t
y(t)
slope
-2
0.14
0.14
-1.5
0.22
0.22
-1
0.37
0.37
-0.5
0.61
0.61
0
1
1
0.5
1.65
1.65
1
2.72
2.72
1.5
4.48
4.48
2
7.39
7.39
Notice: for dtdy=y, the slope equals the y-value. So the bigger y gets, the steeper the curve gets.
Key consequence
One DE usually allows infinitely many solution curves. To pick one curve, you add an initial condition (like y(0)=1).
PRACTICE
Practice: predict first
Practice progress
Loading...
1) Concept
keyword check
What does dtdy=f(t,y) claim about y and time?
Matched concepts: 0/4
Quick check
choose one
For population growth, what is usually the more reasonable dependency?
3) Uniqueness
keyword check
Why does a DE by itself usually not pick one solution curve?
Matched concepts: 0/3
Quick check
choose one
If dtdy is positive whenever y>0, what does that suggest about solution curves above the x-axis?
Checkpoint
If you can explain “a DE is a rule for slopes, and an initial condition picks the curve,” you’re exactly where you need to be.
First calculate scenario A. Then change only time from 10 min to 16 min. Predict the direction, calculate scenario B, and find the signed difference B − A in the model’s reported quantity (°C). Explain whether a proportionate change in the input produces a proportionate change in the output.
Other inputs: Cooling constant k: 0.1 1/min; Initial temperature: 80 °C. The difference concerns the model’s displayed answer, not necessarily the graph’s vertical coordinate.
Explore the comparison and worked solution
TemperatureAmbient · dashed
temperatureSet up before calculating
Symbolic relationship
T′=−k(T−20),T(t)=20+(T0−20)e−kt
Dimensions and units
[dT/dt]=[k][T−T∞]=min−1K=K/min,[kt]=1
Timet=(10min)
Cooling constant kk=(0.1min−1)
Initial temperatureT0=(80∘C)
The result is reported in °C. Convert inputs to the model’s unit system before evaluating. Temperature differences have the same numerical value in K and °C; absolute temperatures in ratios require K.
Each segment gives the local rate at that time and state. The red trajectory follows the chosen initial condition; Euler uses finite tangent steps.
The controls specify a new scenario. Curves are calculated from the equations; physical illustrations are schematic.
Set up before calculating
Symbolic relationship
T′=−k(T−20),T(t)=20+(T0−20)e−kt
Dimensions and units
[dT/dt]=[k][T−T∞]=min−1K=K/min,[kt]=1
Timet=(10min)
Cooling constant kk=(0.1min−1)
Initial temperatureT0=(80∘C)
The result is reported in °C. Convert inputs to the model’s unit system before evaluating. Temperature differences have the same numerical value in K and °C; absolute temperatures in ratios require K.
Evaluate the symbolic relationship using scenario A, keeping the displayed units on its inputs.T=(20∘C)+(80−20)Ke−(0.1min−1)(10min)T(10)=20+(80−20)e−1=42.0728∘C
Change only the selected input and recompute scenario B.T=(20∘C)+(80−20)Ke−(0.1min−1)(16min)T(16)=20+(80−20)e−1.6=32.1138∘C
Subtract like quantities.ΔR=RB−RA=(32.1138∘C)−(42.0728∘C)=(−9.95898∘C)
Separating d(T−20)/(T−20)=−k dt gives exponential approach to equilibrium. Temperature gaps decay, not absolute Celsius temperature.
Walk through the assumptions
What we assumed: Lumped uniform-temperature object, ambient 20°C, constant k; evaporation and heat generation neglected.
What changes: A lumped model treats the object as one temperature. If its interior stays hot while the surface cools, a spatial heat-transfer model is needed. Evaporation removes latent heat and mass, so the same constant k need not fit the entire cooling history.