JEE Main 2022MathematicsDifferential EquationsHardMCQ

JEE Main 2022Differential Equations Question with Solution

JEE Main 2022 (26 Jun Shift 2)

Question

If dydx+exx22y=x22xx22e2x and y0=0, then the value of y2 is

Choose an option

Show full solutionCorrect option: C
Correct answer
C0

Step-by-step explanation

Given

dydx+exx22y=x22xx22e2x

It is linear differential equation so,

IF=ex2-2exdx

=ex2ex-2xexdx-2ex  =ex2ex-2xex-ex-2ex

IF=ex2-2xex

Now solution is given by

y×ex2-2xex=ex2-2xex×x2-2xx2-2e2x

=ex2-2xex×x2-2xexx2-2ex

Now let  x2-2xex=t

We get exx2-2x+ex2x-2dx=dt

exx2-2x+2x-2dx=dt 

exx2-2dx=dt

y×ex2-2xex=et×t×dt

y×ex2-2xex=ett-1+c

y×ex2-2xex=ex2-2xexx2-2xex-1+c

Now at x=0  y=0

0×e0=e00xex-1+c

0=-1+c  c=1

Putting the value of c=1 we get the equation as

y×ex2-2xex=ex2-2xexx2-2xex-1+1

Now putting x=2 in equation we get

y×e4-4e2=e4-4e24-4e2-1+1

y×e0=e00e2-1+1

y=-1+1=0

Practice this on the real CBT interface

Solve this JEE Main question (and the rest of the Differential Equations chapter) on PrepSharp's TCS iON-style CBT player — with timer, bookmarks and session analytics.

Solve interactively →

About this question

This is a previous-year question from JEE Main 2022, covering the Differential Equations chapter of Mathematics. PrepSharp catalogues every PYQ from JEE Main with a verified answer key and step-by-step solution prepared by IIT alumni — so you can search by chapter, topic or year and revise efficiently.