Root Finding — Bracketing
Bracketing and Sign Change
Before applying a bracketing root-finder, verify that f changes sign in the search interval. Scanning f(x)=x²-3x+1 at integer points x=0..5 reveals sign changes at [0,1] and [2,3], confirming two real roots (near 0.382 and 2.618).
bracketing-and-sign-change
By the Intermediate Value Theorem, if f is continuous and f(a)·f(b) < 0, there is at least one root in [a,b]. Scanning f at integer points is a quick way to locate candidate brackets before applying bisection or false position.