The correct option is A −2≤a≤8
Roots of the equation x2−8x+a2−6a=0 are real if the discriminant, B2−4AC≥0
where,A=1,B=−8,C=a2−6a
B2−4AC≥0
⇒64−4(a2−6a)≥0
⇒−4(a2−6a)+64≥0
⇒−4(a2−6a−16)≥0
Divide both sides by −4,we get (The sign of inequality will change if we multiply or divide by any real negative number)
⇒a2−6a−16≤0
⇒a2−8a+2a−16≤0
⇒a(a−8)+2(a−8)≤0
take common out (a−8) from both the terms
⇒(a+2)(a−8)≤0
∴−2≤a≤8
Hence, option B.