Exact Differential Equation
1.0What Is an Exact Differential Equation?
An Exact Differential Equation is a type of first-order differential equation that can be written in the form:
M(x, y) dx + N(x, y) dy = 0
where M(x, y) and N(x, y) are co ntinuous functions of x and y, and the equation is called exact if there exists a function F(x, y) such that:
∂x∂F=M(x,y)and∂y∂F=N(x,y)
Then, the general solution is:
F(x, y) = C
where C is the constant of integration.
2.0Definition of Exact Differential Equation
An equation of the form:
M(x, y) dx + N(x, y) dy = 0
is said to be exact if the following condition holds:
∂y∂M=∂x∂N
This condition ensures that M and N are the partial derivatives of some function F(x, y).
3.0Exact vs Non-Exact Differential Equations
4.0Solved Examples on Exact Differential Equation
Example 1: Solve the equation:
(2x + 3y) dx + (3x + 4y) dy = 0
Solution:
- Check if exact:
∂x∂N=∂x∂(3x+4y)=3
Since they are equal, the equation is exact.
- Find F(x, y):
F(x,y)=∫Mdx=∫(2x+3y)dx=x2+3xy+g(y)
Differentiate w.r.t y:
∂y∂F=3x+g′(y)
But ∂y∂F=N=3x+4y
So,
3x+g′(y)=3x+4y⟹g′(y)=4y
Integrating:
g(y)=2y2
- Final solution:
F(x,y)=x2+3xy+2y2=C
Example 2: Solve the exact differential equation:
(3x2+2y)dx+2xdy=0
Solution:
Step 1 – Identify M(x, y) and N(x, y):
M(x,y)=3x2+2y,N(x,y)=2x
Step 2 – Check Exactness:
∂y∂M=∂y∂(3x2+2y)=2
∂x∂N=∂x∂(2x)=2
Since they are equal, the equation is exact.
Step 3 – Find F(x, y):
F(x,y)=∫M(x,y)dx=∫(3x2+2y)dx=x3+2xy+g(y)
Step 4 – Compute ∂y∂F:
∂y∂F=2x+g′(y)
But ∂y∂F=N(x,y)=2x
Thus:
2x+g′(y)=2x⟹g′(y)=0
Integrating:
g(y) = C
Step 5 – General Solution:
F(x,y)=x3+2xy=C
Example 3: Solve: (2xy+cosy)dx+(x2−ysiny)dy=0
Solution:
Step 1 – Identify M(x, y) and N(x, y):
M(x,y)=2xy+cosy,N(x,y)=x2−ysiny
Step 2 – Check Exactness:
∂y∂M=2x−siny
∂x∂N=2x
They are not equal:
2x−siny=2x
This is a non-exact equation.
To solve, we would need an integrating factor, which can be a bit advanced.
Example 4: Solve the equation: (2x+3y2)dx+(6xy+cosy)dy=0
Solution:
Step 1 – Identify M(x, y) and N(x, y):
M(x,y)=2x+3y2,N(x,y)=6xy+cosy
Step 2 – Check Exactness:
∂y∂M=6y
∂x∂N=6y
They are equal, so the equation is exact.
Step 3 – Find F(x, y):
F(x,y)=∫M(x,y)dx=∫(2x+3y2)dx=x2+3xy2+g(y)
Step 4 – Compute ∂y∂F:
∂y∂F=6xy+g′(y)
But ∂y∂F=N(x,y)=6xy+cosy
So:
6xy+g′(y)=6xy+cosy⟹g′(y)=cosy
Integrating:
g(y)=siny
Step 5 – Final solution:
F(x,y)=x2+3xy2+siny=C
Example 5: Solve: (yex+2x)dx+(ex+3y2)dy=0
Solution:
Step 1 – Identify M(x, y) and N(x, y):
M(x,y)=yex+2x,N(x,y)=ex+3y2
Step 2 – Check Exactness:
∂y∂M=ex
∂x∂N=ex
Since they are equal, the equation is exact.
Step 3 – Find F(x, y):
F(x,y)=∫M(x,y)dx=∫(yex+2x)dx=yex+x2+g(y)
Step 4 – Compute ∂y∂F:
∂y∂F=ex+g′(y)
But ∂y∂F=N(x,y)=ex+g’y2
So:
ex+g′(y)=ex+3y2⟹g′(y)=3y2
Integrating:
g(y)=y3
Step 5 – Final solution:
F(x,y)=yex+x2+y3=C
Example 6: Solve the equation: (3x2y+2y3)dx+(x3+6xy2)dy=0
Solution:
Step 1 – Identify M(x, y) and N(x, y):
M(x,y)=3x2y+2y3,N(x,y)=x3+6xy2
Step 2 – Check Exactness:
∂y∂M=3x2+6y2
∂x∂N=3x2+6y2
They are equal ⇒ Exact equation.
Step 3 – Find F(x, y):
F(x,y)=∫M(x,y)dx=∫(3x2y+2y3)dx=x3y+2xy3+g(y)
Step 4 – Compute ∂y∂F:
∂y∂F=x3+6xy2+g′(y)
But ∂y∂F=N(x,y)=x3+6xy2
Thus:
g′(y)=0⟹g(y)=C
Step 5 – General solution:
F(x,y)=x3y+2xy3=C
Example 7: Solve: (exsiny+1)dx+(excosy+2y)dy=0
Solution:
Step 1 – Identify M(x, y) and N(x, y):
M(x,y)=exsiny+1,N(x,y)=excosy+2y
Step 2 – Check Exactness:
∂y∂M=excosy
∂x∂N=excosy
They are equal ⇒ Exact equation.
Step 3 – Find F(x, y):
F(x,y)=∫M(x,y)dx=∫(exsiny+1)dx=exsiny+x+g(y)
Step 4 – Compute ∂y∂F:
∂y∂F=excosy+g′(y)
But
So:∂y∂F=N(x,y)=excosy+2y.
excosy+g′(y)=excosy+2y⟹g′(y)=2y
Integrating:
g(y)=y2
Step 5 – Final solution:
F(x,y)=exsiny+x+y2=C
5.0Practice Questions on Exact Differential Equations
- Solve the following exact differential equation:
(y+x2)dx+xdy=0
- Determine if the following differential equation is exact or not:
(xsiny+2)dx+xcosydy=0
- Solve the exact differential equation:
(ex+y)dx+(x+ey)dy=0
6.0Why Is Exact Differential Equation Important?
- Simplifies solving differential equations in physics, engineering, and mathematics.
- Helps in solving problems involving conservative forces and potential functions.
- Vital in JEE and advanced-level problems requiring step-by-step methodical solutions.
Also Read: