Module 25: Introductory differential equations and dynamical models
On this page
- A. Prerequisites and observable goals
- B. The central idea: the unknown is a function
- C. Three tools with different purposes
- D. Why separation and integrating factors work
- E. A modeling and solving sequence
- F. Worked examples
- Computing bridge: The equation, the stepper, and the experiment are different objects
- G. Independent practice
- H. Complete solutions: Module 25
- I. Retention and readiness
A. Prerequisites and observable goals#
Antiderivatives, chain and product rules, exponentials, and initial values.
Recognize separable and first-order linear equations, preserve equilibrium solutions, verify an initial-value solution, and interpret Euler approximations.
B. The central idea: the unknown is a function#
A differential equation relates an unknown function to its derivatives. A solution must satisfy that relationship throughout an interval, not merely at one input. An initial condition selects a particular trajectory when suitable existence and uniqueness conditions hold. This module is a selected introduction, not a full differential-equations course. Linear equations and autonomous phase-line analysis may be optional in a particular calculus syllabus.
C. Three tools with different purposes#
A separable equation has the form . Where , integration of leads to . Constant solutions satisfying must be checked separately because division removes them.
A first-order linear equation has form . On an interval where are continuous, an integrating factor
turns the left side into , so . A coefficient singularity may limit the solution interval.
For , the Euler method advances a tangent approximation:
It generally produces approximate values, not an exact solution. Smaller need not rescue a bad model or a mistaken update order. Standard methods: [O2ODE].
For an autonomous equation , zeros of are equilibria, and its sign gives increasing or decreasing motion between them. Local uniqueness, for example when and are continuous near initial data, prevents distinct solution curves from crossing there. Without uniqueness hypotheses, such a claim is unsafe.
D. Why separation and integrating factors work#
Separation is the chain rule in reverse: if , then . The differential shorthand does not require treating derivatives as ordinary fractions without justification.
For a linear equation, choose so that . Then the product rule gives . The exponential formula solves precisely this requirement. It is constructed to create an exact product derivative, not guessed from an unrelated pattern.
E. A modeling and solving sequence#
State the dependent quantity and time units. Build a rate balance: accumulation equals input rate minus output rate. Identify the equation type, solve on a domain interval, restore any equilibrium solutions lost by division, apply initial data, and substitute the resulting function back into the original equation. For a physical model, also check nonnegativity and whether a finite-time singularity signals a model limit.
F. Worked examples#
Exponential decay. If with , separation for nonzero gives , hence . The equilibrium is included by allowing . With , . The half-life satisfies , so .
A linear forced model. For , , take . Integrating yields . The initial condition gives , so . Substitution verifies both the equation and the starting value; the long-term value balances forcing against removal.
A phase-line interpretation. For , the equilibria are . Rates are negative below , positive between , and negative above . Positive starting populations move toward , while is unstable to positive perturbations. The arrows describe the differential equation’s behavior; they do not specify all physical validity assumptions of a population model.
Computing bridge: The equation, the stepper, and the experiment are different objects#
For , , the model has exact solution . Euler produces , a discrete approximation. It decays stably for , but for it alternates sign even though the exact solution stays positive. A06 and T04 use this distinction to show why stability, accuracy, and physical plausibility must be checked separately. A changing frame time is a numerical-method decision, not only an animation convenience.
G. Independent practice#
F foundation C standard course work T transfer S optional stretch L runnable lab or project. Attempt the complete set before opening its solutions.
Solve , , and verify the result.
Solve , , on the maximal interval around zero where the formula is finite.
Solve , . State its maximal interval containing zero and identify an equilibrium lost by separation.
Solve , , using an integrating factor.
A L well-mixed tank initially contains kg of salt. Pure water enters at L/min and solution leaves at L/min. Find the salt amount and its half-life under this model.
Use Euler’s method with for two steps to approximate when , .
For , find equilibria and describe the direction of motion for and . Classify the stability of the positive equilibrium.
The equation has initial condition . Show that both and, for each , the function for and for solve the initial-value problem. Explain the uniqueness issue.
Optional small hints
For M25.02, integrate to an arctangent before solving for . For M25.05, outflow concentration is current amount divided by current volume. For M25.08, check the derivative at the joining time, not just on either side.
H. Complete solutions: Module 25#
Compare the first step where your work differs. A corrected answer is not yet an independent success.
M25.01Show solution
An exponential trajectory selected by initial data
Separation or recognition gives . At , , so for all real . Differentiating gives , and . Both the differential equation and the initial condition are verified.
Back to M25.01M25.02Show solution
An implicit antiderivative exposes the solution’s interval
Since , separation gives . Initial data imply , so near zero. The first poles occur at , giving maximal interval . Its derivative is , as required. The solution cannot be extended through a pole as a finite differentiable real function.
Back to M25.02M25.03Show solution
Finite-time blow-up and a discarded equilibrium
For nonzero , integrate to obtain . The initial value gives , hence . The maximal connected interval containing zero is . Its derivative is . The constant function is also a solution of the differential equation, although it does not satisfy this particular initial condition and was excluded by division.
Back to M25.03M25.04Show solution
Build an exact product derivative
The integrating factor is . Multiplying gives . Integration yields , so . The initial condition gives , hence . Differentiating and adding cancels the terms and produces .
Back to M25.04M25.05Show solution
A concentration is not an amount
Let be salt mass in kg. The volume stays L. Salt enters at zero rate and leaves at kg/min. Thus , , giving for physical times . The half-life solves , so . Nonnegative mass decays toward zero, consistent with flushing by pure water.
Back to M25.05M25.06Show solution
Use the old time and old value at each step
At , the slope is , so at . The next slope is , giving at . This is approximate. The exact solution gives , illustrating substantial coarse-step error.
Back to M25.06M25.07Show solution
Read the sign of the rate, not the height
The equilibria satisfy , so they are . For , both factors are positive and the solution increases. For , the second factor is negative and the solution decreases. Nearby values on both sides move toward , so the positive equilibrium is stable and attracting. Smoothness of the polynomial rate supplies local uniqueness, preventing a trajectory from crossing the equilibrium and continuing through it.
Back to M25.07M25.08Show solution
Continuous right sides need not guarantee uniqueness
For , the proposed solution and derivative are zero, matching . For , and because . At , both one-sided derivatives are zero, so the function is differentiable there and satisfies the equation. Since , the initial value is zero. These are distinct solutions, including arbitrary waiting times. The right side is continuous but is not locally Lipschitz in at zero; its derivative does not provide the usual continuous-derivative uniqueness hypothesis there.
Back to M25.08I. Retention and readiness#
Revisit M20.01, M03.07, and M12.06. Explain why a proposed solution is checked by both differentiation and initial substitution. Use Mixed Review R2 next; count a method selected only after seeing a hint as assisted, not independent.