Let y = y x be the solution of the differential equation, d y d x + y tan x = 2 x + x 2 tan x ,   x…

Let y=yx be the solution of the differential equation, dydx+ytanx=2x+x2tanx, x-π2, π2, such that y0= 1. Then
  1. y'π4-y'-π4=π- 2
  2. y'π4+y'-π4=- 2
  3. yπ4-y-π4= 2
  4. y'π4+y'-π4=π22+2

Solution

Given dydx+ytanx=2x+x2tanx

This is a linear differential equation of the type dydx+Py=Q, where P=tanx & Q=2x+x2tanx

Now, the integrating factor I.F.=ePdx=etanx dx

=elnsecx=secx

And, the general solution is yI.F.=QI.F.dx+c

ysecx=2x+x2tanxsecxdx+c

ysecx=2xsec xdx+x2secxtanxdx+c

Using integration by parts in the second integral, we get

ysecx=2xsec xdx+x2secxtanxdx-ddxx2secxtanxdx+c

ysecx=2xsec xdx+x2secxdx-2xsecxdx+c

ysecx=x2secx+c

y=x2+c·cosx

Now, y0=1

0+c=1c=1

So, y=x2+cosx

Hence, yπ4=π216+12 and y-π4=π216+12

Differentiating y(x) with respect to x

y'x=2x-sinx

Hence, y'π4=π2-12 and y'-π4=-π2+12

y'π4-y'-π4=π-2.

Asked in: JEE Main 2019 (10 Apr Shift 2)

Practice more Differential Equations questions on Aicharya