noun1
- •
A formula which when given a set of n points (
x_
i,
y_
i), gives
back the unique polynomial of degree (
at most)
n − 1
in one variable which describes
a function passing through those
points.
The formula is
a sum of products,
like so: ∑ᵢⁿy_
i∏_(
j ne i)x-x_
j/
x_i-x_
j.
When x=
x_
i then all terms
in the sum other than the iᵗʰ contain a factor x-x_
i in the numerator,
which becomes
equal to zero,
thus all terms
in the sum other than the iᵗʰ vanish,
and the iᵗʰ term has factors
x_i-x_
j both in the numerator and denominator,
which simplify to yield 1,
thus the polynomial should return y_
i as the function of x_
i for any i in the set 1,...,
n.
This dictionary works without the internet: on your phone · in Chrome