Models, Direction Fields, and Solution Curves
A differential equation relates an unknown function to its own rates of change. Three first-order models — a falling body, a cooling object, a population under predation — share the form dy/dt = ay - b; the slope field fixes their equilibria and long-run behavior before any formula is found.
╌╌╌╌
Most laws of nature are statements about rates. Newton's second law relates the acceleration of a body to the forces on it; the rate a population grows is tied to its current size; heat leaves an object at a rate set by how much hotter it is than its surroundings. Acceleration and growth rate and cooling rate are all derivatives, so writing a law of this kind in symbols produces an equation that contains derivatives of an unknown function. That is a differential equation.1
The first-order case has the form
where is a given function of the independent variable and the dependent variable . Such an equation assigns a slope to every point of the plane, and that assignment alone determines how solutions behave, often before one can be written down.
Building a model
A differential equation that describes a physical process is a mathematical model of it.2 Deriving one is a fixed sequence: name the variables, state the governing principle, and translate the principle into symbols.
A falling body
Suppose an object of mass falls near the earth's surface. Let be time and its velocity, positive downward. Newton's second law says mass times acceleration equals net force, and acceleration is :
Two forces act. Gravity pulls down with magnitude , where . Air resistance opposes the motion; for a slowly falling object it is well approximated as proportional to speed, with magnitude for a drag coefficient . Gravity acts in the positive direction and drag in the negative, so the net force is and the model is
The constants split into two kinds. The mass and drag coefficient are parameters: they change from one object to another. The gravitational acceleration is a physical constant, the same for every object. Taking and gives a concrete instance,
A cooling object
Newton's law of cooling states that the temperature of an object changes at a rate proportional to the difference between its temperature and the ambient temperature of the surroundings:
The sign is arranged so that an object hotter than its surroundings () cools () and a colder one warms. The same equation governs both cases.
A population under predation
Let be the size of a population that, left alone, grows at a rate proportional to its current size, the rate constant absorbing birth and death rates. If a predator removes members at a fixed rate , the model is
All three models share a form. Writing the dependent variable as ,
with constants and : the falling body is the case , ; cooling is , ; the population is , . One analysis covers all three.
Reading the slope field
The rate function turns the equation into a geometric object. At each point of the plane, is the slope a solution curve must have there. Drawing a short segment of that slope at each point of a grid produces a direction field (or slope field). A solution is then any curve that stays tangent to the segments as it threads through them.3
The construction never requires solving the equation. It evaluates on a grid and draws a segment at each point — work a computer does in an instant, even for equations no elementary method can solve.
- 1for each grid point with , stepped by do
- 2the slope the equation demands here
- 3draw a short segment centered at with slope
- 4end
For the falling body , the slope is along the line , drops to along , and reaches along . Below some critical velocity every segment tilts upward and the object speeds up; above it every segment tilts down and the object slows. The generic form shows the same split around a single horizontal line.
Four conclusions come straight off that picture, none of them requiring a formula:
- A special constant solution exists. Where the slope is zero the segments are horizontal, and the horizontal line through them is itself a solution.
- The other solutions bend toward it. Below the line slopes are positive and curves rise; above it slopes are negative and curves fall.
- Behavior is set by starting position, not by the exact start. Two curves starting close together end up close together, both approaching the line.
- The long-run value is the same for all of them. As grows, every solution converges to .
Equilibrium solutions
The horizontal line in the figure is an equilibrium.
For the falling body, setting gives . The constant function satisfies the equation: substitute it and both sides are zero. Physically it is the velocity at which gravity and drag balance, the terminal velocity, and every other solution approaches it. In general has the single equilibrium .
Not every equilibrium attracts. The two behaviors are distinguished by the sign of the rate function on either side of the constant line.
The falling body and cooling object have and attracting equilibria: left alone long enough, they settle. The predation model has and a repelling one at : a population starting above it grows without bound, one starting below it dwindles to extinction. The equilibrium is the boundary between those two outcomes, observed in practice only if the population begins exactly on it. This attracting-versus-repelling distinction generalizes into stability theory, which classifies equilibria systematically.
| Attracting (stable) | Repelling (unstable) | |
|---|---|---|
| Slope of at equilibrium | ||
| Nearby solutions | converge to | diverge from |
| Falling body / cooling | terminal velocity, ambient temp. | — |
| Population under predation | — | critical population |
| Observed after long time | the equilibrium itself | any value but the equilibrium |
The one-dimensional summary is the phase line: the -axis alone, marked with the equilibria and with arrows giving the sign of the rate function between them. For the falling body it carries a single attracting point.
Solving the linear model
The equation can be solved outright, confirming every conclusion drawn from the slope field.4
The same steps applied to produce
the equilibrium plus a transient that decays when and grows when , exactly the attracting and repelling cases of the figure.
Every solution of a first-order equation carries one arbitrary constant because solving involves one integration, and each integration brings a constant with it.5 The family fills the strip of the plane where the model applies, one curve through each point.
Initial conditions and the initial value problem
A single solution is picked out by naming a point the curve must pass through. That extra requirement is an initial condition, and the equation together with it is an initial value problem.
| General solution | Particular solution | |
|---|---|---|
| Arbitrary constant | free ( ranges over ) | fixed by |
| Graph | family of integral curves | one curve through |
| Example |
Whether such a problem has a solution, and only one, is the existence and uniqueness question. For rate functions as well-behaved as these the answer is yes, and the picture already assumed it: one integral curve through each point. The precise hypotheses, and the equations where uniqueness fails, wait for a later lesson.
The cooling family and a worked case
The cooling model has the same structure, with equilibrium and , so every solution decays to ambient temperature. Its general solution is
an exponential approach to from whatever the initial temperature was.
Limitations of the models
A model is only as good as its assumptions, and each of these has a limited range.2 The linear drag law holds for small, slow objects; a fast one needs a drag force proportional to , a nonlinear term that changes the analysis. The predation model predicts unbounded growth above the equilibrium and negative populations below it, both physically impossible past a short horizon; the logistic equation bends growth down as crowding sets in. These first models are worth studying for the method rather than their numbers: derive the equation from a principle, read the slope field for equilibria and long-run behavior, then solve when the equation is simple enough and fix the constant with an initial condition.
Footnotes
- Simmons, Differential Equations with Applications and Historical Notes, Ch. 1 §1 — Introduction: differential equations as the natural language of laws relating quantities to their rates of change, with the freely falling body as the opening example. ↩
- Boyce & DiPrima, Elementary Differential Equations and Boundary Value Problems, §1.1 — Some Basic Mathematical Models: the falling-object and field-mouse derivations, the modeling steps, parameters versus physical constants, and the limitations of each model. ↩ ↩2
- Boyce & DiPrima, §1.1 — Direction Fields: constructing the slope field by evaluating the rate function on a grid, and drawing qualitative conclusions (equilibria, convergence) without solving. ↩
- Boyce & DiPrima, §1.2 — Solutions of Some Differential Equations: solving by integration, the general solution , integral curves, the initial value problem, and the falling-object computation. ↩ ↩2 ↩3 ↩4 ↩5
- Simmons, Ch. 1 §2 — General Remarks on Solutions: verifying solutions by substitution, the appearance of arbitrary constants equal in number to the order, and the general versus particular solution. ↩
╌╌ END ╌╌