Virtual laboratory/Mathematics/Calculus/Newton's Method — Finding Roots

Newton's Method — Finding Roots

An extension of the topic of the derivative and the tangent line to a graph. Newton's method finds a root of a function by drawing tangent lines: x_(n+1)=x_n-f(x_n)/f'(x_n). It converges quadratically — the number of correct digits roughly doubles with each iteration, far faster than the bisection method. Isaac Newton developed it around 1669 (refined by Joseph Raphson, 1690).

Newton's Method — Finding Roots
Mathematics · Calculus · Newton's method — root finding (1669)
Iteration number nn0
The tangent (Newton) method converges to the root…
iteration n
0
approximation xₙ
2.000000
error |xₙ − √2|
0.585786
slope f'(xₙ)
4.000
🎯 Challenge: hit the approximation
streak: 0

I will give you a target approximation of √2 — pick the iteration number n so that xₙ equals it. In order: x₀=2, x₁=1.5, x₂=1.4167, x₃≈1.41421.

What just happened?

We are looking for the root of the function f(x)=x2−2f(x) = x^2 - 2 — that is, the number 2\sqrt{2}. Starting from x0=2x_0 = 2, we draw a tangent to the graph at that point and see where it crosses the x-axis. This gives a better approximation x1x_1. We repeat — and after just a few steps we hit the root with enormous accuracy.

Newton's method (Newton–Raphson):

It is one of the most important numerical algorithms — it quickly finds approximate solutions of equations f(x)=0f(x)=0 that cannot be solved exactly by a formula. Isaac Newton developed it around 1669 (in "De analysi"), and Joseph Raphson simplified its notation in 1690. The idea: at each step we replace the complicated function by its tangent (the best local linear approximation) and take the tangent's root as a better approximation of the root.

Iteration formula:

xn+1=xn−f(xn)f′(xn)x_{n+1}=x_n-\dfrac{f(x_n)}{f'(x_n)}

For f(x)=x2−2f(x)=x^2-2 we have f′(x)=2xf'(x)=2x, so xn+1=12 ⁣(xn+2xn)x_{n+1}=\tfrac12\!\left(x_n+\tfrac{2}{x_n}\right). In order: x0=2x_0=2, x1=1.5x_1=1.5, x2=1.416‾x_2=1.41\overline{6}, x3=1.4142157…x_3=1.4142157\dots, x4=1.41421356…x_4=1.41421356\dots

The invariant — the tangent sets the direction:

Every step uses the slope of the tangent f′(xn)f'(x_n) at the current point — that is what shows where the next, better approximation lies. The method converges quadratically: the number of correct digits roughly doubles with each iteration, so after only a few steps we reach enormous accuracy — far faster than, e.g., the bisection (halving) method.

Why this matters on the exam:

Newton's method is a practical application of differential calculus (the derivative as the slope of the tangent) and the basis of numerical computation — it works in calculators, computers, graphics and optimization. The trick: the derivative f′(x)f'(x) is the slope of the tangent, and its root is the next approximation xn+1x_{n+1}.

Remember: the tangent method turns the hard equation f(x)=0f(x)=0 into a sequence of simple steps xn+1=xn−f(xn)f′(xn)x_{n+1}=x_n-\tfrac{f(x_n)}{f'(x_n)}, which converges to the root in a flash — digit by digit, faster and faster.

Illustrative model · NexTutor Virtual laboratory

Enjoyed the experiment? Share it.

It's free — send it to friends from school.

Theory & formulas

Iteration formula

xn+1=xn−f(xn)f′(xn)x_{n+1}=x_n-\frac{f(x_n)}{f'(x_n)} Each step draws the tangent line to the graph at the point xnx_n; the root of that tangent gives the next approximation of the root.

Quadratic convergence

Near the root the error is squared at each step: ∣en+1∣≈C ∣en∣2\lvert e_{n+1}\rvert\approx C\,\lvert e_n\rvert^2 — the number of correct digits doubles with each iteration.

Conditions

A good starting point is needed, together with f′(xn)≠0f'(x_n)\ne 0; otherwise the method may fail to converge.

Notation: ff a function, f′f' its derivative, xnx_n an approximation, en=xn−x∗e_n=x_n-x^{*} the error (x∗x^{*} — the root sought).

Frequently asked questions

›

How fast does Newton's method converge?

Very fast (quadratically) — the number of correct digits doubles with each iteration.

›

What is each step of Newton's method based on?

On the tangent line (the derivative) at the current point — the tangent's root gives a better approximation of the root.

›

Who developed Newton's method?

Isaac Newton (around 1669); Joseph Raphson simplified its notation (1690) — hence the "Newton-Raphson method".

Teaching? Embed this experiment on your site.

Free widget — paste it on your school site, blog or notes. It links to the full version.

Teaching a class or tutoring? Guide students in NexTutor →