A differential equation is an equation which contains one or more terms. It involves the derivative of one variable (dependent variable) with respect to the other variable (independent variable). The differential equation for a given function can be represented in a form: f(x) = dy/dx where “x” is an independent variable and “y” is a dependent variable. In this article, we are going to discuss what is an exact differential equation, standard form, integrating factor, and how to solve exact differential equation in detail with examples and solved problems.
Table of Contents:
- Testing for Exactness
- Integrating Factor
- Solving Exact Differential Equation
Exact Differential Equation Definition
The equation P (x,y) dx + Q (x,y) dy=0 is an exact differential equation if there exists a function f of two variables x and y having continuous partial derivatives such that the exact differential equation definition is separated as follows
ux(x, y) = p(x, y) and uy (x, y) = Q(x, y);
Therefore, the general solution of the equation is u(x, y) = C.
Where “C” is an arbitrary constant.
Testing for Exactness
Assume the functions P(x, y) and Q(x, y) having the continuous partial derivatives in a particular domain D, and the differential equation is exact if and only if it satisfies the condition
Exact Differential Equation Integrating Factor
If the differential equation P (x, y) dx + Q (x, y) dy = 0 is not exact, it is possible to make it exact by multiplying using a relevant factor u(x, y) which is known as integrating factor for the given differential equation.
Consider an example,
2ydx + x dy = 0
Now check it whether the given differential equation is exact using testing for exactness.
The given differential equation is not exact.
In order to convert it into the exact differential equation, multiply by the integrating factor u(x,y)= x, the differential equation becomes,
2 xy dx + x2 dy = 0
The above resultant equation is exact differential equation because the left side of the equation is a total differential of x2y.
Sometimes it is difficult to find the integrating factor. But, there are two classes of differential equation whose integrating factor may be found easily. Those equations have the integrating factor having the functions of either x alone or y alone.
When you consider the differential equation P (x,y) dx + Q (x,y) dy=0, the two cases involved are:
Case 1: If [1/Q(x,y)][Py(x, y) – Qx(x,y)] = h(x), which is a function of x alone, then e∫h(x)dx is an integrating factor.
How to Solve Exact Differential Equation
The following steps explains how to solve the exact differential equation in a detailed way.
Step 1: The first step to solve exact differential equation is that to make sure with the given differential equation is exact using testing for exactness.
Step 2: Write the system of two differential equations that defines the function u(x,y). That is
Step 3: Integrating the first equation over the variable x , we get
Instead of an arbitrary constant C, write an unknown function of y.
Step 4: Differentiating with respect to y, substitute the function u(x,y) in the second equation
From the above expression we get the derivative of the unknown function φ (y) and it is given by
Step 5: We can find the function φ (y) by integrating the last expression ,so that the function u(x,y) becomes
Step 6: Finally, the general solution of the exact differential equation is given by
u (x,y) = C.
Also, read: First Order Differential Equation
Exact Differential Equation Examples
Some of the examples of the exact differential equations are as follows :
- ( 2xy – 3x2 ) dx + ( x2 – 2y ) dy = 0
- ( xy2 + x ) dx + yx2 dy = 0
- Cos y dx + ( y2 – x sin y ) dy = 0
- ( 6x2 – y +3 ) dx + (3y2 -x – 2) dy =0
- ey dx + ( 2y + xey ) dy = 0
Exact Differential Equation Problems
Go through the below problem to solve the exact differential equation.
Question: Find the solution for the differential equation ( 2xy – sin x ) dx + ( x2 – cos y) dy = 0
Given, ( 2xy – sin x ) dx + ( x2 – cos y) dy = 0
First check this equation for exactness,
The equation is exact because it satisfies the condition
From the system of two equations, find the functions u ( x, y )
By integrating the first equation with respect to the variable x, we get
Substituting the above equation in equation (2) , it becomes
So the function u ( x , y ) becomes
u ( x , y ) = x2y + cos x – sin y
Therefore the general solution for the given differential equation is
x2y + cos x – sin y = C
For more information on differential equation and its related articles, register with BYJU’S – The Learning App and also watch the videos to clarify the doubts.