Third Order Convergence for Reciprocal
|
09-22-2021, 10:32 AM
(This post was last modified: 09-22-2021 11:30 AM by Albert Chan.)
Post: #7
|
|||
|
|||
RE: Third Order Convergence for Reciprocal
(09-20-2021 10:14 AM)ttw Wrote: There is an old method for matrix inverse that can be used with ordinary numbers. The idea is that 1/(1+x)=1-x-x^2-x^3.... Then this term is collapsed to (1-x)(1-x^2)(1-x^4)(1-x^8)... until x^(2k) is small. Some signs should be "+" 1/(1-x) = 1 + x + x^2 + x^3 + ... = (1+x) * (1 + x^2 + x^4 + ...) = (1+x) * (1+x^2) * (1 + x^4 + x^8 + ...) = (1+x) * (1+x^2) * (1+x^4) * (1+x^8) ... Replace x by (-x): 1/(1+x) = 1 - x + x^2 - x^3 + ... = (1-x) * (1+x^2) * (1+x^4) * (1+x^8) ... Using the same idea, we can show rcp(x) and rcp3(x) are equivalent. Let n = 1-ε, 1st application of Halley, with guess x = 1, gives x' = (1+ε+ε^2) 2nd application of Halley: ε' = 1 - n*x' = 1 - (1-ε)*(1+ε+ε^2) = ε^3 rcp(1-ε) = (1 + ε + ε^2) * (1 + ε^3 + ε^6) = 1 + ε + ε^2 + ... + ε^8 rcp3(1-ε) = 1 + (ε+ε^2)*(1+ε^2)*(1+ε^4) = 1 + ε + ε^2 + ... + ε^8 |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Third Order Convergence for Reciprocal - Albert Chan - 09-19-2021, 04:14 PM
RE: Third Order Convergence for Reciprocal - Albert Chan - 09-19-2021, 04:47 PM
RE: Third Order Convergence for Reciprocal - Albert Chan - 09-19-2021, 05:59 PM
RE: Third Order Convergence for Reciprocal - lyuka - 09-20-2021, 04:33 AM
RE: Third Order Convergence for Reciprocal - Albert Chan - 09-20-2021, 01:20 PM
RE: Third Order Convergence for Reciprocal - ttw - 09-20-2021, 10:14 AM
RE: Third Order Convergence for Reciprocal - Albert Chan - 09-22-2021 10:32 AM
RE: Third Order Convergence for Reciprocal - Namir - 09-25-2021, 09:39 PM
|
User(s) browsing this thread: 2 Guest(s)