Learning goals and preparation
We assume derivatives, the chain/product rules, and Chapter 3's substitution and integration by parts. A differential equation describes how an unknown function changes; an initial condition specifies where its trajectory starts. You will solve elementary separable and linear equations, construct conservation equations, and verify intervals and equilibrium cases.
The scientific examples are hypothetical models. A solution of a model is not evidence that its assumptions hold indefinitely; for example, a perfectly mixed tank model must stop when a tank overflows or its volume ceases to be positive.
4.1 Solutions, initial conditions, and intervals
A first-order ordinary differential equation is . A differentiable function solves it on an interval when substituting the function and its derivative makes the equation true at every input there. An initial-value problem adds .
For , differentiating verifies a family of solutions; the initial value fixes . Under the usual local existence-and-uniqueness condition that and are continuous near an initial point, one obtains a unique local solution. “Local” does not promise a finite solution for every future time.
1. The local theorem and its assumptions
A solution of is a differentiable real function on an interval whose graph lies in the domain of and satisfies the equation there. The initial condition is . Local uniqueness means that any two such solutions with this initial value agree on some common neighborhood of .
Theorem. Let be open and contain . Suppose is continuous, its partial derivative exists on , and is continuous there. Then the initial-value problem has a solution on an open interval about , unique in the local sense just defined. No derivative with respect to is required.
2. Two uniform-limit facts
For a nonempty compact interval , write for the continuous real functions on and . Uniform convergence is convergence in this distance. A Cauchy sequence in this distance is uniformly Cauchy.
Theorem: uniform completeness
A sequence of real-valued functions is uniformly convergent if and only if it is uniformly Cauchy.
Proof. Uniform convergence gives the Cauchy estimate by two errors of size . Conversely, uniform Cauchy implies that for each fixed , is a real Cauchy sequence, so define . Fix and use uniform Cauchy with tolerance . For every and , pass in the estimate to get . The same works everywhere, proving uniform convergence. Completeness of the target supplied the pointwise limits.
Theorem
Uniform limit preserves continuity
If each is continuous at relative to and uniformly on , then is continuous at .
Proof
The three-term estimate
Given , choose so for all . By continuity of the fixed function at , choose so whenever . Then
These facts use completeness of the real numbers. They will also preserve the closed value constraint imposed below.
3. Proof by an integral iteration
Rectangle and quantitative constants. Choose so the closed rectangle lies in . The extreme-value theorem supplies finite constants with and on . The one-variable mean value theorem in the coordinate gives
All intervals in this use lie in ; no differentiability in has been assumed. Put
Then . The added ones avoid division by zero when or .
A complete space of permitted functions. Let , where denotes the constant function. If is Cauchy in this distance, uniform completeness gives a uniform limit . The uniform-limit continuity theorem makes continuous, and passage to the limit in gives for every . Thus and is complete.
The integral map. Define
The integrand is continuous, since the graph of stays in . Thus is continuous, and
For these bounds follow by reversing the integral limits before taking absolute values. Therefore maps into itself and contracts distances.
Convergence and a fixed point. Start with and set . If , the distance estimate says for all ; hence , already a fixed point. Suppose and put . Repeated application of the contraction estimate gives for every integer . Consequently, for ,
Completeness gives . Since
we have . Passing above also proves . For , is exact instead.
The differential equation and uniqueness. The fixed-point equation and the fundamental theorem of calculus give for interior , and . Restricting to the interior of supplies the claimed local solution. If are both fixed points, and force equality of the functions.
Finally, any other local solution is continuous at and has value , so its graph stays in on a sufficiently small common closed interval , with . The differential equation integrated from gives the same integral equation there. On the contraction estimate has factor , so it agrees with on . This establishes local uniqueness without assuming an alternative solution remains in for all future time.
Local existence does not assert global continuation. A later domain boundary or unbounded growth requires a separate continuation argument. The derivative condition is sufficient, not a necessary condition for every uniquely solvable equation.
Worked example 1: a finite interval matters. The problem , has solution , since its derivative is . It has a pole at one; the maximal connected interval containing zero is . A formula's algebraic existence on the separate interval does not create one solution through the singular time.
4.2 Separation and equilibrium checks
For , where along the solution interval,
This notation abbreviates an application of the chain rule to an antiderivative of . Before dividing, check all zeros of for constant equilibrium solutions. They may be lost by separation.
Worked example 2: an implicit solution is still a solution. Solve , . Multiplying and integrating gives
The function is strictly increasing on because , and its range is all real numbers. Thus the relation defines one real for each . Differentiating the relation recovers , and the initial condition checks. A radical or cubic formula is unnecessary for a rigorous implicit answer.
Worked example 3: bounded population growth. The model
has equilibria . For a positive initial value , separation gives the verified solution
For its denominator is positive. If , growth is positive and the population tends to . If , growth is negative and the population decreases toward . The zero equilibrium is treated separately. The parameter is a model's limiting scale, not an empirically guaranteed future population.
4.3 Linear equations and integrating factors
For a linear equation with continuous coefficients, choose
Then and the product rule turns the equation into . With initial value at ,
The integrating factor is nonzero; multiplying it by a constant does not change the solution formula. The formula's interval must retain continuity of coefficients.
Worked example 4: cooling toward an ambient level. Suppose , , with constant ambient . Setting gives , hence
If , , and , then and . Therefore . The model halves the difference from ambient every ten time units, not the absolute temperature.
4.4 Constant-volume mixing
A mass balance is “rate in minus rate out.” Assume instantaneous perfect mixing, no chemical reaction, additive volumes, and a specified inflow concentration. If volume is constant, inflow and outflow are both , inflow concentration is , and salt mass is , then tank concentration is and
Every term has mass-per-time units. The outflow concentration equals the tank concentration only because perfect mixing was assumed.
Worked example 5: a constant tank. Let L, L/min, g/L, and g. Then
The concentration is g/L. It reaches g/L when , namely at minutes. The concentration remains between its initial and incoming levels, a useful independent check. With no incoming salt, the same model instead gives exponential washout.
4.5 Changing-volume mixing
If inflow and outflow differ, the volume changes and must not be replaced by a constant. Let and
Use the model only while volume is positive and within capacity.
Worked example 6: filling as well as mixing. A tank starts with L of pure water, receives L/min at concentration g/L, and drains L/min. Before overflow, and
The integrating factor is , so
Integrating gives . The initial value gives . Thus concentration is
It starts at zero, is nonnegative for , and remains below the incoming concentration. Although the formula has an infinite-time limit, a finite-capacity tank would overflow first; its physical use must stop at that capacity time.
4.6 Checking a model solution
A dependable solution report has four checks:
- Substitute into the differential equation, including units.
- Verify the initial condition.
- State an interval avoiding denominator zeros or coefficient singularities.
- Check model bounds, such as nonnegative mass, feasible volume, or a temperature range.
An exact equation solution may fail a modeling check. Conversely, an implicit formula can be fully valid without an elementary explicit expression. A numerical graph alone does not replace any of the four checks.
4.7 Graded exercises
Foundation
- Solve , , and find the time at which .
- List equilibria of before any division.
- Verify solves and find its initial value.
Core
- Solve , , including the zero equilibrium discussion.
- Solve , .
- Under the cooling model with ambient and initial temperature , the temperature difference halves every five time units. Find and .
- A L perfectly mixed tank receives and drains L/min; incoming concentration is g/L and initial salt mass is zero. Find salt mass and concentration.
- For logistic parameters , , , find the time at which .
Synthesis
- In Worked example 6, if tank capacity is L, state the valid future time range before overflow and find the concentration at the capacity boundary.
- Explain why replacing the outflow concentration in a perfectly mixed tank by the fixed incoming concentration is generally wrong. Use a pure-water initial condition with positive incoming concentration to show an immediate contradiction.
4.8 Full solutions
- . Setting it to two gives , so .
- The constant solutions satisfy , giving .
- , so . At zero, .
- Away from zero, separation yields , giving for the initial value. The zero function also solves the equation but not this initial condition. The displayed positive solution is defined for all real .
- The equilibrium is four and the initial deviation is negative three, so . Differentiating and adding gives twelve, and the initial value is one.
- The difference is with . Thus and .
- , , so g. Concentration is g/L.
- . Setting gives , so in the model's time unit.
- Volume is , so before overflow use minutes. At the capacity boundary , concentration is g/L. The limiting value at that boundary is valid under the pre-overflow mixing assumptions; the same differential model cannot simply continue past overflow without an updated outflow rule.
- With pure water initially, tank concentration at time zero is zero, so salt outflow must initially be zero. Assigning the positive incoming concentration to the outgoing stream predicts salt leaving before any is present. Perfect mixing requires outflow concentration , which evolves from zero; it does not set it equal to the incoming value.
Summary and onward map
Differential equations specify change, and initial values select trajectories. Separation needs equilibrium checks; linear equations admit an integrating-factor derivation. Conservation supplies the correct inputs and outputs in mixing models, with changing volume handled explicitly. A solution must satisfy its equation, initial condition, mathematical interval and physical constraints.