Given: $f(x)=(x^2+a)e^{-x}$
( $0\le x\le 2$)
Prove that for $0
My attempt: $f'(x)=e^{-x}(-x^2+2x-a)$. $f'(x)=0$ , so $-x^2+2x-a=0$ $x=1\pm\sqrt{1-a}$, for $a<1$. But how can i show for $a>0$?
Given: $f(x)=(x^2+a)e^{-x}$
( $0\le x\le 2$)
Prove that for $0
My attempt: $f'(x)=e^{-x}(-x^2+2x-a)$. $f'(x)=0$ , so $-x^2+2x-a=0$ $x=1\pm\sqrt{1-a}$, for $a<1$. But how can i show for $a>0$?
Hint
As you know:
$$f'(x)=e^{-x}(-x^2+2x-a)$$
$$f'(x)=0 \rightarrow x=1 \pm \sqrt{1-a}$$
The condition $a>0$ is needed to guarantee both critical points lie in $(0,2)$. The condition $a<1$ is needed for a square root to exist.
We have $1-\sqrt{1-a}<1<2$ and $1+\sqrt{1-a}>0$, which is trivial. Now the inequality $1-\sqrt{1-a}>0$ is equivalent to $\sqrt{1-a}<1\iff 1-a<1\iff a>0$. That $1+\sqrt{1-a}<2$ we solve in the same way.