Iteration & Newton-Raphson

01Iteration & Newton-Raphson

Iterative Formulae

This section covers rearranging an equation into an iterative formula and interpreting its notation.

Writing an equation as an iteration

Iteration is a repeated calculation in which the previous answer becomes the next input. It can produce approximate solutions when an equation is difficult to solve analytically.

Rearrange the equation into the form x=g(x)x=g(x), then use the recurrence relation below with a chosen starting value.

xn+1=g(xn)x_{n+1}=g(x_n)
NotationMeaning
x0x_0The starting value.
xnx_nThe current approximation, after nn iterations.
xn+1x_{n+1}The next approximation, found by substituting xnx_n into gg.

Worked example: obtain the required rearrangement. Express 3x2−x3+3=03x^2-x^3+3=0 in the form x=3+3x2x=3+\dfrac{3}{x^2}.

Collect the terms involving xx and factorise:

3x2−x3+3=03=x3−3x23=x2(x−3)3x2=x−3x=3+3x2.\begin{aligned} 3x^2-x^3+3&=0\\ 3&=x^3-3x^2\\ 3&=x^2(x-3)\\ \frac{3}{x^2}&=x-3\\ x&=3+\frac{3}{x^2}. \end{aligned}

Hence the iterative formula is xn+1=3+3xn2x_{n+1}=3+\dfrac{3}{x_n^2}.

Different rearrangements give different iterations. For example, x3−x2−9=0x^3-x^2-9=0 gives x2(x−1)=9x^2(x-1)=9, so its positive root satisfies x=9x−1x=\sqrt{\dfrac{9}{x-1}}. It also satisfies x=x3−9x=\sqrt{x^3-9}. Use the rearrangement requested, rather than assuming the two iterations behave alike.

Exam Tip: In a “show that” question, begin your written solution with the original equation and show the algebra leading to the stated form. Working backwards may help you plan, but it should not replace that forward argument.

Create a free account to continue

Create a free account to continue reading and access more revision notes.