Skip to content
dronacharya.ai
← JEE Main 2022 · 26 Jun · Shift 2
MathematicsSingle correct+4 / -1Question 9 of 90

JEE Main 2022 · 26 Jun · Shift 2, Mathematics question 9

If y=y(x)y=y(x) is the solution of the differential equation xdydx+2y=xexx\dfrac{dy}{dx}+2y=xe^x, y(1)=0y(1)=0 then the local maximum value of the function z(x)=x2y(x)−exz(x)=x^2y(x)-e^x, x∈Rx\in\mathbb R is :

Choose one option
Answer and worked solution

Official answer: D

Exact form. Multiply by xx: (x2y)′=x2ex(x^2y)'=x^2e^x, so x2y=(x2−2x+2)ex+Cx^2y=(x^2-2x+2)e^x+C; y(1)=0y(1)=0 gives C=−eC=-e.

Function. z=x2y−ex=(x−1)2ex−ez=x^2y-e^x=(x-1)^2e^x-e, z′=ex(x−1)(x+1)z'=e^x(x-1)(x+1).

Local maximum at x=−1x=-1: z=4e−ez=\dfrac4e-e.

(D)