Turn (biochemistry): Difference between revisions

From formulasearchengine
Jump to navigation Jump to search
en>KLBot2
m Bot: Migrating 1 interwiki links, now provided by Wikidata on d:Q290042
en>JamesMilnerWhite
m →‎Tight turns: correction
Line 1: Line 1:
In mathematics, '''Neville's algorithm''' is an algorithm used for [[polynomial interpolation]] that was derived by the mathematician [[Eric Harold Neville]]. Given ''n'' + 1 points, there is a unique polynomial of degree ''≤ n'' which goes through the given points. Neville's algorithm evaluates this polynomial.
Ed is what people call me and my spouse doesn't like it at all. Kentucky is exactly where I've always been living. Doing ballet is something she would by no means give up. Distributing manufacturing has been his occupation for some time.<br><br>Feel free to visit my homepage ... [http://jplusfn.gaplus.kr/xe/qna/78647 best psychics]
 
Neville's algorithm is based on the [[Newton polynomial|Newton form]] of the interpolating polynomial and the recursion relation for the [[divided differences]]. It is similar to Aitken's algorithm (named after [[Alexander Aitken]]), which is nowadays not used.
 
==The algorithm==
 
Given a set of ''n''+1 data points (''x''<sub>''i''</sub>, ''y''<sub>''i''</sub>) where no two ''x''<sub>''i''</sub> are the same, the interpolating polynomial is the polynomial ''p'' of degree at most ''n'' with the property
<!--:<math>p(x_i) = y_i \mbox{ , } i=0,\ldots,n.</math>-->
:''p''(''x''<sub>''i''</sub>) = ''y''<sub>''i''</sub> for all ''i'' = 0,&hellip;,''n''
This polynomial exists and it is unique. Neville's algorithm evaluates the polynomial at some point ''x''.
 
Let ''p''<sub>''i'',''j''</sub> denote the polynomial of degree ''j'' &minus; ''i'' which goes through the points (''x''<sub>''k''</sub>, ''y''<sub>''k''</sub>) for ''k'' = ''i'', ''i'' + 1, &hellip;, ''j''. The
''p''<sub>''i'',''j''</sub> satisfy the recurrence relation
:{|
| <math> p_{i,i}(x) = y_i, \, </math> || <math> 0 \le i \le n, \, </math>
|-
| <math> p_{i,j}(x) = \frac{(x_j-x)p_{i,j-1}(x) + (x-x_i)p_{i+1,j}(x)}{x_j-x_i}, \, </math> || <math> 0\le i < j \le n. \, </math>
|}
This recurrence can calculate
<!--<math>p_{0,n}(x)</math>,-->
''p''<sub>0,''n''</sub>(''x''),
which is the value being sought. This is Neville's algorithm.
 
For instance, for ''n'' = 4, one can use the recurrence to fill the triangular tableau below from the left to the right.
:{|
| <math> p_{0,0}(x) = y_0 \, </math>
|-
| || <math> p_{0,1}(x) \, </math>
|-
| <math> p_{1,1}(x) = y_1 \, </math> || || <math> p_{0,2}(x) \, </math>
|-
| || <math> p_{1,2}(x) \, </math> || || <math> p_{0,3}(x) \, </math>
|-
| <math> p_{2,2}(x) = y_2 \, </math> || || <math> p_{1,3}(x) \, </math> || || style="border: 1px solid;" | <math> p_{0,4}(x) \, </math>
|-
| || <math> p_{2,3}(x) \, </math> || || <math> p_{1,4}(x) \, </math>
|-
| <math> p_{3,3}(x) = y_3 \, </math> || || <math> p_{2,4}(x) \, </math>
|-
| || <math> p_{3,4}(x) \, </math>
|-
| <math> p_{4,4}(x) = y_4 \, </math>
|}
 
This process yields
<!--<math>p_{0,4}(x)</math>,-->
''p''<sub>0,4</sub>(''x''),
the value of the polynomial going through the ''n'' + 1 data points (''x''<sub>''i''</sub>, ''y''<sub>''i''</sub>) at the point ''x''.
 
This algorithm needs [[big O notation|O]](''n''<sup>2</sup>) floating point operations.
 
 
==Application to numerical differentiation==
 
Lyness and Moler showed in 1966 that using undetermined coefficients for the polynomials in Neville's algorithm, one can compute the Maclaurin expansion of the final interpolating polynomial, which yields numerical approximations for the derivatives of the function at the origin. While "this process requires more arithmetic operations than is required in finite difference methods", "the choice of points for function evaluation is not restricted in any way". They also show that their method can be applied directly to the solution of linear systems of the Vandermonde type.
 
==References==
*{{cite book | last = Press | first = William | coauthors = Saul Teukolsky, William Vetterling and Brian Flannery | title = [[Numerical Recipes|Numerical Recipes in C. The Art of Scientific Computing]] | edition = 2nd edition | year = 1992 | publisher = Cambridge University Press | isbn = 978-0-521-43108-8 | doi=10.2277/0521431085 | chapter = §3.1 Polynomial Interpolation and Extrapolation (encrypted) | chapterurl = http://www.nrbook.com/ub30001/nr3-3-2.pdf }} (link is bad)
 
* J. N. Lyness and C.B. Moler, Van Der Monde Systems and Numerical Differentiation, Numerishe Mathematik 8 (1966) 458-464
 
==External links==
*{{MathWorld|title=Neville's Algorithm|urlname=NevillesAlgorithm}}
*[http://math.fullerton.edu/mathews/n2003/NevilleAlgorithmMod.html Module for Neville Interpolation by John H. Mathews]
*[https://s3.amazonaws.com/torkian/torkian/Site/Research/Entries/2008/2/29_Nevilles_algorithm_Java_Code.html Java Code by behzad torkian]
 
[[Category:Polynomials]]
[[Category:Interpolation]]
 
[[de:Polynominterpolation#Algorithmus_von_Neville-Aitken]]

Revision as of 22:56, 19 February 2014

Ed is what people call me and my spouse doesn't like it at all. Kentucky is exactly where I've always been living. Doing ballet is something she would by no means give up. Distributing manufacturing has been his occupation for some time.

Feel free to visit my homepage ... best psychics