2.7 Bracketing

• The bisection method is a bracketed root-finding method: this means that at every iteration, we know that the root we are looking for is within the current interval.

• We’ll apply this to the secant and Newton methods, such that we keep track of an interval at each iteration that is guaranteed to contain a root.

Idea: Suppose that f is continuous on [a,b], and that f(a) and f(b) have different signs. Then we know that f has a root in this interval.

Applying the secant method to iterates a and b will produce the next iterate xk to be in between a and b. (why?) IVT on secant line.

Then we take either the interval (a,xk) or (xk,b), depending on which one contains the sign-change.

Newton’s method applied to xk may give an xk+1 that is outside [a,b].

• If xk+1 is inside [a,b], then take it as the next iterate.

• If xk+1 is outside [a,b], then apply a bisection step instead.