login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A156744 Coefficients for estimation of derivative from equally spaced numerical data using the Lagrange interpolating polynomial 0
-1, 0, 1, 1, -8, 0, 8, -1, -1, 9, -45, 0, 45, -9, 1, 3, -32, 168, -672, 0, 672, -168, 32, -3 (list; table; graph; refs; listen; history; internal format)
OFFSET

1,5

COMMENTS

An effective way to approximate the derivative of equally spaced numerical data is to differentiate its Lagrange interpolating polynomial. If y[x] is equally spaced data from x = -n to +n, its Lagrange interpolating polynomial P(x) has degree 2*n+1. Then P'(0) may be expressed as a weighted sum over the y[x]. This is the triangle of coefficients C[n,m] such that P'(0) = (1/d[n]) * Sum_{m=-n}^n C[n,m] y[m]. The denominator d[n] is given by sequence A099996. This is very useful in numerical analysis. For example, when n=1, this gives the centered difference approximation to the derivative.

MATHEMATICA

facs[x_, j_, n_] := Product[If[k == j, 1, x - k], {k, -n, n}]

coefs[x_, n_] := Table[facs[x, j, n]/facs[j, j, n], {j, -n, n}]

d[n_] := Apply[LCM, Table[j, {j, 1, 2*n}]]

dCoefs[x_, n_] := d[n] D[coefs[y, n], y] /. {y -> x}

MatrixForm[Table[dCoefs[0, n], {n, 1, 5}]]

CROSSREFS

When divided by sequence A099996, this triangle gives the coefficients needed to estimate derivatives from equally spaced numerical data using Lagrange interpolation. The first and last entry of each row of the triangle has absolute value LCM{1, 2, ..., 2*n}/n*binomial(2n, n), as seen in A068553.

Sequence in context: A003131 A010679 A186981 * A021557 A200513 A200523

Adjacent sequences:  A156741 A156742 A156743 * A156745 A156746 A156747

KEYWORD

sign,tabl

AUTHOR

Bruce Boghosian (bruce.boghosian(AT)tufts.edu), Feb 14 2009

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 15 23:21 EST 2012. Contains 205860 sequences.