Professional Documents
Culture Documents
Homework07 PDF
Homework07 PDF
Homework07 PDF
Spring 2016
x2 + y 2 + xy = 3
x
e − 2xy = 0
(b) List the interpolation conditions that a polynomial p(x) in Legendre form has to fulfill for the given
interpolation problem and derive the respective collocation matrix with respect to the Legendre
basis.
(c) Solve the interpolation problem by deriving polynomial p(x) in Legendre form using the collocation
matrix derived in (b).
1
(d) Evaluate the polynomial p(x) in Legendre form derived in (b) at x = 2 to obtain the desired
estimate for the value f ( 21 ).
(e) Now, we want to do the same interpolation with respect to the polynomial basis of Lagrange poly-
nomials. I.e., starting from the interpolation conditions, derive the collocation matrix, compute the
Lagrange polynomials, provide the interpolating polynomial pL (x) in Lagrange form, and evaluate
the polynomial pL (x) in Lagrange form at x = 12 . How does the interpolated value compare to the
one in (d) when using Legendre polynomials? Explain your observation.