Verified Solution • 2025–26 Session moderate

QJEEM21Mae8c5: JEE Main 2021 Mathematics - Class 12 JEEM21Mae8c5 Solution: If y = y(x) is the solution of the differential equation, ,…

If y = y(x) is the solution of the differential equation,

dydx+2ytan⁡x=sin⁡x,y(π3)=0{{dy} \over {dx}} + 2y\tan x = \sin x,y\left( {{\pi \over 3}} \right) = 0 , then the maximum value of the function y(x) over R is equal to:

Multiple Choice Options

  • A 18{1 \over 8}
  • B 8
  • C −- 154{15 \over 4}
  • D 12{1 \over 2}

Step-by-Step Verified Solution

dydx+2tan⁡x.y=sin⁡x{{dy} \over {dx}} + 2\tan x.y = \sin x

I.F.=e2ln⁡(sec⁡x)=sec⁡2xI.F. = {e^{2\ln (\sec x)}} = {\sec ^2}x

y.sec⁡2x=∫sin⁡xsec⁡2xdx=∫tan⁡xsec⁡x dx+cy.{\sec ^2}x = \int {\sin x{{\sec }^2}xdx = \int {\tan x\sec x\,dx + c} }

ysec⁡2x=sec⁡x+cy{\sec ^2}x = \sec x + c

y=cos⁡x+ccos⁡2xy = \cos x + c{\cos ^2}x

x=π3,y=0x = {\pi \over 3},y = 0

⇒12+c4⇒c=−2\Rightarrow {1 \over 2} + {c \over 4} \Rightarrow c = - 2

∴\therefore y=cos⁡x−2cos⁡2xy = \cos x - 2{\cos ^2}x

y=−2(cos⁡2x−12cos⁡x)=−2((cos⁡x−14)2−116)y = - 2\left( {{{\cos }^2}x - {1 \over 2}\cos x} \right) = - 2\left( {{{\left( {\cos x - {1 \over 4}} \right)}^2} - {1 \over {16}}} \right)

y=18−2(cos⁡x−14)2y = {1 \over 8} - 2{\left( {\cos x - {1 \over 4}} \right)^2}

∴\therefore ymax⁡=18{y_{\max }} = {1 \over 8}

Related Learning Resources & Exam Preparation