Solution to the Exact Differential Equation
📂Odinary Differential EquationsSolution to the Exact Differential Equation
Solution
The solution to the given exact differential equation M(x,y)+N(x,y)dxdy=0 is as follows.
Step 0.
Since the differential equation given is exact, an ψ exists such that ψx=M, ψy=N, ψ=c.
Step 1.
Integrate ψx. Then, differentiate the obtained ψ with respect to y to find h′(y). The entire process including Step 1 can be done the opposite way with respect to x and y as well.
⟹⟹ψψyh′(y)=∫ψx=∫M(x,y)dx+h(y)=∂y∂(∫M(x,y)dx)+h′(y)=N(x,y)=N(x,y)−∂y∂(∫M(x,y)dx)
Step 2.
Integrate the found h′(y) to obtain h(y) and then substitute it into (eq1).
⟹h(y)ψ(x,y)=∫h′(y)dy=∫N(x,y)dy−∫[∂y∂(∫M(x,y)dx)]dy=∫M(x,y)dx+∫N(x,y)dy−∫[∂y∂(∫M(x,y)dx)]dy
Step 3.
Finally, representing ψ in an implicit form will be the solution to the differential equation.
∫M(x,y)dx+∫N(x,y)dy−∫[∂y∂(∫M(x,y)dx)]dy=c
■
Examples
1
Solve the differential equation (2x3y+4xy)+(21x4+2x2+3y2)y′=0.
M(x,y)=2x3y+4xyN(x,y)=21x4+2x2+3y2
Then,
My=2x3+4x=Nx
which means the given differential equation is exact. Therefore,
ψx=M,ψy=N
an ψ=c that satisfies it exists.
⟹⟹⟹⟹ψψyh′(y)h(y)ψ=∫Mdx=∫(2x3y+4xy)dx=21x4y+2x2y+h(y)=21x4+2x2+h′(y)=N(x,y)=21x4+2x2+3y2=3y2=∫3y2dy=y3=21x4y+2x2y+h(y)=21x4y+2x2y+y3
Hence, the general solution is the implicit form of 21x4y+2x2y+y3=c.
■
2
Solve the differential equation (3xy+y2)+(x2+xy)y′=0.
M(x,y)=3xy+y2, N(x,y)=x2+xy
Then,
My=3x+2y=2x+y=Nx
which means the given differential equation is not exact. Therefore, the method of solving exact differential equations cannot be used. Let’s check if it really doesn’t work. Though it’s not an exact differential equation,
ψx=M(x,y)=3xy+y2,ψy=N(x,y)=x2+xy
Let’s assume that an ψ that satisfies it exists. Following the method of solving exact differential equations,
⟹ψψyh′(y)=∫ψxdx=∫3xy+y2dx=23x2y+xy2+h(y)=23x2+2xy+h′(y)=N(x,y)=x2+xy=−21x2−xy
This result contradicts the fact that h′(y) is a function that depends only on y. Therefore, an ψ(x,y) that satisfies the definition of an exact differential equation does not exist.
■