Verifying Solutions & Modeling
A differential equation (DE) is an equation involving an unknown function and its derivatives, such as or . A solution is a function that makes the equation true when substituted in. The general solution contains an arbitrary constant (a whole family of curves); a particular solution is pinned down by an initial condition like .
To verify a proposed solution, differentiate it and substitute both and its derivative into the DE; check that the two sides are identical.
Show solves with .
The two sides agree, and . 0MATH1xE0
Modeling. Translate “rate of change” language directly into a derivative. “The rate of change of is proportional to ” becomes . “The temperature changes at a rate proportional to the difference from the room temperature ” becomes .
Tip: The order of a DE is the highest derivative it contains. The number of arbitrary constants in the general solution equals the order (first order one constant ).
Slope Fields
A first-order DE gives the slope of the solution curve at every point. A slope field draws a short segment with that slope at a grid of points. To sketch a solution through a given point, start there and “flow” along the segments, always keeping the curve tangent to the nearby marks.
Slope field for with the solution through , namely . Segments are horizontal along the -axis (where ) and steepen as grows.
Matching a slope field to a DE. Check special features:
- [leftmargin=*]
- Where are the segments horizontal? Set .
- Does the slope depend on only, only, or both? (If segments in a row look identical, the slope depends on only.)
- Is the slope positive or negative in each region?
Slope field for with the solution through . Now segments are horizontal along the -axis (where ) and depend only on .
Tip: Equilibrium (constant) solutions appear as horizontal rows of flat segments. For the line is an equilibrium.
Separable Differential Equations & IVPs
A DE is separable if it can be written . Separate the variables so each side involves only one letter, then integrate:
Add a single constant , then apply the initial condition to solve for (an initial-value problem, IVP).
Solve with .
Exponentiate: where . Apply : . Therefore
Check: . 0MATH1xE0
Tip: Apply the initial condition as early as reasonable, and keep exact forms (, , fractions). Fold into a single constant once integration is done.
Exponential Growth & Decay
The single most important DE in the course is
where is the initial amount. gives growth; gives decay.
A radioactive sample has a half-life of years. Find , then the fraction left after years.
After yr: , about .
(with surroundings ) is separable. Let , so and . Therefore
A cup in a room: , cooling toward as .
Tip: “Doubling time” and “half-life” both give via or , so or .
Logistic Growth (BC)
When growth is limited by a carrying capacity , use
When is small, , so growth is nearly exponential; as the factor and growth stalls.
For :
- [leftmargin=*]
- Equilibria: and (where ).
- Long-run: for any with .
- Fastest growth (inflection point of ) occurs at , where the rate equals .
- Solution: , with .
Logistic slope field () with the S-shaped solution through . Segments are flat along and ; the curve is steepest as it crosses .
Tip: The graph of is concave up below and concave down above it, so the maximum rate of change is exactly at the halfway population .
Euler's Method (BC)
When a DE cannot be solved in closed form, approximate the solution numerically. Starting from with step size , repeatedly follow the tangent line:
Each step uses the slope at the current point to predict the next .
Approximate for , , using .
So . (The exact solution gives ; Euler underestimates here because the curve is concave up.)
Tip: If the solution is concave up, Euler's tangent lines lie below the curve, so the estimate is too small; if concave down, the estimate is too large. Smaller means smaller error.
Going Deeper: Advanced Differential Equations
Let be the amount of a substance in a tank. Then
where each rate is (concentration)(flow). If the tank is well-mixed, the outflow concentration is (current amount over current volume).
A tank holds L with kg of dissolved salt. Brine at kg/L enters at L/min; the mixture leaves at L/min (volume stays L).
This is separable with solution . As , kg (steady state, where inflow salt balances outflow).
Differentiate with respect to to study . It is positive for (curve concave up, growth accelerating) and negative for (concave down, growth decelerating). The sign change at is the inflection point --- the moment of fastest growth --- which is why the graph rises, bends, and levels off toward .
Euler's method is first order: the accumulated (global) error is roughly proportional to the step size . Halving roughly halves the error but doubles the number of steps. The local error each step comes from ignoring curvature (), so more curvature means faster error growth. This is why the concavity of the true solution tells you the direction of the error.
An equilibrium solution satisfies (a constant solution). Classify it from the sign of nearby:
- [leftmargin=*]
- Stable (a sink): solutions on both sides move toward it. For logistic growth, is stable.
- Unstable (a source): nearby solutions move away. For logistic growth, is unstable.
A phase line records these arrows and predicts long-term behavior without solving the DE.
For , equilibria are and . Testing signs: for , for , for . So is stable (arrows point in) and is unstable (arrows point out). A solution starting at decreases toward .
Higher-order DEs involve . For example, models simple harmonic motion, with general solution
Two arbitrary constants appear because the equation is second order; two conditions (e.g. and ) pin down a particular solution. You will meet these systematically in a later course.
Big picture: Every method answers “how does change?” Verify by substituting; visualize with a slope field; solve exactly by separating; model growth with , bounded growth with the logistic law; and when no formula exists, approximate with Euler's method --- always checking concavity to know which way the estimate leans.
Formulas, Proofs & Tips
What it means. Get all the 's on one side and all the 's on the other, then integrate both sides.
Example. : .
Why it works. Dividing by and multiplying by separates the variables; integrating both sides is valid because each side is the derivative of the same quantity with respect to (a chain-rule substitution in reverse).
Tip. Apply the initial condition to find before simplifying — it is usually much less algebra.