UNIHIVE

Study Hub UNIPORT ENG 206

ENG 206 · Engineering Mathematic III (Differential Equations)

Exact equations and integrating factors

Testing for exactness, finding the potential function, and making an equation exact.

Our notes

2 min read

Exact equations

The equation 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 dF = 0 and the solution is F(x, y) = C.

Test: the equation is exact when ∂M/∂y = ∂N/∂x.

Method

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

Example 1

(2xy + 3) dx + (x² + 4y) dy = 0.
M_y = 2x and N_x = 2x: exact ✓.
F = ∫(2xy + 3) dx = x²y + 3x + g(y).
F_y = x² + g′(y) = x² + 4y, so g′ = 4y, g = 2y².
x²y + 3x + 2y² = C.
Check: dF = (2xy + 3)dx + (x² + 4y)dy ✓.

Integrating factors

If the equation is not exact, multiplying by a suitable μ can make it exact.

  • If (M_y − N_x)/N is a function of x only, μ = e^(∫ (M_y − N_x)/N dx).
  • If (N_x − M_y)/M is a function of y only, μ = e^(∫ (N_x − M_y)/M dy).
  • Some forms are recognised by sight: x dy − y dx over x² is d(y/x); x dy + y dx = d(xy).

Example 2

y dx − x dy = 0.
M_y = 1, N_x = −1: not exact. (M_y − N_x)/N = 2/(−x) = −2/x, a function of x only.
μ = e^(∫−2/x dx) = x⁻².
Now (y/x²) dx − (1/x) dy = 0: M_y = 1/x², N_x = 1/x² ✓ exact.
F = ∫ y/x² dx = −y/x + g(y); F_y = −1/x + g′ = −1/x, so g = 0.
−y/x = C, so y = kx (straight lines through the origin).
Check by separating: dy/y = dx/x gives the same lines ✓.

Example 3: a linear equation is a special case

y′ + Py = Q written as (Py − Q)dx + dy = 0 has (M_y − N_x)/N = P, so μ = e^(∫P dx): the same integrating factor as before.

Engineering note

Exact equations come from potential functions: in a conservative force field or in thermodynamics, quantities such as internal energy have exact differentials (dU), while heat and work in general do not (their integrals depend on the path).

Exams usually ask

  • Test for exactness and solve.
  • Find an integrating factor that depends on x (or y) only and solve.

Common mistake

Adding ∫M dx and ∫N dy and counting the common terms twice. Use g(y) as in step 3, or include each distinct term once.

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 ENG 206 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.