I was given this problem:
For what values of $a$ is one of the roots of the equation $$(a^2+a+1)x^2+(2a−3)x+(a−5)=0$$ greater than 1, while the other one is smaller than $1$?
I have no idea how to approach this problem. Can someone possibly help me solve this problem so I can learn how to solve these types of problems?
The hint.
Let $f(x)=(a^2+a+1)x^2+(2a−3)x+a−5.$
Thus, since $$a^2+a+1=\left(a+\frac{1}{2}\right)^2+\frac{3}{4}>0,$$ we need to solve the following inequality: $$f(1)<0.$$