Question 102 of 490MediumMCQ
Let y=y(x) be the solution of the differential equation xdxdy−y=x2cotx, x∈(0,π), y(2π)=2π. If 6y(6π)−8y(4π)=kπ, find k. Solutions · 1
Official solution
\[\frac{dy}{dx}-\frac{1}{x}y = x\cot x.\]
I.F. =e−lnx=1/x.
\[\frac{y}{x} = \int \cot x\,dx = \ln(\sin x)+C.\]
y(π/2)=π/2: π/2π/2=ln(sin(π/2))+C⇒1=0+C⇒C=1. So y=xln(sinx)+x.
\[y\!\left(\frac{\pi}{6}\right) = \frac{\pi}{6}\ln\frac12+\frac{\pi}{6} = \frac{\pi}{6}(1-\ln 2).\]
\[y\!\left(\frac{\pi}{4}\right) = \frac{\pi}{4}\ln\frac{1}{\sqrt{2}}+\frac{\pi}{4} = \frac{\pi}{4}\left(1-\frac12\ln2\right).\]
\[6y\!\left(\frac{\pi}{6}\right)-8y\!\left(\frac{\pi}{4}\right) = \pi(1-\ln2) - 2\pi\left(1-\frac12\ln2\right) = -\pi.\] Answer the question to unlock