Question:

Let \(y=y(x)\) be the solution of the differential equation \(x\dfrac{dy}{dx}+y+xy\cot x=x,\ \dfrac{\pi}{4}\le x\le\dfrac{3\pi}{4}\), \(y\left(\dfrac{\pi}{4}\right)=0\). Then \(6y\left(\dfrac{3\pi}{4}\right)\) equals ________.

Show Hint

Divide by \(x\) to get a linear equation; the integrating factor is \(x\sin x\).
Updated On: Nov 12, 2026
Show Solution
collegedunia
Verified By Collegedunia

Correct Answer: 8

Solution and Explanation

Divide by \(x\): \(\dfrac{dy}{dx}+\left(\dfrac1x+\cot x\right)y=1\).
Integrating factor \(=e^{\int(\frac1x+\cot x)dx}=e^{\ln x+\ln\sin x}=x\sin x\).
So \(\dfrac{d}{dx}(y\,x\sin x)=x\sin x\), which gives \(y\,x\sin x=\int x\sin x\,dx=-x\cos x+\sin x+C\).
Using \(y(\pi/4)=0\): \(0=-\dfrac{\pi}{4}\cdot\dfrac{\sqrt2}{2}+\dfrac{\sqrt2}{2}+C \Rightarrow C=\dfrac{\pi\sqrt2}{8}-\dfrac{\sqrt2}{2}\).
At \(x=\dfrac{3\pi}{4}\): \(x\sin x=\dfrac{3\pi}{4}\cdot\dfrac{\sqrt2}{2}=\dfrac{3\pi\sqrt2}{8}\).
Right side \(=\dfrac{3\pi}{4}\cdot\dfrac{\sqrt2}{2}+\dfrac{\sqrt2}{2}+\dfrac{\pi\sqrt2}{8}-\dfrac{\sqrt2}{2}=\dfrac{4\pi\sqrt2}{8}=\dfrac{\pi\sqrt2}{2}\).
\(y\left(\dfrac{3\pi}{4}\right)=\dfrac{\pi\sqrt2/2}{3\pi\sqrt2/8}=\dfrac43\), so \(6y\left(\dfrac{3\pi}{4}\right)=8\).
Answer: 8
Was this answer helpful?
0
0