Step 2: Express the roots
Because a=1, the two roots are
x=2a−b±Δ=22k±25−k=k±5−k
The larger root is xmax=k+5−k.
Both roots will be less than 5 exactly when this larger root is less than 5 (the smaller root is then automatically <5).
Step 3: Impose “both roots < 5”
k+5−k<55−k<5−k
The right side is non-negative because k≤5.
Square both sides (permitted since both are non-negative):
(5−k)<(5−k)2
Let t=5−k(t≥0) so the inequality becomes t<t2.
t2−t>0⟹t(t−1)>0
Since t≥0, we need t>1.
t>1⟹5−k>1⟹k<4
Step 4: Combine all conditions
Real roots needed k≤5; the “both roots <5” requirement tightened this to k<4.
Hence
k∈(−∞,4)
That interval corresponds to Option C which is: (−∞,4).
Tagged Location of roots. Machine-assigned, so read it as a strong shortlist rather than a verdict.