← Differential Equations home

Unit 0: Differential equations and initial conditions

Slope fields

Predict solution behavior before you learn solving techniques.

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 slope field is a behavior map.
At each point (t,y)(t,y), the DE tells you the slope dydt\frac{dy}{dt}. If you can read the map, you can predict what the solutions will do before you even solve.

INTUITION

What a slope field shows (in one sentence)

Think: tiny arrows

Each little segment tells you how the solution curve must tilt at that point.

If the slope is positive, curves tilt up as time increases. If the slope is negative, curves tilt down. If the slope is 0, curves are flat there.

Quick check

choose one
If a DE has dydt\frac{dy}{dt} positive everywhere in the region, what will solution curves do as t increases?

PLAY

Slope field plotter

Choose an equation

Try a few and look for equilibria and regions where slopes change sign.

Slope field plotter

Click anywhere on the plot to sample the slope at that point.

dydt=y\frac{dy}{dt}=y

View window

Tip: Keep tMax > tMin and yMax > yMin. If the plot looks weird, reset to -3..3.

Style + sampling

Density17×17
Segment length14px
Slope clamp (visual)±5

This only affects drawing.

Click the plot to sample a slope.

Exponential growth

Slopes get steeper as y increases.

In this preset: dydt=y\frac{dy}{dt}=y

  • Above the x-axis, slopes are positive → solutions rise.
  • Below the x-axis, slopes are negative → solutions fall.
  • y = 0 is an equilibrium (flat slope).

Research move

Predict before solving

Without solving, ask:

Where are the slopes zero?
Above or below those, are slopes mostly positive or negative?
If you start near an equilibrium, do solutions move toward it or away?

PRACTICE

Practice: read the map

Practice progress

Loading...

1) Reading equilibria

keyword check

In a slope field, what do flat little segments usually tell you?

Matched concepts: 0/2

Quick check

choose one
For dydt=y(1−y)\frac{dy}{dt}=y(1-y), what happens to solutions that start between 0 and 1?

3) Autonomous equations

keyword check

Why do autonomous equations dydt=f(y)\frac{dy}{dt}=f(y) often produce vertical stripe patterns in slope fields?

Matched concepts: 0/2

Quick check

choose one
If slopes are negative below a certain curve and positive above it, what does that separating curve usually represent?

WHAT'S NEXT

From slope fields → phase lines (autonomous DEs)

Next, we’ll specialize to autonomous equations dydt=f(y)\frac{dy}{dt}=f(y). Then the slope field has vertical stripe patterns, and you can summarize behavior with a phase line.

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.