UNIHIVE

Study Hub UNIPORT ENG 303

ENG 303 · Engineering Mathematics V (Numerical Methods and Computer Application)

Roots of equations: bisection and false position

Bracketing a root, the bisection algorithm, how many steps it needs, and the method of false position.

Our notes

1 min read

The problem

Find x such that f(x) = 0. Engineering examples: the friction factor in the Colebrook equation, the depth of flow in a channel, the eigenfrequencies of a beam.

Bracketing

If f is continuous and f(a) and f(b) have opposite signs, there is at least one root between a and b (the intermediate value theorem).

Bisection method

  1. Start with a bracket [a, b] with f(a)f(b) < 0.
  2. Take the midpoint c = (a + b)/2.
  3. Keep the half where the sign changes: if f(a)f(c) < 0 set b = c, else set a = c.
  4. Repeat until the bracket is small enough.

Worked example. f(x) = x³ − x − 2 on [1, 2]: f(1) = −2, f(2) = 4.

Stepcf(c)New bracket
11.5−0.125[1.5, 2]
21.751.609375[1.5, 1.75]
31.6250.666016[1.5, 1.625]
41.56250.252197[1.5, 1.5625]
51.531250.059113[1.5, 1.53125]

The root is 1.5214 (to 4 decimal places); after 5 steps the bracket width is 1/32 ≈ 0.031.

How many steps?

After n steps the bracket width is (b − a)/2ⁿ. For width below a tolerance ε: n ≥ log₂((b − a)/ε). For b − a = 1 and ε = 0.0001: 2ⁿ ≥ 10,000, so n = 14 steps (2¹⁴ = 16,384).
Bisection always converges but slowly (linear convergence, one binary digit per step).

False position (regula falsi)

Instead of the midpoint, use where the straight line (chord) through (a, f(a)) and (b, f(b)) crosses the axis:
c = [a f(b) − b f(a)] / [f(b) − f(a)].
Worked example. Same f on [1, 2]: c = (1 × 4 − 2 × (−2)) / (4 − (−2)) = 8/6 = 1.3333; f(1.3333) = −0.9630, so the new bracket is [1.3333, 2]. False position is usually faster than bisection, but one end can stay fixed for many steps when the curve is strongly bent.

Exams usually ask: perform several bisection or false-position steps in a table; find the number of bisection steps for a given accuracy; compare the two methods.

Common mistake: keeping the wrong half. Check the sign of f(c) against f(a), not against zero alone.

Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.

Read

Watch

We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.

All ENG 303 topics

Report

Sign in to report this. It is free.

Is this your work (a lecturer, author or publisher)? Ask us to take it down.