Skip to main content
Chapter 6 of 13
NCERT Solutions

Differential Equations

Assam Board · Class 12 · Mathematics

NCERT Solutions for Differential Equations — Assam Board Class 12 Mathematics.

35 questions20 flashcards5 concepts

Interactive on Super Tutor

Studying Differential Equations? Get the full interactive chapter.

Quizzes, flashcards, AI doubt-solver and a step-by-step study plan — built for ncert solutions and more.

1,000+ Class 12 students started this chapter today

A diagram illustrating the components of a differential equation, showing independent variable, dependent variable, and derivatives. Examples of Ordinary Differential Equations (ODEs) are included.
Super Tutor

Super Tutor has 8+ illustrations like this for Differential Equations alone — flashcards, concept maps, and step-by-step visuals.

See them all
98 Questions Solved · 6 Sections

Exercise 9.1

1Determine order and degree (if defined) of the differential equation: d4ydx4+sin(y)=0\frac{d^4y}{dx^4} + \sin(y''') = 0Show solution
Given: d4ydx4+sin(y)=0\dfrac{d^4y}{dx^4} + \sin(y''') = 0

Order: The highest order derivative present is d4ydx4\dfrac{d^4y}{dx^4} (i.e., the 4th derivative), so the order is 4.

Degree: The equation contains sin(y)\sin(y'''), which is a transcendental (non-polynomial) function of the derivative yy'''. Therefore, the equation is not a polynomial in its derivatives.

Degree is not defined.
2Determine order and degree (if defined) of the differential equation: y+5y=0y' + 5y = 0Show solution
Given: y+5y=0y' + 5y = 0

Order: The highest order derivative present is y=dydxy' = \dfrac{dy}{dx}, so the order is 1.

Degree: The equation is a polynomial in yy' and the highest power of yy' is 1.

Degree is 1.
3Determine order and degree (if defined) of the differential equation: (dsdt)4+3sd2sdt2=0\left(\frac{ds}{dt}\right)^4 + 3s\frac{d^2s}{dt^2} = 0Show solution
Given: (dsdt)4+3sd2sdt2=0\left(\dfrac{ds}{dt}\right)^4 + 3s\dfrac{d^2s}{dt^2} = 0

Order: The highest order derivative present is d2sdt2\dfrac{d^2s}{dt^2}, so the order is 2.

Degree: The equation is a polynomial in d2sdt2\dfrac{d^2s}{dt^2} and dsdt\dfrac{ds}{dt}. The highest power of the highest order derivative d2sdt2\dfrac{d^2s}{dt^2} is 1.

Degree is 1.
4Determine order and degree (if defined) of the differential equation: (d2ydx2)2+cos(dydx)=0\left(\frac{d^2y}{dx^2}\right)^2 + \cos\left(\frac{dy}{dx}\right) = 0Show solution
Given: (d2ydx2)2+cos(dydx)=0\left(\dfrac{d^2y}{dx^2}\right)^2 + \cos\left(\dfrac{dy}{dx}\right) = 0

Order: The highest order derivative present is d2ydx2\dfrac{d^2y}{dx^2}, so the order is 2.

Degree: The equation contains cos(dydx)\cos\left(\dfrac{dy}{dx}\right), which is a transcendental function of the derivative dydx\dfrac{dy}{dx}. Therefore, the equation is not a polynomial in its derivatives.

Degree is not defined.
5Determine order and degree (if defined) of the differential equation: d2ydx2=cos3x+sin3x\frac{d^2y}{dx^2} = \cos 3x + \sin 3xShow solution
Given: d2ydx2=cos3x+sin3x\dfrac{d^2y}{dx^2} = \cos 3x + \sin 3x

Order: The highest order derivative present is d2ydx2\dfrac{d^2y}{dx^2}, so the order is 2.

Degree: The equation is a polynomial in d2ydx2\dfrac{d^2y}{dx^2} and the highest power of d2ydx2\dfrac{d^2y}{dx^2} is 1.

Degree is 1.
6Determine order and degree (if defined) of the differential equation: (y)2+(y)3+(y)4+y5=0(y''')^2 + (y'')^3 + (y')^4 + y^5 = 0Show solution
Given: (y)2+(y)3+(y)4+y5=0(y''')^2 + (y'')^3 + (y')^4 + y^5 = 0

Order: The highest order derivative present is yy''' (3rd derivative), so the order is 3.

Degree: The equation is a polynomial in yy''', yy'', yy'. The highest power of the highest order derivative yy''' is 2.

Degree is 2.
7Determine order and degree (if defined) of the differential equation: y+2y+y=0y''' + 2y'' + y' = 0Show solution
Given: y+2y+y=0y''' + 2y'' + y' = 0

Order: The highest order derivative present is yy''' (3rd derivative), so the order is 3.

Degree: The equation is a polynomial in yy''', yy'', yy' and the highest power of yy''' is 1.

Degree is 1.
8Determine order and degree (if defined) of the differential equation: y+y=exy' + y = e^xShow solution
Given: y+y=exy' + y = e^x

Order: The highest order derivative present is y=dydxy' = \dfrac{dy}{dx}, so the order is 1.

Degree: The equation is a polynomial in yy' and the highest power of yy' is 1.

Degree is 1.
9Determine order and degree (if defined) of the differential equation: y+(y)2+2y=0y'' + (y')^2 + 2y = 0Show solution
Given: y+(y)2+2y=0y'' + (y')^2 + 2y = 0

Order: The highest order derivative present is yy'' (2nd derivative), so the order is 2.

Degree: The equation is a polynomial in yy'' and yy'. The highest power of the highest order derivative yy'' is 1.

Degree is 1.
10Determine order and degree (if defined) of the differential equation: y+2y+siny=0y'' + 2y' + \sin y = 0Show solution
Given: y+2y+siny=0y'' + 2y' + \sin y = 0

Order: The highest order derivative present is yy'' (2nd derivative), so the order is 2.

Degree: The equation is a polynomial in yy'' and yy'. The term siny\sin y involves yy (the dependent variable), not a derivative, so it does not affect the polynomial nature in derivatives. The highest power of yy'' is 1.

Degree is 1.
11The degree of the differential equation (d2ydx2)3+(dydx)2+sin(dydx)+1=0\left(\frac{d^2y}{dx^2}\right)^3 + \left(\frac{dy}{dx}\right)^2 + \sin\left(\frac{dy}{dx}\right) + 1 = 0 is: (A) 3, (B) 2, (C) 1, (D) not definedShow solution
Correct Option: (D) not defined

Justification: The equation contains the term sin(dydx)\sin\left(\dfrac{dy}{dx}\right), which is a transcendental (non-polynomial) function of the derivative dydx\dfrac{dy}{dx}. Since the equation is not a polynomial in its derivatives, the degree is not defined.
12The order of the differential equation 2x2d2ydx23dydx+y=02x^2\frac{d^2y}{dx^2} - 3\frac{dy}{dx} + y = 0 is: (A) 2, (B) 1, (C) 0, (D) not definedShow solution
Correct Option: (A) 2

Justification: The highest order derivative present in the equation is d2ydx2\dfrac{d^2y}{dx^2} (2nd order derivative). Therefore, the order of the differential equation is 2.

Exercise 9.2

1Verify that y=ex+1y = e^x + 1 is a solution of the differential equation yy=0y'' - y' = 0.Show solution
Given: y=ex+1y = e^x + 1

Differentiating once: y=exy' = e^x

Differentiating again: y=exy'' = e^x

Substituting in the differential equation:
yy=exex=0=R.H.S.y'' - y' = e^x - e^x = 0 = \text{R.H.S.}

Hence, y=ex+1y = e^x + 1 is a solution of yy=0y'' - y' = 0. ✓
2Verify that y=x2+2x+Cy = x^2 + 2x + C is a solution of the differential equation y2x2=0y' - 2x - 2 = 0.Show solution
Given: y=x2+2x+Cy = x^2 + 2x + C

Differentiating: y=2x+2y' = 2x + 2

Substituting in the differential equation:
y2x2=(2x+2)2x2=0=R.H.S.y' - 2x - 2 = (2x + 2) - 2x - 2 = 0 = \text{R.H.S.}

Hence, y=x2+2x+Cy = x^2 + 2x + C is a solution of y2x2=0y' - 2x - 2 = 0. ✓
3Verify that y=cosx+Cy = \cos x + C is a solution of the differential equation y+sinx=0y' + \sin x = 0.Show solution
Given: y=cosx+Cy = \cos x + C

Differentiating: y=sinxy' = -\sin x

Substituting in the differential equation:
y+sinx=sinx+sinx=0=R.H.S.y' + \sin x = -\sin x + \sin x = 0 = \text{R.H.S.}

Hence, y=cosx+Cy = \cos x + C is a solution of y+sinx=0y' + \sin x = 0. ✓
4Verify that y=1+x2y = \sqrt{1+x^2} is a solution of the differential equation y=xy1+x2y' = \frac{xy}{1+x^2}.Show solution
Given: y=1+x2=(1+x2)1/2y = \sqrt{1+x^2} = (1+x^2)^{1/2}

Differentiating:
y=12(1+x2)1/22x=x1+x2y' = \frac{1}{2}(1+x^2)^{-1/2} \cdot 2x = \frac{x}{\sqrt{1+x^2}}

R.H.S.:
xy1+x2=x1+x21+x2=x1+x2\frac{xy}{1+x^2} = \frac{x \cdot \sqrt{1+x^2}}{1+x^2} = \frac{x}{\sqrt{1+x^2}}

Since L.H.S. == R.H.S., y=1+x2y = \sqrt{1+x^2} is a solution. ✓
5Verify that y=Axy = Ax is a solution of the differential equation xy=yxy' = y (x0)(x \neq 0).Show solution
Given: y=Axy = Ax

Differentiating: y=Ay' = A

Substituting in the differential equation:
xy=xA=Ax=y=R.H.S.xy' = x \cdot A = Ax = y = \text{R.H.S.}

Hence, y=Axy = Ax is a solution of xy=yxy' = y. ✓
6Verify that y=xsinxy = x\sin x is a solution of the differential equation xy=y+xx2y2xy' = y + x\sqrt{x^2 - y^2} (x0(x \neq 0 and x > y or x < -y).Show solution
Given: y=xsinxy = x\sin x

Differentiating: y=sinx+xcosxy' = \sin x + x\cos x

L.H.S.: xy=x(sinx+xcosx)=xsinx+x2cosxxy' = x(\sin x + x\cos x) = x\sin x + x^2\cos x

R.H.S.: y+xx2y2y + x\sqrt{x^2 - y^2}

Now, y2=x2sin2xy^2 = x^2\sin^2 x, so:
x2y2=x2x2sin2x=x2(1sin2x)=x2cos2xx^2 - y^2 = x^2 - x^2\sin^2 x = x^2(1 - \sin^2 x) = x^2\cos^2 x
\sqrt{x^2 - y^2} = |x\cos x| = x\cos x \quad (\text{assuming } x\cos x > 0)

Therefore:
y+xx2y2=xsinx+xxcosx=xsinx+x2cosxy + x\sqrt{x^2 - y^2} = x\sin x + x \cdot x\cos x = x\sin x + x^2\cos x

L.H.S. == R.H.S. ✓
7Verify that xy=logy+Cxy = \log y + C is a solution of the differential equation y=y21xyy' = \frac{y^2}{1-xy} (xy1)(xy \neq 1).Show solution
Given: xy=logy+Cxy = \log y + C

Differentiating both sides with respect to xx:
y+xdydx=1ydydxy + x\frac{dy}{dx} = \frac{1}{y}\frac{dy}{dx}

y=dydx(1yx)=dydx1xyyy = \frac{dy}{dx}\left(\frac{1}{y} - x\right) = \frac{dy}{dx}\cdot\frac{1-xy}{y}

dydx=y21xy\frac{dy}{dx} = \frac{y^2}{1-xy}

This is exactly the given differential equation. Hence verified. ✓
8Verify that ycosy=xy - \cos y = x is a solution of the differential equation (ysiny+cosy+x)y=y(y\sin y + \cos y + x)y' = y.Show solution
Given: ycosy=xy - \cos y = x

Differentiating both sides with respect to xx:
dydx+sinydydx=1\frac{dy}{dx} + \sin y \cdot \frac{dy}{dx} = 1
dydx(1+siny)=1\frac{dy}{dx}(1 + \sin y) = 1
dydx=11+siny\frac{dy}{dx} = \frac{1}{1 + \sin y}

Now check L.H.S. of the differential equation:
(ysiny+cosy+x)y(y\sin y + \cos y + x)y'

Since x=ycosyx = y - \cos y:
ysiny+cosy+x=ysiny+cosy+ycosy=ysiny+y=y(1+siny)y\sin y + \cos y + x = y\sin y + \cos y + y - \cos y = y\sin y + y = y(1 + \sin y)

Therefore:
(ysiny+cosy+x)y=y(1+siny)11+siny=y=R.H.S.(y\sin y + \cos y + x)y' = y(1+\sin y) \cdot \frac{1}{1+\sin y} = y = \text{R.H.S.}

Hence verified. ✓
9Verify that x+y=tan1yx + y = \tan^{-1}y is a solution of the differential equation y2y+y2+1=0y^2y' + y^2 + 1 = 0.Show solution
Given: x+y=tan1yx + y = \tan^{-1}y

Differentiating both sides with respect to xx:
1+dydx=11+y2dydx1 + \frac{dy}{dx} = \frac{1}{1+y^2}\cdot\frac{dy}{dx}

1=dydx(11+y21)=dydx1(1+y2)1+y2=dydxy21+y21 = \frac{dy}{dx}\left(\frac{1}{1+y^2} - 1\right) = \frac{dy}{dx}\cdot\frac{1 - (1+y^2)}{1+y^2} = \frac{dy}{dx}\cdot\frac{-y^2}{1+y^2}

dydx=(1+y2)y2\frac{dy}{dx} = \frac{-(1+y^2)}{y^2}

Substituting in the differential equation y2y+y2+1=0y^2y' + y^2 + 1 = 0:
y2(1+y2)y2+y2+1=(1+y2)+y2+1=1y2+y2+1=0=R.H.S.y^2 \cdot \frac{-(1+y^2)}{y^2} + y^2 + 1 = -(1+y^2) + y^2 + 1 = -1 - y^2 + y^2 + 1 = 0 = \text{R.H.S.}

Hence verified. ✓
10Verify that y=a2x2, x(a,a)y = \sqrt{a^2 - x^2},\ x \in (-a,a) is a solution of the differential equation x+ydydx=0x + y\frac{dy}{dx} = 0 (y0)(y \neq 0).Show solution
Given: y=a2x2y = \sqrt{a^2 - x^2}

Differentiating:
dydx=2x2a2x2=xa2x2=xy\frac{dy}{dx} = \frac{-2x}{2\sqrt{a^2-x^2}} = \frac{-x}{\sqrt{a^2-x^2}} = \frac{-x}{y}

Substituting in the differential equation:
x+ydydx=x+yxy=xx=0=R.H.S.x + y\frac{dy}{dx} = x + y \cdot \frac{-x}{y} = x - x = 0 = \text{R.H.S.}

Hence verified. ✓
11The number of arbitrary constants in the general solution of a differential equation of fourth order are: (A) 0, (B) 2, (C) 3, (D) 4Show solution
Correct Option: (D) 4

Justification: The general solution of a differential equation of order nn contains exactly nn arbitrary constants. For a fourth order differential equation, the general solution contains 4 arbitrary constants.
12The number of arbitrary constants in the particular solution of a differential equation of third order are: (A) 3, (B) 2, (C) 1, (D) 0Show solution
Correct Option: (D) 0

Justification: A particular solution is obtained from the general solution by assigning specific values to all arbitrary constants. Therefore, a particular solution contains no arbitrary constants, regardless of the order of the differential equation.

Exercise 9.3

1Find the general solution of the differential equation dydx=1cosx1+cosx\frac{dy}{dx} = \frac{1-\cos x}{1+\cos x}.Show solution
Given: dydx=1cosx1+cosx\dfrac{dy}{dx} = \dfrac{1-\cos x}{1+\cos x}

Using identities: 1cosx=2sin2x21 - \cos x = 2\sin^2\dfrac{x}{2} and 1+cosx=2cos2x21 + \cos x = 2\cos^2\dfrac{x}{2}

dydx=2sin2x22cos2x2=tan2x2=sec2x21\frac{dy}{dx} = \frac{2\sin^2\frac{x}{2}}{2\cos^2\frac{x}{2}} = \tan^2\frac{x}{2} = \sec^2\frac{x}{2} - 1

Separating variables and integrating:
dy=(sec2x21)dxdy = \left(\sec^2\frac{x}{2} - 1\right)dx

dy=(sec2x21)dx\int dy = \int\left(\sec^2\frac{x}{2} - 1\right)dx

y=tanx212x+Cy = \frac{\tan\frac{x}{2}}{\frac{1}{2}} - x + C

y=2tanx2x+C\boxed{y = 2\tan\frac{x}{2} - x + C}
2Find the general solution of the differential equation dydx=4y2\frac{dy}{dx} = \sqrt{4-y^2} (-2 < y < 2).Show solution
Given: dydx=4y2\dfrac{dy}{dx} = \sqrt{4-y^2}

Separating variables:
dy4y2=dx\frac{dy}{\sqrt{4-y^2}} = dx

Integrating both sides:
dy4y2=dx\int\frac{dy}{\sqrt{4-y^2}} = \int dx

sin1y2=x+C\sin^{-1}\frac{y}{2} = x + C

sin1y2=x+Cory=2sin(x+C)\boxed{\sin^{-1}\frac{y}{2} = x + C} \quad \text{or} \quad y = 2\sin(x+C)
3Find the general solution of the differential equation dydx+y=1\frac{dy}{dx} + y = 1 (y1)(y \neq 1).Show solution
Given: dydx+y=1\dfrac{dy}{dx} + y = 1, i.e., dydx=1y\dfrac{dy}{dx} = 1 - y

Separating variables:
dy1y=dx\frac{dy}{1-y} = dx

Integrating both sides:
dy1y=dx\int\frac{dy}{1-y} = \int dx

log1y=x+C1-\log|1-y| = x + C_1

log1y=xC1\log|1-y| = -x - C_1

1y=exC1=eC1ex|1-y| = e^{-x-C_1} = e^{-C_1}\cdot e^{-x}

1y=±eC1ex=Aex(where A=±eC1)1 - y = \pm e^{-C_1}\cdot e^{-x} = Ae^{-x} \quad (\text{where } A = \pm e^{-C_1})

y=1Aex\boxed{y = 1 - Ae^{-x}}

or equivalently y=1+Cexy = 1 + Ce^{-x} where CC is an arbitrary constant.
4Find the general solution of the differential equation sec2xtanydx+sec2ytanxdy=0\sec^2 x \tan y\, dx + \sec^2 y \tan x\, dy = 0.Show solution
Given: sec2xtanydx+sec2ytanxdy=0\sec^2 x \tan y\, dx + \sec^2 y \tan x\, dy = 0

Separating variables (dividing by tanxtany\tan x \tan y):
sec2xtanxdx+sec2ytanydy=0\frac{\sec^2 x}{\tan x}dx + \frac{\sec^2 y}{\tan y}dy = 0

Integrating both sides:
sec2xtanxdx+sec2ytanydy=0\int\frac{\sec^2 x}{\tan x}dx + \int\frac{\sec^2 y}{\tan y}dy = 0

Let tanx=usec2xdx=du\tan x = u \Rightarrow \sec^2 x\, dx = du for the first integral, and similarly for the second:
logtanx+logtany=logC\log|\tan x| + \log|\tan y| = \log C

logtanxtany=logC\log|\tan x \cdot \tan y| = \log C

tanxtany=C\boxed{\tan x \cdot \tan y = C}
5Find the general solution of the differential equation (ex+ex)dy(exex)dx=0(e^x + e^{-x})dy - (e^x - e^{-x})dx = 0.Show solution
Given: (ex+ex)dy=(exex)dx(e^x + e^{-x})dy = (e^x - e^{-x})dx

Separating variables:
dy=exexex+exdxdy = \frac{e^x - e^{-x}}{e^x + e^{-x}}dx

Integrating both sides:
dy=exexex+exdx\int dy = \int\frac{e^x - e^{-x}}{e^x + e^{-x}}dx

Note that the numerator is the derivative of the denominator:
y=logex+ex+Cy = \log|e^x + e^{-x}| + C

y=log(ex+ex)+C\boxed{y = \log(e^x + e^{-x}) + C}

(Since e^x + e^{-x} > 0, absolute value is not needed.)
6Find the general solution of the differential equation dydx=(1+x2)(1+y2)\frac{dy}{dx} = (1+x^2)(1+y^2).Show solution
Given: dydx=(1+x2)(1+y2)\dfrac{dy}{dx} = (1+x^2)(1+y^2)

Separating variables:
dy1+y2=(1+x2)dx\frac{dy}{1+y^2} = (1+x^2)dx

Integrating both sides:
dy1+y2=(1+x2)dx\int\frac{dy}{1+y^2} = \int(1+x^2)dx

tan1y=x+x33+C\tan^{-1}y = x + \frac{x^3}{3} + C

tan1y=x+x33+C\boxed{\tan^{-1}y = x + \frac{x^3}{3} + C}
7Find the general solution of the differential equation ylogydxxdy=0y\log y\, dx - x\, dy = 0.Show solution
Given: ylogydx=xdyy\log y\, dx = x\, dy

Separating variables:
dxx=dyylogy\frac{dx}{x} = \frac{dy}{y\log y}

Integrating both sides:
dxx=dyylogy\int\frac{dx}{x} = \int\frac{dy}{y\log y}

For the right side, let logy=t1ydy=dt\log y = t \Rightarrow \dfrac{1}{y}dy = dt:
logx=dtt=logt=loglogy\log|x| = \int\frac{dt}{t} = \log|t| = \log|\log y|

logx=loglogy+logC\log|x| = \log|\log y| + \log C

logx=logClogy\log|x| = \log|C\log y|

x=Clogy\boxed{x = C\log y}
8Find the general solution of the differential equation x5dydx=y5x^5\frac{dy}{dx} = -y^5.Show solution
Given: x5dydx=y5x^5\dfrac{dy}{dx} = -y^5

Separating variables:
dyy5=dxx5\frac{dy}{y^5} = -\frac{dx}{x^5}

y5dy=x5dxy^{-5}dy = -x^{-5}dx

Integrating both sides:
y5dy=x5dx\int y^{-5}dy = -\int x^{-5}dx

y44=x44+C1\frac{y^{-4}}{-4} = -\frac{x^{-4}}{-4} + C_1

14y4=14x4+C1-\frac{1}{4y^4} = \frac{1}{4x^4} + C_1

Multiplying by 4-4:
1y4=1x4+C(C=4C1)\frac{1}{y^4} = -\frac{1}{x^4} + C \quad (C = -4C_1)

x4+y4=C\boxed{x^{-4} + y^{-4} = C}
9Find the general solution of the differential equation dydx=sin1x\frac{dy}{dx} = \sin^{-1}x.Show solution
Given: dydx=sin1x\dfrac{dy}{dx} = \sin^{-1}x

Separating variables:
dy=sin1xdxdy = \sin^{-1}x\, dx

Integrating both sides:
y=sin1xdxy = \int \sin^{-1}x\, dx

Using integration by parts: u=sin1xu = \sin^{-1}x, dv=dxdv = dx
dudx=11x2,v=x\frac{du}{dx} = \frac{1}{\sqrt{1-x^2}}, \quad v = x

y=xsin1xx1x2dxy = x\sin^{-1}x - \int\frac{x}{\sqrt{1-x^2}}dx

For x1x2dx\displaystyle\int\frac{x}{\sqrt{1-x^2}}dx: let 1x2=t2xdx=dt1-x^2 = t \Rightarrow -2x\,dx = dt
x1x2dx=12t1/2dt=t=1x2\int\frac{x}{\sqrt{1-x^2}}dx = -\frac{1}{2}\int t^{-1/2}dt = -\sqrt{t} = -\sqrt{1-x^2}

Therefore:
y=xsin1x(1x2)+Cy = x\sin^{-1}x - (-\sqrt{1-x^2}) + C

y=xsin1x+1x2+C\boxed{y = x\sin^{-1}x + \sqrt{1-x^2} + C}
10Find the general solution of the differential equation extanydx+(1ex)sec2ydy=0e^x\tan y\, dx + (1-e^x)\sec^2 y\, dy = 0.Show solution
Given: extanydx+(1ex)sec2ydy=0e^x\tan y\, dx + (1-e^x)\sec^2 y\, dy = 0

Separating variables (dividing by tany(1ex)\tan y(1-e^x)):
ex1exdx+sec2ytanydy=0\frac{e^x}{1-e^x}dx + \frac{\sec^2 y}{\tan y}dy = 0

Integrating both sides:
ex1exdx+sec2ytanydy=0\int\frac{e^x}{1-e^x}dx + \int\frac{\sec^2 y}{\tan y}dy = 0

For the first integral, let 1ex=texdx=dt1-e^x = t \Rightarrow -e^x dx = dt:
ex1exdx=dtt=logt=log1ex\int\frac{e^x}{1-e^x}dx = -\int\frac{dt}{t} = -\log|t| = -\log|1-e^x|

For the second integral, let tany=usec2ydy=du\tan y = u \Rightarrow \sec^2 y\, dy = du:
sec2ytanydy=logtany\int\frac{\sec^2 y}{\tan y}dy = \log|\tan y|

Therefore:
log1ex+logtany=logC-\log|1-e^x| + \log|\tan y| = \log C

logtany1ex=logC\log\left|\frac{\tan y}{1-e^x}\right| = \log C

tany=C(1ex)\boxed{\tan y = C(1-e^x)}
11Find the particular solution of (x3+x2+x+1)dydx=2x2+x(x^3+x^2+x+1)\frac{dy}{dx} = 2x^2+x; y=1y=1 when x=0x=0.Show solution
Given: (x3+x2+x+1)dydx=2x2+x(x^3+x^2+x+1)\dfrac{dy}{dx} = 2x^2+x

Separating variables:
dy=2x2+xx3+x2+x+1dxdy = \frac{2x^2+x}{x^3+x^2+x+1}dx

Factoring the denominator:
x3+x2+x+1=x2(x+1)+(x+1)=(x2+1)(x+1)x^3+x^2+x+1 = x^2(x+1)+(x+1) = (x^2+1)(x+1)

Partial fractions:
2x2+x(x2+1)(x+1)=Ax+1+Bx+Dx2+1\frac{2x^2+x}{(x^2+1)(x+1)} = \frac{A}{x+1} + \frac{Bx+D}{x^2+1}

2x2+x=A(x2+1)+(Bx+D)(x+1)2x^2+x = A(x^2+1) + (Bx+D)(x+1)

Setting x=1x = -1: 21=A(2)A=122-1 = A(2) \Rightarrow A = \dfrac{1}{2}

Expanding: 2x2+x=Ax2+A+Bx2+Bx+Dx+D2x^2+x = Ax^2+A+Bx^2+Bx+Dx+D

Comparing x2x^2: 2=A+BB=212=322 = A+B \Rightarrow B = 2 - \dfrac{1}{2} = \dfrac{3}{2}

Comparing constant: 0=A+DD=120 = A+D \Rightarrow D = -\dfrac{1}{2}

Comparing xx: 1=B+D=3212=11 = B+D = \dfrac{3}{2} - \dfrac{1}{2} = 1

Integrating:
y=[1/2x+1+32x12x2+1]dxy = \int\left[\frac{1/2}{x+1} + \frac{\frac{3}{2}x - \frac{1}{2}}{x^2+1}\right]dx

y=12logx+1+34log(x2+1)12tan1x+Cy = \frac{1}{2}\log|x+1| + \frac{3}{4}\log(x^2+1) - \frac{1}{2}\tan^{-1}x + C

Applying condition y=1y=1 when x=0x=0:
1=12log1+34log1120+CC=11 = \frac{1}{2}\log 1 + \frac{3}{4}\log 1 - \frac{1}{2}\cdot 0 + C \Rightarrow C = 1

Particular solution:
y=12logx+1+34log(x2+1)12tan1x+1\boxed{y = \frac{1}{2}\log|x+1| + \frac{3}{4}\log(x^2+1) - \frac{1}{2}\tan^{-1}x + 1}
12Find the particular solution of x(x21)dydx=1x(x^2-1)\frac{dy}{dx} = 1; y=0y=0 when x=2x=2.Show solution
Given: x(x21)dydx=1x(x^2-1)\dfrac{dy}{dx} = 1

Separating variables:
dy=dxx(x21)=dxx(x1)(x+1)dy = \frac{dx}{x(x^2-1)} = \frac{dx}{x(x-1)(x+1)}

Partial fractions:
1x(x1)(x+1)=Ax+Bx1+Cx+1\frac{1}{x(x-1)(x+1)} = \frac{A}{x} + \frac{B}{x-1} + \frac{C}{x+1}

x=0x=0: 1=A(1)(1)A=11 = A(-1)(1) \Rightarrow A = -1

x=1x=1: 1=B(1)(2)B=121 = B(1)(2) \Rightarrow B = \dfrac{1}{2}

x=1x=-1: 1=C(1)(2)C=121 = C(-1)(-2) \Rightarrow C = \dfrac{1}{2}

Integrating:
y=logx+12logx1+12logx+1+Ky = -\log|x| + \frac{1}{2}\log|x-1| + \frac{1}{2}\log|x+1| + K

y=12log(x1)(x+1)logx+K=12logx21x2+Ky = \frac{1}{2}\log|(x-1)(x+1)| - \log|x| + K = \frac{1}{2}\log\left|\frac{x^2-1}{x^2}\right| + K

Applying condition y=0y=0 when x=2x=2:
0=12log34+KK=12log34=12log430 = \frac{1}{2}\log\left|\frac{3}{4}\right| + K \Rightarrow K = -\frac{1}{2}\log\frac{3}{4} = \frac{1}{2}\log\frac{4}{3}

Particular solution:
y=12logx21x2+12log43y = \frac{1}{2}\log\left|\frac{x^2-1}{x^2}\right| + \frac{1}{2}\log\frac{4}{3}

y=12log4(x21)3x2\boxed{y = \frac{1}{2}\log\left|\frac{4(x^2-1)}{3x^2}\right|}
13Find the particular solution of cos(dydx)=a\cos\left(\frac{dy}{dx}\right) = a (aR)(a \in \mathbf{R}); y=1y=1 when x=0x=0.Show solution
Given: cos(dydx)=a\cos\left(\dfrac{dy}{dx}\right) = a

dydx=cos1a\frac{dy}{dx} = \cos^{-1}a

Since aa is a constant, cos1a\cos^{-1}a is also a constant. Let cos1a=k\cos^{-1}a = k.

Separating variables:
dy=kdxdy = k\, dx

Integrating:
y=kx+C=xcos1a+Cy = kx + C = x\cos^{-1}a + C

Applying condition y=1y=1 when x=0x=0:
1=0+CC=11 = 0 + C \Rightarrow C = 1

Particular solution:
y=xcos1a+1\boxed{y = x\cos^{-1}a + 1}
14Find the particular solution of dydx=ytanx\frac{dy}{dx} = y\tan x; y=1y=1 when x=0x=0.Show solution
Given: dydx=ytanx\dfrac{dy}{dx} = y\tan x

Separating variables:
dyy=tanxdx\frac{dy}{y} = \tan x\, dx

Integrating both sides:
logy=logsecx+logC\log|y| = \log|\sec x| + \log C

y=Csecx|y| = C|\sec x|

y=Csecxy = C\sec x

Applying condition y=1y=1 when x=0x=0:
1=Csec0=C1C=11 = C\sec 0 = C \cdot 1 \Rightarrow C = 1

Particular solution:
y=secx\boxed{y = \sec x}
15Find the equation of a curve passing through the point (0,0)(0,0) and whose differential equation is y=exsinxy' = e^x\sin x.Show solution
Given: dydx=exsinx\dfrac{dy}{dx} = e^x\sin x, passing through (0,0)(0,0).

Integrating:
y=exsinxdxy = \int e^x\sin x\, dx

Using integration by parts twice:
I=exsinxdxI = \int e^x\sin x\, dx
I=exsinxexcosxdxI = e^x\sin x - \int e^x\cos x\, dx
I=exsinx[excosx+exsinxdx]I = e^x\sin x - \left[e^x\cos x + \int e^x\sin x\, dx\right]
I=exsinxexcosxII = e^x\sin x - e^x\cos x - I
2I=ex(sinxcosx)2I = e^x(\sin x - \cos x)
I=ex(sinxcosx)2I = \frac{e^x(\sin x - \cos x)}{2}

So: y=ex(sinxcosx)2+Cy = \dfrac{e^x(\sin x - \cos x)}{2} + C

Applying condition y=0y=0 when x=0x=0:
0=e0(01)2+C=12+CC=120 = \frac{e^0(0-1)}{2} + C = -\frac{1}{2} + C \Rightarrow C = \frac{1}{2}

Equation of the curve:
y=ex(sinxcosx)2+12=ex(sinxcosx)+12\boxed{y = \frac{e^x(\sin x - \cos x)}{2} + \frac{1}{2} = \frac{e^x(\sin x - \cos x) + 1}{2}}
16For the differential equation xydydx=(x+2)(y+2)xy\frac{dy}{dx} = (x+2)(y+2), find the solution curve passing through the point (1,1)(1,-1).Show solution
Given: xydydx=(x+2)(y+2)xy\dfrac{dy}{dx} = (x+2)(y+2)

Separating variables:
yy+2dy=x+2xdx\frac{y}{y+2}dy = \frac{x+2}{x}dx

(12y+2)dy=(1+2x)dx\left(1 - \frac{2}{y+2}\right)dy = \left(1 + \frac{2}{x}\right)dx

Integrating both sides:
y2logy+2=x+2logx+Cy - 2\log|y+2| = x + 2\log|x| + C

Applying condition (1,1)(1,-1):
12log1=1+2log1+C-1 - 2\log|1| = 1 + 2\log|1| + C
10=1+0+CC=2-1 - 0 = 1 + 0 + C \Rightarrow C = -2

Equation of the curve:
y2logy+2=x+2logx2y - 2\log|y+2| = x + 2\log|x| - 2

yx+2=2logx(y+2)\boxed{y - x + 2 = 2\log|x(y+2)|}
17Find the equation of a curve passing through the point (0,2)(0,-2) given that at any point (x,y)(x,y) on the curve, the product of the slope of its tangent and yy coordinate of the point is equal to the xx coordinate of the point.Show solution
Given condition: ydydx=xy\dfrac{dy}{dx} = x, passing through (0,2)(0,-2).

Separating variables:
ydy=xdxy\, dy = x\, dx

Integrating both sides:
y22=x22+C\frac{y^2}{2} = \frac{x^2}{2} + C

y2=x2+2Cy^2 = x^2 + 2C

Applying condition (0,2)(0,-2):
(2)2=0+2C4=2CC=2(-2)^2 = 0 + 2C \Rightarrow 4 = 2C \Rightarrow C = 2

Equation of the curve:
y2=x2+4\boxed{y^2 = x^2 + 4}
18At any point (x,y)(x,y) of a curve, the slope of the tangent is twice the slope of the line segment joining the point of contact to the point (4,3)(-4,-3). Find the equation of the curve given that it passes through (2,1)(-2,1).Show solution
Given: Slope of tangent =2×= 2 \times slope of line joining (x,y)(x,y) to (4,3)(-4,-3)

dydx=2y(3)x(4)=2(y+3)x+4\frac{dy}{dx} = 2\cdot\frac{y-(-3)}{x-(-4)} = \frac{2(y+3)}{x+4}

Separating variables:
dyy+3=2dxx+4\frac{dy}{y+3} = \frac{2\, dx}{x+4}

Integrating both sides:
logy+3=2logx+4+logC\log|y+3| = 2\log|x+4| + \log C

y+3=C(x+4)2|y+3| = C(x+4)^2

y+3=C(x+4)2y+3 = C(x+4)^2

Applying condition (2,1)(-2,1):
1+3=C(2+4)2=C4C=11+3 = C(-2+4)^2 = C\cdot 4 \Rightarrow C = 1

Equation of the curve:
y+3=(x+4)2\boxed{y+3 = (x+4)^2}
19The volume of a spherical balloon being inflated changes at a constant rate. If initially its radius is 3 units and after 3 seconds it is 6 units. Find the radius of balloon after tt seconds.Show solution
Let VV be the volume of the spherical balloon at time tt. Given: dVdt=k\dfrac{dV}{dt} = k (constant).

Volume of sphere: V=43πr3V = \dfrac{4}{3}\pi r^3

dVdt=4πr2drdt=k\frac{dV}{dt} = 4\pi r^2 \frac{dr}{dt} = k

Integrating dVdt=k\dfrac{dV}{dt} = k:
V=kt+CV = kt + C
43πr3=kt+C(1)\frac{4}{3}\pi r^3 = kt + C \tag{1}

At t=0t=0, r=3r=3:
43π(27)=CC=36π\frac{4}{3}\pi(27) = C \Rightarrow C = 36\pi

At t=3t=3, r=6r=6:
43π(216)=3k+36π\frac{4}{3}\pi(216) = 3k + 36\pi
288π=3k+36π288\pi = 3k + 36\pi
3k=252πk=84π3k = 252\pi \Rightarrow k = 84\pi

Substituting in (1):
43πr3=84πt+36π\frac{4}{3}\pi r^3 = 84\pi t + 36\pi
43r3=84t+36\frac{4}{3}r^3 = 84t + 36
r3=34(84t+36)=63t+27r^3 = \frac{3}{4}(84t+36) = 63t + 27

r=(63t+27)1/3 units\boxed{r = (63t+27)^{1/3} \text{ units}}
20In a bank, principal increases continuously at the rate of r%r\% per year. Find the value of rr if Rs 100 double itself in 10 years (loge2=0.6931\log_e 2 = 0.6931).Show solution
Given: dPdt=r100P\dfrac{dP}{dt} = \dfrac{r}{100}P

Separating variables and integrating:
dPP=r100dt\frac{dP}{P} = \frac{r}{100}dt
logP=r100t+C1\log P = \frac{r}{100}t + C_1
P=Cert/100P = Ce^{rt/100}

At t=0t=0, P=100P=100: C=100C = 100

So P=100ert/100P = 100\, e^{rt/100}

At t=10t=10, P=200P=200:
200=100e10r/100200 = 100\, e^{10r/100}
2=er/102 = e^{r/10}
loge2=r10\log_e 2 = \frac{r}{10}
r=10loge2=10×0.6931=6.931r = 10\log_e 2 = 10 \times 0.6931 = 6.931

r6.931%\boxed{r \approx 6.931\%}
21In a bank, principal increases continuously at the rate of 5%5\% per year. An amount of Rs 1000 is deposited with this bank, how much will it worth after 10 years (e0.5=1.648e^{0.5} = 1.648).Show solution
Given: Rate =5%= 5\%, P0=1000P_0 = 1000, t=10t = 10 years.

From the standard result: P=P0ert/100P = P_0\, e^{rt/100}

P=1000×e(5×10)/100=1000×e0.5P = 1000 \times e^{(5 \times 10)/100} = 1000 \times e^{0.5}

P=1000×1.648=1648P = 1000 \times 1.648 = 1648

P=Rs 1648\boxed{P = \text{Rs }1648}
22In a culture, the bacteria count is 1,00,000. The number is increased by 10%10\% in 2 hours. In how many hours will the count reach 2,00,000, if the rate of growth of bacteria is proportional to the number present?Show solution
Let NN be the bacteria count at time tt (in hours).

Given: dNdt=kN\dfrac{dN}{dt} = kN

Solution: N=N0ektN = N_0 e^{kt}

At t=0t=0: N0=1,00,000N_0 = 1{,}00{,}000

At t=2t=2: N=1,10,000N = 1{,}10{,}000 (increased by 10%)
1,10,000=1,00,000e2k1{,}10{,}000 = 1{,}00{,}000\, e^{2k}
e2k=1110e^{2k} = \frac{11}{10}
2k=loge11102k = \log_e\frac{11}{10}
k=12loge1110k = \frac{1}{2}\log_e\frac{11}{10}

When N=2,00,000N = 2{,}00{,}000:
2,00,000=1,00,000ekt2{,}00{,}000 = 1{,}00{,}000\, e^{kt}
ekt=2e^{kt} = 2
kt=loge2kt = \log_e 2
t=loge2k=loge212loge1110=2loge2loge1110t = \frac{\log_e 2}{k} = \frac{\log_e 2}{\frac{1}{2}\log_e\frac{11}{10}} = \frac{2\log_e 2}{\log_e\frac{11}{10}}

t=2loge2loge(1110) hours\boxed{t = \frac{2\log_e 2}{\log_e\left(\frac{11}{10}\right)} \text{ hours}}
23The general solution of the differential equation dydx=ex+y\frac{dy}{dx} = e^{x+y} is: (A) ex+ey=Ce^x + e^{-y} = C, (B) ex+ey=Ce^x + e^y = C, (C) ex+ey=Ce^{-x} + e^y = C, (D) ex+ey=Ce^{-x} + e^{-y} = CShow solution
Correct Option: (A) ex+ey=Ce^x + e^{-y} = C

Working:
dydx=exey\frac{dy}{dx} = e^x \cdot e^y

Separating variables:
eydy=exdxe^{-y}dy = e^x dx

Integrating:
ey=ex+C1-e^{-y} = e^x + C_1

ex+ey=C(C=C1)e^x + e^{-y} = C \quad (C = -C_1)

Hence option (A) is correct.

Exercise 9.4

1Show that the differential equation (x2+xy)dy=(x2+y2)dx(x^2+xy)dy = (x^2+y^2)dx is homogeneous and solve it.Show solution
Step 1: Show homogeneity.

Rewrite as dydx=x2+y2x2+xy\dfrac{dy}{dx} = \dfrac{x^2+y^2}{x^2+xy}.

Let F(x,y)=x2+y2x2+xyF(x,y) = \dfrac{x^2+y^2}{x^2+xy}.

F(λx,λy)=λ2x2+λ2y2λ2x2+λxλy=λ2(x2+y2)λ2(x2+xy)=F(x,y)=λ0F(x,y)F(\lambda x, \lambda y) = \dfrac{\lambda^2 x^2 + \lambda^2 y^2}{\lambda^2 x^2 + \lambda x \cdot \lambda y} = \dfrac{\lambda^2(x^2+y^2)}{\lambda^2(x^2+xy)} = F(x,y) = \lambda^0 F(x,y)

So the equation is homogeneous of degree 0.

Step 2: Substitute y=vxy = vx, so dydx=v+xdvdx\dfrac{dy}{dx} = v + x\dfrac{dv}{dx}.

v+xdvdx=x2+v2x2x2+xvx=1+v21+vv + x\frac{dv}{dx} = \frac{x^2 + v^2x^2}{x^2 + x\cdot vx} = \frac{1+v^2}{1+v}

xdvdx=1+v21+vv=1+v2v(1+v)1+v=1+v2vv21+v=1v1+vx\frac{dv}{dx} = \frac{1+v^2}{1+v} - v = \frac{1+v^2 - v(1+v)}{1+v} = \frac{1+v^2-v-v^2}{1+v} = \frac{1-v}{1+v}

Step 3: Separate variables.
1+v1vdv=dxx\frac{1+v}{1-v}dv = \frac{dx}{x}

(1+v)v1dv=dxx\frac{-(1+v)}{v-1}dv = \frac{dx}{x}

Write 1+v1v=(v1)+2v1=1+2v1\dfrac{1+v}{1-v} = \dfrac{-(v-1)+2}{v-1} = -1 + \dfrac{2}{v-1}...

Alternatively: 1+v1v=1+21v\dfrac{1+v}{1-v} = -1 + \dfrac{2}{1-v}

Step 4: Integrate.
(1+21v)dv=dxx\int\left(-1 + \frac{2}{1-v}\right)dv = \int\frac{dx}{x}

v2log1v=logx+C-v - 2\log|1-v| = \log|x| + C

Substituting v=y/xv = y/x:
yx2log1yx=logx+C-\frac{y}{x} - 2\log\left|1-\frac{y}{x}\right| = \log|x| + C

yx2logxyx=logx+C-\frac{y}{x} - 2\log\left|\frac{x-y}{x}\right| = \log|x| + C

yx2logxy+2logx=logx+C-\frac{y}{x} - 2\log|x-y| + 2\log|x| = \log|x| + C

yx+logx2logxy=C-\frac{y}{x} + \log|x| - 2\log|x-y| = C

logx2logxy=yx+C\boxed{\log|x| - 2\log|x-y| = \frac{y}{x} + C}
2Show that the differential equation y=x+yxy' = \frac{x+y}{x} is homogeneous and solve it.Show solution
Step 1: Show homogeneity.

F(x,y)=x+yxF(x,y) = \dfrac{x+y}{x}; F(λx,λy)=λx+λyλx=x+yx=λ0F(x,y)F(\lambda x, \lambda y) = \dfrac{\lambda x + \lambda y}{\lambda x} = \dfrac{x+y}{x} = \lambda^0 F(x,y). Homogeneous of degree 0.

Step 2: Substitute y=vxy = vx.
v+xdvdx=x+vxx=1+vv + x\frac{dv}{dx} = \frac{x+vx}{x} = 1+v

xdvdx=1x\frac{dv}{dx} = 1

Step 3: Separate and integrate.
dv=dxxdv = \frac{dx}{x}

v=logx+Cv = \log|x| + C

yx=logx+C\frac{y}{x} = \log|x| + C

y=xlogx+Cx\boxed{y = x\log|x| + Cx}
3Show that the differential equation (xy)dy(x+y)dx=0(x-y)dy - (x+y)dx = 0 is homogeneous and solve it.Show solution
Step 1: Show homogeneity.

dydx=x+yxy\dfrac{dy}{dx} = \dfrac{x+y}{x-y}. Since F(λx,λy)=λ(x+y)λ(xy)=F(x,y)F(\lambda x,\lambda y) = \dfrac{\lambda(x+y)}{\lambda(x-y)} = F(x,y), it is homogeneous of degree 0.

Step 2: Substitute y=vxy = vx.
v+xdvdx=x+vxxvx=1+v1vv + x\frac{dv}{dx} = \frac{x+vx}{x-vx} = \frac{1+v}{1-v}

xdvdx=1+v1vv=1+vv(1v)1v=1+v21vx\frac{dv}{dx} = \frac{1+v}{1-v} - v = \frac{1+v - v(1-v)}{1-v} = \frac{1+v^2}{1-v}

Step 3: Separate variables.
1v1+v2dv=dxx\frac{1-v}{1+v^2}dv = \frac{dx}{x}

11+v2dvv1+v2dv=dxx\int\frac{1}{1+v^2}dv - \int\frac{v}{1+v^2}dv = \int\frac{dx}{x}

tan1v12log(1+v2)=logx+C\tan^{-1}v - \frac{1}{2}\log(1+v^2) = \log|x| + C

Substituting v=y/xv = y/x:
tan1yx12log(1+y2x2)=logx+C\tan^{-1}\frac{y}{x} - \frac{1}{2}\log\left(1+\frac{y^2}{x^2}\right) = \log|x| + C

tan1yx12logx2+y2x2=logx+C\tan^{-1}\frac{y}{x} - \frac{1}{2}\log\frac{x^2+y^2}{x^2} = \log|x| + C

tan1yx12log(x2+y2)+logx=logx+C\tan^{-1}\frac{y}{x} - \frac{1}{2}\log(x^2+y^2) + \log|x| = \log|x| + C

tan1yx=12log(x2+y2)+C\boxed{\tan^{-1}\frac{y}{x} = \frac{1}{2}\log(x^2+y^2) + C}
4Show that the differential equation (x2y2)dx+2xydy=0(x^2-y^2)dx + 2xy\,dy = 0 is homogeneous and solve it.Show solution
Step 1: Show homogeneity.

dydx=y2x22xy\dfrac{dy}{dx} = \dfrac{y^2-x^2}{2xy}. F(λx,λy)=λ2y2λ2x22λxλy=F(x,y)F(\lambda x,\lambda y) = \dfrac{\lambda^2 y^2 - \lambda^2 x^2}{2\lambda x \cdot \lambda y} = F(x,y). Homogeneous of degree 0.

Step 2: Substitute y=vxy = vx.
v+xdvdx=v2x2x22xvx=v212vv + x\frac{dv}{dx} = \frac{v^2x^2 - x^2}{2x\cdot vx} = \frac{v^2-1}{2v}

xdvdx=v212vv=v212v22v=(1+v2)2vx\frac{dv}{dx} = \frac{v^2-1}{2v} - v = \frac{v^2-1-2v^2}{2v} = \frac{-(1+v^2)}{2v}

Step 3: Separate variables.
2v1+v2dv=dxx\frac{2v}{1+v^2}dv = -\frac{dx}{x}

Integrating:
log(1+v2)=logx+logC\log(1+v^2) = -\log|x| + \log C

(1+v2)=Cx(1+v^2) = \frac{C}{|x|}

Substituting v=y/xv = y/x:
1+y2x2=Cx1 + \frac{y^2}{x^2} = \frac{C}{x}

x2+y2x2=Cx\frac{x^2+y^2}{x^2} = \frac{C}{x}

x2+y2=Cx\boxed{x^2+y^2 = Cx}
5Show that the differential equation x2dydx=x22y2+xyx^2\frac{dy}{dx} = x^2 - 2y^2 + xy is homogeneous and solve it.Show solution
Step 1: Show homogeneity.

dydx=x22y2+xyx2\dfrac{dy}{dx} = \dfrac{x^2 - 2y^2 + xy}{x^2}. F(λx,λy)=λ2x22λ2y2+λxλyλ2x2=F(x,y)F(\lambda x,\lambda y) = \dfrac{\lambda^2 x^2 - 2\lambda^2 y^2 + \lambda x \cdot \lambda y}{\lambda^2 x^2} = F(x,y). Homogeneous of degree 0.

Step 2: Substitute y=vxy = vx.
v+xdvdx=x22v2x2+xvxx2=12v2+vv + x\frac{dv}{dx} = \frac{x^2 - 2v^2x^2 + x\cdot vx}{x^2} = 1 - 2v^2 + v

xdvdx=12v2x\frac{dv}{dx} = 1 - 2v^2

Step 3: Separate variables.
dv12v2=dxx\frac{dv}{1-2v^2} = \frac{dx}{x}

dv12v2=12dv12v2=12dv(12)2v2\frac{dv}{1-2v^2} = \frac{1}{2}\cdot\frac{dv}{\frac{1}{2}-v^2} = \frac{1}{2}\cdot\frac{dv}{\left(\frac{1}{\sqrt{2}}\right)^2 - v^2}

dv12v2=12dv(12)2v2=121212log12+v12v\int\frac{dv}{1-2v^2} = \frac{1}{2}\int\frac{dv}{\left(\frac{1}{\sqrt{2}}\right)^2 - v^2} = \frac{1}{2}\cdot\frac{1}{2\cdot\frac{1}{\sqrt{2}}}\log\left|\frac{\frac{1}{\sqrt{2}}+v}{\frac{1}{\sqrt{2}}-v}\right|

=24log1+2v12v= \frac{\sqrt{2}}{4}\log\left|\frac{1+\sqrt{2}v}{1-\sqrt{2}v}\right|

So:
24log1+2v12v=logx+C\frac{\sqrt{2}}{4}\log\left|\frac{1+\sqrt{2}v}{1-\sqrt{2}v}\right| = \log|x| + C

Substituting v=y/xv = y/x:
24logx+2yx2y=logx+C\boxed{\frac{\sqrt{2}}{4}\log\left|\frac{x+\sqrt{2}y}{x-\sqrt{2}y}\right| = \log|x| + C}
6Show that the differential equation xdyydx=x2+y2dxx\,dy - y\,dx = \sqrt{x^2+y^2}\,dx is homogeneous and solve it.Show solution
Step 1: Show homogeneity.

dydx=y+x2+y2x\dfrac{dy}{dx} = \dfrac{y + \sqrt{x^2+y^2}}{x}. F(λx,λy)=λy+λ2x2+λ2y2λx=y+x2+y2x=F(x,y)F(\lambda x,\lambda y) = \dfrac{\lambda y + \sqrt{\lambda^2 x^2+\lambda^2 y^2}}{\lambda x} = \dfrac{y+\sqrt{x^2+y^2}}{x} = F(x,y). Homogeneous of degree 0.

Step 2: Substitute y=vxy = vx.
v+xdvdx=vx+x2+v2x2x=v+1+v2v + x\frac{dv}{dx} = \frac{vx + \sqrt{x^2+v^2x^2}}{x} = v + \sqrt{1+v^2}

xdvdx=1+v2x\frac{dv}{dx} = \sqrt{1+v^2}

Step 3: Separate variables.
dv1+v2=dxx\frac{dv}{\sqrt{1+v^2}} = \frac{dx}{x}

Integrating:
logv+1+v2=logx+logC\log\left|v + \sqrt{1+v^2}\right| = \log|x| + \log C

v+1+v2=Cxv + \sqrt{1+v^2} = Cx

Substituting v=y/xv = y/x:
yx+1+y2x2=Cx\frac{y}{x} + \sqrt{1+\frac{y^2}{x^2}} = Cx

yx+x2+y2x=Cx\frac{y}{x} + \frac{\sqrt{x^2+y^2}}{x} = Cx

y+x2+y2=Cx2\boxed{y + \sqrt{x^2+y^2} = Cx^2}
7Show that the differential equation {xcos(yx)+ysin(yx)}ydx={ysin(yx)xcos(yx)}xdy\left\{x\cos\left(\frac{y}{x}\right) + y\sin\left(\frac{y}{x}\right)\right\}y\,dx = \left\{y\sin\left(\frac{y}{x}\right) - x\cos\left(\frac{y}{x}\right)\right\}x\,dy is homogeneous and solve it.Show solution
Step 1: Show homogeneity.

Rewrite as dydx=y[xcosyx+ysinyx]x[ysinyxxcosyx]\dfrac{dy}{dx} = \dfrac{y\left[x\cos\frac{y}{x} + y\sin\frac{y}{x}\right]}{x\left[y\sin\frac{y}{x} - x\cos\frac{y}{x}\right]}.

Since the right side is a function of y/xy/x only, it is homogeneous of degree 0.

Step 2: Substitute y=vxy = vx, dydx=v+xdvdx\dfrac{dy}{dx} = v + x\dfrac{dv}{dx}.

v+xdvdx=vx(xcosv+vxsinv)x(vxsinvxcosv)=v(cosv+vsinv)vsinvcosvv + x\frac{dv}{dx} = \frac{vx(x\cos v + vx\sin v)}{x(vx\sin v - x\cos v)} = \frac{v(\cos v + v\sin v)}{v\sin v - \cos v}

xdvdx=vcosv+v2sinvvsinvcosvv=vcosv+v2sinvv2sinv+vcosvvsinvcosv=2vcosvvsinvcosvx\frac{dv}{dx} = \frac{v\cos v + v^2\sin v}{v\sin v - \cos v} - v = \frac{v\cos v + v^2\sin v - v^2\sin v + v\cos v}{v\sin v - \cos v} = \frac{2v\cos v}{v\sin v - \cos v}

Step 3: Separate variables.
vsinvcosv2vcosvdv=dxx\frac{v\sin v - \cos v}{2v\cos v}dv = \frac{dx}{x}

12(tanv1v)dv=dxx\frac{1}{2}\left(\tan v - \frac{1}{v}\right)dv = \frac{dx}{x}

Integrating:
12[logcosvlogv]=logx+logC\frac{1}{2}\left[-\log|\cos v| - \log|v|\right] = \log|x| + \log C

12logvcosv=logCx-\frac{1}{2}\log|v\cos v| = \log|Cx|

logvcosv=2logCx=log1C2x2\log|v\cos v| = -2\log|Cx| = \log\frac{1}{C^2x^2}

vcosv=kx2(k=1/C2)v\cos v = \frac{k}{x^2} \quad (k = 1/C^2)

Substituting v=y/xv = y/x:
yxcosyx=kx2\frac{y}{x}\cos\frac{y}{x} = \frac{k}{x^2}

xycosyx=k\boxed{xy\cos\frac{y}{x} = k}

(where kk is an arbitrary constant)
8Show that the differential equation xdydxy+xsin(yx)=0x\frac{dy}{dx} - y + x\sin\left(\frac{y}{x}\right) = 0 is homogeneous and solve it.Show solution
Step 1: Show homogeneity.

dydx=yxsin(y/x)x\dfrac{dy}{dx} = \dfrac{y - x\sin(y/x)}{x}. This is a function of y/xy/x only, so homogeneous of degree 0.

Step 2: Substitute y=vxy = vx.
v+xdvdx=vxxsinvx=vsinvv + x\frac{dv}{dx} = \frac{vx - x\sin v}{x} = v - \sin v

xdvdx=sinvx\frac{dv}{dx} = -\sin v

Step 3: Separate variables.
dvsinv=dxx\frac{dv}{\sin v} = -\frac{dx}{x}

cosecvdv=dxx\text{cosec}\, v\, dv = -\frac{dx}{x}

Integrating:
logtanv2=logx+logC\log\left|\tan\frac{v}{2}\right| = -\log|x| + \log C

tanv2=Cx\tan\frac{v}{2} = \frac{C}{x}

Substituting v=y/xv = y/x:
tany2x=Cx\boxed{\tan\frac{y}{2x} = \frac{C}{x}}
9Show that the differential equation ydx+xlog(yx)dy2xdy=0y\,dx + x\log\left(\frac{y}{x}\right)dy - 2x\,dy = 0 is homogeneous and solve it.Show solution
Step 1: Show homogeneity.

Rewrite: dxdy=2xxlog(y/x)y=x(2log(y/x))y\dfrac{dx}{dy} = \dfrac{2x - x\log(y/x)}{y} = \dfrac{x(2-\log(y/x))}{y}.

This is a function of x/yx/y, so homogeneous of degree 0.

Step 2: Substitute x=vyx = vy, dxdy=v+ydvdy\dfrac{dx}{dy} = v + y\dfrac{dv}{dy}.

v+ydvdy=vy(2log(1/v))y=v(2+logv)v + y\frac{dv}{dy} = \frac{vy(2-\log(1/v))}{y} = v(2+\log v)

ydvdy=v(2+logv)v=v(1+logv)y\frac{dv}{dy} = v(2+\log v) - v = v(1+\log v)

Step 3: Separate variables.
dvv(1+logv)=dyy\frac{dv}{v(1+\log v)} = \frac{dy}{y}

Let 1+logv=t1vdv=dt1 + \log v = t \Rightarrow \dfrac{1}{v}dv = dt:
dtt=dyy\int\frac{dt}{t} = \int\frac{dy}{y}

logt=logy+logC\log|t| = \log|y| + \log C

t=Cyt = Cy

1+logv=Cy1 + \log v = Cy

Substituting v=x/yv = x/y:
1+logxy=Cy1 + \log\frac{x}{y} = Cy

logxy+1=Cy\boxed{\log\frac{x}{y} + 1 = Cy}
10Show that the differential equation (1+ex/y)dx+ex/y(1xy)dy=0\left(1+e^{x/y}\right)dx + e^{x/y}\left(1-\frac{x}{y}\right)dy = 0 is homogeneous and solve it.Show solution
Step 1: Show homogeneity.

dxdy=ex/y(1x/y)1+ex/y\dfrac{dx}{dy} = \dfrac{-e^{x/y}(1-x/y)}{1+e^{x/y}}. This is a function of x/yx/y, so homogeneous of degree 0.

Step 2: Substitute x=vyx = vy, dxdy=v+ydvdy\dfrac{dx}{dy} = v + y\dfrac{dv}{dy}.

v+ydvdy=ev(1v)1+evv + y\frac{dv}{dy} = \frac{-e^v(1-v)}{1+e^v}

ydvdy=ev+vev1+evv=ev+vevvvev1+ev=evv1+ev=(v+ev)1+evy\frac{dv}{dy} = \frac{-e^v + ve^v}{1+e^v} - v = \frac{-e^v + ve^v - v - ve^v}{1+e^v} = \frac{-e^v - v}{1+e^v} = \frac{-(v+e^v)}{1+e^v}

Step 3: Separate variables.
1+evv+evdv=dyy\frac{1+e^v}{v+e^v}dv = -\frac{dy}{y}

Note that ddv(v+ev)=1+ev\dfrac{d}{dv}(v+e^v) = 1+e^v, so the left side integrates to logv+ev\log|v+e^v|:

logv+ev=logy+logC\log|v+e^v| = -\log|y| + \log C

(v+ev)=Cy(v+e^v) = \frac{C}{y}

Substituting v=x/yv = x/y:
xy+ex/y=Cy\frac{x}{y} + e^{x/y} = \frac{C}{y}

x+yex/y=C\boxed{x + ye^{x/y} = C}
11Find the particular solution of (x+y)dy+(xy)dx=0(x+y)dy + (x-y)dx = 0; y=1y=1 when x=1x=1.Show solution
Step 1: Rewrite.
dydx=xyx+y=yxx+y\frac{dy}{dx} = -\frac{x-y}{x+y} = \frac{y-x}{x+y}

Homogeneous of degree 0.

Step 2: Substitute y=vxy = vx.
v+xdvdx=vxxx+vx=v11+vv + x\frac{dv}{dx} = \frac{vx-x}{x+vx} = \frac{v-1}{1+v}

xdvdx=v11+vv=v1vv21+v=(1+v2)1+vx\frac{dv}{dx} = \frac{v-1}{1+v} - v = \frac{v-1-v-v^2}{1+v} = \frac{-(1+v^2)}{1+v}

Step 3: Separate variables.
1+v1+v2dv=dxx\frac{1+v}{1+v^2}dv = -\frac{dx}{x}

11+v2dv+v1+v2dv=dxx\int\frac{1}{1+v^2}dv + \int\frac{v}{1+v^2}dv = -\int\frac{dx}{x}

tan1v+12log(1+v2)=logx+C\tan^{-1}v + \frac{1}{2}\log(1+v^2) = -\log|x| + C

Substituting v=y/xv = y/x:
tan1yx+12log(1+y2x2)+logx=C\tan^{-1}\frac{y}{x} + \frac{1}{2}\log\left(1+\frac{y^2}{x^2}\right) + \log|x| = C

tan1yx+12log(x2+y2)=C\tan^{-1}\frac{y}{x} + \frac{1}{2}\log(x^2+y^2) = C

Applying y=1y=1, x=1x=1:
tan1(1)+12log2=C\tan^{-1}(1) + \frac{1}{2}\log 2 = C
C=π4+12log2C = \frac{\pi}{4} + \frac{1}{2}\log 2

Particular solution:
tan1yx+12log(x2+y2)=π4+12log2\boxed{\tan^{-1}\frac{y}{x} + \frac{1}{2}\log(x^2+y^2) = \frac{\pi}{4} + \frac{1}{2}\log 2}
12Find the particular solution of x2dy+(xy+y2)dx=0x^2dy + (xy+y^2)dx = 0; y=1y=1 when x=1x=1.Show solution
Step 1: Rewrite.
dydx=xy+y2x2=yxy2x2\frac{dy}{dx} = -\frac{xy+y^2}{x^2} = -\frac{y}{x} - \frac{y^2}{x^2}

Homogeneous of degree 0.

Step 2: Substitute y=vxy = vx.
v+xdvdx=vv2v + x\frac{dv}{dx} = -v - v^2

xdvdx=2vv2=v(2+v)x\frac{dv}{dx} = -2v - v^2 = -v(2+v)

Step 3: Separate variables.
dvv(2+v)=dxx\frac{dv}{v(2+v)} = -\frac{dx}{x}

Partial fractions: 1v(2+v)=12(1v1v+2)\dfrac{1}{v(2+v)} = \dfrac{1}{2}\left(\dfrac{1}{v} - \dfrac{1}{v+2}\right)

12(1v1v+2)dv=dxx\frac{1}{2}\left(\frac{1}{v} - \frac{1}{v+2}\right)dv = -\frac{dx}{x}

12logv12logv+2=logx+logC\frac{1}{2}\log|v| - \frac{1}{2}\log|v+2| = -\log|x| + \log C

12logvv+2=logx+logC\frac{1}{2}\log\left|\frac{v}{v+2}\right| = -\log|x| + \log C

logvv+2=logC2x2\log\left|\frac{v}{v+2}\right| = \log\frac{C^2}{x^2}

vv+2=kx2(k=C2)\frac{v}{v+2} = \frac{k}{x^2} \quad (k = C^2)

Substituting v=y/xv = y/x:
y/xy/x+2=kx2\frac{y/x}{y/x + 2} = \frac{k}{x^2}

yy+2x=kx2\frac{y}{y+2x} = \frac{k}{x^2}

x2yy+2x=k\frac{x^2 y}{y+2x} = k

Applying y=1y=1, x=1x=1:
11+2=kk=13\frac{1}{1+2} = k \Rightarrow k = \frac{1}{3}

Particular solution:
x2yy+2x=13i.e., 3x2y=y+2x\boxed{\frac{x^2 y}{y+2x} = \frac{1}{3}} \quad \text{i.e., } 3x^2y = y+2x
13Find the particular solution of [xsin2(yx)y]dx+xdy=0\left[x\sin^2\left(\frac{y}{x}\right) - y\right]dx + x\,dy = 0; y=π4y = \frac{\pi}{4} when x=1x=1.Show solution
Step 1: Rewrite.
dydx=yxsin2(y/x)x=yxsin2yx\frac{dy}{dx} = \frac{y - x\sin^2(y/x)}{x} = \frac{y}{x} - \sin^2\frac{y}{x}

Homogeneous of degree 0.

Step 2: Substitute y=vxy = vx.
v+xdvdx=vsin2vv + x\frac{dv}{dx} = v - \sin^2 v

xdvdx=sin2vx\frac{dv}{dx} = -\sin^2 v

Step 3: Separate variables.
dvsin2v=dxx\frac{dv}{\sin^2 v} = -\frac{dx}{x}

cosec2vdv=dxx\text{cosec}^2 v\, dv = -\frac{dx}{x}

Integrating:
cotv=logx+C-\cot v = -\log|x| + C

cotv=logxC\cot v = \log|x| - C

Substituting v=y/xv = y/x:
cotyx=logx+C1(C1=C)\cot\frac{y}{x} = \log|x| + C_1 \quad (C_1 = -C)

Applying y=π/4y = \pi/4, x=1x=1:
cotπ4=log1+C11=0+C1C1=1\cot\frac{\pi}{4} = \log 1 + C_1 \Rightarrow 1 = 0 + C_1 \Rightarrow C_1 = 1

Particular solution:
cotyx=logx+1\boxed{\cot\frac{y}{x} = \log|x| + 1}
14Find the particular solution of dydxyx+cosec(yx)=0\frac{dy}{dx} - \frac{y}{x} + \text{cosec}\left(\frac{y}{x}\right) = 0; y=0y=0 when x=1x=1.Show solution
Step 1: Rewrite.
dydx=yxcosecyx\frac{dy}{dx} = \frac{y}{x} - \text{cosec}\frac{y}{x}

Homogeneous of degree 0.

Step 2: Substitute y=vxy = vx.
v+xdvdx=vcosecvv + x\frac{dv}{dx} = v - \text{cosec}\, v

xdvdx=cosecvx\frac{dv}{dx} = -\text{cosec}\, v

Step 3: Separate variables.
sinvdv=dxx\sin v\, dv = -\frac{dx}{x}

Integrating:
cosv=logx+C-\cos v = -\log|x| + C

cosv=logxC\cos v = \log|x| - C

Substituting v=y/xv = y/x:
cosyx=logx+C1\cos\frac{y}{x} = \log|x| + C_1

Applying y=0y=0, x=1x=1:
cos0=log1+C11=0+C1C1=1\cos 0 = \log 1 + C_1 \Rightarrow 1 = 0 + C_1 \Rightarrow C_1 = 1

Particular solution:
cosyx=logx+1\boxed{\cos\frac{y}{x} = \log|x| + 1}
15Find the particular solution of 2xy+y22x2dydx=02xy + y^2 - 2x^2\frac{dy}{dx} = 0; y=2y=2 when x=1x=1.Show solution
Step 1: Rewrite.
dydx=2xy+y22x2\frac{dy}{dx} = \frac{2xy+y^2}{2x^2}

Homogeneous of degree 0.

Step 2: Substitute y=vxy = vx.
v+xdvdx=2xvx+v2x22x2=2v+v22=v+v22v + x\frac{dv}{dx} = \frac{2x\cdot vx + v^2x^2}{2x^2} = \frac{2v+v^2}{2} = v + \frac{v^2}{2}

xdvdx=v22x\frac{dv}{dx} = \frac{v^2}{2}

Step 3: Separate variables.
2dvv2=dxx\frac{2\,dv}{v^2} = \frac{dx}{x}

Integrating:
2v=logx+C-\frac{2}{v} = \log|x| + C

Substituting v=y/xv = y/x:
2xy=logx+C-\frac{2x}{y} = \log|x| + C

Applying y=2y=2, x=1x=1:
22=log1+C1=C-\frac{2}{2} = \log 1 + C \Rightarrow -1 = C

Particular solution:
2xy=logx1-\frac{2x}{y} = \log|x| - 1

y=2x1logx\boxed{y = \frac{2x}{1-\log|x|}}
16A homogeneous differential equation of the form dxdy=h(xy)\frac{dx}{dy} = h\left(\frac{x}{y}\right) can be solved by making the substitution: (A) y=vxy=vx, (B) v=yxv=yx, (C) x=vyx=vy, (D) x=vx=vShow solution
Correct Option: (C) x=vyx = vy

Justification: For a homogeneous equation of the form dxdy=h(xy)\dfrac{dx}{dy} = h\left(\dfrac{x}{y}\right), we substitute x=vyx = vy (where vv is a function of yy), so that dxdy=v+ydvdy\dfrac{dx}{dy} = v + y\dfrac{dv}{dy}, which reduces the equation to a separable form.
17Which of the following is a homogeneous differential equation? (A) (4x+6y+5)dy(3y+2x+4)dx=0(4x+6y+5)dy-(3y+2x+4)dx=0, (B) (xy)dx(x3+y3)dy=0(xy)dx-(x^3+y^3)dy=0, (C) (x3+2y2)dx+2xydy=0(x^3+2y^2)dx+2xy\,dy=0, (D) y2dx+(x2xyy2)dy=0y^2dx+(x^2-xy-y^2)dy=0Show solution
Correct Option: (D) y2dx+(x2xyy2)dy=0y^2dx + (x^2-xy-y^2)dy = 0

Justification: Rewrite as dxdy=(x2xyy2)y2=y2+xyx2y2\dfrac{dx}{dy} = \dfrac{-(x^2-xy-y^2)}{y^2} = \dfrac{y^2+xy-x^2}{y^2}.

Let F(x,y)=y2+xyx2y2F(x,y) = \dfrac{y^2+xy-x^2}{y^2}. Then F(λx,λy)=λ2y2+λ2xyλ2x2λ2y2=F(x,y)=λ0F(x,y)F(\lambda x, \lambda y) = \dfrac{\lambda^2 y^2 + \lambda^2 xy - \lambda^2 x^2}{\lambda^2 y^2} = F(x,y) = \lambda^0 F(x,y).

So it is homogeneous of degree 0. Options (A), (B), (C) contain constant terms or mixed-degree terms that prevent homogeneity.

Exercise 9.5

1Find the general solution of the differential equation dydx+2y=sinx\frac{dy}{dx} + 2y = \sin x.Show solution
Given: dydx+2y=sinx\dfrac{dy}{dx} + 2y = \sin x

This is a linear DE of the form dydx+Py=Q\dfrac{dy}{dx} + Py = Q with P=2P = 2, Q=sinxQ = \sin x.

Integrating Factor (I.F.): e2dx=e2xe^{\int 2\,dx} = e^{2x}

Multiplying both sides by I.F.:
ddx(ye2x)=e2xsinx\frac{d}{dx}(ye^{2x}) = e^{2x}\sin x

Integrating both sides:
ye2x=e2xsinxdxye^{2x} = \int e^{2x}\sin x\, dx

Using the formula eaxsinbxdx=eax(asinbxbcosbx)a2+b2\displaystyle\int e^{ax}\sin bx\, dx = \dfrac{e^{ax}(a\sin bx - b\cos bx)}{a^2+b^2} with a=2a=2, b=1b=1:
e2xsinxdx=e2x(2sinxcosx)5\int e^{2x}\sin x\, dx = \frac{e^{2x}(2\sin x - \cos x)}{5}

ye2x=e2x(2sinxcosx)5+Cye^{2x} = \frac{e^{2x}(2\sin x - \cos x)}{5} + C

y=2sinxcosx5+Ce2x\boxed{y = \frac{2\sin x - \cos x}{5} + Ce^{-2x}}
2Find the general solution of the differential equation dydx+3y=e2x\frac{dy}{dx} + 3y = e^{-2x}.Show solution
Given: dydx+3y=e2x\dfrac{dy}{dx} + 3y = e^{-2x}

P=3P = 3, Q=e2xQ = e^{-2x}.

I.F.: e3dx=e3xe^{\int 3\,dx} = e^{3x}

ddx(ye3x)=e3xe2x=ex\frac{d}{dx}(ye^{3x}) = e^{3x}\cdot e^{-2x} = e^x

Integrating:
ye3x=ex+Cye^{3x} = e^x + C

y=e2x+Ce3x\boxed{y = e^{-2x} + Ce^{-3x}}
3Find the general solution of the differential equation dydx+yx=x2\frac{dy}{dx} + \frac{y}{x} = x^2.Show solution
Given: dydx+yx=x2\dfrac{dy}{dx} + \dfrac{y}{x} = x^2

P=1xP = \dfrac{1}{x}, Q=x2Q = x^2.

I.F.: e1xdx=elogx=xe^{\int \frac{1}{x}dx} = e^{\log x} = x

ddx(xy)=xx2=x3\frac{d}{dx}(xy) = x \cdot x^2 = x^3

Integrating:
xy=x44+Cxy = \frac{x^4}{4} + C

y=x34+Cx\boxed{y = \frac{x^3}{4} + \frac{C}{x}}
4Find the general solution of the differential equation dydx+(secx)y=tanx\frac{dy}{dx} + (\sec x)y = \tan x \left(0 \leq x < \frac{\pi}{2}\right).Show solution
Given: dydx+(secx)y=tanx\dfrac{dy}{dx} + (\sec x)y = \tan x

P=secxP = \sec x, Q=tanxQ = \tan x.

I.F.: esecxdx=elogsecx+tanx=secx+tanxe^{\int \sec x\, dx} = e^{\log|\sec x + \tan x|} = \sec x + \tan x

ddx[y(secx+tanx)]=tanx(secx+tanx)\frac{d}{dx}[y(\sec x + \tan x)] = \tan x(\sec x + \tan x)

=secxtanx+tan2x=secxtanx+sec2x1= \sec x\tan x + \tan^2 x = \sec x\tan x + \sec^2 x - 1

Integrating:
y(secx+tanx)=secx+tanxx+Cy(\sec x + \tan x) = \sec x + \tan x - x + C

y(secx+tanx)=secx+tanxx+C\boxed{y(\sec x + \tan x) = \sec x + \tan x - x + C}
5Find the general solution of the differential equation cos2xdydx+y=tanx\cos^2 x\frac{dy}{dx} + y = \tan x \left(0 \leq x < \frac{\pi}{2}\right).Show solution
Given: cos2xdydx+y=tanx\cos^2 x\dfrac{dy}{dx} + y = \tan x

Divide by cos2x\cos^2 x:
dydx+sec2xy=tanxsec2x\frac{dy}{dx} + \sec^2 x \cdot y = \tan x \sec^2 x

P=sec2xP = \sec^2 x, Q=tanxsec2xQ = \tan x\sec^2 x.

I.F.: esec2xdx=etanxe^{\int \sec^2 x\, dx} = e^{\tan x}

ddx(yetanx)=tanxsec2xetanx\frac{d}{dx}(ye^{\tan x}) = \tan x\sec^2 x \cdot e^{\tan x}

Integrating (let tanx=t\tan x = t, sec2xdx=dt\sec^2 x\, dx = dt):
yetanx=tetdt=tetet+C=et(t1)+Cye^{\tan x} = \int t e^t\, dt = te^t - e^t + C = e^t(t-1) + C

yetanx=etanx(tanx1)+Cye^{\tan x} = e^{\tan x}(\tan x - 1) + C

y=(tanx1)+Cetanx\boxed{y = (\tan x - 1) + Ce^{-\tan x}}
6Find the general solution of the differential equation xdydx+2y=x2logxx\frac{dy}{dx} + 2y = x^2\log x.Show solution
Given: xdydx+2y=x2logxx\dfrac{dy}{dx} + 2y = x^2\log x

Divide by xx:
dydx+2xy=xlogx\frac{dy}{dx} + \frac{2}{x}y = x\log x

P=2xP = \dfrac{2}{x}, Q=xlogxQ = x\log x.

I.F.: e2xdx=e2logx=x2e^{\int \frac{2}{x}dx} = e^{2\log x} = x^2

ddx(x2y)=x2xlogx=x3logx\frac{d}{dx}(x^2 y) = x^2 \cdot x\log x = x^3\log x

Integrating (by parts: u=logxu = \log x, dv=x3dxdv = x^3 dx):
x3logxdx=x44logxx441xdx=x44logxx416\int x^3\log x\, dx = \frac{x^4}{4}\log x - \int\frac{x^4}{4}\cdot\frac{1}{x}dx = \frac{x^4}{4}\log x - \frac{x^4}{16}

x2y=x44logxx416+Cx^2 y = \frac{x^4}{4}\log x - \frac{x^4}{16} + C

y=x24logxx216+Cx2\boxed{y = \frac{x^2}{4}\log x - \frac{x^2}{16} + \frac{C}{x^2}}
7Find the general solution of the differential equation xlogxdydx+y=2xlogxx\log x\frac{dy}{dx} + y = \frac{2}{x}\log x.Show solution
Given: xlogxdydx+y=2xlogxx\log x\dfrac{dy}{dx} + y = \dfrac{2}{x}\log x

Divide by xlogxx\log x:
dydx+1xlogxy=2x2\frac{dy}{dx} + \frac{1}{x\log x}y = \frac{2}{x^2}

P=1xlogxP = \dfrac{1}{x\log x}, Q=2x2Q = \dfrac{2}{x^2}.

I.F.: edxxlogxe^{\int \frac{dx}{x\log x}}. Let logx=t\log x = t, dxx=dt\dfrac{dx}{x} = dt:
dxxlogx=dtt=logt=log(logx)\int\frac{dx}{x\log x} = \int\frac{dt}{t} = \log t = \log(\log x)

I.F. =elog(logx)=logx= e^{\log(\log x)} = \log x

ddx(ylogx)=2x2logx=2logxx2\frac{d}{dx}(y\log x) = \frac{2}{x^2}\cdot\log x = \frac{2\log x}{x^2}

Integrating (by parts: u=logxu = \log x, dv=2x2dxdv = \dfrac{2}{x^2}dx):
2logxx2dx=2[logxx+1x2dx]=2[logxx1x]=2(logx+1)x\int\frac{2\log x}{x^2}dx = 2\left[-\frac{\log x}{x} + \int\frac{1}{x^2}dx\right] = 2\left[-\frac{\log x}{x} - \frac{1}{x}\right] = -\frac{2(\log x + 1)}{x}

ylogx=2(logx+1)x+Cy\log x = -\frac{2(\log x + 1)}{x} + C

ylogx=2(1+logx)x+C\boxed{y\log x = -\frac{2(1+\log x)}{x} + C}
8Find the general solution of the differential equation (1+x2)dy+2xydx=cotxdx(1+x^2)dy + 2xy\,dx = \cot x\,dx (x0)(x \neq 0).Show solution
Given: (1+x2)dy+2xydx=cotxdx(1+x^2)dy + 2xy\,dx = \cot x\,dx

Divide by (1+x2)(1+x^2):
dydx+2x1+x2y=cotx1+x2\frac{dy}{dx} + \frac{2x}{1+x^2}y = \frac{\cot x}{1+x^2}

P=2x1+x2P = \dfrac{2x}{1+x^2}, Q=cotx1+x2Q = \dfrac{\cot x}{1+x^2}.

I.F.: e2x1+x2dx=elog(1+x2)=1+x2e^{\int \frac{2x}{1+x^2}dx} = e^{\log(1+x^2)} = 1+x^2

ddx[y(1+x2)]=cotx\frac{d}{dx}[y(1+x^2)] = \cot x

Integrating:
y(1+x2)=logsinx+Cy(1+x^2) = \log|\sin x| + C

y(1+x2)=logsinx+C\boxed{y(1+x^2) = \log|\sin x| + C}
9Find the general solution of the differential equation xdydx+yx+xycotx=0x\frac{dy}{dx} + y - x + xy\cot x = 0 (x0)(x \neq 0).Show solution
Given: xdydx+yx+xycotx=0x\dfrac{dy}{dx} + y - x + xy\cot x = 0

Rearrange:
xdydx+y(1+xcotx)=xx\frac{dy}{dx} + y(1 + x\cot x) = x

Divide by xx:
dydx+(1x+cotx)y=1\frac{dy}{dx} + \left(\frac{1}{x} + \cot x\right)y = 1

P=1x+cotxP = \dfrac{1}{x} + \cot x, Q=1Q = 1.

I.F.: e(1x+cotx)dx=elogx+logsinx=xsinxe^{\int\left(\frac{1}{x}+\cot x\right)dx} = e^{\log x + \log|\sin x|} = x\sin x

ddx(xysinx)=xsinx\frac{d}{dx}(xy\sin x) = x\sin x

Integrating (by parts: u=xu = x, dv=sinxdxdv = \sin x\, dx):
xsinxdx=xcosx+sinx\int x\sin x\, dx = -x\cos x + \sin x

xysinx=xcosx+sinx+Cxy\sin x = -x\cos x + \sin x + C

xysinx=sinxxcosx+C\boxed{xy\sin x = \sin x - x\cos x + C}
10Find the general solution of the differential equation (x+y)dydx=1(x+y)\frac{dy}{dx} = 1.Show solution
Given: (x+y)dydx=1(x+y)\dfrac{dy}{dx} = 1

Rewrite as dxdy=x+y\dfrac{dx}{dy} = x + y:
dxdyx=y\frac{dx}{dy} - x = y

This is linear in xx: P1=1P_1 = -1, Q1=yQ_1 = y.

I.F.: e(1)dy=eye^{\int(-1)dy} = e^{-y}

ddy(xey)=yey\frac{d}{dy}(xe^{-y}) = ye^{-y}

Integrating (by parts):
xey=yeydy=yeyey+C=ey(y+1)+Cxe^{-y} = \int ye^{-y}dy = -ye^{-y} - e^{-y} + C = -e^{-y}(y+1) + C

x=(y+1)+Ceyx = -(y+1) + Ce^y

x+y+1=Cey\boxed{x + y + 1 = Ce^y}
11Find the general solution of the differential equation ydx+(xy2)dy=0y\,dx + (x-y^2)dy = 0.Show solution
Given: ydx+(xy2)dy=0y\,dx + (x-y^2)dy = 0

Rewrite as dxdy=y2xy\dfrac{dx}{dy} = \dfrac{y^2 - x}{y}:
dxdy+xy=y\frac{dx}{dy} + \frac{x}{y} = y

P1=1yP_1 = \dfrac{1}{y}, Q1=yQ_1 = y.

I.F.: e1ydy=elogy=ye^{\int \frac{1}{y}dy} = e^{\log y} = y

ddy(xy)=yy=y2\frac{d}{dy}(xy) = y \cdot y = y^2

Integrating:
xy=y33+Cxy = \frac{y^3}{3} + C

xy=y33+C\boxed{xy = \frac{y^3}{3} + C}
12Find the general solution of the differential equation (x+3y2)dydx=y(x+3y^2)\frac{dy}{dx} = y (y > 0).Show solution
Given: (x+3y2)dydx=y(x+3y^2)\dfrac{dy}{dx} = y

Rewrite as dxdy=x+3y2y\dfrac{dx}{dy} = \dfrac{x+3y^2}{y}:
dxdyxy=3y\frac{dx}{dy} - \frac{x}{y} = 3y

P1=1yP_1 = -\dfrac{1}{y}, Q1=3yQ_1 = 3y.

I.F.: e1ydy=elogy=1ye^{\int -\frac{1}{y}dy} = e^{-\log y} = \dfrac{1}{y}

ddy(xy)=3yy=3\frac{d}{dy}\left(\frac{x}{y}\right) = \frac{3y}{y} = 3

Integrating:
xy=3y+C\frac{x}{y} = 3y + C

x=3y2+Cy\boxed{x = 3y^2 + Cy}
13Find the particular solution of dydx+2ytanx=sinx\frac{dy}{dx} + 2y\tan x = \sin x; y=0y=0 when x=π3x = \frac{\pi}{3}.Show solution
Given: dydx+2ytanx=sinx\dfrac{dy}{dx} + 2y\tan x = \sin x

P=2tanxP = 2\tan x, Q=sinxQ = \sin x.

I.F.: e2tanxdx=e2logsecx=sec2xe^{\int 2\tan x\, dx} = e^{2\log|\sec x|} = \sec^2 x

ddx(ysec2x)=sinxsec2x=sinxcos2x=tanxsecx\frac{d}{dx}(y\sec^2 x) = \sin x\sec^2 x = \frac{\sin x}{\cos^2 x} = \tan x\sec x

Integrating:
ysec2x=secx+Cy\sec^2 x = \sec x + C

Applying y=0y=0, x=π/3x=\pi/3:
0sec2π3=secπ3+C0 \cdot \sec^2\frac{\pi}{3} = \sec\frac{\pi}{3} + C
0=2+CC=20 = 2 + C \Rightarrow C = -2

Particular solution:
ysec2x=secx2y\sec^2 x = \sec x - 2

y=cosx2cos2x\boxed{y = \cos x - 2\cos^2 x}
14Find the particular solution of (1+x2)dydx+2xy=11+x2(1+x^2)\frac{dy}{dx} + 2xy = \frac{1}{1+x^2}; y=0y=0 when x=1x=1.Show solution
Given: (1+x2)dydx+2xy=11+x2(1+x^2)\dfrac{dy}{dx} + 2xy = \dfrac{1}{1+x^2}

Divide by (1+x2)(1+x^2):
dydx+2x1+x2y=1(1+x2)2\frac{dy}{dx} + \frac{2x}{1+x^2}y = \frac{1}{(1+x^2)^2}

P=2x1+x2P = \dfrac{2x}{1+x^2}, Q=1(1+x2)2Q = \dfrac{1}{(1+x^2)^2}.

I.F.: e2x1+x2dx=1+x2e^{\int \frac{2x}{1+x^2}dx} = 1+x^2

ddx[y(1+x2)]=11+x2\frac{d}{dx}[y(1+x^2)] = \frac{1}{1+x^2}

Integrating:
y(1+x2)=tan1x+Cy(1+x^2) = \tan^{-1}x + C

Applying y=0y=0, x=1x=1:
0=tan1(1)+C=π4+CC=π40 = \tan^{-1}(1) + C = \frac{\pi}{4} + C \Rightarrow C = -\frac{\pi}{4}

Particular solution:
y(1+x2)=tan1xπ4\boxed{y(1+x^2) = \tan^{-1}x - \frac{\pi}{4}}
15Find the particular solution of dydx3ycotx=sin2x\frac{dy}{dx} - 3y\cot x = \sin 2x; y=2y=2 when x=π2x=\frac{\pi}{2}.Show solution
Given: dydx3ycotx=sin2x\dfrac{dy}{dx} - 3y\cot x = \sin 2x

P=3cotxP = -3\cot x, Q=sin2xQ = \sin 2x.

I.F.: e3cotxdx=e3logsinx=1sin3xe^{\int -3\cot x\, dx} = e^{-3\log|\sin x|} = \dfrac{1}{\sin^3 x}

ddx(ysin3x)=sin2xsin3x=2sinxcosxsin3x=2cosxsin2x\frac{d}{dx}\left(\frac{y}{\sin^3 x}\right) = \frac{\sin 2x}{\sin^3 x} = \frac{2\sin x\cos x}{\sin^3 x} = \frac{2\cos x}{\sin^2 x}

Integrating:
ysin3x=2cosxsin2xdx=2cosxsin2xdx\frac{y}{\sin^3 x} = \int\frac{2\cos x}{\sin^2 x}dx = 2\int\frac{\cos x}{\sin^2 x}dx

Let sinx=t\sin x = t, cosxdx=dt\cos x\, dx = dt:
=2t2dt=2t=2sinx= 2\int t^{-2}dt = -\frac{2}{t} = -\frac{2}{\sin x}

ysin3x=2sinx+C\frac{y}{\sin^3 x} = -\frac{2}{\sin x} + C

y=2sin2x+Csin3xy = -2\sin^2 x + C\sin^3 x

Applying y=2y=2, x=π/2x=\pi/2:
2=2(1)+C(1)C=42 = -2(1) + C(1) \Rightarrow C = 4

Particular solution:
y=2sin2x+4sin3x\boxed{y = -2\sin^2 x + 4\sin^3 x}
16Find the equation of a curve passing through the origin given that the slope of the tangent to the curve at any point (x,y)(x,y) is equal to the sum of the coordinates of the point.Show solution
Given condition: dydx=x+y\dfrac{dy}{dx} = x + y

Rewrite: dydxy=x\dfrac{dy}{dx} - y = x

P=1P = -1, Q=xQ = x.

I.F.: e(1)dx=exe^{\int(-1)dx} = e^{-x}

ddx(yex)=xex\frac{d}{dx}(ye^{-x}) = xe^{-x}

Integrating (by parts):
yex=xexdx=xexex+C=ex(x+1)+Cye^{-x} = \int xe^{-x}dx = -xe^{-x} - e^{-x} + C = -e^{-x}(x+1) + C

y=(x+1)+Cexy = -(x+1) + Ce^x

Applying condition (0,0)(0,0):
0=1+CC=10 = -1 + C \Rightarrow C = 1

Equation of the curve:
y=exx1\boxed{y = e^x - x - 1}
17Find the equation of a curve passing through the point (0,2)(0,2) given that the sum of the coordinates of any point on the curve exceeds the magnitude of the slope of the tangent to the curve at that point by 5.Show solution
Given condition: x+y=dydx+5x + y = \left|\dfrac{dy}{dx}\right| + 5

Assuming \dfrac{dy}{dx} > 0: x+y5=dydxx + y - 5 = \dfrac{dy}{dx}

dydxy=x5\frac{dy}{dx} - y = x - 5

P=1P = -1, Q=x5Q = x-5.

I.F.: exe^{-x}

ddx(yex)=(x5)ex\frac{d}{dx}(ye^{-x}) = (x-5)e^{-x}

Integrating (by parts):
yex=(x5)exdxye^{-x} = \int(x-5)e^{-x}dx

=(x5)exex+C=(x4)ex+C= -(x-5)e^{-x} - e^{-x} + C = -(x-4)e^{-x} + C

y=(x4)+Cex=4x+Cexy = -(x-4) + Ce^x = 4-x + Ce^x

Applying condition (0,2)(0,2):
2=4+CC=22 = 4 + C \Rightarrow C = -2

Equation of the curve:
y=4x2ex\boxed{y = 4 - x - 2e^x}
18The Integrating Factor of the differential equation xdydxy=2x2x\frac{dy}{dx} - y = 2x^2 is: (A) exe^{-x}, (B) eye^{-y}, (C) 1x\frac{1}{x}, (D) xxShow solution
Correct Option: (C) 1x\dfrac{1}{x}

Working: Divide by xx: dydxyx=2x\dfrac{dy}{dx} - \dfrac{y}{x} = 2x

Here P=1xP = -\dfrac{1}{x}.

I.F. =e1xdx=elogx=1x= e^{\int -\frac{1}{x}dx} = e^{-\log x} = \dfrac{1}{x}
19The Integrating Factor of the differential equation (1y2)dxdy+yx=ay(1-y^2)\frac{dx}{dy} + yx = ay (-1 < y < 1) is: (A) 1y21\frac{1}{y^2-1}, (B) 1y21\frac{1}{\sqrt{y^2-1}}, (C) 11y2\frac{1}{1-y^2}, (D) 11y2\frac{1}{\sqrt{1-y^2}}Show solution
Correct Option: (D) 11y2\dfrac{1}{\sqrt{1-y^2}}

Working: Divide by (1y2)(1-y^2):
dxdy+y1y2x=ay1y2\frac{dx}{dy} + \frac{y}{1-y^2}x = \frac{ay}{1-y^2}

Here P1=y1y2P_1 = \dfrac{y}{1-y^2}.

y1y2dy=122y1y2dy=12log(1y2)=log(1y2)1/2\int\frac{y}{1-y^2}dy = -\frac{1}{2}\int\frac{-2y}{1-y^2}dy = -\frac{1}{2}\log(1-y^2) = \log(1-y^2)^{-1/2}

I.F. =elog(1y2)1/2=11y2= e^{\log(1-y^2)^{-1/2}} = \dfrac{1}{\sqrt{1-y^2}}

Miscellaneous Exercise on Chapter 9

1For each of the differential equations given below, indicate its order and degree (if defined):
(i) d2ydx2+5x(dydx)26y=logx\frac{d^2y}{dx^2} + 5x\left(\frac{dy}{dx}\right)^2 - 6y = \log x
(ii) (dydx)34(dydx)2+7y=sinx\left(\frac{dy}{dx}\right)^3 - 4\left(\frac{dy}{dx}\right)^2 + 7y = \sin x
(iii) d4ydx4sin(d3ydx3)=0\frac{d^4y}{dx^4} - \sin\left(\frac{d^3y}{dx^3}\right) = 0
Show solution
(i) d2ydx2+5x(dydx)26y=logx\dfrac{d^2y}{dx^2} + 5x\left(\dfrac{dy}{dx}\right)^2 - 6y = \log x

- Order: Highest derivative is d2ydx2\dfrac{d^2y}{dx^2}Order = 2
- Degree: Polynomial in derivatives; highest power of d2ydx2\dfrac{d^2y}{dx^2} is 1 → Degree = 1

(ii) (dydx)34(dydx)2+7y=sinx\left(\dfrac{dy}{dx}\right)^3 - 4\left(\dfrac{dy}{dx}\right)^2 + 7y = \sin x

- Order: Highest derivative is dydx\dfrac{dy}{dx}Order = 1
- Degree: Polynomial in dydx\dfrac{dy}{dx}; highest power is 3 → Degree = 3

(iii) d4ydx4sin(d3ydx3)=0\dfrac{d^4y}{dx^4} - \sin\left(\dfrac{d^3y}{dx^3}\right) = 0

- Order: Highest derivative is d4ydx4\dfrac{d^4y}{dx^4}Order = 4
- Degree: Contains sin(d3ydx3)\sin\left(\dfrac{d^3y}{dx^3}\right), a transcendental function of a derivative → Degree is not defined
2For each of the exercises given below, verify that the given function (implicit or explicit) is a solution of the corresponding differential equation:
(i) xy=aex+bex+x2xy = ae^x + be^{-x} + x^2 : xd2ydx2+2dydxxy+x22=0x\frac{d^2y}{dx^2} + 2\frac{dy}{dx} - xy + x^2 - 2 = 0
(ii) y=ex(acosx+bsinx)y = e^x(a\cos x + b\sin x) : d2ydx22dydx+2y=0\frac{d^2y}{dx^2} - 2\frac{dy}{dx} + 2y = 0
(iii) y=xsin3xy = x\sin 3x : d2ydx2+9y6cos3x=0\frac{d^2y}{dx^2} + 9y - 6\cos 3x = 0
(iv) x2=2y2logyx^2 = 2y^2\log y : (x2+y2)dydxxy=0(x^2+y^2)\frac{dy}{dx} - xy = 0
Show solution
(i) xy=aex+bex+x2xy = ae^x + be^{-x} + x^2

Differentiate w.r.t. xx:
y+xy=aexbex+2x(A)y + xy' = ae^x - be^{-x} + 2x \tag{A}

Differentiate again:
y+y+xy=aex+bex+2y' + y' + xy'' = ae^x + be^{-x} + 2
2y+xy=aex+bex+2(B)2y' + xy'' = ae^x + be^{-x} + 2 \tag{B}

From the original: aex+bex=xyx2ae^x + be^{-x} = xy - x^2

Substitute in (B):
2y+xy=xyx2+22y' + xy'' = xy - x^2 + 2
xy+2yxy+x22=0xy'' + 2y' - xy + x^2 - 2 = 0

This is exactly the given DE. ✓

---

(ii) y=ex(acosx+bsinx)y = e^x(a\cos x + b\sin x)

y=ex(acosx+bsinx)+ex(asinx+bcosx)=ex[(a+b)cosx+(ba)sinx]y' = e^x(a\cos x + b\sin x) + e^x(-a\sin x + b\cos x) = e^x[(a+b)\cos x + (b-a)\sin x]

y=ex[(a+b)cosx+(ba)sinx]+ex[(a+b)sinx+(ba)cosx]y'' = e^x[(a+b)\cos x + (b-a)\sin x] + e^x[-(a+b)\sin x + (b-a)\cos x]
=ex[(a+b+ba)cosx+(baab)sinx]= e^x[(a+b+b-a)\cos x + (b-a-a-b)\sin x]
=ex[2bcosx2asinx]= e^x[2b\cos x - 2a\sin x]

Now:
y2y+2y=ex[2bcosx2asinx]2ex[(a+b)cosx+(ba)sinx]+2ex[acosx+bsinx]y'' - 2y' + 2y = e^x[2b\cos x - 2a\sin x] - 2e^x[(a+b)\cos x + (b-a)\sin x] + 2e^x[a\cos x + b\sin x]
=ex[(2b2a2b+2a)cosx+(2a2b+2a+2b)sinx]= e^x[(2b - 2a - 2b + 2a)\cos x + (-2a - 2b + 2a + 2b)\sin x]
=ex[0cosx+0sinx]=0= e^x[0\cdot\cos x + 0\cdot\sin x] = 0 \checkmark

---

(iii) y=xsin3xy = x\sin 3x

y=sin3x+3xcos3xy' = \sin 3x + 3x\cos 3x
y=3cos3x+3cos3x9xsin3x=6cos3x9xsin3xy'' = 3\cos 3x + 3\cos 3x - 9x\sin 3x = 6\cos 3x - 9x\sin 3x

y+9y6cos3x=(6cos3x9xsin3x)+9xsin3x6cos3x=0y'' + 9y - 6\cos 3x = (6\cos 3x - 9x\sin 3x) + 9x\sin 3x - 6\cos 3x = 0 \checkmark

---

(iv) x2=2y2logyx^2 = 2y^2\log y

Differentiate w.r.t. xx:
2x=2[2ylogyy+y2yy]=2y[2ylogy+y]=2yy(2logy+1)2x = 2\left[2y\log y \cdot y' + y^2 \cdot \frac{y'}{y}\right] = 2y'[2y\log y + y] = 2yy'(2\log y + 1)

x=yy(2logy+1)(*)x = yy'(2\log y + 1) \tag{*}

From x2=2y2logyx^2 = 2y^2\log y: logy=x22y2\log y = \dfrac{x^2}{2y^2}

Substitute in (*):
x=yy(x2y2+1)=yyx2+y2y2=y(x2+y2)yx = yy'\left(\frac{x^2}{y^2} + 1\right) = yy'\cdot\frac{x^2+y^2}{y^2} = \frac{y'(x^2+y^2)}{y}

xy=y(x2+y2)xy = y'(x^2+y^2)

(x2+y2)dydxxy=0(x^2+y^2)\frac{dy}{dx} - xy = 0 \checkmark
3Prove that x2y2=c(x2+y2)2x^2 - y^2 = c(x^2+y^2)^2 is the general solution of the differential equation (x33xy2)dx=(y33x2y)dy(x^3-3xy^2)dx = (y^3-3x^2y)dy, where cc is a parameter.Show solution
Given: x2y2=c(x2+y2)2x^2 - y^2 = c(x^2+y^2)^2 ... (1)

Differentiating (1) w.r.t. xx:
2x2ydydx=c2(x2+y2)(2x+2ydydx)2x - 2y\frac{dy}{dx} = c \cdot 2(x^2+y^2)\left(2x + 2y\frac{dy}{dx}\right)

2x2yy=4c(x2+y2)(x+yy)(2)2x - 2yy' = 4c(x^2+y^2)(x + yy') \tag{2}

From (1): c=x2y2(x2+y2)2c = \dfrac{x^2-y^2}{(x^2+y^2)^2}

Substituting in (2):
2x2yy=4x2y2(x2+y2)2(x2+y2)(x+yy)2x - 2yy' = 4\cdot\frac{x^2-y^2}{(x^2+y^2)^2}\cdot(x^2+y^2)(x+yy')

2x2yy=4(x2y2)(x+yy)x2+y22x - 2yy' = \frac{4(x^2-y^2)(x+yy')}{x^2+y^2}

(2x2yy)(x2+y2)=4(x2y2)(x+yy)(2x-2yy')(x^2+y^2) = 4(x^2-y^2)(x+yy')

2(xyy)(x2+y2)=4(x2y2)(x+yy)2(x-yy')(x^2+y^2) = 4(x^2-y^2)(x+yy')

(xyy)(x2+y2)=2(x+y)(xy)(x+yy)(x-yy')(x^2+y^2) = 2(x+y)(x-y)(x+yy')

Expanding L.H.S.: x3+xy2x2yyy3yx^3+xy^2 - x^2yy' - y^3y'

Expanding R.H.S.: 2(x2y2)(x+yy)=2x3+2x2yy2xy22y3y2(x^2-y^2)(x+yy') = 2x^3+2x^2yy'-2xy^2-2y^3y'

Setting L.H.S. = R.H.S.:
x3+xy2x2yyy3y=2x3+2x2yy2xy22y3yx^3+xy^2-x^2yy'-y^3y' = 2x^3+2x^2yy'-2xy^2-2y^3y'

y3y2y3yx2yy2x2yy=2x3x32xy2xy2y^3y'-2y^3y' - x^2yy' - 2x^2yy' = 2x^3 - x^3 - 2xy^2 - xy^2

y3y3x2yy=x33xy2-y^3y' - 3x^2yy' = x^3 - 3xy^2

y(y3+3x2y)=x33xy2-y'(y^3+3x^2y) = x^3-3xy^2

dydx=x33xy2y3+3x2y=3xy2x3y3+3x2y\frac{dy}{dx} = -\frac{x^3-3xy^2}{y^3+3x^2y} = \frac{3xy^2-x^3}{y^3+3x^2y}

This gives (y3+3x2y)dy=(3xy2x3)dx(y^3+3x^2y)dy = (3xy^2-x^3)dx, i.e., (x33xy2)dx=(y33x2y)dy(x^3-3xy^2)dx = (y^3-3x^2y)dy.

Hence proved. ✓
4Find the general solution of the differential equation dydx+1y21x2=0\frac{dy}{dx} + \sqrt{\frac{1-y^2}{1-x^2}} = 0.Show solution
Given: dydx=1y21x2\dfrac{dy}{dx} = -\sqrt{\dfrac{1-y^2}{1-x^2}}

Separating variables:
dy1y2=dx1x2\frac{dy}{\sqrt{1-y^2}} = -\frac{dx}{\sqrt{1-x^2}}

Integrating both sides:
sin1y=sin1x+C\sin^{-1}y = -\sin^{-1}x + C

sin1x+sin1y=C\boxed{\sin^{-1}x + \sin^{-1}y = C}
5Show that the general solution of the differential equation dydx+y2+y+1x2+x+1=0\frac{dy}{dx} + \frac{y^2+y+1}{x^2+x+1} = 0 is given by (x+y+1)=A(1xy2xy)(x+y+1) = A(1-x-y-2xy), where AA is a parameter.Show solution
Given: dydx=y2+y+1x2+x+1\dfrac{dy}{dx} = -\dfrac{y^2+y+1}{x^2+x+1}

Separating variables:
dyy2+y+1=dxx2+x+1\frac{dy}{y^2+y+1} = -\frac{dx}{x^2+x+1}

Completing the square:
y2+y+1=(y+12)2+34y^2+y+1 = \left(y+\frac{1}{2}\right)^2 + \frac{3}{4}

dy(y+12)2+(32)2=dx(x+12)2+(32)2\int\frac{dy}{\left(y+\frac{1}{2}\right)^2+\left(\frac{\sqrt{3}}{2}\right)^2} = -\int\frac{dx}{\left(x+\frac{1}{2}\right)^2+\left(\frac{\sqrt{3}}{2}\right)^2}

23tan12y+13=23tan12x+13+C1\frac{2}{\sqrt{3}}\tan^{-1}\frac{2y+1}{\sqrt{3}} = -\frac{2}{\sqrt{3}}\tan^{-1}\frac{2x+1}{\sqrt{3}} + C_1

tan12y+13+tan12x+13=C\tan^{-1}\frac{2y+1}{\sqrt{3}} + \tan^{-1}\frac{2x+1}{\sqrt{3}} = C

Using tan1a+tan1b=tan1a+b1ab\tan^{-1}a + \tan^{-1}b = \tan^{-1}\dfrac{a+b}{1-ab} (when ab < 1):

tan1[2y+13+2x+131(2y+1)(2x+1)3]=C\tan^{-1}\left[\frac{\frac{2y+1}{\sqrt{3}}+\frac{2x+1}{\sqrt{3}}}{1-\frac{(2y+1)(2x+1)}{3}}\right] = C

tan1[2(x+y+1)33(2x+1)(2y+1)3]=C\tan^{-1}\left[\frac{\frac{2(x+y+1)}{\sqrt{3}}}{\frac{3-(2x+1)(2y+1)}{3}}\right] = C

tan1[23(x+y+1)3(4xy+2x+2y+1)]=C\tan^{-1}\left[\frac{2\sqrt{3}(x+y+1)}{3-(4xy+2x+2y+1)}\right] = C

tan1[23(x+y+1)24xy2x2y]=C\tan^{-1}\left[\frac{2\sqrt{3}(x+y+1)}{2-4xy-2x-2y}\right] = C

tan1[3(x+y+1)12xyxy]=C\tan^{-1}\left[\frac{\sqrt{3}(x+y+1)}{1-2xy-x-y}\right] = C

3(x+y+1)1xy2xy=tanC=k\frac{\sqrt{3}(x+y+1)}{1-x-y-2xy} = \tan C = k

x+y+1=k3(1xy2xy)=A(1xy2xy)x+y+1 = \frac{k}{\sqrt{3}}(1-x-y-2xy) = A(1-x-y-2xy)

where A=k3A = \dfrac{k}{\sqrt{3}} is an arbitrary parameter. Hence proved. ✓
6Find the equation of the curve passing through the point (0,π4)\left(0,\frac{\pi}{4}\right) whose differential equation is sinxcosydx+cosxsinydy=0\sin x\cos y\,dx + \cos x\sin y\,dy = 0.Show solution
Given: sinxcosydx+cosxsinydy=0\sin x\cos y\,dx + \cos x\sin y\,dy = 0

Dividing by cosxcosy\cos x\cos y:
tanxdx+tanydy=0\tan x\,dx + \tan y\,dy = 0

Integrating:
logsecx+logsecy=logC\log|\sec x| + \log|\sec y| = \log C

secxsecy=C\sec x\cdot\sec y = C

Applying (0,π4)\left(0,\dfrac{\pi}{4}\right):
sec0secπ4=C12=CC=2\sec 0\cdot\sec\frac{\pi}{4} = C \Rightarrow 1\cdot\sqrt{2} = C \Rightarrow C = \sqrt{2}

Equation of the curve:
secxsecy=2\sec x\cdot\sec y = \sqrt{2}

cosxcosy=12\boxed{\cos x\cos y = \frac{1}{\sqrt{2}}}
7Find the particular solution of the differential equation (1+e2x)dy+(1+y2)exdx=0(1+e^{2x})dy + (1+y^2)e^x\,dx = 0, given that y=1y=1 when x=0x=0.Show solution
Given: (1+e2x)dy=(1+y2)exdx(1+e^{2x})dy = -(1+y^2)e^x\,dx

Separating variables:
dy1+y2=exdx1+e2x\frac{dy}{1+y^2} = -\frac{e^x\,dx}{1+e^{2x}}

Integrating both sides:
tan1y=ex1+(ex)2dx\tan^{-1}y = -\int\frac{e^x}{1+(e^x)^2}dx

Let ex=te^x = t, exdx=dte^x\,dx = dt:
dt1+t2=tan1t=tan1(ex)-\int\frac{dt}{1+t^2} = -\tan^{-1}t = -\tan^{-1}(e^x)

tan1y=tan1(ex)+C\tan^{-1}y = -\tan^{-1}(e^x) + C

Applying y=1y=1, x=0x=0:
tan1(1)=tan1(1)+C\tan^{-1}(1) = -\tan^{-1}(1) + C
π4=π4+CC=π2\frac{\pi}{4} = -\frac{\pi}{4} + C \Rightarrow C = \frac{\pi}{2}

Particular solution:
tan1y+tan1(ex)=π2\tan^{-1}y + \tan^{-1}(e^x) = \frac{\pi}{2}

tan1y+tan1(ex)=π2\boxed{\tan^{-1}y + \tan^{-1}(e^x) = \frac{\pi}{2}}
8Solve the differential equation yex/ydx=(xex/y+y2)dyye^{x/y}dx = \left(xe^{x/y} + y^2\right)dy (y0)(y \neq 0).Show solution
Given: yex/ydx=(xex/y+y2)dyye^{x/y}dx = (xe^{x/y}+y^2)dy

Rewrite as:
dxdy=xex/y+y2yex/y=xy+yex/y=xy+yex/y\frac{dx}{dy} = \frac{xe^{x/y}+y^2}{ye^{x/y}} = \frac{x}{y} + \frac{y}{e^{x/y}} = \frac{x}{y} + ye^{-x/y}

Substitute v=x/yv = x/y, so x=vyx = vy, dxdy=v+ydvdy\dfrac{dx}{dy} = v + y\dfrac{dv}{dy}:
v+ydvdy=v+yevv + y\frac{dv}{dy} = v + ye^{-v}

ydvdy=yevy\frac{dv}{dy} = ye^{-v}

ev(1)(dv)=dyye^{-v}\cdot(-1)\cdot(-dv) = \frac{dy}{y}

evdv=dyye^v\,dv = \frac{dy}{y}

Integrating:
ev=logy+Ce^v = \log|y| + C

Substituting v=x/yv = x/y:
ex/y=logy+C\boxed{e^{x/y} = \log|y| + C}
9Find a particular solution of the differential equation (xy)(dx+dy)=dxdy(x-y)(dx+dy) = dx - dy, given that y=1y=-1 when x=0x=0. (Hint: put xy=tx-y=t)Show solution
Given: (xy)(dx+dy)=dxdy(x-y)(dx+dy) = dx-dy

Rearranging:
(xy)dx+(xy)dy=dxdy(x-y)dx + (x-y)dy = dx - dy
[(xy)1]dx=[1(xy)]dy=[1+(xy)]dy[(x-y)-1]dx = [-1-(x-y)]dy = -[1+(x-y)]dy
dxdy=(1+xy)xy1=(1+(xy))(xy)1\frac{dx}{dy} = \frac{-(1+x-y)}{x-y-1} = \frac{-(1+(x-y))}{(x-y)-1}

Let t=xyt = x-y, so dtdy=dxdy1\dfrac{dt}{dy} = \dfrac{dx}{dy} - 1:
dxdy=dtdy+1\frac{dx}{dy} = \frac{dt}{dy} + 1

dtdy+1=(1+t)t1\frac{dt}{dy} + 1 = \frac{-(1+t)}{t-1}

dtdy=(1+t)t11=(1+t)(t1)t1=2tt1\frac{dt}{dy} = \frac{-(1+t)}{t-1} - 1 = \frac{-(1+t)-(t-1)}{t-1} = \frac{-2t}{t-1}

Separating variables:
t1tdt=2dy\frac{t-1}{t}dt = -2\,dy

(11t)dt=2dy\left(1 - \frac{1}{t}\right)dt = -2\,dy

Integrating:
tlogt=2y+Ct - \log|t| = -2y + C

Substituting t=xyt = x-y:
(xy)logxy=2y+C(x-y) - \log|x-y| = -2y + C

x+ylogxy=Cx + y - \log|x-y| = C

Applying y=1y=-1, x=0x=0:
0+(1)log0(1)=C0 + (-1) - \log|0-(-1)| = C
1log1=CC=1-1 - \log 1 = C \Rightarrow C = -1

Particular solution:
x+ylogxy=1\boxed{x + y - \log|x-y| = -1}
10Solve the differential equation [e2xxyx]dxdy=1\left[\frac{e^{-2\sqrt{x}}}{\sqrt{x}} - \frac{y}{\sqrt{x}}\right]\frac{dx}{dy} = 1 (x0)(x \neq 0).Show solution
Given: [e2xxyx]dxdy=1\left[\dfrac{e^{-2\sqrt{x}}}{\sqrt{x}} - \dfrac{y}{\sqrt{x}}\right]\dfrac{dx}{dy} = 1

Rewrite as:
dydx=e2xxyx\frac{dy}{dx} = \frac{e^{-2\sqrt{x}}}{\sqrt{x}} - \frac{y}{\sqrt{x}}

dydx+yx=e2xx\frac{dy}{dx} + \frac{y}{\sqrt{x}} = \frac{e^{-2\sqrt{x}}}{\sqrt{x}}

P=1xP = \dfrac{1}{\sqrt{x}}, Q=e2xxQ = \dfrac{e^{-2\sqrt{x}}}{\sqrt{x}}.

I.F.: e1xdx=e2xe^{\int \frac{1}{\sqrt{x}}dx} = e^{2\sqrt{x}}

ddx(ye2x)=e2xxe2x=1x\frac{d}{dx}(ye^{2\sqrt{x}}) = \frac{e^{-2\sqrt{x}}}{\sqrt{x}}\cdot e^{2\sqrt{x}} = \frac{1}{\sqrt{x}}

Integrating:
ye2x=dxx=2x+Cye^{2\sqrt{x}} = \int\frac{dx}{\sqrt{x}} = 2\sqrt{x} + C

ye2x=2x+C\boxed{ye^{2\sqrt{x}} = 2\sqrt{x} + C}
11Find a particular solution of the differential equation dydx+ycotx=4xcosecx\frac{dy}{dx} + y\cot x = 4x\cosec x (x0)(x \neq 0), given that y=0y=0 when x=π2x=\frac{\pi}{2}.Show solution
Given: dydx+ycotx=4xcosecx\dfrac{dy}{dx} + y\cot x = 4x\cosec x

P=cotxP = \cot x, Q=4xcosecxQ = 4x\cosec x.

I.F.: ecotxdx=elogsinx=sinxe^{\int\cot x\,dx} = e^{\log|\sin x|} = \sin x

ddx(ysinx)=4xcosecxsinx=4x\frac{d}{dx}(y\sin x) = 4x\cosec x\cdot\sin x = 4x

Integrating:
ysinx=2x2+Cy\sin x = 2x^2 + C

Applying y=0y=0, x=π/2x=\pi/2:
0sinπ2=2(π2)2+C0\cdot\sin\frac{\pi}{2} = 2\left(\frac{\pi}{2}\right)^2 + C
0=π22+CC=π220 = \frac{\pi^2}{2} + C \Rightarrow C = -\frac{\pi^2}{2}

Particular solution:
ysinx=2x2π22y\sin x = 2x^2 - \frac{\pi^2}{2}

y=2x2π22sinx\boxed{y = \frac{2x^2 - \frac{\pi^2}{2}}{\sin x}}
12Find a particular solution of the differential equation (x+1)dydx=2ey1(x+1)\frac{dy}{dx} = 2e^{-y} - 1, given that y=0y=0 when x=0x=0.Show solution
Given: (x+1)dydx=2ey1(x+1)\dfrac{dy}{dx} = 2e^{-y} - 1

Separating variables:
dy2ey1=dxx+1\frac{dy}{2e^{-y}-1} = \frac{dx}{x+1}

Multiply numerator and denominator by eye^y:
eydy2ey=dxx+1\frac{e^y\,dy}{2-e^y} = \frac{dx}{x+1}

Integrating:

Left side: let 2ey=t2-e^y = t, eydy=dt-e^y\,dy = dt:
eydy2ey=dtt=logt=log2ey\int\frac{e^y\,dy}{2-e^y} = -\int\frac{dt}{t} = -\log|t| = -\log|2-e^y|

log2ey=logx+1+C-\log|2-e^y| = \log|x+1| + C

log2ey+logx+1=C=K\log|2-e^y| + \log|x+1| = -C = K

(2ey)(x+1)=A(A=eK)(2-e^y)(x+1) = A \quad (A = e^K)

Applying y=0y=0, x=0x=0:
(21)(1)=AA=1(2-1)(1) = A \Rightarrow A = 1

Particular solution:
(2ey)(x+1)=1(2-e^y)(x+1) = 1

(2ey)(x+1)=1\boxed{(2-e^y)(x+1) = 1}
13The general solution of the differential equation ydxxdyy=0\frac{y\,dx - x\,dy}{y} = 0 is: (A) xy=Cxy = C, (B) x=Cy2x = Cy^2, (C) y=Cxy = Cx, (D) y=Cx2y = Cx^2Show solution
Correct Option: (C) y=Cxy = Cx

Working:
ydxxdyy=0ydxxdy=0\frac{y\,dx - x\,dy}{y} = 0 \Rightarrow y\,dx - x\,dy = 0

dxx=dyy\frac{dx}{x} = \frac{dy}{y}

logx=logy+logC\log|x| = \log|y| + \log C

x=Cyy=xC=Cxx = Cy \quad \Rightarrow \quad y = \frac{x}{C} = Cx

(absorbing the reciprocal into the constant CC). Hence (C) is correct.
14The general solution of a differential equation of the type dxdy+P1x=Q1\frac{dx}{dy} + P_1 x = Q_1 is: (A) yeP1dy=(Q1eP1dy)dy+Cye^{\int P_1 dy} = \int(Q_1 e^{\int P_1 dy})dy + C, (B) yeP1dx=(Q1eP1dx)dx+Cy\cdot e^{\int P_1 dx} = \int(Q_1 e^{\int P_1 dx})dx + C, (C) xeP1dy=(Q1eP1dy)dy+Cxe^{\int P_1 dy} = \int(Q_1 e^{\int P_1 dy})dy + C, (D) xeP1dx=(Q1eP1dx)dx+Cxe^{\int P_1 dx} = \int(Q_1 e^{\int P_1 dx})dx + CShow solution
Correct Option: (C) xeP1dy=(Q1eP1dy)dy+Cxe^{\int P_1 dy} = \int\left(Q_1 e^{\int P_1 dy}\right)dy + C

Justification: For the linear DE dxdy+P1x=Q1\dfrac{dx}{dy} + P_1 x = Q_1 (where P1P_1, Q1Q_1 are functions of yy), the integrating factor is eP1dye^{\int P_1\,dy}, and multiplying both sides gives:
ddy(xeP1dy)=Q1eP1dy\frac{d}{dy}\left(x\cdot e^{\int P_1\,dy}\right) = Q_1 e^{\int P_1\,dy}

Integrating: xeP1dy=Q1eP1dydy+Cxe^{\int P_1\,dy} = \displaystyle\int Q_1 e^{\int P_1\,dy}\,dy + C
15The general solution of the differential equation exdy+(yex+2x)dx=0e^x\,dy + (ye^x + 2x)dx = 0 is: (A) xey+x2=Cxe^y + x^2 = C, (B) xey+y2=Cxe^y + y^2 = C, (C) yex+x2=Cye^x + x^2 = C, (D) yey+x2=Cye^y + x^2 = CShow solution
Correct Option: (C) yex+x2=Cye^x + x^2 = C

Working: Rewrite:
exdydx+yex+2x=0e^x\frac{dy}{dx} + ye^x + 2x = 0
dydx+y=2xex\frac{dy}{dx} + y = -2xe^{-x}

I.F. =ex= e^x

ddx(yex)=2x\frac{d}{dx}(ye^x) = -2x

yex=x2+Cye^x = -x^2 + C

yex+x2=Cye^x + x^2 = C

Hence (C) is correct.

Stuck on a step?

Ask Super Tutor AI to explain any solution on this page in a simpler way — free, 24x7.

Ask a Doubt Free

Frequently Asked Questions

What are the important topics in Differential Equations for Assam Board Class 12 Mathematics?
Differential Equations covers several key topics that are frequently asked in Assam Board Class 12 board exams. Focus on the core concepts listed on this page and practise related questions to build confidence.
How to score full marks in Differential Equations — Assam Board Class 12 Mathematics?
Understand the core concepts first, then work through the 35 practice questions available for this chapter. Revise formulas and definitions regularly, and use flashcards for quick recall before the exam.
Where can I get free NCERT Solutions for Differential Equations Class 12 Mathematics?
This page has free step-by-step NCERT Solutions for every exercise question in Differential Equations (Assam Board Class 12 Mathematics) — written the way examiners award marks: given, formula, working, answer.

Sources & Official References

Content is aligned to the official syllabus. Refer to the board website for the latest curriculum.

For serious students

Get the full Differential Equations chapter — for free.

Quizzes, flashcards, AI doubt-solver and a step-by-step study plan for Assam Board Class 12 Mathematics.