JEE Main 2021 · Mathematics · Differential Equations · hard
The solution of dy/dx+ytan x=sec x with y(0)=2 gives y ((π)/(4))=
Single correct option
The solution of dxdy+ytanx=secx with y(0)=2 gives y(4π)=
A.23
B.21
C.32
D.23
Show answer and solution
Answer:(A) 23
The integrating factor is e∫tanxdx=secx. Then dxd(ysecx)=sec2x, so ysecx=tanx+C, i.e. y=sinx+Ccosx. From y(0)=2 we get C=2. Therefore y(π/4)=21+22=23.