The Wayback Machine - https://web.archive.org/web/20240303100626/https://www.geeksforgeeks.org/class-12-rd-sharma-solutions-chapter-22-differential-equations-exercise-22-10-set-1/
Open In App
Related Articles

Class 12 RD Sharma Solutions – Chapter 22 Differential Equations – Exercise 22.10 | Set 1

Improve
Improve
Improve
Like Article
Like
Save Article
Save
Report issue
Report

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.e2xdx + 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.e2xdx + c

y(e2x) = (5/4)âˆŦe-xdx + 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.e2xdx + c

y(e2x) = 6âˆŦe3xdx + 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.exdx + c

y(ex) = âˆŦe-xdx + 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.e2xdx + c

y(e2x) = 4xâˆŦe2xdx – 4âˆŦ{(dx/dx)âˆŦe2xdx}dx + c

y(e2x) = 2xe2x – 2âˆŦe2xdx + 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.exdx + c

xy = xâˆŦexdx – {(dx/dx)âˆŦexdx}dx + c

xy = xex – âˆŦexdx + c

xy = xex – ex + c

y=\frac{x-1}{x}e^x+\frac{c}{x}

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

=e^{âˆŦ\frac{4x}{x^2+1}dx}

=e^{2log|x^2+1|}

= (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)2dx + 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(\frac{1}{x})=âˆŦ(\frac{x-1}{x})e^x.(\frac{dx}{x})+c

(y/x) = âˆŦ[(1/x) – (1/x2)]ex + c

Since, âˆŦ[f(x) + f'(x)]exdx = 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 = âˆŦx4dx + 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.exdx + c

Let, I = âˆŦsinx.exdx

I = exâˆŦsinxdx – âˆŦ{(d/dx)exâˆŦsinxdx}dx

I = -excos + âˆŦexcosxdx

I = -excosx + exâˆŦcosxdx – âˆŦ{(d/dx)exâˆŦcosxdx}dx

I = -excosx + exsinx – âˆŦexsinxdx

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.exdx + c

Let, I = âˆŦcosx.exdx

I = exâˆŦcosxdx – âˆŦ{(d/dx)exâˆŦcosxdx}dx

I = exsinx – âˆŦexsinxdx

I = exsinx – exâˆŦsinxdx + âˆŦ{(d/dx)exâˆŦsinxdx}dx

I = exsinx + excosx – âˆŦexcosxdx

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.e2xdx + c

Let, I = âˆŦsinx.e2xdx

I = e2xâˆŦsinxdx – {(d/dx)e2xâˆŦsinxdx}dx

I = -e2xcosx + 2âˆŦe2xcosdx

I = -e2xcosx + 2e2xâˆŦcosxdx – 2{(d/dx)e2xâˆŦcosxdx}dx

I = -e2xcosx + 2e2xsinx – 4âˆŦe2xsinxdx

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-1x

Solution:

We have,

(1 + x2)(dy/dx) + y = tan-1x

(dy/dx) + [y/(1 + x2)] = tan-1x/(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-1x/(1 + x2)

So,

I.F = eâˆŦPdx

=e^{âˆŦ\frac{dx}{1+x^2}}

=e^{tan^{-1}x}

The solution of a differential equation is,

y(I.F) = âˆŦQ(I.F)dx + c

y(e^{tan^{-1}x})=âˆŦ\frac{tan^{-1}x}{1+x^2}e^{tan^{-1}x}dx+c

Let, tan-1x = z

On differentiating both sides we get,

dx/(1 + x2) = dz

y(ez) = âˆŦzezdz + c

y(ez) = zâˆŦezdz – {(dz/dz)âˆŦezdz}dz

y(ez) = zez – âˆŦ ezdz + c

y(ez) = ez(z – 1) + c

y = (z – 1) + ce-z

y=(tan^{-1}x-1)+ce^{tan^{-1}x}

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 = x2cotx + 2x

Solution:

We have,

(dy/dx) + ycotx = x2cotx + 2x ………..(i)

The given equation is a linear differential equation of the form

(dy/dx) + Py = Q

Where, P = cotx, Q = x2cotx + 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) = âˆŦ(x2cotx + 2x)sinxdx + c

y(sinx) = âˆŦ(x2cosx + 2xsinx)dx + c

y(sinx) = x2âˆŦcosxdx – {(d/dx)x2âˆŦcosxdx}dx + âˆŦ2xsinxdx + c

y(sinx) = x2sinx – âˆŦ2xsinxdx + âˆŦ2xsinxdx + c

y(sinx) = x2sinxdx + c

This is the required solution.

Question 19. (dy/dx) + ytanx = x2cos2x

Solution:

We have,

(dy/dx) + ytanx = x2cos2x  ………..(i)

The given equation is a linear differential equation of the form

(dy/dx) + Py = Q

Where, P = tanx, Q = x2cos2x

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.cos2x)dx + c

y(secx) = âˆŦx2.cosxdx + c

y(secx) = x2âˆŦcosxdx – âˆŦ{(d/dx)x2âˆŦcosxdx}dx + c

y(secx) = x2sinx – 2âˆŦxsinxdx + c

y(secx) = x2sinx – 2xâˆŦsinxdx + 2âˆŦ{(dx/dx)âˆŦsinxdx}dx + c

y(secx) = x2sinx + 2xcosx – 2âˆŦcosxdx + c

y(secx) = x2sinx + 2xcosx – 2sinx + c

This is the required solution.

Question 20. (1 + x2)(dy/dx) + y = e^{tan^{-1}x}

Solution:

We have,

(1 + x2)(dy/dx) + y = e^{tan^{-1}x}

(dy/dx) + [1/(x2 + 1)]y = e^{tan^{-1}x}/(x2 + 1)  ………..(i)

The given equation is a linear differential equation of the form

(dy/dx) + Py = Q

Where, P = 1/(x2 + 1), Q = e^{tan^{-1}x}/(x2 + 1)

So,

I.F = eâˆŦPdx

=e^{âˆŦ\frac{1}{x^2+1}dx}

= e^{tan^{-1}x}

The solution of a differential equation is,

y(I.F) = âˆŦQ(I.F)dx + c

y(e^{tan^{-1}x}) – âˆŦ[e^{tan^{-1}x}/(x2 + 1)]e^{tan^{-1}x}dx + c

Let, tan-1x = z

On differentiating both sides we get

dx/(1 + x2) = dz

yez = âˆŦe2zdz + c

yez = (e2z/2) + c

y = (ez/z) + c.e-z

y = (1/2)e^{tan^{-1}x} + c.e^{tan^{-1}x}

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 + x2log|x| + cx2

This is the required solution.

Question 22. (1 + y2) + (x – e^{tan^{-1}y})(dy/dx) = 0

Solution:

We have,

(1 + y2) + (x – e^{tan^{-1}y})(dy/dx) = 0

\frac{dy}{dx}=-\frac{1+y^2}{x-e^{tan^{-1}}x}

\frac{dx}{dy}=-\frac{x-e^{tan^{-1}}x}{1+y^2}

(dx/dy) + x/(1 + y2) = e^{tan^{-1}y}/(1 + y2)  ………..(i)

The given equation is a linear differential equation of the form

(dx/dy) + Px = Q

Where, P = 1/(1 + y2), Q = e^{tan^{-1}y}/(1 + y2)

So,

I.F = eâˆŦPdy

e^{âˆŦ\frac{dy}{1+y^2}}

= e^{tan^{-1}y}

The solution of a differential equation is,

x(I.F) = âˆŦQ(I.F)dy + c

x(e^{tan^{-1}y})=âˆŦ(e^{tan^{-1}y})(\frac{e^{tan^{-1}y}}{1+y^2})dy+c

Let, tan-1y = z

On differentiating both sides we have,

dy/(1 + y2) = dz

xez = âˆŦe2zdz + c

xez = (e2z/2) + c

x = ez/2 + ce-z

x=\frac{e^{tan^{-1}y}}{2}+c.e^{tan^{-1}y}

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 = -âˆŦzezdz + c

xez = -zâˆŦezdz + âˆŦ{(dz/dz)âˆŦezdz}dz + c

xez = -zez + âˆŦezdz + 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
Previous
Next
Share your thoughts in the comments
Similar Reads