3
$\begingroup$

Anybody knows how to find the polynomial function with evaluated values, where if the degree is $n$ I have $n+1$ values of the function like $f(0) = a_0, f(1) = a_1, \ldots, f(n) = a_n$.

$\endgroup$
3

1 Answer 1

2
$\begingroup$

Use $$p_i(x)=\frac {\prod_{i\neq j} (x-x_i)} {\prod_{i\neq j} (x_j - x_i)}$$ as a basis for the vector space, and notice that $p_i(x_j)=\delta_{ij}$.

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .