if the equation $$(x-2)e^x+a(x-1)^2=0,x\in R$$ have two real roots.
show that $$a>0$$
Following is a solution
since $$-a=\dfrac{(x-2)e^x}{(x-1)^2}$$ Let $$g(x)=\dfrac{(x-2)e^x}{(x-1)^2}\Longrightarrow g'(x)=\dfrac{e^x(x^2-4x+5)}{(x-1)^3}$$ so we have $$x>1,g'(x)>0\Longrightarrow g(x)\in (-\infty,+\infty)$$ and $$x<1,g'(x)<0\Longrightarrow g(x)\in (-\infty,0)$$ then have following Fig
if $-a=g(x)$ have two real roots,then $-a<0$,so we have $a>0$
$\color{red} {Is ~there ~any ~other~ solution?and ~I~ want ~more ~solution}$
