in my mathematics textbook,i have found one interesting problem and i have one question.textbook asks following problem deduce all possible value of $a$,for which equation $4*x^2-2*x+a=0$ has roots in given interval $(-1;1)$ textbook used following method.it found axis of symmetry $x=-b/2*a$(here $a$ denotes coefficient before $x^2$,so in this case $a=4$) and it got $x=1/4$ because $1/4$ is located in $(-1;1)$,we have to find maximum root which is less then $1$,and minimum one,which is greater then $-1$,also consider all $a$ for which discriminant is non negative and finally we would have set of equation
$1)1-4*a>=0$
$2)(1-\sqrt{1-4*a})/4>-1$
$3)(1+\sqrt{1-4*a})/4<1$
my question is what if axis of symmetry is not located in given interval?let us suppose we have equation $5*x^2-17*x+a=0$ here axis of symmetry $x=-b/2*a=17/10=1.7$,but $1.7$ is outside of given interval $(-1;1)$,in this case what i have to do?