Q34 / 90 · JEE Main 2014 (19 Apr Online) · Mathematics

If dydx+ytanx=sin2x and y0=1, then yπ is equal to

  • A
    -1
  • B
    5
  • C
    1
  • Correct answer
    D
    -5

Solution

The given differential equation dydx+ytanx=sin2x is linear differential equation of the form 

dydx+Pxy=Qx with P(x)=tanx, Q(x)=sin2x

Now, I.F.=e∫Pxdx=e∫tanxdx=elnsecx=secx

And, the solution is yI.F.=∫QxI.F.dx+c

⇒ysecx=∫secxsin2xdx+c

⇒ysecx=∫1cosx2sinxcosxdx+c

⇒ysecx=∫2sinxdx+c

⇒ysecx=-2cosx+c

Given, y0=1

⇒1·sec0=-2cos0+c

⇒1=-2+c

⇒c=3

⇒ysecx=-2cosx+3

Now, at x=π

yπsecπ=-2cosπ+3

⇒yπ-1=-2-1+3

⇒yπ=-5.

Hence, the correct answer is option: 'D'.

Relevant Questions