Source
Adapted from my own handwritten and hand-typed notes from Year 1 to Year 3 of my EEE degree
If along a solution curve, the chain rule gives , written as . An exact equation is an ODE that has exactly this form.
Definition
is exact if there is a potential function with
Then the general solution is .
Test for exactness
If , , , are continuous on a simply connected region,
(This is Clairaut's theorem .)
Method
- Check
- Integrate with respect to (hold fixed):
- Differentiate this with respect to and set it equal to to find , then (no constant needed)
- Answer:
You can start from instead: , then compare with . Integrate whichever is easier.
Worked example
Solve .
Working:
- , so exact
- , so and
General solution: .
Non-exact equations: integrating factor
If , try multiplying by an integrating factor so that . There are two easy cases:
| If this depends only on one variable | Integrating factor |
|---|---|
Then solve the new exact equation as above.
Worked example: integrating factor
Solve , .
Working:
- , , not exact
- , a function of only, so
- New equation: (now exact)
- From : . Then must equal , so and
Another example: becomes exact after multiplying by , with solution .