The math optional, made finite. Daily Practice

Bisection Method (Convergence, Error)

At a Glance

Why This Chapter Matters

Bisection is the canonical example of a bracketing root-finding method and the benchmark against which all other methods are measured. UPSC 2018 tested the convergence and error analysis rather than mere computation, so the derivation of the error bound is the core skill. Knowing how many iterations are needed for a given precision is the clean, marks-focused answer UPSC rewards.

Minimum Theory

Existence (Intermediate Value Theorem). If ff is continuous on [a,b][a, b] and f(a)f(b)<0f(a)f(b) < 0, then there exists at least one root x(a,b)x^* \in (a, b).

Algorithm. At each step, compute the midpoint:

cn=an+bn2c_n = \frac{a_n + b_n}{2}

The bracket length is halved at every step: bnan=(ba)/2nb_n - a_n = (b - a)/2^n.

Error bound. After nn steps the approximate root is cnc_n and the true root satisfies

cnxba2n+1|c_n - x^*| \le \frac{b - a}{2^{n+1}}

because xx^* lies inside the bracket [an,bn][a_n, b_n] of length (ba)/2n(b-a)/2^n and cnc_n is its midpoint.

Number of iterations for tolerance ε\varepsilon. We need

ba2n+1ε    2n+1baε    nlog2 ⁣(baε)1\frac{b - a}{2^{n+1}} \le \varepsilon \implies 2^{n+1} \ge \frac{b-a}{\varepsilon} \implies n \ge \log_2\!\left(\frac{b-a}{\varepsilon}\right) - 1

A conservative round-up formula is

nlog2 ⁣(baε)n \ge \left\lceil \log_2\!\left(\frac{b-a}{\varepsilon}\right) \right\rceil

Rate of convergence. Let en=cnxe_n = |c_n - x^*|. Then en+1en/2e_{n+1} \le e_n / 2, so

en+112ene_{n+1} \le \frac{1}{2}\, e_n

This is linear convergence with rate constant p=1p = 1 and asymptotic constant C=1/2C = 1/2.

Comparison table.

MethodOrderRequires bracket?
Bisection1 (linear)Yes
Regula Falsi1 (linear)Yes
Secant1.618\approx 1.618No
Newton–Raphson2 (quadratic)No

Question Archetypes

ArchetypeRecognition
error-bound-derivationDerive the error bound or convergence rate; show en(ba)/2n+1\|e_n\| \le (b-a)/2^{n+1}
iteration-countGiven tolerance ε\varepsilon and initial bracket, find minimum nn
apply-iterationsCarry out kk bisection steps by hand and state the approximation

error-bound-derivation (1 question; 2018)

Recognition Cues

Solution Template

  1. State the IVT condition: ff continuous on [a,b][a,b], f(a)f(b)<0f(a)f(b)<0.
  2. Define [an,bn][a_n, b_n] as the bracket after nn steps; note bnan=(ba)/2nb_n - a_n = (b-a)/2^n.
  3. Since x[an,bn]x^* \in [a_n, b_n] and cn=(an+bn)/2c_n = (a_n+b_n)/2 is the midpoint, cnx(bnan)/2=(ba)/2n+1|c_n - x^*| \le (b_n - a_n)/2 = (b-a)/2^{n+1}.
  4. Take limits: as nn \to \infty the bound 0\to 0, so cnxc_n \to x^*.
  5. State the convergence rate: en+1/en1/2e_{n+1}/e_n \le 1/2 — linear convergence.

Worked Example

2018 Paper 2, 2018-P2-Q1a (10 marks)

Show that the bisection method converges linearly to a root of f(x)=x3x2=0f(x) = x^3 - x - 2 = 0 in [1,2][1, 2], and find how many iterations are needed to locate the root with error less than 0.0010.001.

Check bracket. f(1)=112=2<0f(1) = 1 - 1 - 2 = -2 < 0 and f(2)=822=4>0f(2) = 8 - 2 - 2 = 4 > 0. Since ff is continuous and signs differ, IVT guarantees a root in (1,2)(1,2).

Error bound derivation.

Define the nn-th bracket [an,bn][a_n, b_n] with a0=1a_0 = 1, b0=2b_0 = 2, so b0a0=1b_0 - a_0 = 1. After each bisection step the bracket is halved, giving

bnan=12nb_n - a_n = \frac{1}{2^n}

The approximation cn=(an+bn)/2c_n = (a_n + b_n)/2 satisfies x[an,bn]x^* \in [a_n, b_n], hence

cnxbnan2=12n+1|c_n - x^*| \le \frac{b_n - a_n}{2} = \frac{1}{2^{n+1}}

Since en+1en/2e_{n+1} \le e_n / 2 for all nn, the ratio en+1/en1/2e_{n+1}/e_n \le 1/2 independently of ff — this is linear convergence (order p=1p=1, asymptotic constant C=1/2C = 1/2).

Iteration count for ε=0.001\varepsilon = 0.001.

We need 1/2n+10.0011/2^{n+1} \le 0.001, i.e.

2n+11000    (n+1)log2103log2102^{n+1} \ge 1000 \implies (n+1)\log_2 10 \ge 3\log_2 10

More directly:

2n+11000    n+1log21000=ln1000ln2=6.90780.69319.972^{n+1} \ge 1000 \implies n+1 \ge \log_2 1000 = \frac{\ln 1000}{\ln 2} = \frac{6.9078}{0.6931} \approx 9.97

So n+110n + 1 \ge 10, giving n9n \ge 9.

Conclusion. A minimum of 9\mathbf{9} bisection iterations guarantee c9x1/210=1/1024<0.001|c_9 - x^*| \le 1/2^{10} = 1/1024 < 0.001.

n9 iterations; error bound 12n+1\boxed{n \ge 9 \text{ iterations; error bound } \le \frac{1}{2^{n+1}}}

Common Traps

Marks-Aware Writing

For a 10-mark derivation question, structure your answer in three explicit parts: (1) state the IVT and bracket halving, (2) derive the error bound with a brief proof, (3) solve the iteration count inequality with visible arithmetic. Each part is worth 3–4 marks. The examiner expects you to show the inequality 2n+1(ba)/ε2^{n+1} \ge (b-a)/\varepsilon explicitly — do not skip to the answer.

Practice Set

Only one historical question on this atom (shown above).

We've mapped all 13 years of this exam. Get new chapters, tools, and solutions as we release them — free.