ENG 206 · Engineering Mathematic III (Differential Equations)
Our notes
2 min readExact 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
- Check ∂M/∂y = ∂N/∂x.
- Integrate M with respect to x: F = ∫M dx + g(y).
- Differentiate F with respect to y and set it equal to N to find g′(y).
- 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
-
Exact differential equation
(opens en.wikipedia.org in a new tab)
Wikipedia, Exact differential equation, CC BY-SA 4.0 · licence
-
Integrating factor
(opens en.wikipedia.org in a new tab)
Wikipedia, Integrating factor, CC BY-SA 4.0 · licence
Watch
-
Best pick Almost Exact Differential equation & special integrating factor (introduction & example)
20 min · ≈ 90 MB · about ₦51
(opens youtube.com in a new tab)
-
How to Obtain Integrating Factor for an Exact Differential Equation.
7 min · ≈ 32 MB · about ₦18
(opens youtube.com in a new tab)
-
🔵13 - Non Exact Differential Equations and Integrating Factors 1
18 min · ≈ 81 MB · about ₦45
(opens youtube.com in a new tab)
-
Integrating factors 1 | First order differential equations | Khan Academy
10 min · ≈ 45 MB · about ₦25
(opens youtube.com in a new tab)
-
Integrating Factor for Exact Differential Equations (Differential Equations 30)
1 h 16 min · ≈ 342 MB · about ₦192
(opens youtube.com in a new tab)
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.