Exercise 11
Find a particular solution of the differential equation , given that when .
Not cross-checked
This solution has not been cross-checked against the answer printed in NCERT.
NCERT’s answer
\(\displaystyle y \sin x=2 x^{2}-\frac{\pi^{2}}{2}(\sin x \neq 0)\)
The equation \(\displaystyle \dfrac{dy}{dx}+y\cot x=4x\,\mathrm{cosec}\,x\) is linear in \(\displaystyle y\), with \(\displaystyle \mathrm{P}=\cot x\) and \(\displaystyle \mathrm{Q}=4x\,\mathrm{cosec}\,x\).Integrating factor:
\[\int \mathrm{P}\,dx=\int\cot x\,dx=\log|\sin x|,\qquad \text{I.F.}=e^{\log|\sin x|}=\sin x.\]Then \(\displaystyle y\cdot(\text{I.F.})=\int \mathrm{Q}\cdot(\text{I.F.})\,dx+\mathrm{C}\), and here \(\displaystyle \mathrm{cosec}\,x\cdot\sin x=1\), which is the simplification the question is built on:
\[y\sin x=\int 4x\,\mathrm{cosec}\,x\cdot\sin x\,dx+\mathrm{C}=\int 4x\,dx+\mathrm{C}=2x^{2}+\mathrm{C}.\]Apply \(\displaystyle y=0\) when \(\displaystyle x=\dfrac{\pi}{2}\), where \(\displaystyle \sin x=1\):
\[0=2\cdot\frac{\pi^{2}}{4}+\mathrm{C}\quad\Longrightarrow\quad \mathrm{C}=-\frac{\pi^{2}}{2}.\]Particular solution: \(\displaystyle y\sin x=2x^{2}-\dfrac{\pi^{2}}{2}\), i.e. \(\displaystyle y=\dfrac{2x^{2}-\frac{\pi^{2}}{2}}{\sin x}\), \(\displaystyle \sin x\neq 0\).