Antonio S. Torralba
Universidad Complutense  

Chemistry

BBM1

Biophysics

 

FUNDER - Theoretical Background


Feria Only in Spanish. Sorry!

Funder

Main

Theory

Documents

Example

Download

Contact


 

Functional Taylor series

Prev

Theoretical background

Up

Savitzky-Golay filters

Next



NEVILLE'S ALGORITHM FOR POLYNOMIAL EXTRAPOLATION


In the page on functional Taylor series the meaning of the susceptibilities of a system is illustrated by means of impulse-perturbation experiments. It is suggested that susceptibilities can be determined by repeatedly perturbing and solving sets of algebraic linear equations. However, the matrices of coefficients that result from such experiments are extremely ill conditioned, i.e. they are almost singular, and thus it is difficult to calculate their inverses. Furthermore, propagation of experimental errors would be strong.


A convenient alternative is to calculate the susceptibilities by obtaining several partial derivatives of the response with respect to the excitation. The details of this procedure will appear elsewhere. Here, a description of a popular algorithm for computing numerical derivatives is given. It is based on polynomial extrapolation of finite-difference formulas.


First, let Function of lambda be a function and assume we have a finite-difference formula for its first derivative, Finite-difference formula, that depends on the increment h (a discretization frequency). The exact derivative is


Derivative from a finite-difference formula

(1)


Therefore, if several evaluations of Finite-difference formula are known for decreasing values of the increment, h1 > h2 > h3 > ..., the derivative can be approximated by finding the only polynomial that interpolates every point and extrapolating to zero.


Instead of finding the coefficients of the polynomial of n-th order, Neville's algorithm builds an evaluation of that polynomial at a desired point, h. Let the i-th evaluation of Finite-difference formula (a point) be Point i. The starting idea of the algorithm is the realization that the only polynomial of degree zero passing through point i is Polynomial of degree zero, i.e. a constant. Now, let Polynomial of degree one be the value at h of the only polynomial of degree one that passes through points i and i+1. Analogously, define Polynomial of degree two as the value at h of the only polynomial of degree two that passes through points i, i+1 and i+2, et cetera. The following table results:



Neville's table

(2)


The first row contains evaluations of Finite-difference formula. The rest of the elements can be calculated from the recurrence


Recurrence

(3)


This equation is the relationship between an element of the table and the two elements immediately above, which already pass through points i+1,...,i+n-1.


Approximations of increasing orders for the derivative of Function of lambda are obtained by substituting h=0 in eq. (3). If the ratio of successive increments is constant, i.e. Delta h = h_i over h_i+1, the recurrence is


Recurrence for derivatives

(4)


Two differences between successive approximations can be calculated,


Error 1

(5)


and

Error 2

(6)


The maximum one gives an estimate of the error. Approximations are usually better for fairly large values of h_1. This is clearly advantageous in experimental applications.


REFERENCE


C.J.F. Ridders "Accurate computation of F'(x) and F'(x)F"(x)" Adv. Eng. Sftw., 4, 75-76 (1982)



Prev

Up

Next

Functional Taylor series

Theoretical background

Savitzky-Golay filters

 

Valid HTML 4.01!

Copyright © 2003-2013 Antonio Sánchez Torralba
Last modified:
Monday, 04-Mar-2013 11:58:25 CET

© 2013 Antonio Sánchez Torralba