Introduction to differential equations · Section 2 of 4
First-order equations
Separation of variables, integrating factors and the geometry of solutions.
about 7 min
Start from a problem
assigns a slope to every point of the plane. How do we recover the whole curve from "slopes everywhere"?
The previous section proved that a solution exists and is unique, but not how to compute it. We need methods that actually produce solutions, even if only for certain types of equation.
Choose "Logistic growth" below:
What did you observe?Play first, then answer. Read the explanation only after you have thought it through.
- 1.For “Exponential growth”, halve the step h. By what factor does each method's end-point error shrink?
- 2.Push h to its maximum. Does Euler's curve still look exponential? Which step goes wrong?
- 3.In “Damped oscillator”, increase γ. What does the phase portrait turn into? And once γ exceeds ω?
A first-order equation prescribes a slope at every point . Solution curves are the curves tangent to the prescribed slope everywhere. By uniqueness (see What is an ODE) exactly one solution passes through each point, so they cannot cross. And if factors as a function of times a function of , perhaps we can move and to opposite sides and integrate each.
Separation of variables
If with , solutions satisfy
Let be an antiderivative of and one of . By the chain rule
so .
Writing
As , , matching the experiment. For separation is illegal (), but is obviously a solution, an equilibrium; so is .
Linear equations and integrating factors
Separation fails: the right side is not . But the left side is "almost" the derivative of a product.
Let . Then is equivalent to , so
; that is the entire reason for the choice of (see in The derivative). Hence
Integrate and divide by .
: , ,
The general solution of equals the general solution of the homogeneous equation plus any one particular solution.
If both solve , then
This structure comes from linearity: the solution set is an affine space, a translate of the homogeneous solution space, which is a one-dimensional vector space. The same structure reappears in Second-order linear equations, where that space becomes two-dimensional.
Dividing by when separating variables throws away the equilibrium solutions where . For the logistic equation, and are lost this way and must be added back by hand. Every time you divide by an expression in , ask what happens when it is zero.
Application
Without solving, draw at each point a short segment of slope : the direction field. Solution curves are the curves that follow it. The short segments in the experiment's phase portrait are a direction field (for a two-dimensional system). Equilibria are horizontal lines where ; for the logistic equation attracts nearby solutions and repels them.
Only a few classes of first-order equations have closed-form solutions: separable, linear, exact, and some reducible by substitution. Most cannot be solved in closed form, which does not stop us analysing them (direction fields, equilibria, stability) or solving them numerically.
Exercises
0 of 2 done
✓ All exercises in this section are done.
Next section: Second-order linear equations →
Discussion
Found a mistake, have a question or a suggestion? You can also write to 620026600@qq.com
No comments yet. Share your understanding, ask a question, or point out an error on this page.
Log in to join the discussion