Mathematics - Differential Equation Question with Solution | TestHub

MathematicsDifferential EquationLinear DE / Red. LDEMedium2 minPYQ_2019
MathematicsMediumnumerical range

Lety=yxbe the solution of the differential equation,dydx+ytanx=2x+x2tanx, x∈-π2, π2,such thaty0= 1.Then

Options:

Answer:
A
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.=e∫Pdx=e∫tanx dx

=elnsecx=secx

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

y⋅secx=∫2x+x2tanxsecxdx+c

⇒ysecx=∫2xsec xdx+∫x2secx⋅tanxdx+c

Using integration by parts in the second integral, we get

⇒ysecx=∫2xsec xdx+x2∫secx⋅tanxdx-∫ddxx2∫secx⋅tanxdx+c

⇒ysecx=∫2xsec xdx+x2∫secxdx-∫2xsecxdx+c

⇒ysecx=x2secx+c

⇒y=x2+c·cosx

Now, y0=1

⇒0+c=1⇒c=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.

Stream:JEESubject:MathematicsTopic:Differential EquationSubtopic:Linear DE / Red. LDE
⏱ 2mℹ️ Source: PYQ_2019

Doubts & Discussion

Loading discussions...