- 2068 Bhadra · 4 marks
Bisection method working principle
Short answer
Bisection uses the intermediate value theorem: if f(a) and f(b) have opposite signs, the root lies between them. At each step take c=(a+b)/2, keep the half interval where the sign change remains, and repeat until the interval is smaller than tolerance. It always converges linearly and needs only function values.
Explain the working principle of the bisection method to find a real root of a non-linear equation.
The bisection method is a bracketing method based on the Intermediate Value Theorem: if f(x) is continuous on [a, b] and f(a)·f(b) < 0, then f(x) = 0 has at least one real root between a and b.
Working principle
- Choose a and b such that f(a) and f(b) have opposite signs.
- Find the midpoint c = (a + b)/2.
- Test the sign of f(c):
- if f(c) = 0, c is the root;
- if f(a)·f(c) < 0, the root lies in [a, c], so set b = c;
- otherwise the root lies in [c, b], so set a = c.
- The new interval is exactly half as long as the old one and still contains the root. Repeat from step 2.
- Stop when the interval length (b − a) is less than the tolerance, or |f(c)| is very small. The last midpoint is the root.
a c b
|------------------|------------------|
f(a)<0 f(c)>0 f(b)>0
root is in [a, c] -> set b = c
Error and iterations
After n steps the interval length is (b − a)/2ⁿ, so the error is at most (b − a)/2ⁿ. For tolerance e the number of iterations needed is
n ≥ [log(b − a) − log(e)] / log 2
Example: for f(x) = x² − 2 on [1, 2], c = 1.5 gives f(c) = 0.25 > 0 and f(1) < 0, so the root is in [1, 1.5]; next c = 1.25, and so on toward √2 = 1.4142.
Features
- Always converges (if the initial interval is valid), but slowly (linear convergence).
- Needs only function values, not derivatives.
- Cannot find roots where the curve touches the axis without crossing (even multiplicity).
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- Bisection method pseudo-code · Numerical Method, chapter 2 · asked 3×
- Bisection: 3x - √(1+sin x) · Numerical Method, chapter 2
- Bisection: sin x = 1/x · Numerical Method, chapter 2
- Bisection and N-R: e^x = 3x · Numerical Method, chapter 2
- Secant method: explain and derive · Numerical Method, chapter 2 · asked 3×
- Secant method algorithm · Numerical Method, chapter 2 · asked 2×
- Second-order non-linear kinematic wave; FDM principle · Computational Techniques in Civil Engineering, chapter 5
- DC motor working principle and torque equation · Electrical Machines I, chapter 4 · asked 4×
- DC motor working principle and torque equation · Electrical Machines, chapter 4 · asked 2×
- Preemptive vs non-preemptive; real-time scheduling · Operating System, chapter 2