Monday, January 28, 2013

Newton, Fixed Point and Secant Method

Newton Method

This method is based on the Taylor polynomial series. It uses the tangent line to find the next point (x) until its f(x) approaches zero.

Given the P(x0)=f(x0)0!+f(x0)(xx0)1!+

Equate it 0 and solve for x.
f(x0)0!+f(x0)(xx0)1!+=0f(x0)=f(x0)(xx0)xx0=f(x0)f(x0)x=x0f(x0)f(x0)


Example: As solved in the numericalmethods.xlsx

Given x210x+9 Find a root of the equation using the starting points: 15,-1000 and 5.

We first solve for the derivative of  x210x+9 which is 2x10. And then we look for the next x's until its f(x) is zero or we followed our stopping rules.





Problem arises if the first derivative of the function is 0 and we must have a good intuition at the starting point.

Secant Method: Assignment

Compute for the zeroes of x210x+9 using the Secant Method. Show how you derive at the iterative process.

This method uses finite differences instead of differential calculus. We estimate for the first derivative as "rise over run" and there is a need for three points this time to secure succeeding estimate.

Fixed Point Method

We plug in x=g(x).

Example:

Given f(x)=x210x+9, we first find the g(x) by equating f(x)=0. And then isolate x.

x210x+9=010x=x2+9x=x210+910


We don't know how many iteration it will end but end it when x=g(x) or when they are approximately the same.

No comments:

Post a Comment