Q57 / 90 · JEE Main 2022 (28 Jun Shift 2) · Mathematics

Let the slope of the tangent to a curve y=fx at x,y be given by 2tanxcosx-y. if the curve passes through the point π4,0, then the value of ∫0π2ydx is equal to

  • A
    2-2+π2
  • Correct answer
    B
    2-π2
  • C
    2+2+π2
  • D
    2+π2

Solution

Given,

dydx=2tanxcosx-2tanx·y

dydx+2tanxy=2sinx

Now solving linear differential equation by finding Integrating factor =e∫2tanxdx=1cos2x

Solution is given by,

y1cos2x=∫2sinxcos2xdx

⇒ysec2x=2cosx+C

⇒y=2cosx+Ccos2x

Passes through π4,0

⇒0=2+C2⇒C=-22

So, fx=2cosx-22cos2x: Required curve

Now, ∫0π2ydx=2∫0π2cosxdx-22∫0π2cos2xdx

=2sinx0π2-22x2+sin2x40π2

=2-π2

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

Relevant Questions