Direction field 2026-10-14
A direction field for places a short segment with slope at each sampled point where is defined. A function graph of a solution of a differential equation follows these segments: its tangent line has exactly the prescribed slope. Segment length is a drawing choice, rather than a speed; arrows, if used, point toward increasing . An isocline collects points with one common slope.
For Newton's law of cooling, with time in minutes and temperature in degrees Celsius, the slopes at are respectively degrees Celsius per minute. Each horizontal row is an isocline, because this autonomous differential equation has no explicit time dependence. Above the solutions of a differential equation descend, below they rise, and is an equilibrium point.
Figure 1.
Cooling trajectories follow the direction field toward the ambient temperature
. Details.
The highlighted initial condition selects one curve from the family. The picture reveals approach to the equilibrium point before any algebra is done. Under the hypotheses of the Picard-Lindelöf theorem, distinct function graphs of solutions cannot cross or even meet in the time-state plane. A direction field alone does not guarantee uniqueness: several curves can share a tangent line at the same point when those hypotheses fail. See the delayed-start example under initial value problem.
This geometric interpretation is developed in Direction Fields, Isoclines, Integral Curves.
Integrating factor Created 2026-09-24 Updated 2026-10-14
An integrating factor is a nonzero multiplier that makes a differential equation directly integrable. For a first-order linear differential equation, it gathers the unknown function and its derivative into one product rule expression. Suppose and are continuous functions on an interval containing , and consider the initial value problem
Define and . The exact solution of a differential equation throughout that interval is
The definite integral fixes , so the initial condition appears without an extra constant to determine. If the equation originally has a coefficient multiplying , first divide by that coefficient on an interval where it is nonzero; a zero of that coefficient needs separate attention. See OpenStax's first-order linear equations chapter for this normalization and the integrating factor procedure.
For a concrete balance, solve with . Here , so multiplying the entire ordinary differential equation gives . Accumulating from zero to gives
The computed values are , and . Its derivative is , which verifies exactly. Interpreting as a steady input and as proportional removal explains the shape: initially all input increases , then removal catches up. The constant particular solution balances input and removal, and the homogeneous solution is the transient response that corrects it to the initial condition. Because this autonomous differential equation has a time-independent right-hand side, is also an equilibrium point.
Figure 1.
A steady input becomes a constant particular solution plus a decaying transient
. Details.
The first panel adds the particular solution and homogeneous solution; the second shows the same balance in rates, . This links the algebra to a physical accounting rule. Newton's law of cooling has this form with and , while an electrical circuit can have a varying input. In both cases the integrating factor systematically handles the input rather than requiring a guess for a particular solution.
Variable coefficients work just as directly. For , , the integrating factor is , and
Thus , and . The derivative verifies , including at zero, where both coefficient and input vanish. No division by is necessary. The general solution is : is a constant particular solution, and solves the associated homogeneous linear differential equation. Although this special forcing term admits a constant trajectory, this is a nonautonomous differential equation: it depends explicitly on time. Merely setting its right-hand side to zero at one instant would not establish a constant solution of a differential equation; at every state has zero slope.
Figure 2.
Variable-rate trajectories share a constant particular solution and forget initial data by a factor of exp minus t squared
. Details.
The direction field shows the selected trajectory leaving its initially horizontal tangent line. For , the difference between any two solutions of a differential equation is multiplied by , rather than in the constant-rate example. This dependence on elapsed history is clearer if the exact formula is rewritten as
For , each contribution from the input at is weighted by the accumulated coefficient between and . The homogeneous solution remembers the initial condition; the particular solution given by the second term accumulates the forcing term with zero initial value. This decomposition differs from choosing a constant particular solution, but gives the same total. Initial-data memory tends to zero when ; a negative accumulated coefficient instead amplifies it. The reciprocal relation between integrating factor and homogeneous solution is developed in MIT's notes on solutions to linear first-order equations.
Why does the trick work? The fundamental theorem of calculus and chain rule give . Consequently the product rule gives
Integrating this identity and dividing by the positive exponential function produces the stated formula. Any nonzero constant multiple of works equally well; normalization is a convenience. This is the beauty of the method: a sum involving an unknown function becomes one exact derivative, leaving only an integral of known functions. See Oregon State's product-rule derivation. The related integrating factor for a differential one-form extends the idea of making an expression exact beyond this linear setting.
Isocline 2026-10-14
For the first-order ordinary differential equation defined on an open subset of the plane, an isocline of slope is the level set
Here is a constant. At every point of this isocline, the direction field prescribes a tangent vector proportional to for a solution of a differential equation. It does not generally prescribe the tangent line of the isocline itself. The level set can have several components or fail to be a smooth curve, and points outside are excluded.
For example, take on the whole plane. Its isoclines are the parallel straight lines
Each line has slope , while the direction field along it has slope . Thus the isocline carries horizontal segments even though the line itself rises. A function graph of a solution of a differential equation follows the segments, rather than following this line. Only the isocline with , namely , is also a solution of a differential equation.[ref]
Figure 1.
Isoclines label the prescribed slopes while exact solution graphs follow the direction field
. Details.
The first-order linear differential equation has the exact family
The initial condition selects and hence a unique solution of a differential equation for every real . The picture shows . For the solution of a differential equation stays on the isocline; for other it moves through different isoclines. These formulas check the pictured trajectories by direct differentiation, independently of how the direction field was sampled.
The zero-slope isocline is called a nullcline. Below the nullcline in this example, ; above it, . For , the solution of a differential equation meets it at , where and , a strict local minimum. The nullcline is therefore a useful guide to turning points, although it is not itself a solution of a differential equation. In the equivalent planar autonomous differential equation , , it is the nullcline for the second component; there is no equilibrium point, because the first component never vanishes.
This makes isoclines useful even when no explicit solution of a differential equation is available: organize a direction field by common slopes, read where function graphs rise or fall, and identify possible turning points on nullclines.
Newton's law of cooling Created 2026-09-29 Updated 2026-10-14
Newton's law of cooling models an object's temperature using a positive constant rate and ambient temperature . The displayed ordinary differential equation assumes one temperature represents the object, the environment remains at , and the proportional rate stays fixed over the modeled range. It also describes warming when . These are modeling assumptions: [ref] explain the proportional law through a tangent line approximation and caution about large temperature differences.
Dimensional analysis requires to have units of inverse time. The product in the exponential function solution is therefore dimensionless. The equilibrium point attracts both warmer and colder starting states: the excess temperature undergoes exponential decay. See initial value problem for computed cooling times, direction field for the family of trajectories, and separable differential equation for a derivation.
This is a separable differential equation. On the solution with , integration from the initial condition gives
The right side lies in , so taking its sine stays on the required branch. The solution is
Near the origin, , so and the tangent line is horizontal. At the other end, , while
Thus the curve has a vertical limiting tangent line as , even though is excluded from the domain.
For the direction field, the slope is nonnegative everywhere in the square. The segments are horizontal on and on , become steeper as increases at fixed , and become flatter as increases at fixed . Near they are almost vertical unless is correspondingly close to one. The excluded corner has no single limiting slope: the ratio depends on the path of approach.
Figure 1.
Positive slope field and the solution from the origin, with its horizontal and vertical limiting tangents
. Details.
An integrating factor for a differential one-form is a nonzero function for which is an exact differential, say . Then solutions lie on level sets . Locally, the compatibility condition is .
Here multiplication by , which is nonzero for , produces
The initial condition makes this first integral equal to . Taking the positive branch yields the solution
on the connected interval containing zero where the radicand is positive. This domain restriction matters because the original differential equation is singular at .
Completing the square gives . As , the differential equation consequently implies
At , . Thus, moving a little to the left from , the curve rises above . Throughout every segment of the direction field points downwards as increases, by the inequality above. Tracing backwards therefore makes rise further, so it cannot return to . This graphical barrier argument proves and for every on the solution. The explicit first integral also shows this branch extends throughout : writing , the minimum of is , so for . Including the initial point, for all .
For the curve is on , where the strictly increasing function has the unique positive root at . The curve decreases through with slope and reaches only as a limiting endpoint. Its derivative is
As , and . As , the numerator tends to and the denominator to zero from above, so again . More precisely, at the endpoint. Both ends have the requested unbounded negative slope.
Figure 1.
The positive solution for initial value one, with the horizontal barrier and the steep limiting endpoint
. Details.
For , the separated integral is
Inverting gives
The upper branch has , where decreases towards as . The lower branch has , where decreases to as . These are separate maximal intervals: the pole is not part of a solution. For the domain , a lower-branch initial value below necessarily reaches that pole in finite positive . The direction field sketch above displays both exterior branches and a central hyperbolic tangent branch.
The direction field has slope , independent of . Its line segments slope upward for , are horizontal at , and slope downward for . Thus is an attracting equilibrium in forward , while is repelling. The two constant solutions must be included separately when separating variables.
The following original sketch shows the slope field and one solution in each requested region. The lower exterior solution ends at a finite pole; it cannot be continued across that pole as a real finite-valued solution.
Figure 1.
Direction field, equilibrium lines and representative solutions in the three regions of the autonomous scalar equation
. Details.
An integrating factor for a differential one-form makes the multiplied form exact. If , then and . Equality of the mixed partial derivatives yields
This is a local compatibility condition under the usual smoothness assumptions.
For the trigonometric equation, where its coefficients are defined and division is legitimate, the slope is . In the first quadrant it is positive, small near either axis and large near the upper-right corner. The direction field below uses normalized line segments, so steep directions remain visible.
Multiplication by gives
Thus the multiplying function is an integrating factor, and the implicit general solution is
In the larger square, . The positive- curves have positive and are symmetric about the -axis; the negative- curves are their reflections. For , a graph representation is
with endpoints tending to . The interior curve is . The domain boundaries include singular coefficients or zeros of the integrating factor, so these endpoint limits and smooth continuations through describe the regularized relation; they must not be mistaken for additional solutions of the literal original equation at undefined points.
Figure 1.
Trigonometric direction field, regularized implicit solution family, and the positive higher-order particular solution
. Details.
Consider the original analytic initial value problem
Here and are dimensionless variables in a stipulated mathematical model. The trajectories below are exact solutions of a differential equation, with no measured data or empirical parameter fit. For , the Bernoulli power substitution gives
The integrating factor is . Direct differentiation gives , independently checking the transformation. The linear exists for every real , while the nonlinear solution of a differential equation uses only the interval containing where :
For , , so its absolute value decreases toward zero. The lost zero solution of a differential equation is recovered by substitution into the original equation. Since is locally Lipschitz in everywhere, the Picard-Lindelöf theorem ensures uniqueness through every finite point, including . Thus a nonzero trajectory never meets or crosses zero at a finite .
Figure 1.
Two Bernoulli trajectories and their exact linearized coordinates
. The initial conditions are in orange and in blue. Left: the positive trajectory reaches finite-time blowup at , while the negative trajectory approaches zero. The vertical axis clips the positive curve at ; this is a display limit. Right: the corresponding trajectories satisfy . The dashed orange continuation past solves the first-order linear differential equation but cannot extend the original positive initial value problem across blowup. Details.
For , the exact solution of a differential equation is on . It first decreases, reaches a local minimum , then increases without bound. At the endpoint,
The finite-time blowup comes from a simple zero of at , where , rather than from a singular coefficient in the first-order linear differential equation. The same algebraic expression for is negative on , but that is a separate solution of a differential equation on a disjoint interval; infinity supplies no finite joining value. For , on , giving a distinct decaying branch whose finite blowup is instead in the past.
The direction field also explains the positive turning point. Its nullclines are and , because
Above the positive nullcline, ; between it and zero, ; below zero, . The moving nullcline is not a solution of a differential equation: its derivative is , whereas the prescribed slope there is zero. The trajectory crosses it at , exactly its local minimum.
Figure 2.
The Bernoulli direction field and the disconnected inverse branches at blowup
. Left: the direction field, its two nullclines, and the exact and trajectories. Right: has a positive branch on and a negative branch on ; the excluded point separates them. The zero solution of a differential equation belongs to the original equation but has no finite reciprocal coordinate. The branches continue beyond the plotted vertical limits. Details.