Find a particular solution of the differential equation $\frac{\text{dy}}{\text{dx}}\text{+ycotx=4x}\,\text{cosec}\,\text{x}\left( \text{x}\ne \text{0} \right)$ given that $\text{y=0}$ when $\text{x=}\frac{\text{ }\!\!\pi\!\!\text{ }}{\text{2}}$.
Show solutionHide solution
Ans:
The given differential equation is:
$\frac{dy}{dx}+y\cot x=4x\,\text{cosec}x$
It is linear differential equation of the form $\frac{\text{dy}}{\text{dx}}\text{+py=Q}$:
$p=\cot x$
$Q=4x\text{cosec}\,x$
Calculating integrating factor:
$I.F={{e}^{\int pdx}}$
$I.F={{e}^{\int \cot xdx}}$
$I.F={{e}^{\log \left| \sin x \right|}}$
$I.F=\sin x$
The general solution is given by:
$y\times I.F=\int \left( Q\times I.F \right)dx+C$
$\Rightarrow y\times \sin x=\int \left( 4x\cos \text{ec}x \right)\sin xdx+C$
$\Rightarrow y\sin x=4\int xdx+C$
$\Rightarrow y\sin x=4\left( \frac{{{x}^{2}}}{2} \right)+C$
$\Rightarrow y\sin x=2{{x}^{2}}+C$
As $\text{y=0}$ when $\text{x=}\frac{\text{ }\!\!\pi\!\!\text{ }}{\text{2}}$:
$0\times \sin \left( \frac{\pi }{2} \right)=2{{\left( \frac{\pi }{2} \right)}^{2}}+C$
$C=-2\left( \frac{{{\pi }^{2}}}{4} \right)$
$C=-\frac{{{\pi }^{2}}}{2}$
Thus the required particular solution is:
$y\sin x=2{{x}^{2}}-\frac{{{\pi }^{2}}}{2}$