If $$y = y(x)$$ is the solution of the differential equation $$x{{dy} \over {dx}} + 2y = x\,{e^x}$$, $$y(1) = 0$$ then the local maximum value of the function $$z(x) = {x^2}y(x) - {e^x},\,x \in R$$ is :
JEE · Math · previous-year question
- A.1 $$-$$ e
- B.0
- C.$${1 \over 2}$$
- D.$${4 \over e} - e$$correct
Answer
D. $${4 \over e} - e$$
Explanation
$$x{{dy} \over {dx}} + 2y = x{e^x},\,\,y(1) = 0$$ $${{dy} \over {dx}} + {2 \over x}y = {e^x}$$, then $${e^{\int {{2 \over x}dx} }}dx = {x^2}$$ $$y\,.\,{x^2} = \int {{x^2}{e^x}dx} $$ $$y{x^2} = {x^2}{e^x} - \int {2x{e^x}dx} $$ $$ = {x^2}{e^x} - 2(x{e^x} - {e^x}) + c$$ $$y{x^2} = {x^2}{e^x} - 2x{e^x} + 2{e^x} + c$$ $$y{x^2} = ({x^2} - 2x + 2){e^x} + c$$ $$0 = e + c \Rightarrow c = - e$$ $$y(x)\,.\,{x^2} - {e^x} = {(x - 1)^2}{e^x} - e$$ $$z(x) = {(x - 1)^2}{e^x} - e$$ For local maximum $$z'(x) = 0$$ $$\therefore$$ $$2(x - 1){e^x} + {(x - 1)^2}{e^x} = 0$$ $$\therefore$$ $$x = - 1$$ And local maximum value $$ = z( - 1)$$ $$ = {4 \over e} - e$$
Practice more JEE questions
Answer thousands more real JEE previous-year questions free, get graded instantly, and climb the global ranked leaderboard.
Practice JEE free →More JEE Math questions
- What is the total number of distinct x \in \mathbb{R} for which \left|\begin{array}{ccc}x …
- Let m be the smallest positive integer such that the coefficient of x^{2} in the expansion…
- What is the total number of distinct x \in[0,1] for which \int_{0}^{x} \frac{t^{2}}{1+t^{4…
- Let \alpha, \beta \in \mathbb{R} be such that \lim _{x \rightarrow 0} \frac{x^{2} \sin (\b…
- Let z=\frac{-1+\sqrt{3} i}{2}, where i=\sqrt{-1}, and r, s \in\{1,2,3\}. Let P=\left[\begi…
- For how many values of p, the circle x^{2}+y^{2}+2 x+4 y-p=0 and the coordinate axes have …
- Let f: \mathbb{R} \rightarrow \mathbb{R} be a differentiable function such that f(0)=0, f\…
- For a real number \alpha, if the system \[ \left[\begin{array}{ccc} 1 & \alpha & \alpha^{2…