Open In App

Exact Differential Equations

Last Updated : 23 Jan, 2024
Improve
Improve
Like Article
Like
Save
Share
Report

An equation that involves a differential co-efficient is called a Differential equation. A differential equation of the form that includes one or more terms as well as the derivatives of one variable (the dependent variable) with respect to another variable (i.e., independent variable)

dy/dx = f(x)

where, “x” is an independent variable, while “y” is a dependent variable in this case.

Example:  dy/dx = 2x

Ordinary differential equation

A Differential equation is said to be an ordinary differential equation if the derivatives in the equation are ordinary derivatives.

Example:

  1. dy/dx + 12xy = x2
  2. d2y/dx2 + 12dy/dx + 9y = ex 

Partial differential equation

A differential equation is said to be a partial differential equation if the derivatives in the equation have reference to two or more independent variables (i.e. partial derivatives are used in the given equation).

Example: ∂2u/∂x2=12∂2u/∂t2 ( Where t & x are independent variables )

Order of the differential equation

The order of the differential equation is the order of the equation’s highest order derivative.

First Order Differential Equation

As seen in the example below, it is a first-order differential equation with a degree equal to 1. All linear equations in the form of derivatives are of the first order. It only has the first derivative, dy/dx, where x and y are the two variables, and is denoted as

dy/dx = f(x,y) = y

Example: dy/dx = 2x+3

Second-Order Differential Equation

The equation that contains the second-order derivative is known as the second-order differential equation. It is written as follows:

d/dx(dy/dx) = d2y/dx2 = f(x) = y

Degree of the differential equation

The power of the highest derivative in the differential equation is called the degree of the differential equation. The degree of the differential equation is equal to the power of the highest order derivative, where the original problem is represented as a polynomial equation with derivatives such as y’, y”, y”‘, etc.

Example:

(d2y/dx2)4 + (d3y/dx3)2 + cos x = 0

Here order= 3 and degree = 2

(y”’)3 + 12y + 8y + 16 = 0

Here degree is 3

Homogeneous function

A function f(x, y) is said to be homogeneous function if f( kx, ky ) = knf( x, y) where ‘n’ is the degree

Example:

f(x,y) = (x3 + y3)/(x+y)

f(kx + ky)= [(kx)3 + (ky)3]/ (kx + ky)

               = k3(x3 + y3)/k(x + y)

               = k2f(x,y)

It is a degree 2 homogeneous function.

First-order and first-degree Differential equation

An equation of the form dy/dx = f(x, y) is said to be first order and first-degree differential equation.

Homogeneous Differential equation

A differential equation dy/dx = f(x, y) is said to be a homogeneous differential equation if f(x, y) is a homogeneous function and the degree must be zero

Example:

 let f(x,y) = (x2 + y2)/2xy

f(kx,ky) = [(kx)2+(ky)2]/2(kx)(ky)

            = k2(x2 + y2)/k2(2xy)

            = k0 f(x,y)

therefore f(x, y) is homogeneous function and degree is 0

Exact differential equations

A differential equation Mdx + Ndy = 0 is said to be exact differential equation, if ∂M/∂y =  âˆ‚N/∂x

Working rule to solve exact differential equations

Step 1: Given differential equation can be written as Mdx + Ndy = 0 form considering as equation 1

Step 2: Check ∂M/∂y =  âˆ‚N/∂x

Step 3: The general solution of equation 1 is

∫Mdx +∫Ndy =C      

(y= constant) and (do not contain x)

Solving exact equations by Integrating factor

If Mdx + Ndy = 0 is a homogeneous differential equation and Mdx + Ndy is not equal to 0 the 1/(Mx+Ny) is a integrating factor of Mdx + Ndy = 0.

Example: Solve the exact differential equation x2ydx−(x3+y3)dy=0

Solution:

Comparing with Mdx + Ndy = 0

M = x2y, and N = -(x3+y3)

∂M/∂y = x      and ∂N/∂x = -3x2

So here ∂M/∂y is not equal to ∂N/∂x

Here the given equation is not exact differential equation

Considering Integrating factor

Integrating Factor =1/Mx+Ny

=1/(x2y)x+(−x3−y3)y

=  1/(x3y-x3y-y4)=-1/y4

=−1/y4 is an integrating factor

Multiplying the equation with Integrating factor

=(−x2y/y4)dx+(x3+y3/y4)dy=0

=(−x2/y3)dx+(x3/y4+1/y)dy=0

Comparing with  M1dx + N1dy= 0

M1= -x2/y2    and N1 x3/y4+1/y

Therefore ∂M1/∂y =  âˆ‚N1/∂x

Finding ∫M1dx +∫N1dy =C      

∫(−x2/y3)dx+(x3/y4+1/y)dy=C

−x3/3y3+logy=C

It is the solution for given equation.

Sample Problems

Problem 1: Solve (hx + by + f)dy + (ax + hy + g)dx = 0

Solution:

Given equation is (hx+by+f)dy+(ax+hy+g)dx=0….(1)

Step 1: Comparing with Mdx + Ndy = 0

M= ax+hy+g and N = hx+by+f

Step 2: Check ∂M/∂y =  âˆ‚N/∂x

 âˆ‚M/∂y = h

 âˆ‚N/∂x = h

Therefore  âˆ‚M/∂y =  âˆ‚N/∂x

Step 3: The general solution of equation 1 is 

∫Mdx +∫Ndy =C

(y= constant) and (do not contain x)

=∫(ax+hy+g)dy+∫(hx+by+f)dx=C

=ax2/2+hy∫dx+g∫dx+0+by2/2+f∫dy=C

=ax2/2+hyx+gx+by2/2+fy=C  ( here ∫dx= x, ∫dy = y)

Therefore it is the solution for given differential equation.

Problem 2: Solve (y2−2xy)dx−(x2−2xy)dy=0

Solution:

Given equation is (y2−2xy)dx−(x2−2xy)dy=0….(1)

Step 1: Comparing with Mdx + Ndy = 0

M= y2-2xy and N = -x2+2xy

Step 2: Check ∂M/∂y =  âˆ‚N/∂x

∂M/∂y = 2y-2x

∂N/∂x = -2x+2y

Therefore  âˆ‚M/∂y =  âˆ‚N/∂x

Step 3: The general solution of equation 1 is

∫Mdx +∫Ndy =C

(y= constant) and (do not contain x)

=∫(y2−2xy)dx+∫(−x2+2xy)dy=C

=y2∫dx−2y∫xdx+0=C

=xy2−x2y=C

Therefore it is a solution for a given differential equation.

Problem 3: Solve (y(1+1/x)+cosy)dx+(x+logx−siny)dy=0

Solution:

Given equation is (y(1+1/x)+cosy)dx+(x+logx−siny)dy=0

Step 1: Comparing with Mdx + Ndy = 0

M= y+y/x+cosy and N = x+logx-xsiny

Step 2: Check ∂M/∂y =  âˆ‚N/∂x

∂M/∂y = 1+1/x-siny

∂N/∂x = 1+1/x-siny

Therefore  âˆ‚M/∂y =  âˆ‚N/∂x

Step 3: The general solution of equation 1 is

∫Mdx +∫Ndy =C

(y= constant) and (do not contain x)

∫(y+y/x)+cosy)dx+∫(x+logx−siny)dy=C

=xy+ylogx+xcosy+0=C

=y(x+logx)+xcosy=C

Therefore it is a solution for a given differential equation.

Problem 4: Solve (x2−4xy−2y2)dx+(y2−4xy−2x2)dy=0

Solution:

Given equation is (x2−4xy−2y2)dx+(y2−4xy−2x2)dy=0

Step 1: Comparing with Mdx + Ndy = 0

M= x2-4xy-2y2 and N = y2-4xy-2x2

Step 2: Check ∂M/∂y =  âˆ‚N/∂x

∂M/∂y = -4x-4y

∂N/∂x = -4x-4y

Therefore  âˆ‚M/∂y =  âˆ‚N/∂x

Step 3: The general solution of equation 1 is

Mdx +∫Ndy =C

(y= constant) and (do not contain x)

=∫(x2−4xy−2y2)dx+∫(y2−4xy−2x2)dy=C

=x3/3−4yx2/2−2y2x+y3/3=C

=x3/3−2x2y−2xy2+y3/3=C

Therefore it is a solution for given differential equation.

Problem 5: Solve (2xy+y-tany)dx+(x2-xtan2y+sec2y)dy=0

Solution:

Given equation is (2xy+y-tany)dx+(x2-xtan2y+sec2y)dy=0

Step 1: Comparing with Mdx + Ndy = 0

M= 2xy+y-tany and N = x2-xtan2y

Step 2: Check ∂M/∂y =  âˆ‚N/∂x

∂M/∂y = 2x+1-sec2y = 2x-tan2y

∂N/∂x = 2x-tan2y

Therefore  âˆ‚M/∂y =  âˆ‚N/∂x

Step 3: The general solution of equation 1 is

∫Mdx +∫Ndy =C

(y= constant) and (do not contain x)

=∫(2xy+y−tany)dx+∫(x2−xtan2y+sec2y)dy=C

=2y∫xdx+y∫dx−tany∫dx+0+0+∫sec2ydy=C

=2yx2/2+xy−xtany+tany=C

=xy(1+x)+tany(1−x)=C

Therefore it is a solution for a given differential equation.



Like Article
Suggest improvement
Previous
Next
Share your thoughts in the comments

Similar Reads