Given,
dxdy+x2y=ex
I.F.=e∫x2dx=e2lnx=x2
∴ General solution: y(x2)=∫ex(x2)dx
We know that
∫ {e}^{x}f\left(x\right)dx = = {e}^{x}\left[f\left(x\right) - {f}^{'} ( x ) + {f}^{''}\left(x\right) - {f}^{'''}\left(x\right)\left+ ⋯ + {\left(- 1\right)}^{n}{f}^{n}\left(x\right)\right)\right] + C
So, y(x2)=ex[x2−2x+2]+C...(i)
Given y(1)=0⇒(0)(1)=e1[1−2(1)+2]+C
⇒C=−e
∴y=x2ex[x2−2x+2]−e (from eq \left(i\right))</p><p>Hence,z ( x ) = {x}^{2}\left(\dfrac{{e}^{x}}{{x}^{2}}\right)\left[{x}^{2} - 2x + 2\right] - e - {e}^{x}</p><p>= {e}^{x}\left[{x}^{2} - 2x + 2\right] - e - {e}^{x}</p><p>z\left(x\right) = {e}^{x}\left[{x}^{2} - 2x + 1\right] - e</p><p>{z}^{'}\left(x\right) = {e}^{x}\left(2x - 2\right) + \left({x}^{2} - 2x + 1\right){e}^{x}</p><p>{z}^{'}\left(x\right) = {e}^{x}\left[{x}^{2} - 1\right]<br/>Tofindlocalmaxima,put{z}^{'}\left(x\right) = 0</p><p>⇒ {e}^{x}\left({x}^{2} - 1\right) = 0 ⇒ \left(x - 1\right)\left(x + 1\right) = 0 \left(∵ {e}^{x} > 0, \forall x \in R\right)</p><p>⇒ x = 1, - 1</p><p><imgsrc="https://cdn−question−pool.getmarks.app/pyq/jeemain/fac5d3d8−0ca7−4c9f−afbe−28e56422d7b3−image.png"style="width:331px;height:50px;"/></p><p>Itisclearfromthesignschememethod,z\left(x\right) has local maximum value at x=−1 and has local minimum value at x=1.
∴ The local maximum value is
z(−1) = {e}^{- 1}[(−1)2−2(−1)+1]−e
=e1[1+2+1] - e = e4−e</p>