Careers360 Logo
Exact Differential Equation

Exact Differential Equation

Edited By Komal Miglani | Updated on Sep 18, 2024 04:04 PM IST

Let's begin by understanding what differential equations are. A differential equation is an equation involving one or more terms and the derivatives of one dependent variable with respect to the other independent variable. An exact differential equation is a specific type of ordinary differential equation commonly utilized in physics and engineering. Exact differential equations are widely used in thermodynamics for calculating internal energy and also used in electrostatics for calculating electric potential.

In this article, we will cover the Exact differential equations. This concept falls under the broader category of differential equations. It is not only essential for board exams but also for competitive exams like the Joint Entrance Examination (JEE Main), and other entrance exams such as SRMJEE, BITSAT, WBJEE, BCECE, and more. Over the last ten years of the JEE Main exam (from 2013 to 2023), a total of five questions have been asked on this concept, including one in 2019, one in 2020, two in 2021, and one in 2022.

What is a Differential Equation?

A differential equation is an equation involving one or more terms and the derivatives of one dependent variable with respect to the other independent variable.

Differential equation: dy/dx = f(x)

Where “x” is an independent variable and “y” is a dependent variable

Example of differential equation: $x \frac{d y}{d x}+2 y=0$
The above-written equation involves variables as well as the derivative of the dependent variable $\mathrm{y}$ with respect to the independent variable $\mathrm{x}$. Therefore, it is a differential equation.
The following relations are some of the examples of differential equations:
(i) $\frac{d y}{d x}=\sin 2 x+\cos x$
(ii) $\mathrm{k} \frac{\mathrm{d}^2 \mathrm{y}}{\mathrm{dx}^2}=\left[1+\left(\frac{\mathrm{dy}}{\mathrm{dx}}\right)^2\right]^{3 / 2}$

Exact Differential Equation

The equation A (x,y) dx + B (x,y) dy=0 is an exact differential equation if there exists a function of two variables x and y having continuous partial derivatives such that the exact differential equation definition is separated as follows

ux(x, y) = A(x, y) and uy (x, y) = B(x, y);

General Form

The general form of the exact differential equation is A(x,y)dx+B(x,y)dy=0 where A and B are the polynomial functions in terms of x and y.

Sometimes some differential equations can be solved using observation only. In such equations, we can get a differential of a function of x and y.

Exact Differential Equation Integrating Factor

If the differential equation A (x, y) dx + B (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 an 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 equations 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 A (x,y) dx + B (x,y) dy=0, the two cases involved are:

Case 1: If [1/B(x,y)][Ay(x, y) – Bx(x,y)] = h(x), which is a function of x alone, then e∫h(x)dx is an integrating factor.

Case 2: If [1/A(x,y)][Bx(x, y) – Ay(x,y)] = k(y), which is a function of y alone, then e∫k(y)dy is an integrating factor.

How to Solve Exact Differential Equations

The following steps explain how to solve the exact differential equation:

Step 1: The first step to solving the exact differential equation is to make sure the given differential equation is exact.

\frac{\partial Q}{\partial x}=\frac{\partial P}{\partial y}

Step 2: Write the system of two differential equations that defines the function u(x,y). That is

\frac{\partial u}{\partial x}=P(x,y)

\frac{\partial u}{\partial y}=Q(x,y)

Step 3: Integrating the first equation over the variable x, we get

u(x,y)=\int P(x,y)dx+\phi (y)

Step 4: Differentiating concerning y, substitute the function u(x,y) in the second equation

\frac{\partial u}{\partial x}=\frac{\partial }{\partial x}[\int P(x,y)dx+\phi (y)]=Q(x,y)

Step 5: We can find the function φ (y) by integrating the last expression so that the function u(x,y) becomes

u(x,y)=\int P(x,y)dx+\phi (y)

Step 6: Finally, the general solution of the exact differential equation is given by

u (x,y) = C.

Illustration 1 :

\text { Solution of the differential equation } 2 x y d x+\left(x^{2}+3 y^{2}\right) d y=0\;\text{is}

Let us first separate terms containing only x with dx and terms containing only y with dy

2xydx+x^2dy+3y^2dy=0

Here first two terms have both x and y. We can make an observation that first two terms are the differentiation of x2y. Hence we can write this equation as

d(x^2y) + 3y^2dy=0

Integrating this, we get

x^2y + y^3+c=0

This is the solution of this equation

The presence of the following exact differentials should be observed in a given differential equation

\\\mathbf{1.\;\;\;}\mathit{x d y+y d x=d(x y)}\\\\\mathbf{2.\;\;\;}\mathit{x d x+y d y=\frac{1}{2} d\left(x^{2}+y^{2}\right)}\\\\\mathbf{3.\;\;\;}\mathit{\frac{x d y-y d x}{x^{2}}=d\left(\frac{y}{x}\right)}\\\\\mathbf{4.\;\;\;}\mathit{\frac{y d x-x d y}{y^{2}}=d\left(\frac{x}{y}\right)}\\\\\mathbf{5.\;\;\;}\mathit{\frac{x d y-y d x}{x y}=\frac{d y}{y}-\frac{d x}{x}=d\left[\log \left(\frac{y}{x}\right)\right]}

\\\mathbf{6.\;\;\;}\mathit{\frac{y d x-x d y}{x y}=d\left[\log \left(\frac{x}{y}\right)\right]}\\\\

Illustration 2 :

\frac{x d y-y d x}{x^{2}+y^{2}}+ e^xdx=0

Observe that

\mathbf{\;\;\;}\mathit{\frac{x d y-y d x}{x^{2}+y^{2}}=\frac{\frac{x d y-y d x}{x^{2}}}{1+\frac{y^{2}}{x^{2}}}=\frac{d\left(\frac{y}{x}\right)}{1+\left(\frac{y}{x}\right)^{2}}=d\left[\tan ^{-1}\left(\frac{y}{x}\right)\right]}\\\\

So the equation is

d \left [ tan^{-1} \frac{y}{x} \right ]+ e^xdx=0

Integrating

tan^{-1} \frac{y}{x} + e^x+c=0

Solved Examples Based On Exact Differential Equations

Example 1: The solution of the differential equation dy/dx = -1 is

Solution:

As we have learned

The general form of Variable Separation -

d\left ( x+y \right )=dx+dy

\frac{dy}{dx} = -1 \Rightarrow dx +dy = 0 \Rightarrow d(x+y)= 0

\Rightarrow \int d(x+y)= C \Rightarrow (x+y) = C

Hence, the answer is x+y = C.

Example 2: The solution of a differential equation \frac{dy}{dx} = \frac{- \cos x}{\cos y} is

Solution:

As we have learned

The general form of Variable Separation -

d\left ( x+y \right )=dx+dy

\cos xdx + \cos y dy = 0 is also a linear differential equation that we can write

d \sin x + d(\sin y) = 0 \Rightarrow d(\sin x + \sin y )= 0

\int d(\sin x + \sin y ) = C \Rightarrow \sin x + \sin y= C

Hence, the answer is sinx+siny=C.

Example 3: Solution of differential equation \sin x\cos y dy+\sin y\cos xdx

Solution:

As we have learned

The general form of Variable Separation -

d\left ( xy \right )=ydx+xdy

The equation can be written as

(\sin x) d(\sin y) + (\sin y )d (\sin x) = 0 \Rightarrow d(sin x \cdot \sin y )= 0

\Rightarrow \int d(\sin x \cdot \sin y) =C \Rightarrow \sin x \cdot \sin y= C

Hence, the answer is sinx\, .\, siny=C.

Example 4: The solution of the differential equation (2xy-\sin x )dx + ((x^2)- \cos y)dy = 0 is

Solution:

As we have learned

The general form of Variable Separation -

d\left ( xy \right )=ydx+xdy

The equation can be written as

2xy dx - \sin xdx + x^2dy - \cos y dy =0

2xy dx + x^2dy- \sin xdx - \cos y dy =0

\Rightarrow y(2x)dx + x^2 dy - \sin x dx - \cos y dy = 0

\Rightarrow d(y \cdot x^2)+d(cos x )- d( \sin y) = 0

\Rightarrow \int d(y \cdot x^2)+\int d(cos x )- \int d( \sin y) = C

\Rightarrow x^2y + \cos x - \sin y = C

Hence, the answer is x^2y+cosx-siny=C

Example 5: The solution of the differential equation y dx/dy= x+2 \sqrt {y^2-x^2} is

Solution:

As we have learned

The general form of Variable Separation -

d\left ( \frac{x}{y} \right )= \frac{ydx-xdy}{y^{2}}

The equation can be written as

ydx = xdy +2\sqrt{y^2-x^2}dy

\Rightarrow ydx - xdy = 2\sqrt{y^2-x^2}dy

\Rightarrow ydx - xdy = 2y \sqrt{1-x^2/y^2}dy

dividing both sides by y^2 we get

\frac{ydx- xdy}{y^2} = \frac{2 \sqrt{1-(x/y)^2}}{y} dy

\Rightarrow \frac{d(x/y)}{\sqrt{1-(x/y)^2}}= 2/y dy

on integrating, we get

\sin ^{-1} x/y = 2 ln|y|+C

Hence, the answer is \sin ^{-1} x/y = 2 ln|y|+C.

Summary

Exact differential equations are a powerful tool in mathematics and physics, providing a method for finding potential functions from differential relationships among them. These equations are expanded in various applications and fields, including thermodynamics, electrostatics, and fluid mechanics, where they help to describe fundamental physical processes with the help of integrable functions.

Frequently Asked Questions (FAQs)

1. What is a differential equation?

 It describes the rate of change in quantity and is used in science, engineering, business, etc. It can model many phenomena in different fields.

2. What is an exact differential equation?

An exact differential equation is a type of first-order differential equation that is solved with the help of integration.

3. What is the order of the exact differential equations?

Exact differential equations are generally first order.

4. How to solve exact differential equations?

 Exact differential equations are generally solved by observations and after this, we integrate them.

5. Write some applications of exact differential equations.

 Exact differential equations are widely used in thermodynamics, electrostatics, and fluid mechanics.

 

Articles

Back to top