Linear first-order equations

A first-order equation is linear if it can be written

It is homogeneous when and nonhomogeneous otherwise.

EquationClassification
Nonlinear
Linear, homogeneous
Nonlinear
Linear, nonhomogeneous

The last equation has standard form

on intervals where .

Homogeneous solution

Let . Since

the homogeneous equation has solutions

These are all the solutions: multiplying by gives , hence .

Integrating factor

For continuous on an interval, multiply by the integrating factor :

Thus

where the integral denotes one antiderivative and supplies the arbitrary constant.

For , choose

Then , and integrating from to gives

The outer factor depends on ; the integrand depends on . They cannot be cancelled.

Example

The general solution, using , is

For the IVP, normalize at :

Therefore

At , the logarithm vanishes and .

Variation of parameter

Start with the nonzero homogeneous solution and allow its coefficient to vary:

Substitution gives

Hence

This recovers the integrating-factor formula. The same idea extends to linear systems.

Special cases and long-term behavior

For the homogeneous IVP,

Zero initial data gives . Nonzero solutions keep their sign, and

Thus decreases the magnitude and increases it. For , the limits depend on the accumulated integral:

The sign alone does not determine the limit. For example, with gives

Constant coefficient

Power law

On ,

Constant forcing

For with , the equilibrium is . Set :

If , every solution converges to . If , every non-equilibrium solution moves away from it. If , .

Piecewise coefficients

If or changes formula at , solve the linear IVP on each interval and match the value of at the switch:

Use this as the initial condition for the second interval. The solution is continuous; its derivative may jump. At a derivative jump, the DE holds on each open piece rather than as a classical equation at the switch.

For example, if , , and before , afterward, with constant, then

Previous: Lecture 1 - Introduction · Next: Lecture 3 - General Properties of First-Order Linear Differential Equations