Comprehensive Guide to Exact Differential Equations
Definition of Exact Differential Equations
The most general first-order and first-degree Ordinary Differential Equation (ODE) is represented in the form: M(x,y)dx+N(x,y)dy=0
An ODE of this form is considered an exact differential equation if and only if the expression on the left-hand side is an exact differential.
Condition for Exactness: The equation Mdx+Ndy=0 will be an exact differential equation if and only if: ∂y∂M=∂x∂N
Examples of Exact Differentials
Example 1: xdy+ydx=0 This is an exact differential because it can be written as: d(xy)=0
Example 2: sin(x)cos(y)dy+cos(x)sin(y)dx=0 This is an exact differential because it can be written as: d(sin(x)sin(y))=0
Procedure for Solving Exact Differential Equations
To solve an exact differential equation, follow these three specific steps:
Integrate M with respect to x: Perform the integration while treating y as a constant. ∫Mdx
Identify and integrate terms in N: Find out those terms in N which are free from (do not contain) the variable x and integrate them with respect to y. ∫(terms of N not containing x)dy
Combine and Equate: Add the results of the two expressions obtained in steps (i) and (ii) and equate the resulting sum to an arbitrary constant (c). General formula: ∫y ConstantMdx+∫(terms of N not containing x)dy=c
Worked Example 1
Problem: Solve (x2−2xy+3y2)dx+(4y3+6xy−x2)dy=0
Step 1: Identify M and N M=x2−2xy+3y2 N=4y3+6xy−x2
Step 2: Test for Exactness
Calculate partial derivative of M with respect to y: ∂y∂M=−2x+6y
Calculate partial derivative of N with respect to x: ∂x∂N=6y−2x
Since ∂y∂M=∂x∂N, the given equation is exact.
Step 3: Apply the Solution Method
Integrate M with respect to x (treating y as constant): ∫(x2−2xy+3y2)dx=3x3−x2y+3xy2
Find terms in N not containing x and integrate with respect to y: The term is 4y3. ∫4y3dy=y4
Combine and equate to c: 3x3−x2y+3xy2+y4=c
Worked Example 2
Problem: Solve 2xydx+(x2−1)dy=0
Step 1: Identify M and N M(x,y)=2xy N(x,y)=x2−1
Step 2: Test for Exactness
∂y∂M=∂y∂(2xy)=2x
∂x∂N=∂x∂(x2−1)=2x
The condition ∂y∂M=∂x∂N is satisfied.
Step 3: Solution
Integrate M with respect to x: ∫2xydx=x2y
Integrate terms of N free from x: ∫−1dy=−y
General solution: x2y−y=c
Exercises for Practice
Complete the following exercises using the exactness method:
(x2+y)dx+(y2+x)dy=0
(e2y−ycos(xy))dx+(2xe2y−xcos(xy)+2y)dy=0
ex(x2+y2+2x)dx+2yexdy=0
(5x+4y)dx+(4x−8y3)dy=0
(sin(y)−ysin(x))dx+(cos(x)+xcos(y)−y)dy=0
(3x2y+ex)dx+(x3+xey−2y)dy=0