UNIHIVE

Study Hub UNIPORT MTH 205

MTH 205 · Elementary Differential Equations

Exact equations and integrating factors

The exactness test, finding the potential function, and integrating factors that depend on x or y alone.

Our notes

2 min read

Exact equations

M(x, y) dx + N(x, y) dy = 0 is exact if there is a function F(x, y) with ∂F/∂x = M and ∂F/∂y = N. Then the solution is F(x, y) = C.
Test: exact if and only if ∂M/∂y = ∂N/∂x (in a simply connected region).

Method

  1. Check ∂M/∂y = ∂N/∂x.
  2. Integrate M with respect to x: F = ∫ M dx + g(y).
  3. Differentiate with respect to y and set equal to N to find g′(y).
  4. Integrate g′(y); write F(x, y) = C.

Example 1. (2xy + 3) dx + (x² + 4y) dy = 0.

  • M_y = 2x, N_x = 2x ✓ exact.
  • F = x²y + 3x + g(y); F_y = x² + g′(y) = x² + 4y → g′ = 4y → g = 2y².
  • x²y + 3x + 2y² = C.

Check: F_x = 2xy + 3 = M ✓; F_y = x² + 4y = N ✓.

Integrating factors

If not exact, multiply by μ to make it exact.

  • If (M_y − N_x)/N depends on x only: μ(x) = exp(∫ (M_y − N_x)/N dx).
  • If (N_x − M_y)/M depends on y only: μ(y) = exp(∫ (N_x − M_y)/M dy).

Example 2. (3xy + y²) dx + (x² + xy) dy = 0.

  • M_y = 3x + 2y, N_x = 2x + y: not exact.
  • (M_y − N_x)/N = (x + y)/(x(x + y)) = 1/x → μ = e^(ln x) = x.
  • Multiply: (3x²y + xy²) dx + (x³ + x²y) dy = 0. Now M_y = 3x² + 2xy = N_x ✓.
  • F = x³y + x²y²/2 + g(y); F_y = x³ + x²y + g′ = x³ + x²y → g = constant.
  • x³y + x²y²/2 = C.

Check: F_x = 3x²y + xy² ✓, F_y = x³ + x²y ✓.

Special integrating factors by inspection

Useful exact differentials:

  • d(xy) = x dy + y dx
  • d(y/x) = (x dy − y dx)/x²
  • d(x/y) = (y dx − x dy)/y²
  • d(ln(y/x)) = (x dy − y dx)/(xy)

Example 3. y dx − x dy = 0. Divide by x²: (y dx − x dy)/x² = −d(y/x) = 0 → y/x = C → y = Cx.

Exams usually ask: test for exactness and solve; find an integrating factor and solve.

Common mistake: integrating N with respect to y and M with respect to x and simply adding the results. Terms that appear in both get counted twice; use the g(y) method.

Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.

Read

Watch

We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.

All MTH 205 topics

Report

Sign in to report this. It is free.

Is this your work (a lecturer, author or publisher)? Ask us to take it down.