Bisection

Find the mid-point between a and b denoted c.
Calculate f(c) and check its sign.
Compare the sign of f(c) with f(b) and f(a).
IF
f(c)<0
f(c)>0
Reassign a's value to c.
Reassign b's value to c.
0.00.51.01.52.02.53.03.54.0-10-8-6-4-20246810
Bisection is the simplest and most robust bracketing method. It is robust because bracketing, by definition, always ensures convergence to the root. We now consider the convergence of the bisection method. To do this consider the width of the bracket (wn): wn=bnan=12n(b0a0) As the width is halved with each iteration. The error in the solution, en , at any point in the iteration is defined as the difference between the numerical and true solutions en=xnx Since xn is the bisector, we know that |en| will be less than half the width of the bracket max(|en|)=wn2 We know that this width will be the maximum possible difference between the numerical and true solutions. We can then substitute to find the maximum error max(|en|)=wn2=bnan2=12n+1(b0a0) meaning the maximum error halves with each step max(|en+1|)=max(|en|2