Let the slope of the tangent to a curve y = f x at x , y be given by 2 tan x cos x - y . if the curve passes…

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
  1. 2-2+π2
  2. 2-π2
  3. 2+2+π2
  4. 2+π2

Solution

Given,

dydx=2tanxcosx-2tanx·y

dydx+2tanxy=2sinx

Now solving linear differential equation by finding Integrating factor =e2tanxdx=1cos2x

Solution is given by,

y1cos2x=2sinxcos2xdx

ysec2x=2cosx+C

y=2cosx+Ccos2x

Passes through π4,0

0=2+C2C=-22

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

Now, 0π2ydx=20π2cosxdx-220π2cos2xdx

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

=2-π2

Asked in: JEE Main 2022 (28 Jun Shift 2)

Practice more Differential Equations questions on Aicharya