View Full Version : Newton-Raphson Method for derivation of iteration formula
KataKoniK
Dec22-04, 09:52 AM
Hi,
Prolly a dumb question, but the general equation for finding Xn+1 is
Xn+1 = Xn - f(Xn) / f`(Xn)
What will it be for Xn-1?
X(n - 1) = X(n - 2) - f(X(n - 2)) / f'(X(n - 2)) (obviously only valid for n > 2 or n >= 2).
ahrkron
Dec22-04, 10:51 AM
Or, if you want to "walk backwards" from xm to x(m-1), you can substitute n=m-1 in your equation and solve for x(m-1):
x((m-1)+1) = x(m-1) - f(x(m-1))/f`(x(m-1))
x(m) = x(m-1) - f(x(m-1))/f`(x(m-1))
x(m-1) = x(m) + f(x(m-1))/f`(x(m-1))
From here I'm not quite sure, since you don't have f(x(m-1)) and its derivative,... maybe we can approximate them using the value at m, like so:
x(m-1) = x(m) + f(x(m))/f`(x(m))
But I'm not certain that's a valid approx... is this reasonable, guys?
KataKoniK
Dec22-04, 12:20 PM
Thanks for the help.
The question I am doing is the following.
f(x) = x^2 - a
Show that for x1 > 0 is any initial estimate for sqrt(a) then the Newton-Raphson method gives the iteration
Xn-1 = (1/2)(Xn + a/Xn) , n >= 1
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.