Find roots of an equation f(x) = 0 with the Newton–Raphson method. See each tangent line on the graph and the table of iterations, and discover starting points that fail.
Loading the simulation…
How to use
- Type f(x) and choose a starting guess.
- Press “Step through”.
- Drag x₀ to try other starting points.
Formula
$x_{n+1} = x_n - \dfrac{f(x_n)}{f'(x_n)}$
Level: UG (BSc / BE / BCA), PG (MSc / KSET / NET) · Topic: Numerical methods
Frequently asked questions
How fast does Newton’s method converge?
Quadratically near a simple root: the number of correct digits roughly doubles each step.
When does it fail?
When f′(x) is zero or very small, or the start is far from a root.