Leave lesson

Pure · Numerical methods

Chapter 1 · 4

The idea

Locating roots by change of sign

Trapping a root of f(x) = 0 in an interval using the change-of-sign rule — why continuity is essential, what a sign change does and doesn't guarantee, and refining a root to a given number of decimal places.

A full journey — read it, play with it, work it, then earn real exam marks. Everything stays on the timeline below.

In this lesson — start anywhere

Pure · Numerical methods

Locating roots by change of sign

Trapping a root of f(x) = 0 in an interval using the change-of-sign rule — why continuity is essential, what a sign change does and doesn't guarantee, and refining a root to a given number of decimal places.

Why it works

Trap it, then squeeze

Most equations cannot be solved exactly. There is no neat formula for the root of x3−2x−5=0x^3 - 2x - 5 = 0, and an equation like ex=3−xe^x = 3 - x mixes a curve and a line in a way no rearrangement untangles. So instead of solving, you locate the root: first trap it in an interval, then squeeze that interval down.

The change-of-sign rule

A root of f(x)=0f(x) = 0 is exactly where the graph y=f(x)y = f(x) crosses the xx-axis — where yy changes from negative to positive (or back). That is the whole idea:If ff is continuous on [a,b][a, b] and f(a)f(a) and f(b)f(b) have opposite signs, then f(x)=0f(x) = 0 has a root somewhere between aa and bb.

Keep reading — free

The rest of the explanation, plus 3 worked examples you step through move by move.

Start free

Takes a minute — no card.