Let's say we want to approximate a regular function f(x) within closed interval [-1,1],
Using Lagrange interpolating series we can write: f(x) = Lj(x)*fj http://mathworld.wolfram.com/LagrangeInterpolatingPolynomial.html
Using Fourier-Legendre series we can write: f(x) = aj*Pj(x) http://mathworld.wolfram.com/Fourier-LegendreSeries.html
Question:
1) What are the main advantages of using Fourier-Legendre series over the Lagrange interpolating series?
2) And disadvantages?
This is what I am guessing:
1) The degree of smoothness is embedded in the Fourier-Legendre interpolant. Meaning we can vary its smoothness at ease without the need of increasing sample points.
2) And vice versa for the Lagrange interpolating series.
3) The approximation using the Lagrange interpolating series is exact at sampling point while as Fouries-Legendre isn't.
This leads to my final question 3 and 4
Q3: What if we have infinite sampling points?
Q4: What if we can afford to have infinite Fouries-Legendre series?