Revision Notes Engineering Maths
Revision Notes Engineering Maths
Preeti Raman
IIT Bombay
In the last class, we saw how to solve separable ODE’s and ODE’s
which can be put into the form
y
y 1 = f ( ).
x
If the ODE is separable, just integration is enough to solve it. The
homogeneous ODE’s can be converted to separable ODE’s by the
substitution y = vx. Today, we will look at another class of first
order ODE’s - exact ODE’s.
∂u ∂u
=M & = N.
∂x ∂y
∂u ∂u
= 2x + y 2 , = 2xy .
∂x ∂y
Definition
The differential form
is called closed if
∂M ∂N
= ,
∂y ∂x
i.e.,
My = Nx .
Proposition
Let M, N and their first order partial derivatives exist and be
continuous in a region D ⊆ R2 .
(i) If M(x, y )dx + N(x, y )dy is an exact differential form, then it
is closed.
(ii) If D is convex, then any closed form is exact.
Proof:
∂u ∂u
(i) Let M = ∂x and N = ∂y . Then,
∂2u ∂2u
My = & Nx = .
∂y ∂x ∂x∂y
Step I:
Z
u(x, y ) = (y cos x + 2xe y )dx + k(y ) = y sin x + x 2 e y + k(y ).
Step II:
uy = sin x + x 2 e y + k 0 (y ) = sin x + x 2 e y − 1.
u(x, y ) = y sin x + x 2 e y − y = c
dy
µ·M +µ·N =0
dx
is exact; i.e.,
(µ · M)y = (µ · N)x .
Thus,
µy M + µMy = µx N + µNx .
Such a function µ(x, y ) is called an integrating factor of the given
ODE.
Preeti Raman, IITB MA108
Integrating Factors
Note: In practice, we start by looking for an IF which depends only
on one variable x or y . Suppose µ is a function of x. Then,
µy M + µMy = µx N + µNx becomes
µMy = µx N + µNx ;
i.e.,
−Nµx + (My − Nx )µ = 0.
Thus,
dµ My − Nx
= µ.
dx N
M −N
If further, y N x is a function of x then the above is a separable
ODE which we try to solve to find µ.
Note: In the above discussion, if we assume µ to be a function of
y then we get an analogous equation:
dµ Nx − My
= µ.
dy M
Preeti Raman, IITB MA108
Examples
Example: Solve the ODE:
dy
(8xy − 9y 2 ) + (2x 2 − 6xy ) = 0.
dx
Let M = 8xy − 9y 2 and N = 2x 2 − 6xy . Thus, My = 8x − 18y
and Nx = 4x − 6y . As My 6= Nx , the given ODE is not exact.
We first try to find an IF depending only upon one variable. Note
that
My − Nx 4x − 12y 2
= = .
N 2x(x − 3y ) x
Hence by the earlier discussion, we have:
dµ 2
= µ.
dx x
Solving this separable ODE, we get ln |µ| = ln x 2 . Hence,
µ(x) = x 2
can be chosen as an IF for the given ODE.
Preeti Raman, IITB MA108
Example continued
Multiplying the given ODE by µ(x) = x 2 , we get:
dy
(8x 3 y − 9x 2 y 2 ) + (2x 4 − 6x 3 y ) = 0.
dx
Check that this is an exact ODE. To solve this exact ODE, we
need to find u(x, y ) such that
8x 3 y − 9x 2 y 2 = ux & 2x 4 − 6x 3 y = uy .
To find u(x, y ):
Step I: u(x, y ) = 2x 4 y − 3x 3 y 2 + k(y ).
Step II: uy = 2x 4 − 6x 3 y + k 0 (y ) = 2x 4 − 6x 3 y .
Thus, k 0 (y ) = 0. Hence,
u(x, y ) = 2x 4 y − 3x 3 y 2 = c