Verified Solution • 2025–26 Session moderate

QJEEM22Ma1a44: JEE Main 2022 Mathematics - Class 12 JEEM22Ma1a44 Solution: If is the solution of the differential equation , then the…

If y=y(x)y = y(x) is the solution of the differential equation

xdydx+2y=x exx{{dy} \over {dx}} + 2y = x\,{e^x} , y(1)=0y(1) = 0 then the local maximum value

of the function z(x)=x2y(x)−ex, x∈Rz(x) = {x^2}y(x) - {e^x},\,x \in R is :

Multiple Choice Options

  • A 1 −- e
  • B 0
  • C 12{1 \over 2}
  • D 4e−e{4 \over e} - e

Step-by-Step Verified Solution

xdydx+2y=xex,  y(1)=0x{{dy} \over {dx}} + 2y = x{e^x},\,\,y(1) = 0

dydx+2xy=ex{{dy} \over {dx}} + {2 \over x}y = {e^x} , then e∫2xdxdx=x2{e^{\int {{2 \over x}dx} }}dx = {x^2}

y . x2=∫x2exdxy\,.\,{x^2} = \int {{x^2}{e^x}dx}

yx2=x2ex−∫2xexdxy{x^2} = {x^2}{e^x} - \int {2x{e^x}dx}

=x2ex−2(xex−ex)+c= {x^2}{e^x} - 2(x{e^x} - {e^x}) + c

yx2=x2ex−2xex+2ex+cy{x^2} = {x^2}{e^x} - 2x{e^x} + 2{e^x} + c

yx2=(x2−2x+2)ex+cy{x^2} = ({x^2} - 2x + 2){e^x} + c

0=e+c⇒c=−e0 = e + c \Rightarrow c = - e

y(x) . x2−ex=(x−1)2ex−ey(x)\,.\,{x^2} - {e^x} = {(x - 1)^2}{e^x} - e

z(x)=(x−1)2ex−ez(x) = {(x - 1)^2}{e^x} - e

For local maximum z′(x)=0z'(x) = 0

∴\therefore 2(x−1)ex+(x−1)2ex=02(x - 1){e^x} + {(x - 1)^2}{e^x} = 0

∴\therefore x=−1x = - 1

And local maximum value =z(−1)= z( - 1)

=4e−e= {4 \over e} - e

Related Learning Resources & Exam Preparation