Solve the following differential equations: Question 1. dy/dx + 2y = e3x
Solution:
We have,
dy/dx + 2y = e3x ………..(i)
The given equation is a linear differential equation of the form
(dy/dx) + Py = Q
Where, P = 2, Q = e3x
So, I.F = eâŦPdx
= eâŦ2dx
= e2x
The solution of differential equation is,
y(I.F) = âŦQ(I.F)dx + c
y(e2x ) = âŦe3x .e2x dx + c
y(e2x ) = (1/5)e5x + c
y = (e3x /5) + ce-2x
Hence, this is the required solution.
Question 2. 4(dy/dx) + 8y = 5e-3x
Solution:
We have,
4(dy/dx) + 8y = 5e-3x
(dy/dx) + 2y = (5/4)e-3x ………..(i)
The given equation is a linear differential equation of the form
(dy/dx) + Py = Q
Where, P = 2, Q = (5/4)e-3x
So, I.F = eâŦPdx
= eâŦ2dx
= e2x
The solution of differential equation is,
y(I.F) = âŦQ(I.F)dx + c
y(e2x ) = (5/4)âŦe-3x .e2x dx + c
y(e2x ) = (5/4)âŦe-x dx + c
y = -(5/4)e-3x + ce-2x
This is the required solution.
Question 3. (dy/dx) + 2y = 6ex
Solution:
We have,
(dy/dx) + 2y = 6ex ………..(i)
The given equation is a linear differential equation of the form
(dy/dx) + Py = Q
Where, P = 2, Q = 6ex
So, I.F = eâŦPdx
= eâŦ2dx
= e2x
The solution of a differential equation is,
y(I.F) = âŦQ(I.F)dx + c
y(e2x ) = âŦ6ex .e2x dx + c
y(e2x ) = 6âŦe3x dx + c
y(e2x ) = 2e3x + c
y = 2ex + ce-2x
This is the required solution.
Question 4. (dy/dx) + y = e-2x
Solution:
We have,
(dy/dx) + y = e-2x ………..(i)
The given equation is a linear differential equation of the form
(dy/dx) + Py = Q
Where, P = 1, Q = e-2x
So, I.F = eâŦPdx
= eâŦdx
= ex
The solution of a differential equation is,
y(I.F) = âŦQ(I.F)dx + c
y(ex ) = âŦe-2x .ex dx + c
y(ex ) = âŦe-x dx + c
y(ex ) = -e-x + c
y = -e-2x + ce-x
This is the required solution.
Question 5. x(dy/dx) = x + y
Solution:
We have,
x(dy/dx) = x + y
(dy/dx) = 1 + (y/x)
(dy/dx) – (y/x) = 1 ………..(i)
The given equation is a linear differential equation of the form
(dy/dx) + Py = Q
Where, P = (-1/x), Q = 1
So, I.F = eâŦPdx
= e-âŦ(dx/x)
= e-log(x)
= elog(1/x)
= (1/x)
The solution of a differential equation is,
y(I.F) = âŦQ(I.F)dx + c
y(1/x) = âŦ(1/x)dx + c
(y/x) = log|x| + c
y = xlog|x| + cx
This is the required solution.
Question 6. (dy/dx) + 2y = 4x
Solution:
We have,
(dy/dx) + 2y = 4x ………..(i)
The given equation is a linear differential equation of the form
(dy/dx) + Py = Q
Where, P = 2, Q = 4x
So,
I.F = eâŦPdx
= eâŦ2dx
= e2x
The solution of a differential equation is,
y(I.F) = âŦQ(I.F)dx + c
y(e2x ) = âŦ4x.e2x dx + c
y(e2x ) = 4xâŦe2x dx – 4âŦ{(dx/dx)âŦe2x dx}dx + c
y(e2x ) = 2xe2x – 2âŦe2x dx + c
y(e2x ) = 2xe2x – e2x + c
y = (2x – 1) + ce-2x
This is the required solution.
Question 7. x(dy/dx) + y = xex
Solution:
We have,
x(dy/dx) + y = xex
(dy/dx) + (y/x) = ex ………..(i)
The given equation is a linear differential equation of the form
(dy/dx) + Py = Q
Where, P = (1/x), Q = ex
So,
I.F = eâŦPdx
= eâŦ(dx/x)
= elog(x)
= x
The solution of a differential equation is,
y(I.F) = âŦQ(I.F)dx + c
y(x) = âŦx.ex dx + c
xy = xâŦex dx – {(dx/dx)âŦex dx}dx + c
xy = xex – âŦex dx + c
xy = xex – ex + c
This is the required solution.
Question 8. (dy/dx) + [4x/(x2 + 1)]y = -1/(x2 + 1)2
Solution :
We have,
(dy/dx) + [4x/(x2 + 1)]y = -1/(x2 + 1)2 ………..(i)
The given equation is a linear differential equation of the form
(dy/dx) + Py = Q
Where, P = [4x/(x2 + 1)], Q = -1/(x2 + 1)2
So,
I.F = eâŦPdx
= (x2 +1)2
The solution of a differential equation is,
y(I.F) = âŦQ(I.F)dx + c
y(x2 + 1)2 = âŦ-[1/(x2 + 1)2 ](x2 + 1)2 dx + c
y(x2 + 1)2 = -âŦdx + c
y(x2 + 1)2 = -x + c
y = -x/(x2 + 1)2 + c/(x2 + 1)2
This is the required solution.
Question 9. x(dy/dx) + y = xlogx
Solution:
We have,
x(dy/dx) + y = xlogx
(dy/dx) + (y/x) = logx ………..(i)
The given equation is a linear differential equation of the form
(dy/dx) + Py = Q
Where, P = (1/x), Q = logx
So,
I.F = eâŦPdx
= eâŦ(dx/x)
= elog(x)
= x
The solution of a differential equation is,
y(I.F) = âŦQ(I.F)dx + c
y(x) = âŦx.logxdx + c
xy = logxâŦxdx – {(d/dx)logxâŦxdx}dx + c
xy = (x2 /2)logx – âŦ(1/x)(x2 /2) + c
xy = (x2 /2)logx – (1/2)âŦxdx + c
xy = (x2 /2)logx – (x2 /4) + c
y = (x/2)logx – (x/4) + (c/x)
This is the required solution.
Question 10. x(dy/dx) – y = (x – 1)ex
Solution:
We have,
x(dy/dx) – y = (x – 1)ex
(dy/dx) – (y/x) = [(x – 1)/x]ex ………..(i)
The given equation is a linear differential equation of the form
(dy/dx) + Py = Q
Where, P = -(1/x), Q = [(x – 1)/x]ex
So,
I.F = eâŦPdx
= e-âŦ(dx/x)
= e-log(x)
= elog(1/x)
= 1/x
The solution of a differential equation is,
y(I.F) = âŦQ(I.F)dx + c
(y/x) = âŦ[(1/x) – (1/x2 )]ex + c
Since, âŦ[f(x) + f'(x)]ex dx = f(x)ex + c
(y/x) = (ex /x) + c
y = ex + xc
This is the required solution.
Question 11. (dy/dx) + y/x = x3
Solution:
We have,
(dy/dx) + y/x = x3 ………..(i)
The given equation is a linear differential equation of the form
(dy/dx) + Py = Q
Where, P = 1/x, Q = x3
So, I.F = eâŦPdx
= eâŦdx/x
= elogx
= x
The solution of a differential equation is,
y(I.F) = âŦQ(I.F)dx + c
yx = âŦx3 .xdx + c
yx = âŦx4 dx + c
yx = (x5 /5) + c
y = (x4 /5) + c/x
This is the required solution.
Question 12. (dy/dx) + y = sinx
Solution:
We have,
(dy/dx) + y = sinx ………..(i)
The given equation is a linear differential equation of the form
(dy/dx) + Py = Q
Where, P = 1, Q = sinx
So, I.F = eâŦPdx
= eâŦdx
= ex
The solution of a differential equation is,
y(I.F) = âŦQ(I.F)dx + c
y(ex ) = âŦsinx.ex dx + c
Let, I = âŦsinx.ex dx
I = ex âŦsinxdx – âŦ{(d/dx)ex âŦsinxdx}dx
I = -ex cos + âŦex cosxdx
I = -ex cosx + ex âŦcosxdx – âŦ{(d/dx)ex âŦcosxdx}dx
I = -ex cosx + ex sinx – âŦex sinxdx
2I = ex (sinx – cosx)
I = (ex /2)(sinx – cosx)
y(ex ) = (ex /2)(sinx – cosx) + c
y = (1/2)(sinx – cosx) + ce-x
This is the required solution.
Question 13. (dy/dx) + y = cosx
Solution :
We have,
(dy/dx) + y = cosx ………..(i)
The given equation is a linear differential equation of the form
(dy/dx) + Py = Q
Where, P = 1, Q = cosx
So, I.F = eâŦPdx
= eâŦdx
= ex
The solution of a differential equation is,
y(I.F) = âŦQ(I.F)dx + c
y(ex ) = âŦcosx.ex dx + c
Let, I = âŦcosx.ex dx
I = ex âŦcosxdx – âŦ{(d/dx)ex âŦcosxdx}dx
I = ex sinx – âŦex sinxdx
I = ex sinx – ex âŦsinxdx + âŦ{(d/dx)ex âŦsinxdx}dx
I = ex sinx + ex cosx – âŦex cosxdx
2I = ex (cosx + sinx)
I = (ex /2)(cosx + sinx)
y(ex ) = (ex /2)(cosx + sinx) + c
y = (1/2)(cosx + sinx) + ce-x
This is the required solution.
Question 14. (dy/dx) + 2y = sinx
Solution:
We have,
(dy/dx) + 2y = sinx ………..(i)
The given equation is a linear differential equation of the form
(dy/dx) + Py = Q
Where, P = 2, Q = sinx
So, I.F = eâŦPdx
= eâŦ2dx
= e2x
The solution of a differential equation is,
y(I.F) = âŦQ(I.F)dx + c
y(e2x ) = âŦsinx.e2x dx + c
Let, I = âŦsinx.e2x dx
I = e2x âŦsinxdx – {(d/dx)e2x âŦsinxdx}dx
I = -e2x cosx + 2âŦe2x cosdx
I = -e2x cosx + 2e2x âŦcosxdx – 2{(d/dx)e2x âŦcosxdx}dx
I = -e2x cosx + 2e2x sinx – 4âŦe2x sinxdx
5I = e2x (2sinx – cosx)
I = (e2x /5)(2sinx – cosx)
y(e2x ) = (e2x /5)(2sinx – cosx) + c
y = (1/5)(2sinx – cosx) + ce-2x
This is the required solution.
Question 15. (dy/dx) – ytanx = -2sinx
Solution:
We have,
(dy/dx) – ytanx = -2sinx ………..(i)
The given equation is a linear differential equation of the form
(dy/dx) + Py = Q
Where, P = -tanx, Q = sinx
So,
I.F = eâŦPdx
= eâŦ-tanxdx
= e-log|secx|
= 1/secx
The solution of a differential equation is,
y(I.F) = âŦQ(I.F)dx + c
y(1/secx) = -2âŦsinx.(1/secx)dx + c
ycosx = -âŦ2sinx.cosxdx + c
ycosx = -âŦsin2xdx + c
ycosx = (cos2x/2) + c
y = (cos2x/cosx) + (c/cosx)
This is the required solution.
Question 16. (1 + x2 )(dy/dx) + y = tan-1 x
Solution:
We have,
(1 + x2 )(dy/dx) + y = tan-1 x
(dy/dx) + [y/(1 + x2 )] = tan-1 x/(1 + x2 ) ………..(i)
The given equation is a linear differential equation of the form
(dy/dx) + Py = Q
Where, P = 1/(1 + x2 ), Q = tan-1 x/(1 + x2 )
So,
I.F = eâŦPdx
The solution of a differential equation is,
y(I.F) = âŦQ(I.F)dx + c
Let, tan-1 x = z
On differentiating both sides we get,
dx/(1 + x2 ) = dz
y(ez ) = âŦzez dz + c
y(ez ) = zâŦez dz – {(dz/dz)âŦez dz}dz
y(ez ) = zez – âŦ ez dz + c
y(ez ) = ez (z – 1) + c
y = (z – 1) + ce-z
This is the required solution.
Question 17. (dy/dx) + ytanx = cosx
Solution:
We have,
(dy/dx) + ytanx = cosx ………..(i)
The given equation is a linear differential equation of the form
(dy/dx) + Py = Q
Where, P = tanx, Q = cosx
So, I.F = eâŦPdx
= eâŦtanxdx
= elog|secx|
= secx
The solution of a differential equation is,
y(I.F) = âŦQ(I.F)dx + c
y.secx = âŦcosx.secxdx + c
y.secx = âŦdx + c
y.secx = x + c
y = xcosx + c.cosx
This is the required solution.
Question 18. (dy/dx) + ycotx = x2 cotx + 2x
Solution:
We have,
(dy/dx) + ycotx = x2 cotx + 2x ………..(i)
The given equation is a linear differential equation of the form
(dy/dx) + Py = Q
Where, P = cotx, Q = x2 cotx + 2x
So,
I.F = eâŦPdx
= eâŦcotxdx
= elog|sinx|
= sinx
The solution of a differential equation is,
y(I.F) = âŦQ(I.F)dx + c
y(sinx) = âŦ(x2 cotx + 2x)sinxdx + c
y(sinx) = âŦ(x2 cosx + 2xsinx)dx + c
y(sinx) = x2 âŦcosxdx – {(d/dx)x2 âŦcosxdx}dx + âŦ2xsinxdx + c
y(sinx) = x2 sinx – âŦ2xsinxdx + âŦ2xsinxdx + c
y(sinx) = x2 sinxdx + c
This is the required solution.
Question 19. (dy/dx) + ytanx = x2 cos2 x
Solution:
We have,
(dy/dx) + ytanx = x2 cos2 x ………..(i)
The given equation is a linear differential equation of the form
(dy/dx) + Py = Q
Where, P = tanx, Q = x2 cos2 x
So,
I.F = eâŦPdx
= eâŦtanxdx
= elog|secx|
= secx
The solution of a differential equation is,
y(I.F) = âŦQ(I.F)dx + c
y(secx) = âŦsecx.(x2 .cos2 x)dx + c
y(secx) = âŦx2 .cosxdx + c
y(secx) = x2 âŦcosxdx – âŦ{(d/dx)x2 âŦcosxdx}dx + c
y(secx) = x2 sinx – 2âŦxsinxdx + c
y(secx) = x2 sinx – 2xâŦsinxdx + 2âŦ{(dx/dx)âŦsinxdx}dx + c
y(secx) = x2 sinx + 2xcosx – 2âŦcosxdx + c
y(secx) = x2 sinx + 2xcosx – 2sinx + c
This is the required solution.
Question 20. (1 + x2 )(dy/dx) + y =
Solution:
We have,
(1 + x2 )(dy/dx) + y =
(dy/dx) + [1/(x2 + 1)]y = /(x2 + 1) ………..(i)
The given equation is a linear differential equation of the form
(dy/dx) + Py = Q
Where, P = 1/(x2 + 1), Q = /(x2 + 1)
So,
I.F = eâŦPdx
=
The solution of a differential equation is,
y(I.F) = âŦQ(I.F)dx + c
y( ) – âŦ[ /(x2 + 1)] dx + c
Let, tan-1 x = z
On differentiating both sides we get
dx/(1 + x2 ) = dz
yez = âŦe2z dz + c
yez = (e2z /2) + c
y = (ez /z) + c.e-z
y = (1/2) + c.
This is the required solution.
Question 21. xdy = (2y + 2x4 + x2 )dx
Solution:
We have,
xdy = (2y + 2x4 + x2 )dx
(dy/dx) = 2(y/x) + 2x3 + x
(dy/dx) – (y/x) = 2x3 + x ………..(i)
The given equation is a linear differential equation of the form
(dy/dx) + Py = Q
Where, P = -(2/x), Q = 2x3 + x
So,
I.F = eâŦPdx
= e-2âŦ(dx/x)
= e-2log(x)
= e2log|1/x|
= 1/x2
The solution of a differential equation is,
y(I.F) = âŦQ(I.F)dx + c
y(1/x2 ) = âŦ(1/x2 ).(2x3 + x)dx + c
(y/x2 ) = âŦ[2x + (1/x)]dx + c
(y/x2 ) = x2 + log|x| + c
y = x4 + x2 log|x| + cx2
This is the required solution.
Question 22. (1 + y2 ) + (x – )(dy/dx) = 0
Solution:
We have,
(1 + y2 ) + (x – )(dy/dx) = 0
(dx/dy) + x/(1 + y2 ) = /(1 + y2 ) ………..(i)
The given equation is a linear differential equation of the form
(dx/dy) + Px = Q
Where, P = 1/(1 + y2 ), Q = /(1 + y2 )
So,
I.F = eâŦPdy
=
The solution of a differential equation is,
x(I.F) = âŦQ(I.F)dy + c
Let, tan-1 y = z
On differentiating both sides we have,
dy/(1 + y2 ) = dz
xez = âŦe2z dz + c
xez = (e2z/2) + c
x = ez /2 + ce-z
This is the required solution.
Question 23. y2 (dx/dy) + x – 1/y = 0
Solution:
We have,
y2 (dx/dy) + x – 1/y = 0
(dx/dy) + (x/y2 ) = 1/y3 ………..(i)
The given equation is a linear differential equation of the form
(dx/dy) + Px = Q
Where, P = 1/y2 , Q = 1/y3
So,
I.F = eâŦPdy
= eâŦdy/y2
= e-(1/y)
The solution of a differential equation is,
x(I.F) = âŦQ(I.F)dy + c
e-(1/y) x = âŦ(1/y3 ).(e-1/y )dy + c
Let,-(1/y) = z
Differentiating both sides we have,
(dy/y2 ) = dz
xez = -âŦzez dz + c
xez = -zâŦez dz + âŦ{(dz/dz)âŦez dz}dz + c
xez = -zez + âŦez dz + c
xez = -zez + ez + c
x = (1 – z) + ce – z
x = [1 + (1/y)] + ce1/y
x = (y + 1)/y + ce1/y
This is the required solution.
Last Updated :
18 Mar, 2021
Like Article
Save Article
Share your thoughts in the comments
Add Your Comment
Please Login to comment...