Newton's Method Calculator
Newton's method finds where a function equals zero by repeatedly following tangent lines. From a starting guess, it moves to where the tangent crosses the x-axis, which is usually much closer to the root. This calculator differentiates the function for you, lists every iteration and draws the tangent steps.
How to use the newton's method calculator
- Type the function, such as x^2 - 2.
- Enter a starting guess near the root.
- Press Calculate to see the iterations and the graph.
Formula
Worked example: √2 from x² − 2, start 1
- f(x) =: x^2 - 2
- Starting guess x₀: 1
◐ Partly checked
- Iterations
- 6
- f(x) at the root
Step-by-step working (2 steps)
Newton’s formula Newton's method
Follow the tangent line at the current guess down to the x-axis.
Iterate
Repeat until the guesses stop changing.
Formulas used
How this was checked
- ✓ Substituting the root gives f(x) ≈ -4.44e-16, which is 0 to rounding.
Newton’s method finds one root near the starting guess, rounded to 12 significant figures.
Frequently asked questions
How fast does Newton's method converge?
Near a simple root the number of correct digits roughly doubles every step.
Why might it fail?
If the tangent is flat (f′ = 0) or the guess is far from a root, the next guess can jump away. Try a different starting value.
How do I solve cos x = x?
Rewrite it as cos(x) − x = 0 and start from 1. The root is about 0.739085.
Related calculators
Derivative Calculator
Differentiate any function with every rule shown: power, product, quotient and chain rules.
Graphing Calculator
Plot up to three functions with an animated graph.
Cubic Equation Solver
Solve cubic equations: exact roots via the rational root theorem and factor theorem, complex roots, or accurate decimals.
