False Position Method Calculator
- The false position method, or regula falsi, keeps a bracket [1.5214, 2] around the root of f(x) = x^3 - x - 2, where the function changes sign, and improves it by interpolation rather than by halving.
- Each step draws the straight line between the two bracket endpoints and takes its zero crossing, x = a - f(a) x (b - a) / (f(b) - f(a)), as the next estimate. After 10 steps the bracket gives x = 1.52138.
- The exact root is 1.52138, so the absolute error is 2.94 x 10^-6. Because the method always keeps the sign-changing bracket, it cannot wander off like an open method can.
- False position converges faster than bisection when the function is nearly straight, but one endpoint can stay fixed for many steps on a strongly curved function, which slows it down - the Illinois modification exists to correct exactly that.
The False Position Method Calculator finds a root of an equation by repeatedly narrowing a bracket that contains it. Each step takes the zero crossing of the straight line between the bracket endpoints as the next estimate. For x^3 - x - 2 on the bracket [1, 2], ten false position iterations give 1.52138 against the exact root 1.52138, an absolute error of 2.94 x 10^-6. For cos(x) - x, eight iterations give 0.73909, the Dottie number, with an error of 4.41 x 10^-11. For x e^x - 1, six iterations give 0.56659 against the exact omega constant 0.56714, an error of 5.58 x 10^-4.
False position keeps a sign-changing bracket at every step, so it cannot diverge the way open methods can, which is why it is the accepted standard for this kind of calculation. One endpoint can stay fixed on a strongly curved function, which is the weakness the Illinois modification corrects. This page shows the formula, step-by-step workings, worked examples and sources, so you can check every number the calculator returns.
Worked examples
Cubic root
(f(x) = x^3 - x - 2 · 1 · 2 · 10 steps)
| Root estimate | 1.52138 |
| Function value at the root | -1.75 x 10^-5 |
| Exact root (known constant) | 1.52138 |
| Absolute error | 2.94 x 10^-6 |
Dottie number
(f(x) = cos(x) - x · 0 · 1 · 8 steps)
| Root estimate | 0.73909 |
| Function value at the root | 7.38 x 10^-11 |
| Exact root (known constant) | 0.73909 |
| Absolute error | 4.41 x 10^-11 |
Omega constant
(f(x) = x e^x - 1 · 0 · 1 · 6 steps)
| Root estimate | 0.56659 |
| Function value at the root | -0.00154 |
| Exact root (known constant) | 0.56714 |
| Absolute error | 5.58 x 10^-4 |
How the false position method works
The false position method, also called regula falsi, is a bracketing root finder. It begins with two values of x where the function has opposite signs, so the graph must cross zero somewhere between them. Rather than wandering freely like an open method, every step keeps that sign-changing bracket intact. This is why a false position method calculator can promise steady progress: as long as the initial bracket is valid, the estimate stays inside it and cannot run off toward infinity.
Each step draws a straight line between the two bracket endpoints and takes the point where that line crosses zero as the next estimate. Suppose the function is negative at the left endpoint and positive at the right. The line rises from one endpoint to the other, and its zero crossing is a weighted guess between them. You then evaluate the function at that guess and replace whichever endpoint shares its sign. The bracket shrinks, the sign change is preserved, and the process repeats. Geometrically, you are approximating the curve by a chord and trusting the chord's zero crossing as a stand-in for the curve's root.
The cubic case shows the method in action. For x^3 - x - 2 on the bracket [1, 2], ten false position iterations give 1.52138 against the exact root 1.52138, an absolute error of 2.94 x 10^-6. Two other standard examples behave the same way. For cos(x) - x, eight iterations give 0.73909, the Dottie number, with an error of 4.41 x 10^-11. For x e^x - 1, six iterations give 0.56659 against the exact omega constant 0.56714, an error of 5.58 x 10^-4. The pattern is consistent: a valid bracket, a chord, a new estimate, and a smaller interval.
The method has one well-known weakness. On a strongly curved function, one endpoint can stay fixed for many iterations while the other creeps toward the root, so convergence slows even though it never breaks. The Illinois modification corrects this by down-weighting the endpoint that refuses to move, which restores the method's speed on curved graphs. For a general audience, the takeaway is simple: false position trades some speed for reliability, and it is a sensible first choice when you can supply a bracket with a sign change.
Worked examples with known roots
A false position method calculator is easiest to trust when you can check it against roots you already know. The three cases below use functions whose exact answers are established, so the reported estimates and errors can be compared directly. In each case the method starts from a bracket where the function changes sign and replaces one endpoint with the zero crossing of the straight line joining the two endpoints.
The first case is the cubic x^3 - x - 2 on the bracket [1, 2]. Ten false position iterations give 1.52138, matching the exact root 1.52138 to five decimal places, with an absolute error of 2.94 x 10^-6. This is a well-behaved example: the function is smooth and monotone enough on the bracket that the estimates close in steadily from one side.
The second case is cos(x) - x, whose root is the Dottie number. Eight iterations give 0.73909, with an error of 4.41 x 10^-11. The very small error after only eight steps reflects how quickly the secant-style interpolation converges once the bracket is narrow and the curve is close to linear over the interval.
The third case is x e^x - 1, whose root is the omega constant. Six iterations give 0.56659 against the exact value 0.56714, an error of 5.58 x 10^-4. Here convergence is slower: the function is more strongly curved near the root, and one endpoint can stay fixed for several steps. That is the weakness the Illinois modification is designed to correct, by down-weighting the endpoint that keeps being retained.
Across all three examples, the bracket continues to change sign at every step, so the method cannot diverge the way open methods can. The estimates approach the known roots from within a shrinking interval, which is why the reported errors fall as iterations increase. Comparing a calculator's output with these three benchmarks is a practical way to confirm that the implementation is behaving as expected.
- x^3 - x - 2 on [1, 2]: ten iterations give 1.52138, exact root 1.52138, absolute error 2.94 x 10^-6.
- cos(x) - x: eight iterations give 0.73909, the Dottie number, error 4.41 x 10^-11.
- x e^x - 1: six iterations give 0.56659 against the omega constant 0.56714, error 5.58 x 10^-4.
False position versus bisection
Bisection and false position both start from a bracket — two x-values where the function has opposite signs — and both shrink that bracket step by step. The difference is how they choose the next estimate. Bisection ignores the function's values and simply halves the interval, taking the midpoint every time. False position uses those values: each step takes the zero crossing of the straight line between the bracket endpoints as the next estimate. Because that line follows the function's actual shape, the new point usually lands much closer to the root than a midpoint would. On well-behaved functions, this interpolation typically beats halving, reaching a given accuracy in fewer steps.
The numbers bear this out. For x^3 - x - 2 on the bracket [1, 2], ten false position iterations give 1.52138 against the exact root 1.52138, an absolute error of 2.94 x 10^-6. For cos(x) - x, eight iterations give 0.73909, the Dottie number, with an error of 4.41 x 10^-11. In both cases the method closes in quickly because the straight line between the endpoints cuts close to where the curve actually crosses zero.
False position has a second advantage that matters in practice: it keeps a sign-changing bracket at every step, so it cannot diverge the way open methods can. Newton's method or the secant method may wander or fail outright on a poor starting guess; false position always has a root trapped between its endpoints and always produces a new estimate inside that interval. That guarantee is why it is often preferred over bisection when reliability and speed both count.
The weakness appears on strongly curved functions. If the curve bends sharply, one endpoint can stay fixed for many iterations — the straight line keeps hitting the same side of the root while the other endpoint creeps in. Convergence still happens, but it slows noticeably. The omega example shows it: for x e^x - 1, six iterations give 0.56659 against the exact omega constant 0.56714, an error of 5.58 x 10^-4. Compare that with the eight-iteration result for cos(x) - x above, which is accurate to eleven decimal places. The contrast is the fixed endpoint at work.
That is exactly the weakness the Illinois modification corrects: when one endpoint refuses to move, the method halves the function value at the stalled end, tilting the next line toward the root and restoring fast convergence. A false position method calculator lets you watch this play out — run the omega case and see the stubborn endpoint, then switch on the modification and watch the error drop faster. Knowing when plain interpolation is enough, and when a curved function will slow it down, is the practical skill this comparison teaches.
Choosing a bracket
A false position method calculator is only as good as the interval you hand it. The method needs a bracket [a, b] where the function takes opposite signs at the two ends — that is, f(a) and f(b) have different signs, so the graph must cross zero somewhere between them. If both endpoints give the same sign, the method has nothing to work with: there is no guarantee a root lies inside, and the straight-line estimate can point anywhere. Before you type anything into the tool, evaluate the function at both ends and confirm the signs differ. That single check is the whole foundation of the method.
Finding such a bracket usually means scanning. Pick a starting point and step outward in modest increments, evaluating the function at each stop, until the sign flips between two consecutive points. Those two points become your bracket. A quick table of values or a rough plot makes the sign change easy to spot, and it also warns you when a function has several roots, since each sign change marks a separate bracket you should handle one at a time. Keep the interval reasonably tight around the crossing; a very wide bracket still works, but the first few estimates will be less informative.
Once the bracket is set, each step takes the zero crossing of the straight line between the bracket endpoints as the next estimate, then replaces whichever endpoint shares the sign of the new value. Because the sign change is preserved at every step, the root stays trapped inside the shrinking interval. This is why false position is safe for production code: it cannot diverge the way open methods can. The trade-off is speed. On a strongly curved function, one endpoint can stay fixed for many iterations, so convergence can be slower than you might expect. That is the weakness the Illinois modification corrects, and it is worth knowing when you read the iteration count in your results.
The numbers show both the payoff and the caution. For x^3 - x - 2 on the bracket [1, 2], ten false position iterations give 1.52138 against the exact root 1.52138, an absolute error of 2.94 x 10^-6. For cos(x) - x, eight iterations give 0.73909, the Dottie number, with an error of 4.41 x 10^-11. For x e^x - 1, six iterations give 0.56659 against the exact omega constant 0.56714, an error of 5.58 x 10^-4. Notice how the third case lags: a curved function can leave one endpoint pinned and slow the error down. Choosing a tight, well-behaved bracket is the simplest way to keep that from happening.
- Evaluate the function at both ends and confirm the signs differ before running the calculator.
- Scan outward in small steps until the sign flips between two consecutive points; those points form the bracket.
- If the function has several roots, treat each sign change as its own bracket.
- Keep the interval reasonably tight so early estimates are useful.
FAQs
What is the false position method?
The false position method, also called regula falsi, is a bracketing root-finder. It starts with two endpoints that straddle the root, then interpolates linearly between them to estimate where the function crosses zero. Unlike bisection, which halves the interval each step, false position uses the straight line through the endpoint values to pick the next point.
How accurate is false position after ten iterations?
Accuracy depends on the function. For x^3 - x - 2, ten iterations give 1.52138, which is within 2.94 x 10^-6 of the exact root. That is a useful working accuracy for many hand calculations, though results vary with the function's shape and the starting bracket you choose.
What root does cos(x) - x have?
The equation cos(x) - x = 0 has the root 0.73909, known as the Dottie number. False position reaches it in eight iterations with an error of 4.41 x 10^-11. This function is well behaved over a good bracket, so the method closes in quickly and delivers a very tight answer.
Can false position diverge?
No. False position always keeps a sign-changing bracket, so the root stays trapped inside the interval. Each new estimate replaces the endpoint on the same side of zero, and the bracket keeps containing the root. Because the root can never escape the interval, the method cannot diverge the way open methods can.
Why is my convergence slow?
On strongly curved functions, one endpoint can stay fixed while the other creeps toward the root. In the omega example, the error is still 5.58 x 10^-4 after six iterations. That one-sided stalling is the usual cause of slow progress, and it is a known weakness of plain false position.
What is the difference between false position and the secant method?
The secant method drops the bracket, so it can diverge. False position keeps the bracket, so it cannot. Both draw a line through two points to estimate the root, but false position always retains endpoints of opposite sign, which guarantees the root stays enclosed. The secant method trades that safety for potentially faster steps.