4.6.7 · D3Ordinary Differential Equations

Worked examples — Integrating factors for non-exact equations

2,529 words11 min readBack to topic

This page is the "shooting range" for Integrating factors for non-exact equations. We fire every kind of problem at you — clean -factors, clean -factors, the trap where you must switch mid-solve, an already-exact equation (the degenerate case), a limiting/undefined case, a word problem, and an exam twist — and we work each to the finish, then verify.

Before we start: everything here rests on one test and two formulas from the parent note. Let me restate them in plain words so no symbol appears un-earned.

Recall The three tools we lean on

The exactness test. Write the equation as . Here is "the stuff multiplying a tiny step to the right" and is "the stuff multiplying a tiny step upward". The equation is exact when — read "the -slope of equals the -slope of ". ( means: freeze , ask how fast changes as grows.) -factor test: if has no left in it, call it and set . -factor test: if has no left in it, call it and set . A picture of what " fixes" is coming in the first figure.


The scenario matrix

Every problem this topic can throw at you falls into one of these cells. The worked examples below are tagged with the cell they hit, and together they cover all of them.

# Cell (scenario class) What makes it special Example
A Already exact () degenerate case: , no fixing needed Ex 1
B Clean -factor ratio loses its Ex 2
C Clean -factor first ratio still has ; switch and win Ex 3
D Sign trap in the -numerator vs — must not carry old sign Ex 4
E Neither pure- nor pure- (limiting/failure) both ratios keep both letters — what to do Ex 5
F Word problem (real units) model → identify → solve → check units Ex 6
G Linear ODE in disguise is a special -factor Ex 7
H Exam twist: negative/zero regions sign of , domain where undefined Ex 8
Figure — Integrating factors for non-exact equations

Cell A — already exact (the degenerate case)


Cell B — clean -factor


Cell C — first ratio has , switch and win


Cell D — the sign trap


Cell E — neither pure- nor pure- (the limiting/failure case)


Cell F — a word problem with real units


Cell G — a linear ODE in disguise


Cell H — exam twist: monomial factor, signs, zeros


Coverage check

All eight cells of the scenario matrix now have a fully worked, verified example. ✓


Connections

Solve-flow

yes Cell A

no

yes Cell B or D

no

yes Cell C

no Cell E

M dx + N dy = 0

M_y = N_x ?

build F, F = C

ratio over N pure x ?

mu = exp integral

ratio over M pure y ?

mu = exp integral

try mu = x^a y^b or switch method

re-test then build F