← Differential Equations home

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 dimensionsdydt=f(t,y),y(t0)=y0\frac{dy}{dt}=f(t,y),\quad y(t_0)=y_0[dydt]=[y][t]=[f],y′=ry ⟹ [r]=[t]−1\left[\frac{dy}{dt}\right]=\frac{[y]}{[t]}=[f],\quad y'=r y\ \Longrightarrow\ [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(2 h)=(5 kg)e(0.3 h−1)(2 h)≈9.11059 kgy(t)=y_0e^{rt},\quad y(2\,\mathrm h)=(5\,\mathrm{kg})e^{(0.3\,\mathrm{h^{-1}})(2\,\mathrm h)}\approx9.11059\,\mathrm{kg}

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:

dydt=f(t,y)\frac{dy}{dt}=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 tt, or the current amount yy?

Plausible “first models”

Real modeling is iterative. Start with a simple claim, then refine.

“Rate depends on how much you have” (proportional to y)

dydt=ky, k>0\frac{dy}{dt}=ky,\ k>0

“Rate depends only on the clock” (depends on t)

dydt=g(t)\frac{dy}{dt}=g(t)

FEEL IT

Slope first, solving later

Interactive: “a DE is a slope rule”

Let’s use dydt=y\frac{dy}{dt}=y. At each point (t,y)(t,y), the slope equals the y-value. Drag the sliders and watch what that implies.

Point

t=0, y=1t=0,\ y=1

t0
y1

What the DE says right here

Slope dydt\frac{dy}{dt} = 1 → the curve tilts up.

If we took a tiny step dt=0.5dt=0.5, we’d predict:

ynext≈y+(dydt)dt=1+(1)(0.5)=1.5y_{\text{next}} \approx y + \left(\frac{dy}{dt}\right)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 dydt=y\frac{dy}{dt}=y, pick y(0)=1y(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 dydt=y\frac{dy}{dt}=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)=1y(0)=1).

PRACTICE

Practice: predict first

Practice progress

Loading...

1) Concept

keyword check

What does dydt=f(t,y)\frac{dy}{dt}=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 dydt\frac{dy}{dt} is positive whenever y>0y>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.
Synthesis challenge

Compare two scenarios and defend the difference

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
Coffee cup at 42.1 degrees CelsiusSurroundings: 22°C
Time (min) versus Temperature (°C). Temperature, Ambient. Selected temperature: 42.07277 °C. Separating d(T−20)/(T−20)=−k dt gives exponential approach to equilibrium. Temperature gaps decay, not absolute Celsius temperature.0040158030Temperature (°C)Time (min)
TemperatureAmbient · dashed

temperature
Set up before calculating

Symbolic relationship

T′=−k(T−20),T(t)=20+(T0−20)e−ktT'=-k(T-20),\quad T(t)=20+(T_0-20)e^{-kt}

Dimensions and units

[dT/dt]=[k][T−T∞]=min−1K=K/min,[kt]=1[dT/dt]=[k][T-T_\infty]=\mathrm{min^{-1}}\mathrm K=\mathrm{K/min},\quad[kt]=1
Timet=(10 min)t=\left(10\,\mathrm{min}\right)
Cooling constant kk=(0.1 min−1)k=\left(0.1\,\mathrm{min^{-1}}\right)
Initial temperatureT0=(80 ∘C)T_0=\left(80\,{}^\circ\mathrm C\right)

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.

T=(20 ∘C)+(80−20) K e−(0.1 min−1)(10 min)T(10)=20+(80−20)e−1=42.0728 ∘C\begin{gathered}T=(20\,{}^\circ\mathrm C)+(80-20)\,\mathrm K\,e^{-(0.1\,\mathrm{min^{-1}})(10\,\mathrm{min})}\\T(10)=20+(80-20)e^{-1}=42.0728\,{}^\circ\mathrm C\end{gathered}

Separating d(T−20T-20)/(T−20T-20)=−k dt gives exponential approach to equilibrium. Temperature gaps decay, not absolute Celsius temperature.

Assumptions, units, and limits

Lumped uniform-temperature object, ambient 20°C, constant k; evaporation and heat generation neglected.

Slope field for cooling, with current initial-value trajectory. Segment angles account for axis scale.State (same units as main plot)Time · 0 to 30 min

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−ktT'=-k(T-20),\quad T(t)=20+(T_0-20)e^{-kt}

Dimensions and units

[dT/dt]=[k][T−T∞]=min−1K=K/min,[kt]=1[dT/dt]=[k][T-T_\infty]=\mathrm{min^{-1}}\mathrm K=\mathrm{K/min},\quad[kt]=1
Timet=(10 min)t=\left(10\,\mathrm{min}\right)
Cooling constant kk=(0.1 min−1)k=\left(0.1\,\mathrm{min^{-1}}\right)
Initial temperatureT0=(80 ∘C)T_0=\left(80\,{}^\circ\mathrm C\right)

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.

  1. Evaluate the symbolic relationship using scenario A, keeping the displayed units on its inputs.T=(20 ∘C)+(80−20) K e−(0.1 min−1)(10 min)T(10)=20+(80−20)e−1=42.0728 ∘C\begin{gathered}T=(20\,{}^\circ\mathrm C)+(80-20)\,\mathrm K\,e^{-(0.1\,\mathrm{min^{-1}})(10\,\mathrm{min})}\\T(10)=20+(80-20)e^{-1}=42.0728\,{}^\circ\mathrm C\end{gathered}
  2. Change only the selected input and recompute scenario B.T=(20 ∘C)+(80−20) K e−(0.1 min−1)(16 min)T(16)=20+(80−20)e−1.6=32.1138 ∘C\begin{gathered}T=(20\,{}^\circ\mathrm C)+(80-20)\,\mathrm K\,e^{-(0.1\,\mathrm{min^{-1}})(16\,\mathrm{min})}\\T(16)=20+(80-20)e^{-1.6}=32.1138\,{}^\circ\mathrm C\end{gathered}
  3. Subtract like quantities.ΔR=RB−RA=(32.1138 ∘C)−(42.0728 ∘C)=(−9.95898 ∘C)\Delta R=R_B-R_A=\left(32.1138\,{}^\circ\mathrm C\right)-\left(42.0728\,{}^\circ\mathrm C\right)=\left(-9.95898\,{}^\circ\mathrm C\right)

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.