A-level Mathematics/OCR/FP2/Numerical Methods

From testwiki
Revision as of 01:12, 31 July 2017 by imported>PokestarFan (Example: clean up & typo fixing using AWB)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The Newton-Raphson method

The best way to find a root of a function is to use the Newton-Raphson method; this uses a series of tangent lines to estimate the value of the root. The first number in the series is chosen from either one of the previous methods or semi-randomly. We can find the value of a function to a certain degree when the xn=xn+1 to the specific number of digits. This method may not work always because if f'(x) = 0 the function will be undefined at this point the function will diverge.

xn+1=xnf(x)f(x)

Example

The graph that we have above is actually the same function that Newton used to demonstrate the theory. Find the value of the root accurate to six decimal places. We are going to use 2.05 as the first value.

f(x)=3x22

x2=2.05(2.05)32(2.05)53(2.05)22=2.095710

Now we use this output for the next input and so on.

x2=2.095710(2.095710)32(2.095710)53(2.095710)22=2.094552
x3=2.094552(2.094552)32(2.094552)53(2.094552)22=2.094551
x4=2.094552(2.094552)32(2.094552)53(2.094552)22=2.094551

The root is approximately 2.094551. If we plug this into the original function we get -.00000000000004 which is very close to zero.

Template:BookCat