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 :
Solution
<p>$x{{dy} \over {dx}} + 2y = x{e^x},\,\,y(1) = 0$</p>
<p>${{dy} \over {dx}} + {2 \over x}y = {e^x}$, then ${e^{\int {{2 \over x}dx} }}dx = {x^2}$</p>
<p>$y\,.\,{x^2} = \int {{x^2}{e^x}dx}$</p>
<p>$y{x^2} = {x^2}{e^x} - \int {2x{e^x}dx}$</p>
<p>$= {x^2}{e^x} - 2(x{e^x} - {e^x}) + c$</p>
<p>$y{x^2} = {x^2}{e^x} - 2x{e^x} + 2{e^x} + c$</p>
<p>$y{x^2} = ({x^2} - 2x + 2){e^x} + c$</p>
<p>$0 = e + c \Rightarrow c = - e$</p>
<p>$y(x)\,.\,{x^2} - {e^x} = {(x - 1)^2}{e^x} - e$</p>
<p>$z(x) = {(x - 1)^2}{e^x} - e$</p>
<p>For local maximum $z'(x) = 0$</p>
<p>$\therefore$ $2(x - 1){e^x} + {(x - 1)^2}{e^x} = 0$</p>
<p>$\therefore$ $x = - 1$</p>
<p>And local maximum value $= z( - 1)$</p>
<p>$= {4 \over e} - e$</p>
About this question
Subject: Mathematics · Chapter: Differential Equations · Topic: Order and Degree
This question is part of PrepWiser's free JEE Main question bank. 172 more solved questions on Differential Equations are available — start with the harder ones if your accuracy is >70%.