The bisection algorithm is robust but slow: it halves the error at each step, so it gains about one decimal digit every 3,33{,}3 iterations. If we know the derivative of ff we can build a much faster algorithm: the Newton-Raphson method.

Property — Newton's iteration

Let ff be differentiable with derivative ff', and let x0x_0 be an initial estimate of a zero. The sequence xn+1=xnf(xn)f(xn)x_{n+1} = x_n - \frac{f(x_n)}{f'(x_n)} converges (under reasonable hypotheses) to a zero of ff. Geometrically: one draws the tangent to the graph of ff at the point (xn,f(xn))(x_n,f(x_n)) and takes as xn+1x_{n+1} the intersection of the tangent with the xx-axis.

Newton’s method for f(x)=x22f(x)=x^2-2: from the estimate x0x_0 the tangent meets the xx-axis at x1x_1, closer to the root 2\sqrt{2}; repeating, one approaches it rapidly.

Topics: Continuita
Concepts: Algoritmo di bisezione · Derivata · Metodo di newton raphson · Retta · Retta tangente
Methods: Newton raphson
Skills: Interpretare grafico · Usare formule