Automatic differentiation using dual numbers
|
07-03-2022, 02:12 PM
Post: #23
|
|||
|
|||
RE: Automatic differentiation using dual numbers
If guess is close to root, we can consider f as the independent variable.
x = x0 + (dx/df)(f=f0) * (f-f0)/1! + (d²x/df²)(f=f0) * (f-f0)²/2! + ... dx/df = 1 / (df/dx) = 1/f' d²x/df² = d/df (dx/df) = d/dx (1/f') * dx/df = (-f''/f'^2) / f' = -f''/f'^3 Solving root is simplify x at f=0, with iteration formula: x ← x + (1/f')*(-f) + (-f''/f'^3)*(f^2/2) + ... = x - f/f' - (f^2*f'')/(2*f'^3) + ... Drop ... = O(f^3), we have: (06-25-2022 11:05 AM)Albert Chan Wrote: I've seen some page (search for householder) flip the correction: 1/(1-ε) ≈ 1+ε |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 3 Guest(s)