If both the roots of the quadratic equation
x2 -2kx + k2 +k -5 = 0
are less than 5, then k lies in the interval
-∞, 4
4, 5
5, 6
6, ∞
x2 - 2kx + k2 + k - 5 = 0 Roots are less than 5, D≥0 4 k2 - 4 (k2 + k - 5) ≥ 0 ..... (i) ⇒k≤5 ⇒f5 >0 .....(ii) ⇒k ∈(-∞, 4) ∪ (5, ∞); -2k2 <5 ⇒k <5 ....(iii) form (i), (ii) and (iii), k ∈ (-∞, 4)