Search for a tool
Newton Interpolating Polynomial

Tool to find the equation of a curve via Newton's algorithm. Newtonian Interpolating algorithm is a polynomial interpolation/approximation allowing to obtain the Lagrange polynomial as equation of the curve by knowing its points.

Results

Newton Interpolating Polynomial -

Tag(s) : Functions

Share
dCode and more

dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!

Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!

Feedback and suggestions are welcome so that dCode offers the best 'Newton Interpolating Polynomial' tool for free! Thank you!

# Newton Interpolating Polynomial

## Newtonian Interpolation Calculator

### How to find the equation of a curve using Newton algorithm?

dCode allows to use Newton's method for Polynomial Interpolation in order to find the equation of the polynomial (identical to Lagrange) in the Newton form from the already known values of the function..

From $n + 1$ known points $(x_i, y_i)$, the Newton form of the polynomial is equal to $$P(x)= [y_0] + [y_0,y_1] (x-x_0) + \ldots + [y_0,\ldots ,y_n] (x-x_0) \ldots (x-x_{n-1})$$

with the notation $[y_i]$ for divided difference.

Example: Curve whose points (1,3) and (2,5) are known. $$P(x) = [y_0] + [y_0,y_1] (x-x_0) \\ = 3 + \left(\frac{3}{1-2}+\frac{5}{2-1}\right) (x-1) = 3+2(x-1) = 2x+1$$

### What are Newton Divided Differences?

Newton Divided Differences are noted $[y_i]$ and computed by the formula $$[y_0,\dots ,y_k]=\sum_{j=0}^k {\frac{y_j}{\prod_{0\leq i\leq k,\,i\neq j}(x_j-x_i)}}$$ they intervene in the computation of Newton's interpolation.

NB: If $k = 0$, then the product $\prod(x_j-x_i) = 1$ (empty product)

## Source code

dCode retains ownership of the "Newton Interpolating Polynomial" source code. Except explicit open source licence (indicated Creative Commons / free), the "Newton Interpolating Polynomial" algorithm, the applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or the "Newton Interpolating Polynomial" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) and all data download, script, or API access for "Newton Interpolating Polynomial" are not public, same for offline use on PC, mobile, tablet, iPhone or Android app!
Reminder : dCode is free to use.

## Cite dCode

The copy-paste of the page "Newton Interpolating Polynomial" or any of its results, is allowed (even for commercial purposes) as long as you credit dCode!
Exporting results as a .csv or .txt file is free by clicking on the export icon
Cite as source (bibliography):
Newton Interpolating Polynomial on dCode.fr [online website], retrieved on 2024-09-10, https://www.dcode.fr/newton-interpolating-polynomial

## Need Help ?

Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!