Lagrange interpolation - closed form coefficients
up vote
-1
down vote
favorite
I have to find algorithm to easy compute coefficients of Lagrange polynomial.
$$y(x) = sum_{i = 1}^{n} L_i(x) f_itag{1}$$
It is polynomial of Lagrange interpolation. We know that it is of the form:
$$y(x) = a_n x^n + a_{n-1} x^{n-1} + ... + a_1 x + a_0tag{2}$$
It's easy to observe that $y(0) = a_0$, so we can compute $y(0)$ from formula $(1)$.
We continue:
$$frac{y(x) - a_0}{x} = a_n x^{n-1} + ... + a_2 x + a_1$$
But we cannot compute left side in zero, because we cannot divide by zero. What can we do next?
polynomials interpolation lagrange-interpolation
add a comment |
up vote
-1
down vote
favorite
I have to find algorithm to easy compute coefficients of Lagrange polynomial.
$$y(x) = sum_{i = 1}^{n} L_i(x) f_itag{1}$$
It is polynomial of Lagrange interpolation. We know that it is of the form:
$$y(x) = a_n x^n + a_{n-1} x^{n-1} + ... + a_1 x + a_0tag{2}$$
It's easy to observe that $y(0) = a_0$, so we can compute $y(0)$ from formula $(1)$.
We continue:
$$frac{y(x) - a_0}{x} = a_n x^{n-1} + ... + a_2 x + a_1$$
But we cannot compute left side in zero, because we cannot divide by zero. What can we do next?
polynomials interpolation lagrange-interpolation
Well, that means we can't do that trick.
– vrugtehagel
Nov 20 at 10:10
See en.wikipedia.org/wiki/Vandermonde_matrix#Applications
– lhf
Nov 20 at 10:30
add a comment |
up vote
-1
down vote
favorite
up vote
-1
down vote
favorite
I have to find algorithm to easy compute coefficients of Lagrange polynomial.
$$y(x) = sum_{i = 1}^{n} L_i(x) f_itag{1}$$
It is polynomial of Lagrange interpolation. We know that it is of the form:
$$y(x) = a_n x^n + a_{n-1} x^{n-1} + ... + a_1 x + a_0tag{2}$$
It's easy to observe that $y(0) = a_0$, so we can compute $y(0)$ from formula $(1)$.
We continue:
$$frac{y(x) - a_0}{x} = a_n x^{n-1} + ... + a_2 x + a_1$$
But we cannot compute left side in zero, because we cannot divide by zero. What can we do next?
polynomials interpolation lagrange-interpolation
I have to find algorithm to easy compute coefficients of Lagrange polynomial.
$$y(x) = sum_{i = 1}^{n} L_i(x) f_itag{1}$$
It is polynomial of Lagrange interpolation. We know that it is of the form:
$$y(x) = a_n x^n + a_{n-1} x^{n-1} + ... + a_1 x + a_0tag{2}$$
It's easy to observe that $y(0) = a_0$, so we can compute $y(0)$ from formula $(1)$.
We continue:
$$frac{y(x) - a_0}{x} = a_n x^{n-1} + ... + a_2 x + a_1$$
But we cannot compute left side in zero, because we cannot divide by zero. What can we do next?
polynomials interpolation lagrange-interpolation
polynomials interpolation lagrange-interpolation
edited Nov 20 at 10:08
vrugtehagel
10.7k1549
10.7k1549
asked Dec 6 '17 at 13:20
Margaret
11
11
Well, that means we can't do that trick.
– vrugtehagel
Nov 20 at 10:10
See en.wikipedia.org/wiki/Vandermonde_matrix#Applications
– lhf
Nov 20 at 10:30
add a comment |
Well, that means we can't do that trick.
– vrugtehagel
Nov 20 at 10:10
See en.wikipedia.org/wiki/Vandermonde_matrix#Applications
– lhf
Nov 20 at 10:30
Well, that means we can't do that trick.
– vrugtehagel
Nov 20 at 10:10
Well, that means we can't do that trick.
– vrugtehagel
Nov 20 at 10:10
See en.wikipedia.org/wiki/Vandermonde_matrix#Applications
– lhf
Nov 20 at 10:30
See en.wikipedia.org/wiki/Vandermonde_matrix#Applications
– lhf
Nov 20 at 10:30
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2553797%2flagrange-interpolation-closed-form-coefficients%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Well, that means we can't do that trick.
– vrugtehagel
Nov 20 at 10:10
See en.wikipedia.org/wiki/Vandermonde_matrix#Applications
– lhf
Nov 20 at 10:30