If d y d x + 2 y tan x = sin x , 0 < x < π 2 and y π 3 = 0 , then the maximum value of y x…

If dydx+2ytanx=sinx,0<x<π2 and yπ3=0, then the maximum value of yx is
  1. 18
  2. 34
  3. 14
  4. 38

Solution

We know that,

dydx+y2tanx=sinx is a linear differential equation so,

I.F=e2tanxdx=e2lnsecx=sec2x

The general solution will be 

ysec2x=sinxsec2xdx+C

ysec2x=secx+C

yπ3=0C=-2

Hence the particular solution is

ysec2x=secx-2

y=cosx-2cos2x

y=18-2cosx-142

So, the maximum value of yx is 18

Asked in: JEE Main 2022 (26 Jul Shift 1)

Practice more Differential Equations questions on Aicharya