The closed interval [−1,4] tells you the roots are −1 and 4, since those are where f equals zero and the sign switches.
f(x)≤0 on [−1,4]⇒f(x)>0 outside the roots
Where f was at or below zero, its strict positive part is the complementary open rays (−∞,−1)∪(4,∞). The roots themselves belong to neither, because there f=0.