x2−(a+1)x+a2+a−8=0
Since roots are different, therefore D>0 ⇒(a+1)2−4(a2+a−8)>0 ⇒(a−3)(3a+l)<0
There are two cases arises.
Case I. a−3>0 and 3a+1<0 ⇒a>3 and a<−311
Hence, no solution in this case
Case II : a−3<0 and 3a+11>0 ⇒a<3 and a>−311 ∴−311<a<3⇒−2<a<3