Topic 9 · Lesson 1 of 4
First order equations and integrating factors
The integrating factor
An equation of the form
is first order linear. Usually it cannot be separated. The trick is to multiply through by the integrating factor , which has the property . Then the left side becomes an exact derivative, by the product rule:
so , and integrating both sides gives . You may quote the integrating factor without proof.
Method
- Step 1: Divide through so that the coefficient of is 1; identify .
- Step 2: Find (no constant needed), simplifying with .
- Step 3: Write .
- Step 4: Integrate, including the constant, then divide by .
Worked example
An integrating factor
Find the general solution of , for .
Show solutionHide solution
- Divide by : , so .
- .
- .
- , so .
Notice that the constant ends up divided by : adding it after dividing is a common and costly error.
Worked example
A trigonometric coefficient
Solve , given when .
Show solutionHide solution
- .
- , so and .
- , gives : .
General and particular solutions
The general solution contains an arbitrary constant, so it describes a family of curves; a boundary condition picks out one particular solution. For a sketch of the family, choose a few values of the constant (including 0, positive and negative) and look at how each term behaves: in , every curve behaves like for large , while near the term takes over, sending the curve to if and if .
Try it: tap the slope field to choose a point, and see the solution curve through it and the integrating factor working that gives its equation. The second-order mode shows simple harmonic motion, damping and resonance.
Try it: simulation
Differential equations
Loading the simulation…
Modelling with first order equations
Read rates carefully: "the rate of increase of " is , and "in minus out" gives the equation in mixing problems.
A tank holds 100 litres of water. Brine containing 0.2 kg of salt per litre flows in at 3 litres per minute and the well-mixed liquid flows out at 2 litres per minute. After minutes the volume is litres, and if kg of salt is in the tank, the concentration is . So
The integrating factor is , giving . Since when , , and .
Practise this topic
Both are part of Premium.