Interpolation using Lagrange polynomials

Click For Summary
The discussion centers on two methods for interpolating a polynomial of degree N-1 through N known points: solving a system of linear equations via Gaussian elimination and constructing the polynomial using Lagrange basis polynomials. While both methods require O(N^3) computational steps, concerns are raised about the numerical stability of Gaussian elimination, which is considered inferior. The Lagrange method is more explicit, but its accuracy compared to Gaussian elimination remains uncertain. Participants are exploring whether the Lagrange approach offers any advantages in terms of stability or accuracy. The conversation highlights the need for a deeper understanding of the numerical properties of both methods.
Lojzek
Messages
246
Reaction score
1
Problem: We want to calculate a polynomial of degree N-1 that crosses N known points in the plane.

Solution A: solving a NxN system of linear equation (Gauss elimination)

Solution B: construction from Lagrange basis polynomials.

One of my professors said that the first solution is inferior and I am trying to find out why.

Of course method B is more explicit, but the required time for calculation of all coefficients is probably similar, since both methods require O(N^3) steps. Is there any difference in accuracy or any other reason that would make method B better?
 
Mathematics news on Phys.org
Gaussian elimination is numerically unstable, but I don't know if the Lagrange basis technique is any better.
 
Here is a little puzzle from the book 100 Geometric Games by Pierre Berloquin. The side of a small square is one meter long and the side of a larger square one and a half meters long. One vertex of the large square is at the center of the small square. The side of the large square cuts two sides of the small square into one- third parts and two-thirds parts. What is the area where the squares overlap?

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 65 ·
3
Replies
65
Views
7K
Replies
9
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K