Professional Documents
Culture Documents
Introductory Course On Differential Equations - (Chapter 1)
Introductory Course On Differential Equations - (Chapter 1)
The first order and first degree differential equation (1.1) is said to be an equation with
variables separable or, simply a separable equation, if there exists two functions φ and
φ(x)
ψ such that the function f (x, y) in (1.1) is in the form , where φ is a function of x only
ψ(y)
and ψ is a function of y only. More precisely, we can say that the differential equation
(1.2) is separable, if there exists two functions F and G such that M (x, y) = F (x)
and N (x, y) = G(y), where F is a function of x only and G is a function of y only.
Consequently, the differential equation (1.2) becomes
F (x)dx + G(y)dy = 0. (1.3)
This type of equations was first introduced in 1691 by German mathematician Gottfried
Wilheim Leibniz (1646–1716). In this method, the general solution is obtained just to
integrate the differential equation (1.3) as
F (x)dx + G(y)dy = c, an arbitrary constant. (1.4)
Gorain, Ganesh Chandra. Introductory Course on Differential Equations, Alpha Science International, 2014. ProQuest Ebook Central,
http://ebookcentral.proquest.com/lib/inflibnet-ebooks/detail.action?docID=5426845.
Created from inflibnet-ebooks on 2020-01-19 20:37:59.
22 Differential Equations
ey dy = (ex + x2 )dx.
3(ey − ex ) = x3 + c
Exercise - 1.1
Solve each of the following differential equations : [Answers]
(i) (1 − x)dy − (1 + y)dx = 0. [(1 + y)(1 − x) = c]
(ii) (1 + y 2 )dx + (1 + x2 )dy = 0. [x + y = c(1 − xy)]
dy
(iii) = ex−y + x2 e−y . [3(ey − ex ) = x3 + c]
dx
(iv) x(1 + y 2 )dx + y(1 + x2 )dy = 0. [(1 + x2 )(1 + y 2 ) = c]
(v) x cos2 ydx − y cos2 xdy = 0. [x tan x − log | sec x| = y tan y − log | sec y| + c]
Copyright © 2014. Alpha Science International. All rights reserved.
1 2 1 1
(vi) (x − 4)y 4 dx − x3 (y 2 − 3)dy = 0. [− + 2 + − 3 = c]
x x y y
(vii) x sin ydx + (1 + x2 ) cos ydy = 0. [(1 + x2 ) sin2 y = c2 ]
x2 y3
(viii) 2ydx − xdy = xy 3 dy. [log = + c]
|y| 3
dy
(ix) x2 y= ey . [x(y + 1) = (1 + cx)ey ]
dx
dy dy
(x) y − x = a y2 + . [y = c(1 − ay)(x + a)]
dx dx
dy x(2 log |x + 1|)
(xi) = . [x2 log |x| = y sin y + c]
dx siny + y cos y
1
(xii) (1 − x2 )(1 − y)dx = xy(1 + y)dy. [log |x(1 − y 2 )| = (x2 − y 2 ) − 2y + c]
2
dy 2
(xiii) + xy 2 dx = −4xdx. [y 2 + 4 = c2 y 2 e4x ]
y
Gorain, Ganesh Chandra. Introductory Course on Differential Equations, Alpha Science International, 2014. ProQuest Ebook Central,
http://ebookcentral.proquest.com/lib/inflibnet-ebooks/detail.action?docID=5426845.
Created from inflibnet-ebooks on 2020-01-19 20:37:59.
Chapter 1 : Equations of First Order and First Degree 23
2a2 − r2
dr = sin θdθ.
r3
Integrating it, we obtain the general solution as
a2
− − log |r| = − cos θ + c.
r2
According to the given condition, putting r = a and θ = 0, in the general solution, we
obtain c = − log a. Thus the required particular solution of the given differential equation
is
|r|
r2 log = r2 cos θ − a2 .
a
Exercise - 1.2
a
dy 2 2
(iii) y= xey satisfying y = 0 at x = 1. [(x2 − 2)ey + 1 = 0]
dx
dv
(iv) = e3u−2v satisfying v = 0 at u = 0. [3e2v = 2e3u + 1]
du
dx
(v) t = 2t2 + 1, t > 0 satisfying x = 1 at t = 1. [x = t2 + log |t|]
dt
dx
(vi) = kx(1 − x), k > 0 subject to the condition x = a at t = 0.
dt
x a kt
Hence find the value of lim x(t). [ = e , 1]
t→+∞ 1−x 1−a
1.3. Equations Reducible to Separable Form
Gorain, Ganesh Chandra. Introductory Course on Differential Equations, Alpha Science International, 2014. ProQuest Ebook Central,
http://ebookcentral.proquest.com/lib/inflibnet-ebooks/detail.action?docID=5426845.
Created from inflibnet-ebooks on 2020-01-19 20:37:59.
24 Differential Equations
Exercise - 1.3
dy
(i) = (x + y)2 . [x + y = tan(x + c)]
dx
y − 2x − 3
dy
(ii) = (y − 2x)2 − 7. [log = 6x + c]
dx y − 2x + 3
x + y
dy
(iii) = sin(x + y) + cos(x + y). [log 1 + tan = x + c]
dx 2
dy x+y
(iv) (x + y)2 = a2 . [y = a tan−1 + c]
dx a
dy
(v) + 2xy = x2 + y 2 . [y − x − 1 = c(y − x + 1)e2x ]
dx
dy dy x+y
(vi) = sec(x + y) or, cos(x + y) = 1. [y − tan = c]
dx dx 2
dy
(vii) + 2x = 2(x2 + y − 1)2/3 . [3(x2 + y − 1)1/3 = 2x + c]
dx
dy
(viii) (x + y + 1) = 1. [x + y + 2 = cey ]
dx
Gorain, Ganesh Chandra. Introductory Course on Differential Equations, Alpha Science International, 2014. ProQuest Ebook Central,
http://ebookcentral.proquest.com/lib/inflibnet-ebooks/detail.action?docID=5426845.
Created from inflibnet-ebooks on 2020-01-19 20:37:59.
Chapter 1 : Equations of First Order and First Degree 25
dy π x+y
(ix) = cos(x + y), if y = , when x = 0. [tan
= 1 + x]
dx 2 2
dy π
(x) = (4x + y + 1)2 , if y = 1 when x = 0. [4x + y + 1 = 2 tan 2x + )]
dx 4
Theorem 1.2. By the substitution v = a1 x+b1 y+c1 or, v = a2 x+b
2
y+c2 or, sim-
dy a1 x + b1 y + c1
ply v = a1 x + b1 y, the differential equation of the form =F
dx a2 x + b2 y + c2
in which a1 /a2 = b1 /b2 , can be made separable equation in the variables v
and x.
dy x−y+1
= .
dx 2x − 2y + 3
dy dv
Solution : Set x−y = v, so that 1− = . Substituting these in the given differential
dx dx
equation, we get
dv v+1 v+2
=1− =
dx 2v + 3 2v + 3
or,
2v + 3
dv = dx
v+1
that can be expressed as
2(v + 2) − 1
dv = dx.
v+2
Integrating it, we obtain
Copyright © 2014. Alpha Science International. All rights reserved.
2v − log |v + 2| = x + c.
Replacing v by x − y, we have
x − 2y − log |x − y + 2| = c
Exercise - 1.4
dy x + 2y − 1 3x−3y
(iii) = . [3x + 6y − 1 = ce 2 ]
dx x + 2y + 1
dy x−y+1
(iv) = . [x − 2y − log |x − y + 2| = c]
dx 2x − 2y + 3
dy x+y+1
(v) = , if y = 0, when x = 0. [2x − 6y + log |2x + 2y + 1| = 0)]
dx 3x + 3y + 1
(vi) (x + 2y + 3)dx + (2x + 4y − 1)dy = 0. [x2 + 4xy + 4y 2 + 6x − 2y = c]
(vii) (3x − 4y − 2)dx = (6x − 8y − 5)dy. [log |6x − 8y − 7| + 2x − 4y = c]
dy x+y 2
(viii) = . [2(y − x) + log |2x2 + 2y 2 + 4xy + 2x + 2y + 1| = c]
dx x+y+1
dy 4x + 6y + 5 3
(ix) = . [y − 2x + log |16x + 24y + 23| = c]
dx 3y + 2x + 4 8
x + y − a dy x+y+a
(x) = , (x+y)2 > ab. [(b−a) log{(x+y)2 −ab} = 2(x−y +c)]
x + y − b dx x+y+b
equation, we get
v dv v
(v 3 + v 2 + v + 1) dx + (v 3 − v 2 − v + 1) − =0
x dx x
or,
2v 2 (v + 1)
dx + (v 3 − v 2 − v + 1)dv = 0
x
that can be expressed as
(v 2 − 1)(v − 1) 2
2
dv + dx = 0
v (v + 1) x
or,
(1 − v)2 2
2
dv + dx = 0.
v x
Integrating it, we obtain
1
2− − 2 log |v| + v + 2 log |x| = c.
v
Gorain, Ganesh Chandra. Introductory Course on Differential Equations, Alpha Science International, 2014. ProQuest Ebook Central,
http://ebookcentral.proquest.com/lib/inflibnet-ebooks/detail.action?docID=5426845.
Created from inflibnet-ebooks on 2020-01-19 20:37:59.
Chapter 1 : Equations of First Order and First Degree 27
Exercise - 1.5
xdx + ydy a2
= 2 .
xdy − ydx x + y2
Solution : Set x = r cos θ, y = r sin θ, so that
Thus we have
xdx + ydy = rdr and xdy − ydx = r2 dθ.
Substituting these in the given differential equation, we get
rdr = a2 dθ.
y
Replacing r2 by x2 + y 2 and θ by tan−1 , we have
x
y
x2 + y 2 = 2a2 tan−1 +c
x
which is the required solution.
Exercise - 1.6
dy 2 + xy 2
=
dx 2x2 y
can be transformed into equations with separable variables in v and x, and
thereby solve them.
Copyright © 2014. Alpha Science International. All rights reserved.
dy dv
Solution : Let y = vxn , so that = xn + nvxn−1 , Substituting these in the given
dx dx
differential equation, we get
dv
2vx2n+2 + (2n − 1)v 2 x2n+1 = 2. (1)
dx
This equation will be separable, if
1
2n − 1 = 0, that means, n= .
2
For this choice of n, the differential equation (1) becomes
dv
vx3 = 1.
dx
Integrating it, we obtain
1
v2 + = c.
x2
Gorain, Ganesh Chandra. Introductory Course on Differential Equations, Alpha Science International, 2014. ProQuest Ebook Central,
http://ebookcentral.proquest.com/lib/inflibnet-ebooks/detail.action?docID=5426845.
Created from inflibnet-ebooks on 2020-01-19 20:37:59.
Chapter 1 : Equations of First Order and First Degree 29
y2
Replacing v 2 by , we have
x
y 2 x − cx2 + 1 = 0
which is the required solution.
Exercise - 1.7
By the transformation y = vxn with a convenient value of n, show that the fol-
lowing differential equations can be transformed into equations with separable
variables in v and x, and thereby solve them. [Answers]
dy 2 + xy 2 1
(i) = . [n = , cx2 + xy 2 + 1 = 0]
dx 2x2 y 2
dy x2 + y 2 y
(ii) = . [n = 1, (x + y)2 = cxe x ]
dx xy − x2
dy y − xy 2
(iii) = . [n = −1, x = cyexy ]
dx x + x2 y
Theorem 1.5. By the transformation v = y/x or, y = vx, the first order and
first degree homogeneous differential equation (1.1) reduces into a separable
equation in the variables v and x. The general solution of (1.1) then can be
y y
obtained either in the form x = cF or, F + log |x| = c, where F is a
x x
suitable function and c is an arbitrary constant.
Proof. Since the differential equation (1.1) is homogeneous, there exists a function ψ
such that it can be written in the form
dy y
= ψ( ). (1.5)
dx x
dy dv
Let y = vx, so that on differentiation with respect to x yields = v + x . Inserting
dx dx
these in (1.5), we get
dv
v+x = ψ(v) or, [v − ψ(v)]dx + xdv = 0,
dx
Gorain, Ganesh Chandra. Introductory Course on Differential Equations, Alpha Science International, 2014. ProQuest Ebook Central,
http://ebookcentral.proquest.com/lib/inflibnet-ebooks/detail.action?docID=5426845.
Created from inflibnet-ebooks on 2020-01-19 20:37:59.
30 Differential Equations
in which the variables v and x are separable. Separating these variables, we get
dv dx
+ = 0.
v − ψ(v) x
Integrating this, we have
dv dx
+ = c,
v − ψ(v) x
where c is an arbitrary integration constant.
dv
If we define F (v) := , the solution of (1.5) can be readily obtained as
v − ψ(v)
Gorain, Ganesh Chandra. Introductory Course on Differential Equations, Alpha Science International, 2014. ProQuest Ebook Central,
http://ebookcentral.proquest.com/lib/inflibnet-ebooks/detail.action?docID=5426845.
Created from inflibnet-ebooks on 2020-01-19 20:37:59.
Chapter 1 : Equations of First Order and First Degree 31
y
Replacing v by , we have from above
x
log |y/c| = −y/x or, y = ce−y/x ,
Exercise - 1.8
Obtain the general solution of each of the followings: [Answers]
(i) (x2 + y 2 )dx − 2xydy = 0. [x2 − y 2 = cx]
(ii) (x4 + y 4 )dx − xy 3 dy = 0. [y 4 = x4 (log x4 + c)]
dy dy y
(iii) y 2 + x2 = xy . [y = ce− x ]
dx dx
dy x2
−
(iv) (x2 − y 2 ) = xy. [y = ce 2y 2 ]
dx
y
(v) (x2 + y 2 )dx + (x2 − xy)dy = 0. [(x + y)2 = cxe x ]
(vi) xdy − ydx = x2 + y 2 dx. [y + x2 + y 2 = cx2 ]
dy
(vii) x3 = y 3 + y 2 y 2 − x2 . [y + y 2 − x2 = cxy]
dx
x3
(viii) x2 ydx − (x3 + y 3 )dy = 0. [y 3 = ce y3 ]
(ix) (x2 − 3y 2 )dx + 2xydy = 0. [y 2 − x2 = cx3 ]
(x) (x3 + 3xy 2 )dx + (y 3 + 3x2 y)dy = 0. [(x2 + y 2 )2 + 4x2 y 2 = c]
(xi) (x3 − 3xy 2 )dx = (y 3 − 3x2 y)dy. [x2 − y 2 = c(x2 + y 2 )2 ]
Copyright © 2014. Alpha Science International. All rights reserved.
dy x y y
(xii) = + + 1. [x + y = ce x ]
dx y x
dy dy y
(xiii) (x+y)dy +(x−y)dy = 0 or, x+y = y −x . [2 tan−1 +log(x2 +y 2 ) = c]
dx dx x
dy y y y
(xiv) = + tan . [sin = cx]
dx x x x
dy
(xv) x = y(log |y| − log |x| + 1). [y = xexc ]
dx
(xvi) x cos(y/x)(ydx + xdy) = y sin(y/x)(xdy − ydx). [xy cos(y/x) = c]
y y
(xvii) xcosec( ) − y dx + xdy = 0. [log |x| − cos = c]
x x
dy y y
(xviii) xy − y 2 = (x + y)2 e− x . [xe x = (x + y)(log |x| + c)]
dx 3
(xix) (x + y 2 x2 + y 2 ) dx − xy x2 + y 2 dy = 0.
3
[(x2 + y 2 ) 2 = 3x3 log |cx|]
(xx) (x2 − 4xy + 2y 2 )dx + (y 2 − 4xy − 2x2 )dy = 0. [x3 − 6x2 y − 6xy 2 + y 3 = c]
Gorain, Ganesh Chandra. Introductory Course on Differential Equations, Alpha Science International, 2014. ProQuest Ebook Central,
http://ebookcentral.proquest.com/lib/inflibnet-ebooks/detail.action?docID=5426845.
Created from inflibnet-ebooks on 2020-01-19 20:37:59.
32 Differential Equations
dy
Example 1.9. If the first order and first degree equation = f (x, y) is
dx
homogenous, then show that under the transformations: x = r cos θ, y = r sin θ,
it reduces to a separable equation in the variables r and θ.
dy
Solution : Since, the first order and first degree differential equation = f (x, y) is
dx
homogeneous,
y so there exists a function φ such that f (x, y) can be expressed precisely in
the form φ .
x
Now x = r cos θ, y = r sin θ, so that
Exercise - 1.9
dy
If the first order and first degree differential equation = f (x, y) or,
dx
Copyright © 2014. Alpha Science International. All rights reserved.
M (x, y)dx + N (x, y)dy = 0 is homogenous, then show that under the trans-
formations:
(i) x = r cos θ, y = r sin θ, it reduces to a separable equation in the variables r and θ.
(ii) x = CX, y = CY , C being a constant, it is invariant.
Theorem 1.6. If the first order and first degree differential equation (1.1)
dy a x + b y + c
1 1 1
is of the form = F in which a1 /a2 = b1 /b2 , and c1 , c2 = 0
dx a2 x + b2 y + c2
simultaneously, then it can be reduced to a homogeneous differential equation
dY a X + b Y
1 1
=F by the transformations: x = X + h, y = Y + k, where h, k
dX a 2 X + b2 Y
are the solution of the pair of simultaneous equations: a1 h + b1 k + c1 = 0,
a2 h + b2 k + c2 = 0.
Gorain, Ganesh Chandra. Introductory Course on Differential Equations, Alpha Science International, 2014. ProQuest Ebook Central,
http://ebookcentral.proquest.com/lib/inflibnet-ebooks/detail.action?docID=5426845.
Created from inflibnet-ebooks on 2020-01-19 20:37:59.
Chapter 1 : Equations of First Order and First Degree 33
dy x + 2y − 3
= .
dx 2x + y − 3
Solution : Let x = X + h and y = Y + k. Then the given differential equation becomes
dY X + 2Y + (h + 2k − 3)
= . (1)
dX 2X + Y + (2h + k − 3)
dY X + 2Y
= , (2)
dX 2X + Y
where X = x − 1 and Y = y − 1. The differential equation (2) is a homogeneous one in
the variables X and Y . So putting Y = vX in (2), we get
dv 1 + 2v 2+v dX
v+X = , or, 2
dv = .
dX 2+v 1−v X
Integrating it, we obtain
1 3
log |1 + v| − log |1 − v| = log |X| + log |c|,
2 2
which can be written as
1+v 1+v
log 2 = 0, or, = 1.
Copyright © 2014. Alpha Science International. All rights reserved.
cX (1 − v)3 cX 2 (1 − v)3
Y
Replacing v by and then replacing X by x − 1, Y by y − 1, we have the required
X
solution
x + y − 2 = c(x − y)3 .
Exercise - 1.10
Gorain, Ganesh Chandra. Introductory Course on Differential Equations, Alpha Science International, 2014. ProQuest Ebook Central,
http://ebookcentral.proquest.com/lib/inflibnet-ebooks/detail.action?docID=5426845.
Created from inflibnet-ebooks on 2020-01-19 20:37:59.
34 Differential Equations
dy
(iv) (6x + 2y − 10) − 2x − 9y + 20 = 0. [(y − 2x)2 = c(x + 2y − 5)]
dx
(v) (3y − 7x + 7)dx + (7y − 3x + 3)dy = 0. [(y − x + 1)2 (y + x − 1)5 = c]
dy 6x − 2y − 7
(vi) = . [3y 2 + 4xy − 6x2 − 12y + 14x = c]
dx 2x + 3y − 6
dy 1 x + y − 1 2 y − 3
(vii) = . [2 tan−1 = log |x + 2| + c]
dx 2 x+2 x+2
(viii) (2x2 +3y 2 −7)xdx−(3x2 +2y 2 −8)ydy = 0 by the trasformations u = x2 , v = y 2 .
[(x2 − y 2 − 1)5 = c(x2 + y 2 − 3)]
This type of equations was first introduced in 1734 by Swiss mathematician Leonhard
Euler (1707 – 1783). For examples, the equations ydx + xdy = 0 and y 2 dx + 2xydy = 0
are exact differential equations, since ydx + xdy = d(xy) and y 2 dx + 2xydy = d(xy 2 ) for
all x, y ∈ R2 . In the case of exact differential equation obviously,
∂u(x, y) ∂u(x, y)
= M (x, y) and = N (x, y) (1.6)
∂x ∂y
and u(x, y) = c is the general solution of it for all (x, y) ∈ D.
Copyright © 2014. Alpha Science International. All rights reserved.
Theorem 1.7. The necessary and sufficient condition for the first order
ordinary differential equation M (x, y)dx+N (x, y)dy = 0 in a rectangular domain
∂M ∂N
D to be exact is = . [Assuming that the functions M and N have continuous
∂y ∂x
first partial derivatives at all points (x, y) in the rectangular domain D.]
Proof. Necessary Condition : If the first order differential equation M (x, y)dx +
N (x, y)dy = 0 is exact in a rectangular domain D, then there must be a function u of
two variables x and y such that
∂u(x, y) ∂u(x, y)
du(x, y) = dx + dy = M (x, y)dx + N (x, y)dy (1.7)
∂x ∂y
for all (x, y) ∈ D. From which we have
∂u(x, y) ∂u(x, y)
M (x, y) = and N (x, y) = (1.8)
∂x ∂y
Gorain, Ganesh Chandra. Introductory Course on Differential Equations, Alpha Science International, 2014. ProQuest Ebook Central,
http://ebookcentral.proquest.com/lib/inflibnet-ebooks/detail.action?docID=5426845.
Created from inflibnet-ebooks on 2020-01-19 20:37:59.
Chapter 1 : Equations of First Order and First Degree 35
∂M ∂ ∂u ∂2u ∂N ∂ ∂u ∂2u
= = and = = (1.9)
∂y ∂y ∂x ∂y∂x ∂x ∂x ∂y ∂x∂y
for all (x, y) ∈ D. But using the continuity of the first partial derivatives of M and N we
have
∂2u ∂2u
= (1.10)
∂y∂x ∂x∂y
∂M (x, y) ∂N (x, y)
for all (x, y) ∈ D. We therefore = for all (x, y) ∈ D.
∂y ∂x
Sufficient Condition : We start with the hypothesis
∂M (x, y) ∂N (x, y)
= (1.11)
∂y ∂x
for all (x, y) in a rectangular domain D. We have to show that the differential equation
M (x, y)dx + N (x, y)dy = 0 is exact in D. We begin by setting
P (x, y) = M (x, y)dx ∀ (x, y) ∈ D, (1.12)
where M (x, y)dx indicates a partial integration of M with respect to x keeping y
constant. Then obviously,
∂P (x, y)
Copyright © 2014. Alpha Science International. All rights reserved.
∂P (x, y)
N (x, y) = + φ(y) ∀ (x, y) ∈ D, (1.15)
∂y
Gorain, Ganesh Chandra. Introductory Course on Differential Equations, Alpha Science International, 2014. ProQuest Ebook Central,
http://ebookcentral.proquest.com/lib/inflibnet-ebooks/detail.action?docID=5426845.
Created from inflibnet-ebooks on 2020-01-19 20:37:59.
36 Differential Equations
∂u ∂P (x, y) ∂u ∂P (x, y)
= = M (x, y), = + φ(y) = N (x, y).
∂x ∂x ∂y ∂y
∂u ∂u
So the expression M (x, y)dx + N (x, y)dy = dx + dy = du, a perfect differential in
∂x ∂y
D. In other words, the differential equation M (x, y)dx + N (x, y)dy = 0 is exact in D.
∂M ∂N
Copyright © 2014. Alpha Science International. All rights reserved.
Equating the coefficients of x and y from both sides, we obtain the required result as
B = 2D and E = 2C.
Exercise - 1.11
Gorain, Ganesh Chandra. Introductory Course on Differential Equations, Alpha Science International, 2014. ProQuest Ebook Central,
http://ebookcentral.proquest.com/lib/inflibnet-ebooks/detail.action?docID=5426845.
Created from inflibnet-ebooks on 2020-01-19 20:37:59.
Chapter 1 : Equations of First Order and First Degree 37
Example 1.12. Determine the most general function ‘F (x, y)’ such that the
differential equation
is exact.
Solution : Assuming that the given differential equation is exact, we have
∂F ∂ x
= 2ye + y 2 e3x .
∂y ∂x
This gives
∂F
= 2yex + 3y 2 e3x .
∂y
Integrating it with respect to y, we obtain
Exercise - 1.12
Determine the most general function ‘F (x, y)’ of each of the following equa-
tions such that the equation is exact. [Answers]
(i) F (x, y)dx + (1 − xy)xdy = 0. [y − xy 2 + φ(x)]
Copyright © 2014. Alpha Science International. All rights reserved.
or, u(x, y) = M (x, y)dy + φ(x) , (1.18)
Gorain, Ganesh Chandra. Introductory Course on Differential Equations, Alpha Science International, 2014. ProQuest Ebook Central,
http://ebookcentral.proquest.com/lib/inflibnet-ebooks/detail.action?docID=5426845.
Created from inflibnet-ebooks on 2020-01-19 20:37:59.
38 Differential Equations
where φ(y) or, φ(x) is an arbitrary function which is independent of x (or, y).
Step 2. Differentiate this u(x, y) with respect to y (or, x) and equating to the second
(or, first) equation of (1.6) to obtain a first order differential equation in φ as
∂u ∂ dφ
= M (x, y)dx + = N (x, y). (1.19)
∂y ∂y dy
∂u ∂ dφ
or, = N (x, y)dy + = M (x, y) . (1.20)
∂x ∂x dx
Step 3. Solve the above differential equation to obtain the unknown function φ, which
will give the function u(x, y) in Step1. The general solution of the given exact differential
equation is therefore u(x, y) = c, where c is an arbitrary constant.
Method 2.
Step 1. Integrate M with respect to x treating y as constant.
Step 2. Integrate N with respect to y treating x as constant and reject those terms
already obtained in Step 1.
Step 3. Add the terms obtained in Step 1 and Step 2, and equate the sum to an arbitrary
constant, that will be the required general solution of the exact differential equation.
Method 3.
Method of Grouping. This procedure is much quicker but requires a good working knowl-
edge of differentials and certain amount of cleverness to determine just how the terms
Copyright © 2014. Alpha Science International. All rights reserved.
Now
∂M ∂N
= = 4x,
∂y ∂x
so the given differential equation is exact.
Gorain, Ganesh Chandra. Introductory Course on Differential Equations, Alpha Science International, 2014. ProQuest Ebook Central,
http://ebookcentral.proquest.com/lib/inflibnet-ebooks/detail.action?docID=5426845.
Created from inflibnet-ebooks on 2020-01-19 20:37:59.
Chapter 1 : Equations of First Order and First Degree 39
∂u
= M = 3x2 + 4xy. (1)
∂x
∂u
= N = 2x2 + 2y. (2)
∂y
Integrating (1), with respect to x, we obtain
u(x, y) = (3x2 + 4xy)dx + φ(y) = x3 + 2x2 y + φ(y), (3)
where φ is any arbitrary function of y only. Differentiating (3) with respect to y and
then equating with (2), we obtain
or,
φ (y) = 2y
solution of which is
φ(y) = y 2 + k,
where k is an arbitrary constant. Thus from (3), we have
By Method 2. Now
M dx = x3 + 2x2 y and N dy = 2x2 y + y 2 = y 2 ,
neglecting the term 2x2 y which is already obtained in M dx. Therefore the general
solution of the given differential equation is given by
x3 + 2x2 y + y 2 = c,
Gorain, Ganesh Chandra. Introductory Course on Differential Equations, Alpha Science International, 2014. ProQuest Ebook Central,
http://ebookcentral.proquest.com/lib/inflibnet-ebooks/detail.action?docID=5426845.
Created from inflibnet-ebooks on 2020-01-19 20:37:59.
40 Differential Equations
x3 + 2x2 y + y 2 = c,
Exercise - 1.13
x
(viii) xdx + ydy = a2 (xdy − ydx). [log(x2 + y 2 ) − 2a2 tan−1 ( ) = c]
y
xdy − ydx x
(ix) xdx + ydy = a2 2 . [x2 + y 2 + 2a2 tan−1 ( ) = c]
x + y2 y
2x 2
y − 3x 2
(x) dx + dy = 0. [x2 − y 2 = cy 3 ]
y3 y4
(xi) y sin 2xdx − (1 + y 2 + cos2 x)dy = 0. [3y cos 2x + 9y + 2y 3 = c]
(xii) (cos x cos y − cot x)dx − sin x sin ydy = 0. [sin x cos y = log |c sin x|]
2y 2y
(xiii) − y cos xy)dx + (2xe − x cos xy + 2y)dy = 0.
(e [xe2y − sin xy + y 2 = c]
1
(xiv) {y(1 + ) + cos y}dx + (x + log |x| − x sin y)dy = 0. [y(x + log x) + x cos y = c]
x
2 2 2
(xv) (y 2 exy + 4x3 )dx + (2xyexy − 3y 2 )dy = 0. [exy + x4 − y 3 = c]
dy 2xy + y − tan y
(xvi) + = 0. [x2 y + xy + tan y − x tan y = c]
dx x2 − x tan2 y + sec2 y
Gorain, Ganesh Chandra. Introductory Course on Differential Equations, Alpha Science International, 2014. ProQuest Ebook Central,
http://ebookcentral.proquest.com/lib/inflibnet-ebooks/detail.action?docID=5426845.
Created from inflibnet-ebooks on 2020-01-19 20:37:59.
Chapter 1 : Equations of First Order and First Degree 41
∂M ∂N
= that means, e2xy + 2xye2xy = ae2xy + 2axye2xy .
∂y ∂x
Equating the coefficients of e2xy and xye2xy from both sides, we obtain the constant ‘a’
as a = 1, assuming 2xy + 1 = 0.
Copyright © 2014. Alpha Science International. All rights reserved.
Integrating it, the general solution of the given differential equation can be obtained as
x2 + e2xy = c,
Gorain, Ganesh Chandra. Introductory Course on Differential Equations, Alpha Science International, 2014. ProQuest Ebook Central,
http://ebookcentral.proquest.com/lib/inflibnet-ebooks/detail.action?docID=5426845.
Created from inflibnet-ebooks on 2020-01-19 20:37:59.
42 Differential Equations
Exercise - 1.14
Determine the constant ‘a’ such that each of the following equations is exact
and thereby solve it. [Answers]
(i) (xy 2 + ax2 y)dx + (x3 + x2 y)dy = 0. [a = 3, x2 y 2 + 2x3 y = c]
(ii) (ax3 y + 2y 2 )dx + (x4 + 4xy)dy = 0. [a = 4, x4 y + 2xy 2 = c]
(iii) (x + ye2xy )dx + axe2xy dy = 0. [a = 1, x2 + e2xy = c]
3
(iv) (x2 + 3xy)dx + (ax2 + 4y)dy = 0. [a = , 2x3 + 9x2 y + 12y 2 = c]
2
1 1 x 1
(v) + dx + a + dy = 0. [a = −2, 2x2 − 2y 2 − x = cxy 2 ]
x2 y 2 y3 y3
Theorem 1.8. If the given differential equation (1.2) is exact and homo-
geneous having degree = −1 in a rectangular domain D, then the general
solution or, complete primitive of it in D is given M x + N y = c, where c is an
arbitrary constant.
Proof. Let the differential equation M dx + N dy = 0 is exact and homogeneous of degree
n (= −1) in a rectangular domain D. Hence, by the theorem 1.7,
Copyright © 2014. Alpha Science International. All rights reserved.
∂M ∂N
= on D (1.21)
∂y ∂x
and by the Euler’s theorem [after Swiss mathematician Leonhard Euler (1707 – 1783)]
on homogeneous functions,
∂M ∂M
x +y = nM (1.22)
∂x ∂y
∂N ∂N
and x +y = nN on D. (1.23)
∂x ∂y
Using (1.21), the above two equations take the forms
∂M ∂N
x +y = nM (1.24)
∂x ∂x
∂M ∂N
and x +y = nN on D. (1.25)
∂y ∂y
Gorain, Ganesh Chandra. Introductory Course on Differential Equations, Alpha Science International, 2014. ProQuest Ebook Central,
http://ebookcentral.proquest.com/lib/inflibnet-ebooks/detail.action?docID=5426845.
Created from inflibnet-ebooks on 2020-01-19 20:37:59.
Chapter 1 : Equations of First Order and First Degree 43
Now, if we take
u(x, y) = M x + N y ∀ (x, y) ∈ D (1.26)
then in view of (1.24) and (1.25), we have
∂u ∂M ∂N
=M +x +y = (n + 1)M (1.27)
∂x ∂x ∂x
∂u ∂M ∂N
=x +y + N = (n + 1)N, (1.28)
∂y ∂y ∂y
so that
∂u ∂u
du = dx + dy = (n + 1)(M dx + N dy) (1.29)
∂x ∂y
for all (x, y) ∈ D. Thus if n = −1, the differential equation M dx + N dy = 0 reduces to
du = 0. The general solution of which is obviously,
∂M ∂N
= 2(x + y) = ,
∂y ∂x
showing that the given differential equation is exact. Again, both M and N are homo-
geneous functions of degree two. Therefore, the general solution of the given differential
equation is given by
Mx + Ny = c
that means,
Gorain, Ganesh Chandra. Introductory Course on Differential Equations, Alpha Science International, 2014. ProQuest Ebook Central,
http://ebookcentral.proquest.com/lib/inflibnet-ebooks/detail.action?docID=5426845.
Created from inflibnet-ebooks on 2020-01-19 20:37:59.
44 Differential Equations
Exercise - 1.15
Solve each of the following differential equations : [Answers]
(i) (x3 + 3xy 2 )dx + (y 3 + 3x2 y)dy = 0. [x4 + y 4 + 6x2 y 2 = c]
(ii) (x4 + y 4 )dx + 4xy 3 dy = 0. [x5 + 5xy 4 = c]
(iii) (x + y)2 dx − (y 2 − 2xy − x2 )dy = 0. [(x3 − y 3 ) + 3xy(x + y) = c]
(iv) (x3 − 3x2 y + 2xy 2 )dx − (x3 − 2x2 y + y 3 )dy = 0. [x4 − 4x3 y + 4x2 y 2 − y 4 = c]
2x y 2 − 3x2
(v) dx + dy = 0. [y 2 − x2 = cy 3 ]
y3 y4
1.7. Equations Reducible to Exact Form
Integrating Factor (I. F.) If the first order and first degree differential equation (1.1)
(or, (1.2)) is not exact in a domain D, in xy plane, it can always be made exact by
multiplying it with a suitable function of x and y. Such multiplier is called an integrating
factor (I. F.) of the differential equation (1.1) (or, (1.2)).
For examples, the differential equation ydx + 2xdy = 0
y, because has an I. F.
1
y 2 dx
+ 2xydy = d(xy 2 )
and the differential equation xdy − ydx = 0 has an I. F. ,
xy
dx dy y
because − = d log for every x > 0 and y > 0.
x y x
Gorain, Ganesh Chandra. Introductory Course on Differential Equations, Alpha Science International, 2014. ProQuest Ebook Central,
http://ebookcentral.proquest.com/lib/inflibnet-ebooks/detail.action?docID=5426845.
Created from inflibnet-ebooks on 2020-01-19 20:37:59.
Chapter 1 : Equations of First Order and First Degree 45
Theorem 1.9. The number of integrating factor of the first order and first
degree differential equation (1.2) in a rectangular domain D is infinite.
Proof. Let μ(x, y) be an integrating factor of the equation (1.2) in a rectangular domain
D in xy plane. Then by the definition, there must exists a function u(x, y) in D such
that
μ(x, y)[M (x, y)dx + N (x, y)dy] = du(x, y) (1.31)
for all (x, y) ∈ D.
Let φ be any arbitrary differential function of u in D. Then using the relation (1.31), we
have
dφ dφ
μ(x, y) [M (x, y)dx + N (x, y)dy] = μ(x, y)(M dx + N dy) (1.32)
du du
dφ
= du = dφ (1.33)
du
Gorain, Ganesh Chandra. Introductory Course on Differential Equations, Alpha Science International, 2014. ProQuest Ebook Central,
http://ebookcentral.proquest.com/lib/inflibnet-ebooks/detail.action?docID=5426845.
Created from inflibnet-ebooks on 2020-01-19 20:37:59.
46 Differential Equations
dφ
for all (x, y) ∈ D, showing that μ (M dx + N dy) is an exact differential. Thus, if μ is
du
dφ
an integrating factor of the differential equation (1.2), then μ is also an integrating
du
factor of it. Since φ is an arbitrary function of u, we conclude that there are infinitely
many integrating factors of this type.
This theorem concludes that a first order and first degree differential equation in two
variables always possesses a solution.
Exercise - 1.16
Example 1.17. Solve the differential equation (4x + 3y 2 )dx + 2xydy = 0 after
finding an I. F. of the form xn , where n is a constant.
Solution : Let us assume that the given differential equation has an I. F. of the of the form
xn for some suitable constant n. Thus multiplying by xn , we obtain an exact differential
equation
(4xn+1 + 3xn y 2 )dx + 2xn+1 ydy = 0. (1)
This implies that
∂ ∂
(4xn+1 + 3xn y 2 ) = (2xn+1 y) or, 2(n − 2)xn y = 0.
∂y ∂x
Copyright © 2014. Alpha Science International. All rights reserved.
Gorain, Ganesh Chandra. Introductory Course on Differential Equations, Alpha Science International, 2014. ProQuest Ebook Central,
http://ebookcentral.proquest.com/lib/inflibnet-ebooks/detail.action?docID=5426845.
Created from inflibnet-ebooks on 2020-01-19 20:37:59.
48 Differential Equations
Exercise - 1.17
Solve each of the differential equations after finding an I. F. of the prescribed
form. (n being a constant.) [Answers]
(i) (x − y 2 )dx + 2xydy = 0, I. F. of the form xn . [I.F. : x−2 , y 2 + x log |x| = cx]
dy
(ii) x − y = x x2 + y 2 , I. F. of the form xn . [I.F. : x−2 , y = x sinh(x + c)]
dx
(iii) (4x + 3y 2 )dx + 2xydy = 0, I. F. of the form xn . [I.F. : x2 , x4 + x3 y 2 = c]
(iv) y 3 dx − x(y 2 + x3 )dy = 0, I. F. of the form xn . [I.F. : x−4 , y 3 − 3x3 y = cx3 ]
(v) (y 2 + 2xy)dx − x2 dy = 0, I. F. of the form y n . [I.F. : y −2 , xy + x2 = cy]
(vi) (4xy + 2y 2 )dx − (3x2 + xy)dy = 0, I. F. of the form y n .
[I.F. : y −5/2 , x2 y −3/2 + xy 1/2 = c]
(vii) (2xy + ex )ydx − ex dy = 0, I. F. of the form y n . [I.F. : y −2 , ex + x2 y = cy]
sec2 y
(viii) y sec2 xdx + 3 tan x − dy = 0, I. F. of the form y n .
y2
[I.F. : y 2 , y 3 tan x − tan y = c]
M x + N y = x3 y − x3 y − y 4 = −y 4 = 0 for y = 0.
Therefore the given differential equation has an I. F. 1/y 4 . Now multiplying the given
differential equation by 1/y 4 , we have
x2 x3 1
dx − + dy = 0.
y3 y4 y
Gorain, Ganesh Chandra. Introductory Course on Differential Equations, Alpha Science International, 2014. ProQuest Ebook Central,
http://ebookcentral.proquest.com/lib/inflibnet-ebooks/detail.action?docID=5426845.
Created from inflibnet-ebooks on 2020-01-19 20:37:59.
Chapter 1 : Equations of First Order and First Degree 49
x2 ydx − x3 dy 1 x3
− dy = 0 or, d − d(log |y|) = 0.
y4 y 3y 3
Exercise - 1.18
Gorain, Ganesh Chandra. Introductory Course on Differential Equations, Alpha Science International, 2014. ProQuest Ebook Central,
http://ebookcentral.proquest.com/lib/inflibnet-ebooks/detail.action?docID=5426845.
Created from inflibnet-ebooks on 2020-01-19 20:37:59.
50 Differential Equations
1
Therefore the given differential equation may have an I. F. . Now multiplying the
x2 y 2
1
given differential equation by , we have
x2 y 2
1 + xy 1 − xy
dx + dy = 0.
x2 y xy 2
This equation can be written in the form
1 1 ydx + xdy d(xy)
dx − dy + dy = 0 or, d(log |x|) − d(log |y|) + = 0.
x y x2 y 2 (xy)2
Integrating, we obtain the required general solution as
x 1
log − = c.
y xy
Exercise - 1.19
Reducing exact differential equation, solve each of the followings. [Answers]
x
(i) y(1 − xy)dx − x(1 + xy)dy = 0. [log | | − xy = c]
y
x 1
(ii) y(1 + xy)dx + x(1 − xy)dy = 0. [log | | − = c]
y xy
x2 1
(iii) (xy 2 + 2x2 y 3 )dx + (x2 y − x3 y 2 )dy = 0. [log − = c]
|y| xy
x
(iv) (xy sin xy + cos xy)ydx + (xy sin xy − cos xy)xdy = 0. [ sec xy = c]
Copyright © 2014. Alpha Science International. All rights reserved.
y
x 1
(v) (x2 y 2 + xy + 1)ydx + (x2 y 2 − xy + 1)xdy = 0. [xy + log | | − = c]
y xy
(vi) y(2xy + 1)dx + x(1 + 2xy + x2 y 2 )dy = 0. [2x2 y 2 log |y| − 4xy − 1 = cx2 y 2
1 ∂M ∂N
Theorem 1.12. In the differential equation (1.2), if − is a func-
N ∂y ∂x
tion of x only, say φ(x), then a constant multiplication of e φ(x)dx is an I. F.
of the differential equation (1.2).
Now
1 2
. e− x
dx
=
x2
Therefore the given differential equation has an I. F. 1/x2 . Now multiplying the given
differential equation by 1/x2 , we have
y 1
2 + 2 dx + y − dy = 0,
x x
which is an exact differential equation. This equation can be written in the form
xdy − ydx
2dx + ydy − = 0.
x2
Integrating, we obtain the required general solution as
y2 y
2x + − = c.
2 x
Exercise - 1.20
2
(v) (x3 + xy 4 )dx + 2y 3 dy = 0. [ex (x2 − 1 + y 4 ) = c]
1 1
(vi) (xy 2 − e x3 )dx − x2 ydy = 0. [3y 2 − 2x2 e x3 + cx2 = 0]
1 ∂N ∂M
Theorem 1.13. In the differential equation (1.2), if − is a func-
M ∂x ∂y
tion of y only, say φ(y), then a constant multiplication of e φ(y)dy is an I. F.
of the differential equation (1.2).
Exercise - 1.21
Reducing exact differential equation, solve each of the followings. [Answers]
x x2
(i) (y + xy 2 )dx − xdy = 0. [ + = c]
y 2
(ii) (3x2 y 4 + 2xy)dx + (2x3 y 3 − x2 )dy = 0. [x3 y 3 + x2 = cy]
(iii) xydx + (2x2 + 3y 2 − 20)dy = 0. [x2 y 4 + y 6 − 10y 4 = c]
2
(y 4 + 2y)dx + (xy 3 + 2y 4 − 4x)dy = 0. [x(y + 2 ) + y 2
Copyright © 2014. Alpha Science International. All rights reserved.
(iv) = c]
y
(v) (xy 3 + y)dx + 2(x2 y 2 + x + y 4 )dy = 0. [3x2 y 4 + 6xy 2 + 2y = c]
x2 x
(vi) (2xy 4 ey + 2xy 3 + y)dx + (x2 y 4 ey − x2 y 2 − 3x)dy = 0. [x2 ey + + 3 = c]
y y
Theorem 1.14. If the differential equation (1.2) can be written of the form
xa1 y b1 (m1 ydx + n1 xdy) + xa2 y b2 (m2 ydx + n2 xdy) = 0,
Gorain, Ganesh Chandra. Introductory Course on Differential Equations, Alpha Science International, 2014. ProQuest Ebook Central,
http://ebookcentral.proquest.com/lib/inflibnet-ebooks/detail.action?docID=5426845.
Created from inflibnet-ebooks on 2020-01-19 20:37:59.
Chapter 1 : Equations of First Order and First Degree 53
therefore we may assume that the differential equation has I. F. of the form xh y k for
some suitable constants h and k those are to be determined. Now multiplying the given
differential equation by xh y k , we have
2xh y k+1 + 6xh+1 y k+2 dx + 3xh+1 y k + 8xh+2 y k+1 dy = 0
∂M ∂N
= ,
∂y ∂x
that means,
2(k + 1)xh y k + 6(k + 2)xh+1 y k+1 = 3(h + 1)xh y k + 8(h + 2)xh+1 y k+1 . (1)
Equating the coefficients of xh y k and xh+1 y k+1 from both sides of (1), we obtain
Solving these, we get h = 1 and k = 2. of Therefore the given differential equation has
an I. F. xy 2 . Now multiplying the given differential equation by xy 2 , we have
2xy 3 dx + 3x2 y 2 dy + 6x2 y 4 dx + 8x3 y 3 dy = 0.
Copyright © 2014. Alpha Science International. All rights reserved.
x2 y 3 + 2x3 y 4 = c.
Exercise - 1.22
Gorain, Ganesh Chandra. Introductory Course on Differential Equations, Alpha Science International, 2014. ProQuest Ebook Central,
http://ebookcentral.proquest.com/lib/inflibnet-ebooks/detail.action?docID=5426845.
Created from inflibnet-ebooks on 2020-01-19 20:37:59.
54 Differential Equations
dy
+ P (x)y = Q(x). (1.34)
dx
This type of equations was first introduced in 1694 by German mathematician Gottfried
dy dy
Wilheim Leibniz (1646–1716). For example, ex + 5y = sin x and = x2 y + 2x log |x|
dx dx
are first order linear equations.
The differential equation
dy
+ P (x)y = 0 (1.35)
dx
is referred to as the linear homogeneous equation corresponding to the ordinary differen-
tial equation (1.34). This equation is separable and has the general solution
y = ce− P (x)dx
, (1.36)
Theorem 1.15. The first order linear differential equation (1.34) has an I. F.
Copyright © 2014. Alpha Science International. All rights reserved.
P (x)dx
of the form e and a one-parameter family of solutions of it can be
written as
− P (x)dx P (x)dx
y=e e Q(x)dx + c , (1.37)
where c is an arbitrary constant. This solution is the general solution or, the
complete integral of the linear differential equation (1.34).
Proof. Let us first write the equation (1.34) in the form M (x, y)dx + N (x, y)dy = 0 for
which M (x, y) = P (x)y − Q(x) and N (x, y) = 1.
∂M ∂N
Since = P (x) and = 0, the equation (1.34) is not exact unless P (x) = 0 in
∂y ∂x
which equation (1.34) reduces to simple separable equation. Now,
∂M ∂N
−
∂y ∂x
= P (x), a function of x alone. (1.38)
N
Gorain, Ganesh Chandra. Introductory Course on Differential Equations, Alpha Science International, 2014. ProQuest Ebook Central,
http://ebookcentral.proquest.com/lib/inflibnet-ebooks/detail.action?docID=5426845.
Created from inflibnet-ebooks on 2020-01-19 20:37:59.
Chapter 1 : Equations of First Order and First Degree 55
So
the differential equation (1.34) has I. F. of the form e P (x)dx . Multiplying (1.34) by
e P (x)dx , we get
dy
e P (x)dx + P (x)ye P (x)dx = Q(x)e P (x)dx (1.39)
dx
which is precisely
d P (x)dx
e y = Q(x)e P (x)dx (1.40)
dx
Integrating the above equation with respect to x, the solution of (1.34) is then given by
P (x)dx
ye = e P (x)dx Q(x)dx + c, (1.41)
where c is an arbitrary constant. Since the solution (1.41) contains one arbitrary constant
c, this one parameter family of solutions of the first order linear equation (1.34) covers
all the solutions of it and hence a general solution of it.
dy
− 4y = x6 ex . x
dx
Solution : The given differential equation can be expressed as
dy 4
− y = x5 e x . (1)
dx x
This is a first order linear equation in the dependent variable y.
Copyright © 2014. Alpha Science International. All rights reserved.
1 1
I. F. = e−4 x
dx
= .
x4
1
Multiplying (1) by and then integrating we obtain
x4
1
y. 4 = xex dx + c = (x − 1)ex + c
x
or,
y = (x − 1)x4 ex + cx4
which is the required general solution.
Gorain, Ganesh Chandra. Introductory Course on Differential Equations, Alpha Science International, 2014. ProQuest Ebook Central,
http://ebookcentral.proquest.com/lib/inflibnet-ebooks/detail.action?docID=5426845.
Created from inflibnet-ebooks on 2020-01-19 20:37:59.
56 Differential Equations
Exercise - 1.23
Find the general solution of each of the followings: [Answers]
dy y c
(i) + = 3x. [y = x2 + ]
dx x x
dy 2x + 1
(ii) + y = e−2x . [2xy = (x2 + c)e−2x ]
dx x
dy
(iii) x − 3y = x4 . [y = x4 + cx3 ]
dx
dy
(iv) x − 4y = x6 ex . [y = (x − 1)x4 ex + cx4 ]
dx
(v) (2y − x3 )dx = xdy. [y = −x3 + cx2 ]
dy 2 2
(vi) − 2xy = 6xex . [y = (3x2 + c)ex ]
dx
dy
(vii) x log |x| + y = 3x3 . [y log |x| = x3 + c]
dx
dy
(viii) + y cos x = 2 cos x. [y = esin x + ce− sin x ]
dx
dy
(ix) x cos x + (x sin x + cos x)y = 1. [xy = sin x + c cos x]
dx
dr
(x) + r tan θ = cos θ. [r = (θ + c) cos θ]
dθ
dy
(xi) cos2 x + y = tan x. [y = tan x − 1 + ce− tan x ]
dx
dy ay x+1 x
1−a − 1 + cxa ,
a a = 1;
(xii) − = , a = 0. y=
x log |x| − 1 + cx, a = 1
Copyright © 2014. Alpha Science International. All rights reserved.
dx x x
Gorain, Ganesh Chandra. Introductory Course on Differential Equations, Alpha Science International, 2014. ProQuest Ebook Central,
http://ebookcentral.proquest.com/lib/inflibnet-ebooks/detail.action?docID=5426845.
Created from inflibnet-ebooks on 2020-01-19 20:37:59.
Chapter 1 : Equations of First Order and First Degree 57
or,
y = cos x + c cos2 x (2)
which is the general solution of (1).
π π
Given that y( ) = 0. Substituting x = and y = 0 in (2), we obtain
3 3
1 1
0= + c. or, c = −2.
2 4
y = cos x − 2 cos2 x.
Exercise - 1.24
Proof. We first observe that the relation (1.36), in which c is an arbitrary constant is the
general solution of the first order linear differential equation (1.34) for Q(x) = 0.
If Q(x) = 0, by this method, we assume that the solution of (1.34) is of the form (1.36)
but do not restrict c to be a constant. We assume that
y = ve− P (x)dx
(1.42)
Gorain, Ganesh Chandra. Introductory Course on Differential Equations, Alpha Science International, 2014. ProQuest Ebook Central,
http://ebookcentral.proquest.com/lib/inflibnet-ebooks/detail.action?docID=5426845.
Created from inflibnet-ebooks on 2020-01-19 20:37:59.
58 Differential Equations
dy dv
= − P v e− P (x)dx . (1.43)
dx dx
By substituting these in (1.34), we have
dv
− P v e− P (x)dx + P (x)e− P (x) dx = Q(x) (1.44)
dx
or,
dv
= Q(x)e P (x)dx (1.45)
dx
i.e.,
P (x)dx
v= Q(x)e + c, (1.46)
where c is an arbitrary constant. Hence, according to (1.42), the solution of the differ-
ential equation (1.34)) is
− P (x)dx
y=e e P (x)dx Q(x)dx + c . (1.47)
Remark 1.2. Since in the solution (1.47) of first order linear ordinary dif-
ferential equation (1.34) contains one arbitrary constant c, so it is a general
solution of (1.34). Furthermore this one-parameter family of solution (1.47) of
Copyright © 2014. Alpha Science International. All rights reserved.
Example 1.25. Find the general solution of the linear differential equation
dy
− 4y = sin 3x
dx
by the method of variation of parameter.
Solution : The given equation is
dy
− 4y = sin 3x. (1)
dx
The homogeneous equation corresponding to the equation (1) is
dy
− 4y = 0, (2)
dx
Gorain, Ganesh Chandra. Introductory Course on Differential Equations, Alpha Science International, 2014. ProQuest Ebook Central,
http://ebookcentral.proquest.com/lib/inflibnet-ebooks/detail.action?docID=5426845.
Created from inflibnet-ebooks on 2020-01-19 20:37:59.
Chapter 1 : Equations of First Order and First Degree 59
which has a solution y = ce4x , where c is an arbitrary constant. To solve (1), by the
method of variation of parameter, we take
y = ve4x (3)
as the general solution of it, where v is a function of x. Differentiating (3) with respect
to x, we get
dy dv 4x
= e + 4ve4x (4)
dx dx
Substituting these in (1), we obtain
dv 4x dv
e = sin 3x or, = e−4x sin 3x.
dx dx
Integrating it, we obtain
c e−4x
v= − (4 sin 3x + 3 cos 3x).
25 25
Thus the required general solution (1) is given by
Exercise - 1.25
dy 2
(i) + 2xy = 2x. [y = 1 + ce−x ]
dx
dy
(ii) − y tan x = cos x. [4y cos x = 2x + sin 2x + c]
dx
dy
(iii) − 4y = sin 3x. [25y = ce4x − (4 sin 3x + 3 cos 3x)
dx
dy y
(iv) + = 3x. [xy = x3 + c]
dx x
dy x
(v) + ex y = e−x . [yex = c − e−e ]
dx
Example 1.26. If P (x) and Q(x) are continuous functions of x on some
interval I and if f and g are two different solutions of the linear equation
dy
+ P (x)y = Q(x) on I, then show that f and g are connected by the relation
dx
g = f + ce− P dx , where c is an arbitrary constant.
Gorain, Ganesh Chandra. Introductory Course on Differential Equations, Alpha Science International, 2014. ProQuest Ebook Central,
http://ebookcentral.proquest.com/lib/inflibnet-ebooks/detail.action?docID=5426845.
Created from inflibnet-ebooks on 2020-01-19 20:37:59.
60 Differential Equations
Solution : Since y = f (x) and y = g(x) are two different solutions of the linear equation
dy
+ P (x)y = Q(x), we have
dx
df dg
+ P (x)f = Q(x) and + P (x)g = Q(x) on I.
dx dx
Subtracting these two equations, we obtain
d(g − f )
+ P (x)(g − f ) = 0 on I.
dx
dv
Writing v = g − f , we get from above + P (x)v = 0 on I.
dx
The general solution of which is
v = ce− P dx
or, g − f = ce− P dx
.
Exercise - 1.26
(ii) If P (x) and Q(x) are continuous functions of x on some interval I and if f and
dy
g are two different solutions of the linear equation + P (x)y = Q(x) on I, then show
dx
that c(f − g) + f or, c(f − g) + g, where c is an arbitrary constant is one-parameter
family of solution (general solution) of it.
(iii) If P (x) and Qi (x) for i = 1, 2 are continuous functions of x on some interval I
dy
and if fi (i =1, 2) are the solutions of the differential equations + P (x)y = Qi (x),
dx
dy
then show that f1 ± f2 are the solutions of the linear differential equations + P (x)y
dx
= Q1 (x) ± Q2 (x) on I.
(iv) If P (x) and Q(x) are continuous functions of x on some interval I and if f is a
dy
known solution of the linear differential equation + P (x)y = Q(x) on I, then show
dx
that y = f (x)+ce− P dx is the general solution of it, where c being an arbitrary constant.
[Hint.: Put y = f + v in the given differential equation and obtain v]
Gorain, Ganesh Chandra. Introductory Course on Differential Equations, Alpha Science International, 2014. ProQuest Ebook Central,
http://ebookcentral.proquest.com/lib/inflibnet-ebooks/detail.action?docID=5426845.
Created from inflibnet-ebooks on 2020-01-19 20:37:59.
Chapter 1 : Equations of First Order and First Degree 61
(v) If P (x) and Q(x) are continuous functions of x on some interval I and if f and g are
dy
two different solutions of the linear equation + P (x)y = Q(x) on I, then show that f
dx
and g are connected by the relation g = f + ce− P dx , where c is an arbitrary constant.
(vi) If P (x) and Q(x) are continuous functions of x on some interval I and if f is a
dy
known solution of the linear differential equation + P (x)y = Q(x) on I, then show
Q(x) dx
− f (x) dx
that y = f (x) + cf (x)e is the general solution of it, where c being an arbitrary
constant.
[Hint.: Put y = f.v in the given differential equation and obtain v]
(vii) If P (x) and Q(x) are continuous functions of x on some interval I and if f and g
dy
are two different solutions of the linear equation + P (x)y = Q(x) on I and f = 0 on
dx
− Q f
dx
I, then show that g can be expressed as g = f 1 + ce , where c is an arbitrary
constant.
g
[ Hint. : write g = f. and substitute in the differential equation .]
f
(viii) If P (x) is a continuous function of x on some interval I, then show that the general
dy
solution of the linear differential equation + P (x)y = P 2 (x) can be expressed in
dx
the form y = P + e− P (x)dx c − e P (x)dx dP , where c is an arbitrary constant.
[ Hint. : set y = v + P and find v.]
(ix) If P (x) and Q(x) are continuous functions of x on some interval I and P (x) = 0 on
Copyright © 2014. Alpha Science International. All rights reserved.
dy
I, then show that the general solution of the linear differential equation + P (x)y = Q(x)
dx
Q Q
can be expressed in the form y = − e− P (x)dx c + e P (x)dx d .
P P
Q(x)
[ Hint. : write R(x) = and set y = v + R to obtain v.]
P (x)
(x) If P (x) and Q(x) are continuous functions of x on some interval I, then show that
there exists a unique function f given by the formula
x t
− ax P (t)dt
f (x) = e Q(t)e a P (θ)dθ dt + b ,
a
dy
which satisfies the differential equation + P (x)y = Q(x) with f (a) = b on this inter-
dx
Q(x)
val I for every a ∈ I and b ∈ R.[Hint.: write R(x) = and set y = v + R to obtain v.]
P (x)
Gorain, Ganesh Chandra. Introductory Course on Differential Equations, Alpha Science International, 2014. ProQuest Ebook Central,
http://ebookcentral.proquest.com/lib/inflibnet-ebooks/detail.action?docID=5426845.
Created from inflibnet-ebooks on 2020-01-19 20:37:59.
62 Differential Equations
Exercise - 1.27
dy
(iv) (x + 2y 3 ) = y. [x = cy + y 3 ]
dx
−1
(v) (1 + y 2 )dx = (tan−1 y − x)dy. [x = tan−1 y − 1 + ce− tan y
]
1.9.2. Bernoulli’s Differential Equations
A first order ordinary differential equation of the form
dy
+ P (x)y = Q(x)y n , (1.48)
dx
where P (x) and Q(x) are functions of x alone, is known as Bernoulli’s differential
equation [after Swiss mathematician Jacques (also known as James, German equivalent
is Jokob) Bernoulli (1654 – 1705)] in the dependent variable y and independent variable
x which was first introduced in 1695. This equation is nonlinear because of the presence
of y n . The following exercise shows that it always be transformed into a linear first order
differential equation for a new unknown function v, where v is a constant multiplication
of y 1−n .
1
Multiplying (1) by and then integrating we obtain,
x
1 log x
v. = dx + c = −(z + 1)e−z + c, by putting z = log x.
x x2
1
Now substituting − for v, we have
y
1 1 + log x
= +c
xy x
Exercise - 1.28
dy 1
(xiv) x2 − 2xy = 3y 4 , x > 0, if y(1) = . [5x6 + y 3 (9x5 − 49/8) = 0]
dx 2
dy dy
x + 2 = x3 (y − 1) .
dx dx
2 dx 1
3
+ 2 = y − 1.
x dy x
1 2 dx dv
Now substituting 2
= v, so that − 3 = , the above equation reduces to
x x dy dy
dv
− v = 1 − y. (1)
dy
I. F. = e− dy
= e−y .
or, v = y + cey .
1
Writing v = , we obtain the required general solution as
x2
x2 (y + cey ) = 1,
Gorain, Ganesh Chandra. Introductory Course on Differential Equations, Alpha Science International, 2014. ProQuest Ebook Central,
http://ebookcentral.proquest.com/lib/inflibnet-ebooks/detail.action?docID=5426845.
Created from inflibnet-ebooks on 2020-01-19 20:37:59.
66 Differential Equations
Exercise - 1.29
Solve each of the following differential equations. [Answers]
dx
(i) y + x = x2 y, y > 0. [cxy − xy log |x| = 1]
dy
dy dy
(ii) x + 2 = x3 (y − 1) . [x2 (y + cey ) = 1]
dx dx
1 1 2
(iii) (x2 y 3 + 2xy)dy = dx, x > 0. [ = (1 − y 2 ) + ce−y ]
x 2
Theorem 1.17. By the transformation v = f (y), the differential equation
dy
f (y)
+ P (x)f (y) = Q(x), (1.49)
dx
where P (x), Q(x) are functions of x alone; f (y) is a known function of y only
df
(not a constant) and f (y) := , reduces to a linear differential equation
dy
dv
+ P (x)v = Q(x) in v.
dx
Remark 1.4. The Bernoulli’s equation (1.48) is actually a special case of
(1.49) for the particular value f (y) = y 1−n .
dx dx
be reduced to a linear equation
dv
+ 2xv = x3 . (1)
dx
2
2xdx
I. F. = e = ex .
2
Multiplying (1) by ex and then integrating we obtain,
2 2
v.ex = x3 ex dx + c
or,
21 z−1 z
ex tan y =
zez dz + c = e + c, by putting z = x2 .
2 2
The above can be simplified as
2
2 tan y = x2 − 1 + 2ce−x
Gorain, Ganesh Chandra. Introductory Course on Differential Equations, Alpha Science International, 2014. ProQuest Ebook Central,
http://ebookcentral.proquest.com/lib/inflibnet-ebooks/detail.action?docID=5426845.
Created from inflibnet-ebooks on 2020-01-19 20:37:59.
Chapter 1 : Equations of First Order and First Degree 67
Exercise - 1.30
Solve each of the following differential equations. [Answers]
dy 1
(i) cos y + sin y = 1, x = 0. [2x sin y − x2 = c]
dx x
dy dy 2
(ii) sec2 y + 2x tan y = x3 or, + x sin 2y = x3 cos2 y. [2 tan y = x2 − 1 + ce−x ]
dx dx
dy 1 ey
(iii) + = 2 , x = 0. [2xe−y = 1 + 2cx2 ]
dx x x
dy 2
(iv) (y + 1) + x(y 2 + 2y) = x. [y 2 + 2y + ce−x − 1 = 0]
dx
dy π
(v) sin y − cos y sec x = sec x − tan x, 0 < x < . [x + cos y(sec x + tan x) = c]
dx 2
dy tan y
(vi) − = (1 + x)ex sec y. [sin y = (1 + x)(c + ex )]
dx 1 + x
dy
(vii) x = 2x2 y + y log y, y > 0. [log y = 2x2 + cx]
dx
dy sin 2y x5
(viii) + = x2 cos2 y. [x2 tan y = + c]
dx x 5
dy y y
(ix) + log y = 2 (log y)2 , x = 0y > 0. [2x = (1 + 2cx2 ) log y]
dx x x
dy
(x) sin y = cos x(2 cos y − sin2 x). [4 cos y = 2 sin2 x − 2 sin x + 1 + ce−2 sin x ]
dx
dy x
(xi) = ex−y (ex − ey ). [ee (ey − ex + 1) = c]
dx
Copyright © 2014. Alpha Science International. All rights reserved.
(xii) (sec x tan x tan y − ex )dx + sec x sec2 ydy = 0. [sec x tan y = ex + c]
1 1
(xiii) (xy 2 + e− x2 )dx − x2 ydy = 0. [3y 2 = 2x2 e− x2 + cx]
Gorain, Ganesh Chandra. Introductory Course on Differential Equations, Alpha Science International, 2014. ProQuest Ebook Central,
http://ebookcentral.proquest.com/lib/inflibnet-ebooks/detail.action?docID=5426845.
Created from inflibnet-ebooks on 2020-01-19 20:37:59.
68 Differential Equations
engineering sciences. The French mathematician Joseph Liouville in 1841, pointed out
that the simple first order and first degree Riccati’s equation (1.50) in the literature of
ordinary differential equation can not be solved in general, directly by the method of
integration. In other words, there is no known method for solving the general Riccati’s
equation. As special cases,
(i) if P (x) = 0 for all x, Riccati’s equation reduces to a linear equation and
(ii) if R(x) = 0 for all x, Riccati’s equation obviously a Bernoulli’s equation.
y = f (x) + v(x),
Proof. Let y = f (x) be a known integral of the given Riccati’s equation (1.50).
Therefore, we must have
f = P f 2 + Qf + R. (1.51)
Let v be a function (unknown) of x to be determined such that
1
y = f (x) + (1.52)
v(x)
Gorain, Ganesh Chandra. Introductory Course on Differential Equations, Alpha Science International, 2014. ProQuest Ebook Central,
http://ebookcentral.proquest.com/lib/inflibnet-ebooks/detail.action?docID=5426845.
Created from inflibnet-ebooks on 2020-01-19 20:37:59.
Chapter 1 : Equations of First Order and First Degree 69
v 1 2 1
f − = P f + + Q f + + R. (1.53)
v2 v v
Using the given relation (1.51), it reduces to
v 2f 1 2 2 Q
− = P + + , (1.54)
v2 v v v
multiplying v 2 throughout, that can be written as
dv
−v = (2P f + Q)v + P or, + (2P f + Q)v + P = 0. (1.55)
dx
This is a first order linear ordinary differential equation that can be solved easily to
obtain the unknown function v and hence the general solution of (1.50).
Example 1.31. Find the general solution of the Riccati’s differential equation
dy
= −y 2 + xy + 1, a known solution is: f (x) = x.
dx
Copyright © 2014. Alpha Science International. All rights reserved.
P = −1, Q = x, R = 1.
I. F. = e−x .
Multiplying (3) by e−x and then integrating we obtain,
Hence from (2), we have the general solution of the Riccati’s equation(1) as
1
y =x+ ,
cex −1
where c is an arbitrary constant.
Exercise - 1.31
dy
(v) x(1 − x3 ) = x2 + y − 2xy 2 , a known solution is: f (x) = x2 .
dx
[(x4 − x)/(y − x2 ) = c − 2x3 /3]
dy
(vi) x = x2 + (1 − x4 )y + x2 y 2 , a known solution is: f (x) = x2 .
dx
2 x2 /4 2
[y = x − (xe )/(c + x2 ex /4 dx]
dy
(vii) x = y 2 − y sin x + cos x, a known solution is: f (x) = sin x.
dx
[e− cos x /(y − sin x) = c − e− cos x dx]
dy y−x 2
(viii) x = y + x4 y 2 − x6 , if x is one known integral of it. [ = ce2x /5 ]
dx y+x
dy
(ix) = 1 + y 2 , if x is one known integral of it. [y(c − tan x) = 1 + c tan x]
dx
Gorain, Ganesh Chandra. Introductory Course on Differential Equations, Alpha Science International, 2014. ProQuest Ebook Central,
http://ebookcentral.proquest.com/lib/inflibnet-ebooks/detail.action?docID=5426845.
Created from inflibnet-ebooks on 2020-01-19 20:37:59.
Chapter 1 : Equations of First Order and First Degree 71
1.10.2. General Solution: When Two or, Three Integrals are Known
When two particular integrals are known, the general solution of Riccati’s equation (1.50)
can be found in the following theorems:
Theorem 1.20. If f (x) and g(x) are two known solutions of the Riccati’s
equation (1.50), then the general solution of it can be expressed as
y − f
log = c + (f − g)P dx.
y−g
Proof. Let y = f (x) and y = g(x) are two known integrals of the given Riccati’s
equation
y = P y 2 + Qy + R. (1.56)
Therefore, we must have
f = P f 2 + Qf + R (1.57)
and
g = P g 2 + Qg + R. (1.58)
Subtracting (1.57) from (1.56), we get
Theorem 1.21. If y = f (x), y = g(x) and y = h(x) are three known solutions of
the Riccati’s equation (1.50), then the general solution of it can be expressed
(y − f )(g − h)
as = c.
(y − h)(g − f )
Gorain, Ganesh Chandra. Introductory Course on Differential Equations, Alpha Science International, 2014. ProQuest Ebook Central,
http://ebookcentral.proquest.com/lib/inflibnet-ebooks/detail.action?docID=5426845.
Created from inflibnet-ebooks on 2020-01-19 20:37:59.
72 Differential Equations
Example 1.32. Find the general solution of the Riccati’s differential equation
dy 2 1
x2 ( + y 2 ) = 2, two known solutions : , − .
dx x x
2 1
Solution : Given that , − are two known solutions of the given differential equation
x x
dy 2
= −y 2 + 2 . (1)
dx x
Comparing (1) with (1.50), we have in this case,
P = −1. (2)
Let us take
2 1
f (x) = and g(x) = − . (3)
x x
The general solution is then given by
y − f
log = c + (f − g)P dx.
y−g
Exercise - 1.32
d2 u dP du
P − P Q + + P 2 Ru = 0. (1.65)
dx2 dx dx
This is a second order linear equation. The complete primitive of this equation (1.66)
can be found of the form
u = Af (x) + Bg(x), (1.66)
where A and B are two arbitrary constants. In view of (1.64), the above solution gives
Af (x) + Bg (x)
y = −
P Af (x) + Bg(x)
cf (x) + g (x)
Copyright © 2014. Alpha Science International. All rights reserved.
= − (1.67)
P cf (x) + g(x)
A
containing one arbitrary constant c := . In other words, the general solution of the
B
Riccati’s equation (1.50) is a one-parameter family of curves of the form
cF (x) + G(x)
y= , (1.68)
cf (x) + g(x)
where f, g, F, G are appropriate functions of x and c is an arbitrary constant.
Conversely, it can be easily shown that the differential equation to be obtained by elim-
inating the arbitrary constant c from (1.68) is a Riccati’s equation.
Remark 1.6. In view the result of the form (1.68), an important fact is that
the general solution of Riccati’s equation is a homographic function of the
constant of integration. Another important fact regarding Riccati’s equation
Gorain, Ganesh Chandra. Introductory Course on Differential Equations, Alpha Science International, 2014. ProQuest Ebook Central,
http://ebookcentral.proquest.com/lib/inflibnet-ebooks/detail.action?docID=5426845.
Created from inflibnet-ebooks on 2020-01-19 20:37:59.
74 Differential Equations
Example 1.33. Converting into second order linear equation, solve the Ric-
dy 2
cati’s differential equation + y = 2. x2
dx
Solution : Given Riccati’s differential equation
2 dy 2 dy 2
x +y =2 or, = −y 2 + 2 . (1)
dx dx x
dy 1 d2 u 1 du 2
= 2
− 2 . (3)
dx u dx u dx
Substituting (2) and (3) in the Riccati’s differential equation (1), we obtain at once
Copyright © 2014. Alpha Science International. All rights reserved.
1 d2 u 2 d2 u
2
= 2 or, x2 − 2u = 0. (4)
u dx x dx2
The equation (4) is a second order exact linear differential equation. The first integral
of (4) is given by
du du u c1
x2 − 2xu = c1 or, − 2 = 2, (5)
dx dx x x
where c1 is an arbitrary constant. The equation (5) is a first order linear equation in u.
1 1
I. F. = e−2 x
dx
= .
x2
1
Multiplying (5) by and then integrating we obtain
x2
1 1 c1
u. 2 = c1 dx + c2 = − 3 + c2 , (6)
x x4 3x
Gorain, Ganesh Chandra. Introductory Course on Differential Equations, Alpha Science International, 2014. ProQuest Ebook Central,
http://ebookcentral.proquest.com/lib/inflibnet-ebooks/detail.action?docID=5426845.
Created from inflibnet-ebooks on 2020-01-19 20:37:59.
Chapter 1 : Equations of First Order and First Degree 75
c1 du c1
u = c2 x2 − so that = 2c2 x + 2 .
3x dx 3x
Thus the required general solution of (1) in view of (2) is
c1
1 du 2c2 x + 2 2cx3 + 1
y= = 3x or, y= ,
u dx 2
c1 cx4 − x
c2 x −
3x
3c2
where c = is an arbitrary constant.
c1
Exercise - 1.33
Converting into second order linear equation, solve each of the following
Riccati’s differential equations. [Answers]
dy e3x + 2c
(i) + y + y 2 = 2. [y = ]
dx e3x − c
dy
(ii) + 2y 2 + 5y + 2 = 0. [2y(ce3x + 1) + ce3x + 4 = 0]
dx
2 dy 2
(ii) x + y = 2. [y(cx4 − x) = 2cx3 + 1]
dx
dy
(iv) x2 + x2 y 2 − 2xy + 2 = 0. [y(x2 + cx) = 2x + c]
Copyright © 2014. Alpha Science International. All rights reserved.
dx
Remark 1.7. An first-order ordinary differential equation of the form
dy
= P (x)y 3 + Q(x)y 2 + R(x)y + S(x), (1.70)
dx
where P, Q R and S are functions of x alone is known as Abel’s equation
[after Norwegian mathematician Niels Henrik Abel (1802 − 1829)]. This equa-
tion arose later in the context of the studies of Niels Henrik Abel on the
theory of elliptic functions in 1834, and it represents a natural generalization
of the Riccati’s equation.
Gorain, Ganesh Chandra. Introductory Course on Differential Equations, Alpha Science International, 2014. ProQuest Ebook Central,
http://ebookcentral.proquest.com/lib/inflibnet-ebooks/detail.action?docID=5426845.
Created from inflibnet-ebooks on 2020-01-19 20:37:59.