Unit-V Maths
Unit-V Maths
Satish Shukla 1 of 13
Differential Equations
(a) ex dx + ey dy = 0;
dy
(b) y = x dx ;
3/2
d2 y
dy
(c) +2 = 5 dx + y;
dx2
∂ 2z ∂ 2z
(d) + = 0.
∂x2 ∂y 2
Ordinary differential equations. A differential equation containing the differential co-
efficients with respect to a single independent variable is called an ordinary differential
equation. For example, (i), (ii) and (iii) are ordinary differential equations but not
(iv). In this course, we deal with ordinary differential equations only.
Order and degree of differential equations. The order of highest derivative appearing
in a differential equation is called the order of the differential equations. The order
of the differential equations (i), (ii) and (iii) are 1,1 and 2 respectively. The degree
of a differential equation is the degree of the highest derivative appearing in it, after
the equation has been expressed in a form free form radicals and fractions as far as
the derivatives are concerned. For example, the degree of differential equation y =
2 3/2
dy x dy dy
x dx + is 2, while the degree of the differential equation +2 = 5 dx +y
dy/dx dx2
is 3.
Formation of differential equations. A differential equation is formed when we elim-
inate the parameter of a family of curves with the help of derivatives and obtain a
relation between the variables and derivatives.
Dr. Satish Shukla 2 of 13
Homework (Assignment)
(Q.1) Form the differential equation of the simple harmonic motion for the family of
cosine waves x = a cos(nt + α). What is the degree and order of this differential
equation.
d2 x
Ans: 2 + n2 x = 0. Order is 2 and degree is 1.
dt
(Q.2) Obtain the differential equation of all circles of radius a and the centre (h, k).
What is the degree and order of this differential equation.
h i3/2
dy 2
1 + dx
Ans: = a. Order and degree both are equal to 2.
d2 y
dx2
(Q.3) Obtain the differential equation of the coaxial circles of of the system x2 + y 2 +
2ax + c2 = 0, where c is a constant and a is the parameter of the family. What
is the degree and order of this differential equation.
dy
Ans: 2xy dx
= y 2 − x2 + c2 . Order and degree both are equal to 1.
(Q.4) Form the differential equation of the family of curves given by: y = c1 cos 2x +
c2 sin 2x. What is the degree and order of this differential equation.
d2 y
Ans: + 4y = 0. Order is 2 and degree is 1.
dx2
(Q.5) Form the differential equation of the family of curves given by the equation:
y = ex (A cos x + B sin x). What is the degree and order of this differential
equation.
d2 y dy
Ans: − 2 dx + 2y = 0. Order is 2 and degree is 1.
dx2
dy
= ψ(x, y).
dx
Then, the available techniques to solve such equations are:
(a) In this form ψ can be factorised in the form ψ(x, y) = ϕ(x)υ(y). Now equation
can be solved by separating variables.
(b) If ψ cannot be factorised, but is in the form ψ(x, y) = f (ax + by + c), then
such equations can be solved by substituting v = ax + by + c.
Dr. Satish Shukla 3 of 13
dy
Example 1. Solve: (i) 3ex tan y dx+(1−ex ) sec2 y dy = 0 (ii) = 1+x+y+xy.
dx
dy dy
Example 2. Solve: (i) = (4x + y + 1)2 (ii) = cos(x + y) + sin(x + y).
dx dx
dy
Sol. (i) given differential equation is: = (4x + y + 1)2 , which is of the form
dx
dy dy dv
= f (ax + by + c). Therefore, putting 4x + y + 1 = v we have 4 + = , i.e.,
dx dx dx
dy dv
= − 4. Putting these values in the given equation, we get
dx dx
dv dv
= 4 + v 2 =⇒ 2 = dx.
dx v +4
Integrating, we get
1 −1 v
−1 4x + y + 1
tan = x + C =⇒ tan = 2(x + C).
2 2 2
dy
(ii) given differential equation is: = cos(x + y) + sin(x + y), which is of the form
dx
dy dy dv
= f (ax + by + c). Therefore, putting x + y = v we have = − 1. Putting
dx dx dx
these values in the given equation, we get
dy dv
= 1 + cos v + sin v =⇒ = dx.
dx 1 + cos v + sin v
Integrating, we get
dv
Z Z
= dx + C.
1 + cos v + sin v
Since
v
2 tan v2 1 + tan v2
1 − tan2 2
1 + cos v + sin v = 1 + v
+ =2 .
1 + tan2 2
1 + tan2 v2 sec2 v2
We have
sec2 v2 dv
1
Z Z
= dx + C
2 1 + tan v2
h v i
=⇒ ln 1 + tan = x+C
2
x+y
=⇒ ln 1 + tan = x+C
2
Dr. Satish Shukla 5 of 13
p
Example 3. Solve: (i) xdy − ydx = x2 + y 2 dx. (ii) x(x − y)dy + y 2 dx = 0.
dy y2
=− .
dx x(x − y)
dy dv
It is homogeneous differential equation, therefore putting y = vx and = v+x ,
dx dx
we obtain:
dv v 2 x2
v+x = −
dx x(x − vx)
dv v2
=⇒ x = − −v
dx (1 − v)
dx v−1
=⇒ = dv.
x v
It is variable separable form, therefore integrating we get
2h + k + 3 = 0
h + 2k + 1 = 0.
x/y
x/y x
Example 5. Solve: 1 + e dx + e 1− dy = 0.
y
dx dv
Putting x = vy and =v+y in the given equation we have
dy dy
dv
(1 + ev ) (v + y ) = −ev (1 − v)
dy
dv
=⇒ v + ev + (1 + ev )y = 0
dy
dv
=⇒ (1 + ev )y = −(v + ev )
dy
1 + ev dy
=⇒ dv = − .
v + ev y
It is the variable separable form, therefore, on integrating we obtain:
ln(v + ev ) + ln(y) = ln(C)
=⇒ ln [(v + ev )y] = ln(C)
=⇒ (v + ev )y = C.
Putting v = x/y the solution will be:
x + yex/y = C.
Exercise (Assignment)
dy 2 dy
(Q.1) Solve: y − x =a y + .
dx dx
Ans. Variable separable, y = C(1 − ay)(x + a).
dy
(Q.2) Solve: = ex−y + x2 e−y .
dx
x3
Ans. Variable separable, ey = ex + + C.
3
(Q.3) Solve: (ey + 1) cos x dx + ey sin x dy = 0.
Ans. Variable separable, sin x(ey + 1) = C.
dy
(Q.4) Solve: = cos(x + y + 1).
dx
x+y+1
Hint. Put x + y + 1 = v. Ans. tan 2
= x + c.
(Q.5) Solve: (x + 2y)(dx − dy) = dx + dy.
dy x + 2y − 1
Hint. Write it = and put x + 2y = v
dx x + 2y + 1
Ans. 31 x + 2y + 43 ln(3x + 6y − 1) = x + C.
dy y y
(Q.6) Solve: = + sin .
dx x x
Hint. Put xy = v. Ans. cosec xy + cot xy = cx.
dy y−x+1
(Q.7) Solve: = .
dx y+x−5
Hint. Solve as Example 4.
y−2
1 h y−2 2
i
Ans. tan−1 x−3
+ 2 ln 1 + x−3
= − ln(x − 3) + ln(C).
Dr. Satish Shukla 8 of 13
y dy x2 + y 2 − 1
(Q.8) Solve: + = 0.
x dx 2(x2 + y 2 ) + 1
y dy 1 dv
Hint. Put x2 + y 2 = v, and = − 1.
x dx 2x dx
Examples on linear differential equations
dy dy x + y cos x
Example 6. Solve: (i) sec x = y + sin x (ii) =− .
dx dx 1 + sin x
dy
− (cos x)y = sin x cos x.
dx
It is a linear differential equation in y. Here P = − cos x, Q = sin x cos x. Therefore,
R R
− cos x dx
I.F. = e P dx
=e = e− sin x .
dy cos x x
+ y=− .
dx 1 + sin x 1 + sin x
cos x x
It is a linear differential equation in y. Here P = ,Q=− . Therefore,
1 + sin x 1 + sin x
R R cos x
P dx dx
I.F. = e =e 1+sin x = eln(1+sin x) = 1 + sin x.
dy π
Example 7. Solve: + 2y tan x = sin x, given that y = 0.
dx 3
Dr. Satish Shukla 9 of 13
=⇒ y sec2 x = C + sec x.
π π
Applying the condition y = 0, i.e., putting x = and y = 0 in the above equation
3 3
we get:
0 = 2 + C =⇒ C = −2.
Therefore, solution is:
y sec2 x = −2 + sec x.
p dy
Example 8. Solve: (i) 1 − y 2 dx = (sin−1 y − x)dy. (ii) (y − x) = a2 .
dx
Sol. (i) One can see that the given equation cannot be written in a form so that it is
linear in y. But the equation can be written as
dx 1 sin−1 y
+p x= p .
dy 1 − y2 1 − y2
1 sin−1 y
It is linear in x. Here P = p and Q = p . Therefore
1 − y2 1 − y2
1
Z
p dy
1 − y 2 = esin−1 y .
R
P dy
I.F. = e =e
(ii) One can see that the given equation cannot be written in a form so that it is linear
in y. But the equation can be written as
dx 1 y
+ 2 x = 2.
dy a a
Dr. Satish Shukla 10 of 13
1 y
It is linear in x. Here P = 2
and Q = 2 . Therefore
a a
1
Z
dy
a2 = ey/a2 .
R
P dy
I.F. = e =e
Therefore, the solution of the given equation will be:
Z
x × I.F. = C + Q × I.F. dy
y y/a2
Z
2
=⇒ xey/a = C+ e dy
a2
" 2 2
#
1 ey/a ey/a
Z
2
=⇒ xey/a = C+ 2 y − 1·
a 1/a2 1/a2
2
y/a2 y/a2 ey/a
=⇒ xe = C + ye −
1/a2
2
=⇒ x = Ce−y/a + y − a2 .
dy dy
Example 9. Solve: (i) x + y = x3 y 6 . (ii) + x sin(2y) = x3 cos2 y.
dx dx
dy dv
Putting tan y = v, i.e., sec2 y = , the above equation is reduced into the following
dx dx
form:
dv
+ 2xv = x3 .
dx
The above equation is linear in v. Here P = 2x, Q = x3 . Therefore,
2
R R
P dx 2xdx
I.F. = e =e = ex .
The solution will be:
Z
v × I.F. = C + Q × I.F. dx
Z
2 2
=⇒ vex = C+ x3 ex dx
dt
Z
x2
=⇒ ve = C+ tet (t = x2 )
2
2 1
=⇒ vex = C + (et − et )
2
2 1 2 2
=⇒ (tan y)ex = C + (x2 ex − ex ).
2
dy 2 3 dy tan y
Example 10. Solve: (i) (x y + xy) = 1. (ii) − = (1 + x)ex · sec y.
dx dx 1 + x
Sol. (i) Given differential equation cannot be arranged in form of linear or Bernoulli’s
differential equations in which y is dependent variable. But, it can be written as:
dx
− xy = x2 y 3 .
dy
The above equation is of Bernoulli type with x as dependent variable. Therefore,
dividing by x2 we get
dx
x−2 − x−1 y = y 3 .
dy
dx dv
Substituting x−1 = v, i.e., x−2 =− the above equation reduced into the following
dy dy
form:
dv
+ yv = −y 3 .
dy
This equation is linear in v. Here P = y, Q = −y 3 ,
2 /2
R R
P dy ydy
I.F. = e =e = ey
and the solution will be:
Z
v × I.F. = C + Q × I.F. dy
Z
2 /2 2 /2
=⇒ vey = C+ −y 3 ey dy
Z
y 2 /2
=⇒ ve = C+ −2tet dt (t = y 2 /2)
2 /2
=⇒ vey = C + −2[tet − et ]
2
2 /2 y y2 /2 y 2 /2
=⇒ vey = C −2 e −e
2
1 2
=⇒ = Ce−y /2 + (2 − y 2 ).
x
Dr. Satish Shukla 12 of 13
Exercise (Assignment)
y dy
(Q.7) Solve: e +1 = ex .
dx
Hint: Put ey = v. Ans. ex+y = C + 12 e2x .
dy x2 + y 2 + 1
(Q.8) Solve: = .
dx 2xy
dy y 2 1
Hint: Rewrite the equation: 2y − = x + , then put y 2 = v.
dx x x
Ans. y 2 = Cx + x2 − 1.