Math

Newton's Method

Newton’s method follows the tangent line down to the x-axis, then repeats. Near a simple root, the number of correct digits roughly doubles each step.

5 minLevel 3/3The interactive stage stays ad-free.
x3.500000f(x)3.09e+1Iterations0

The amber line is the tangent at the current guess. Newton’s method follows it to the x-axis for the next guess. Near a simple root the error roughly squares each step.

What you are seeing

1

Start with a guess x₀ and evaluate f(x₀) and f′(x₀).

2

The next guess is the x-intercept of the tangent line: x₁ = x₀ − f(x₀)/f′(x₀).

3

Repeat until the change is tiny. The method can diverge or cycle if the start or derivative is bad.

Why it matters

Newton’s method is a core numerical algorithm for solving equations and optimizing smooth functions.

Complexity & details

Each iteration costs one function and one derivative evaluation. Convergence is quadratic near a simple root.

Frequently asked questions

When does Newton’s method fail?+

It can fail when the derivative is zero or nearly zero, when the start is far from the root, or when the function oscillates near the guess.

How is it different from gradient descent?+

Gradient descent uses first-order slope information to minimize a function. Newton’s method uses curvature to jump more directly toward a root or optimum.