Question:

If \(y=y(x)\) is the solution of the differential equation, \(\frac{dy}{dx}+2y\tan x=\sin x,\ y\left(\frac{\pi}{3}\right)=0\), then the maximum value of the function \(y(x)\) over \(\mathbb R\) is equal to:

Show Hint

Integrating factor is \(\sec^2x\), giving \(y=\cos x+C\cos^2x\); use \(y(\pi/3)=0\) to get \(C=-2\), then maximise \(t-2t^2\) over \(t=\cos x\).
Updated On: Nov 4, 2026
  • \(\frac{1}{8}\)
  • 8
  • \(-\frac{15}{4}\)
  • \(\frac{1}{2}\)
Show Solution
collegedunia
Verified By Collegedunia

The Correct Option is A

Solution and Explanation

Integrating factor \(=e^{\int2\tan x\,dx}=\sec^2x\).
\(y\sec^2x=\int\sin x\sec^2x\,dx=\int\sec x\tan x\,dx=\sec x+C\Rightarrow y=\cos x+C\cos^2x\).
\(y(\pi/3)=0\Rightarrow\frac12+\frac C4=0\Rightarrow C=-2\), so \(y=\cos x-2\cos^2x\).
Let \(t=\cos x\in[-1,1]\): \(y=t-2t^2\), maximum at \(t=\frac14\): \(y_{\max}=\frac14-\frac2{16}=\frac18\).
Answer: (1) \(\frac{1}{8}\)
Was this answer helpful?
0
0