Ordinary Differential Equations
§2 First-Order Equations
8 min read
A first-order scalar ODE has one unknown real-valued function and no derivative higher than . Here is the independent variable, is the unknown function, and
The equation can often be written as
There is no single method for every first-order equation. In this section, two recognizable forms are especially important:
| Form | What to look for | Method |
|---|---|---|
| and appear linearly | Integrating factor | |
| The -part and -part can be separated | Separation of variables |
The hard part is usually recognizing the form. Once that is done, the remaining steps are mostly algebra, differentiation, and integration.
First-order linear equations
A first-order linear equation may first appear as
On any interval where , divide the entire equation by :
where
This is the standard form. Always reach this form before finding an integrating factor. In particular, the coefficient of must be .
The idea behind the integrating factor
We want to turn the two terms on the left,
into the derivative of one product. Introduce an unknown function , read “mu of ,” and multiply the equation by it:
The product rule says
The terms already match. To make the other terms match as well, choose so that
It is enough to require
For a nonzero ,
Integrating gives
so we may choose the integrating factor
There is no in the usual formula for . Including one would only multiply by a nonzero constant, and that constant cancels from the final answer. We simply choose it to be .
With this choice,
Some WeBWorK questions use for the reciprocal of the integrating factor:
Under that convention, is still the factor multiplied into the ODE, while is the factor that appears after solving for . Read the requested symbol carefully; and may be reciprocals rather than competing answers.
Integrating and then dividing by gives
The formula is useful, but the idea is more important: the integrating factor is chosen to create a product derivative.
A reliable procedure
For
use these steps:
- Divide by to obtain .
- Calculate .
- Multiply every term by .
- Rewrite the left side as .
- Integrate both sides and include here.
- Divide by .
- If an initial condition is given, use it to determine .
- Differentiate and substitute to check the result.
Example: a variable coefficient
Consider
This is already in standard form, with
The integrating factor is
Here is always positive, so no interval split is needed. Multiply the equation by :
By the product rule,
Integrate:
Therefore,
This is the general solution: different values of give different solutions.
If , then
so and
If instead , then , so
An initial condition selects one member of the general family.
Example: an exponential right-hand side
Consider
The integrating factor is
Multiplying the equation gives
Integrate:
Divide by :
The two terms have different roles. The first responds to the right-hand side of the ODE. The term solves the corresponding homogeneous equation, obtained by replacing the right side with zero:
Separable equations
A first-order ODE is separable if it can be written as
The right side must be a product of:
- a function depending only on ;
- a function depending only on .
For example,
is separable. By contrast,
is not separable in this form because the right side is a sum that cannot generally be factored into .
Assuming , divide by and integrate:
The result may define implicitly, meaning that is not isolated. That is still a valid solution.
Do not lose equilibrium solutions
Before dividing by , solve
Any constant value satisfying this equation gives
so is an equilibrium solution. Dividing by would hide it, so check these values separately.
Why separation works
Writing and on opposite sides is a useful mnemonic, but the chain rule is the real justification.
Starting from
rearrange it as
Define
Choose antiderivatives and such that
Because depends on , the chain rule gives
Therefore,
The ODE says this derivative is zero, so the quantity inside must be constant:
This is exactly the implicit equation obtained by separating and integrating.
Potential functions and level curves
Define
The function , read “psi,” is called a potential function. A solution follows a curve on which is constant:
Such a curve is called a level curve. Different values of give different curves in the solution family.
Example: circles as implicit solutions
Consider
Separate and integrate:
Move both squared terms to the same side:
The level curves are circles centered at the origin. If the initial condition is
then
Thus
Solving for produces two branches:
The initial value selects the upper branch:
Its maximal solution interval—the largest interval containing the initial point on which the formula satisfies the original ODE—is
Although the formula is real at , it has there, and the original ODE contains division by . The ODE itself is therefore undefined at those endpoints.
Finite-time blowup
A solution has finite-time blowup when its magnitude becomes unbounded at a finite endpoint of its interval of existence.
Consider
First note that is an equilibrium solution. For a nonzero solution, separate variables:
Integrate:
The initial condition gives
Therefore,
The denominator becomes zero at
As approaches this time from the left,
The maximal interval containing is therefore
This is different from ordinary exponential growth. A solution of grows like and becomes unbounded only as . The solution of becomes unbounded at a finite time.
Method check
When you see a first-order equation, ask:
- Can it be written as ? Use an integrating factor.
- Can it be written as ? Separate the variables.
- Before dividing by a function of , does that function have zeros? Check the corresponding equilibrium solutions.
- Does the final formula contain a denominator, logarithm, or square root? Use it to determine the actual solution interval.
- Does an initial condition select a constant, a branch, or both?
0 reads
Last edited