Newton's method doubles the correct digits each step
Full double precision for in 5 steps, where bisection needs 52; the error ratio is near 0.354.
bisection bracketNewton from x0 = 1
| Quantity | Viv | Checked by |
|---|---|---|
steps to exact | 5 | full double precision in 5 steps |
ratio | 0.352941 | the error ratio e_(k+1) / e_k^2 is within 10% of 0.354 |
bisection steps | 52 | bisection on [1, 2] needs 52 steps |
newton_quadratic.viv
Output · native build · Oct 14, 2026 · 0.84 s
errs: [0.414214, 0.0857864, 0.0024531, 2.1239e-06, 1.59472e-12, 0, 2.22045e-16, 0, 2.22045e-16] steps_to_exact: 5 ratio: 0.352941 bisection_steps: 52 digits_per_bisection: 0.30103
- ✓ full double precision in 5 steps
- ✓ bisection on [1, 2] needs 52 steps
- ✓ the error ratio e_(k+1) / e_k^2 is within 10% of 0.354
Open in the workbenchAtlasMore math claims
- Full statement
- Newton's method for from reaches full double precision in 5 steps, where bisection on gains digits per step and needs 52. Once the error is small it squares at each step, with the ratio within 10% of , the constant at the root.
- Scope
- One function and one start; the constant is checked at the step where the error first falls below and is still above , so rounding does not enter.
- Reference
- (correctly rounded); the error recurrence of Newton's method for .
claims/math/newton_quadratic.viv#421ec2f516