If the roots of the equation x2-8x+(a2-6a)=0 are real, then
-2<a<8
2<a<8
-2≤a≤8
2≤a≤8
Roots of x2-8x+(a2-6a)=0 are real. So D≥0
⇒64-4(a2-6a)≥0⇒16-a2+6a≥0 ⇒a2-6a-16≤0⇒(a-8)(a+2)≤0
Now we have two cases:
Case I: (a-8)≤0 and (a+2)≥0
⇒a≤8 and a≤-2
Case II: (a-8)≥0 and (a+2)≤0
⇒a≥8 and a≤-2 but it is impossible
Therefore, we get -2≤a≤8