Question
Question: If $ \frac{dy}{dx} + 2y \tan x = \sin x $ and $ y = 0 $, when $ x = \frac{\pi}{3} $, show that the m...
If dxdy+2ytanx=sinx and y=0, when x=3π, show that the maximum value of y is 31.
The maximum value of y is calculated to be 81. The question asks to show that the maximum value is 31. Based on the derivation, the statement that the maximum value is 31 is incorrect. The correct maximum value is 81.
Solution
The given differential equation is dxdy+2ytanx=sinx. This is a first-order linear differential equation. The integrating factor (I.F.) is e∫2tanxdx=e2ln∣secx∣=sec2x. The general solution is ysec2x=∫sec2xsinxdx=∫secxtanxdx=secx+C. Applying the initial condition y=0 when x=3π, we get 0⋅sec2(3π)=sec(3π)+C, which simplifies to 0=2+C, so C=−2. The specific solution is ysec2x=secx−2, or y=sec2xsecx−2=cosx−2cos2x. To find the maximum value of y, let u=cosx. Then y(u)=u−2u2. This is a quadratic function whose maximum occurs at u=−2(−2)1=41. The maximum value of y is ymax=41−2(41)2=41−162=41−81=81. The question states that the maximum value is 31, but the calculation shows it is 81.