First-Order Differential Equations
An equation relating a function to its own derivative, the two methods that solve the first-order cases, separation of variables and the integrating factor, and the initial condition that selects one solution from the infinite family.
Definition
A differential equation relates an unknown function to its derivatives. It is first-order when only the first derivative appears, and ordinary when the unknown depends on a single variable.
What a solution is. A solution is a function, not a number:
The general solution contains an arbitrary constant and describes a family of curves; a particular solution is one member, selected by an initial condition
Separable equations. When the equation can be written
the variables separate: divide by
The two integrals are ordinary ones, so this method reduces the problem to the integration unit's techniques. Dividing by
Linear equations. When the equation can be written
multiply through by the integrating factor
chosen so that the left side becomes the derivative of a product:
The two classes overlap and neither contains the other.
Reading the solution. For
Assumptions and scope
A solution is a function, and substituting it must make the equation an identity. Any claimed solution can and should be verified by differentiation.
Dividing by
during separation discards the constant solutions where . Those are genuine solutions and must be restored by inspection.The integrating factor method requires the equation in the standard form
, with the coefficient ofequal to 1. Failing to divide through first produces the wrong . Separable and linear are overlapping classes, and neither contains the other. An equation may be both, one, or neither.
The constant of integration must be introduced before solving for
, not after. Introducing it late loses the family structure and usually the correct form. An initial condition determines the constant only after the general solution is in hand. Applying it mid-solution to an intermediate expression gives a different and usually wrong constant.
Worked material
Example
The equations that keep appearing
Radioactive decay, continuously compounded interest, unconstrained population growth and first-order chemical kinetics are all this equation.
Newton's law of cooling has this shape, with 3 replaced by the ambient temperature.
It has two constant solutions,
This is constrained population growth, where 1 is the carrying capacity.
The solution blows up as
Five of the six are separable and three are also linear. Equilibrium, carrying capacity and finite-time blow-up are visible in the solution rather than in the equation.
Non-example
Answers and assumptions that fail
A solution is a function, not a number. Asked to solve
Attempting separation on a sum.
The test is factoring, not effort:
Computing
Adding the constant after solving for
Losing the constant solutions. For the logistic equation
The general solution
Assuming a solution exists for all
Assuming uniqueness.
Applying the initial condition too early. Substituting
Common errors
Common misconception
Solving a differential equation means finding a value of
Related units
Requires
Connected
- Vector Spaces and Subspaces (related)
- Linear Transformations (related)