Exact Ordinary Differential Equation
Exact Ordinary Differential Equation
�
3u − 3
�3
c4 8.7 EXACT DIFFERENTIAL EQUATIONS
ln (3u2 − 2u − 1)2 − ln �� � = ln 1
� �
3u + 1 � x14 The (total) differential of a function f (x, y) is de-
� � � � noted by df and is given by
� (3u + 1)5 � c14
ln � � = ln
� �
∂f ∂f
� 3(u − 1) � x14 df = dx + dy (1)
∂x ∂y
x14 (3u + 1)5 = c|u − 1| where c = 3c14 Consider the differential equation
Replacing u, |3y1 + x1 |5 = c|y1 − x1 |. M(x, y)dx + N(x, y)dy = 0 (2)
Replacing y1 = y − 2, x1 = x − 3,
Suppose there exists a function f (x, y) such that
we get |x + 3y − 9|5 = c|y − x + 1|.
∂f
= M(x, y) (3)
∂x
EXERCISE ∂f
and = N(x, y) (4)
∂y
Solve the following: Using (3) and (4) then the given D.E. (2) becomes
∂f ∂f
1. (3x − y − 9)y = (10 − 2x + 2y) 0 = Mdx + Ndy = dx + dy = df
∂x ∂y
Ans. y − 2x + 7 = c(x + y + 1)4 i.e., df = 0
ax+by−a Integrating f (x, y) = c = arbitrary constant.
2. y = bx+ay−b
In this case, the L.H.S. expression of (2) Mdx +
Ans. (y − x + 1)(a+b)/a (y + x − 1)(a−b)/a Ndy is said to be an exact differential and the dif-
3. (2x − 5y + 3)dx − (2x + 4y − 6)dy = 0 ferential Equation (2) is called an exact differential
Ans. (4y − x − 3)(y + 2x − 3)2 = c equation.
4. (3y − 7x + 7)dx + (7y − 3x + 3)dy = 0 Necessary Condition for Exactness
Ans. (y − x + 1)2 (y + x − 1)5 = c
2x+3y+1
Differentiating (3) and (4) partially w.r.t. y and x re-
5. y = 3x−2y−5 spectively, we get
� �
2 2 −1 y+1
Ans. ln [(x − 1) + (y + 1) ] − 3 tan = ∂ 2f ∂ 2f
� �
x−1
∂M ∂ ∂f
= = =
c ∂y ∂y ∂x ∂y∂x ∂x∂y
2x+y−1
6. y = 4x+2y+5 ∂
�
∂f
�
∂N
= =
Hint: Put 2x + y = z ∂x ∂y ∂x
Ans. 10y − 5x + 7 ln(10x + 5y + 9) = c Thus the necessary condition for D.E. (1) to be an
exact D.E. is
7. (2x + 2y + 1)dx + (x + y − 1)dy = 0
∂M ∂N
Hint: Put x + y = z. =
∂y ∂x
Ans. 3 ln (x + y + 2) − 2x − y = c
8. y = (x − 2y + 3)/(2x − 4y + 5) Method of Finding f
(x 2 y 2 + xy + 1)ydx (x 2 y 2 − xy + 1)x
Comparing this with
+ dy = 0 x a y b (mydx + nxdy) + x c y d (pydx + qxdy) = c
x2y2 x2y2
Rearranging here a = 2, b = 0, m = 4, n = 3,
c = 0, d = 1, p = 2, q = 4 6. (2x 3 y 2 + 4x 2 y + 2xy 2 + xy 4 + 2y)dx +
2(y 3 + x 2 y + x)dy = 0
Also mp − nq = 8 − 12 = −4 = 0
2
The unknown constants in the integrating factor are Ans. (2x 2 y 2 + 4xy + y 4 )ex = c.
determined from the following:
Case 3: Solve the following:
a+h+1 b+k+1 2+h+1 0+k+1
= i.e., =
m n 4 3 1. (y + xy 2 )dx − xdy = 0
i.e., 4k − 3h = 5
x x2
c+h+1 d +k+1 0+h+1 1+k+1
Ans. y
+ 2
=c
= i.e., =
p q 2 4 2. y(x + y + 1)dx + x(x + 3y + 2)dy = 0
i.e., k − 2 = 0 Ans. xy 2 (x + 2y + 2) = c
Solving for h, k, we get h = 1, k = 2. 3. 3(x 2 + y 2 )dx + x(x 2 + 3y 2 + 6y)dy = 0
Thus the required integrating factor is
Ans. xey (x 2 + 3y 2 ) = c
1 2
x ·y .
4. (xy 3 + y)dx + 2(x 2 y 2 + x + y 4 )dy = 0
Multiplying the given D.E. by this integrating factor Ans. 3x 2 y 4 + 6xy 2 + 2y 6 = c
xy 2 , we get
5. (y 4 + 2y)dx + (xy 3 + 2y 4 − 4x)dy = 0
2 2 2 2 3
xy (2y + 4x y)dx + xy (4xy + 3x )dy = 0
4 3 3 2 3 4 2
Ans. (y 3 + 2)x + y 4 = cy 2
2xy + 4x y dx + 4x y dy + 3x y dy = 0
6. 2xydx + (y 2 − x 2 )dy = 0, y(2) = 1
Regrouping the terms (1st and 3rd) and (2nd and 4th)
Ans. x 2 + y 2 = 5y.
2 4 4 3
d(x y ) + d(x y ) = 0
Case 4: Solve the following:
Integrating x 2 y 4 + x 4 y 3 = c is the solution.
1. x 2 ydx − (x 3 + y 3 )dy = 0
3 /(3y 3 )
Ans. y = ce−x
EXERCISE
2. (x 2 y − 2xy 2 )dx − (x 3 − 3x 2 y)dy = 0
x
Case 2: Solve the following: Ans. y
− 2 log x + 3 log y = c
3. (x 4 + y 4 )dx − xy 3 dy = 0
1. (4xy + 3y 2 − x)dx + x(x + 2y)dy = 0
Ans. y 4 = 4x 4 ln x + cx 4
Ans. x 3 (4xy + 4y 2 − x) = c
4. y 2 dx + (x 2 − xy − y 2 )dy = 0
2. y(x + y)dx + (x + 2y − 1)dy = 0
−x
Ans. (x − y)y 2 = c(x + y)
Ans. y(x − 1 + y) = ce
5. (y − x)dx + (y + x)dy = 0
3. 2xydy − (x 2 + y 2 + 1)dx = 0 1
� �
Ans. ln (x 2 + y 2 ) 2 − tan−1 xy = c.
Ans. y 2 − x 2 + 1 = cx
4. (3xy − 2ay 2 )dx + (x 2 − 2axy)dy = 0 Case 5: Solve the following:
3 2 2
Ans. x y − ax y = c
2 2
1. y(x 2 y 2 + 2)dx + x(2 − 2x 2 y 2 )dy = 0
5. 2�sin (y )dx + xy cos (y )dy = 0, y(2) = 1
π
2 Ans. x = cy 2 e (x 2 y 2 )
Ans. x 4 sin (y 2 ) = 16 2. y(xy + 2x 2 y 2 )dx + x(xy − x 2 y 2 )dy = 0