Unit 0: Differential equations and initial conditions
Slope fields
Predict solution behavior before you learn solving techniques.
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 slope field is a behavior map. At each point (t,y), the DE tells you the slope dtdy. 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 dtdy 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.
dtdy=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: dtdy=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 dtdy=y(1−y), what happens to solutions that start between 0 and 1?
3) Autonomous equations
keyword check
Why do autonomous equations dtdy=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 dtdy=f(y). Then the slope field has vertical stripe patterns, and you can summarize behavior with a phase line.
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.