

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Numerical Analysis I Homework 1 CMSC 666 / MAPL 666 Due September 23, 2008
Vn =
1 x 0 x^20 · · · xn 0 1 x 1 x^21 · · · xn 1 .. .
1 xn x^2 n · · · xnn
arises from polynomial interpolation. Prove that this matrix is nonsingular by showing that its determinant is nonzero.
for all t near t∗. Use this fact to devise a method for finding t∗. You may assume that you know the neighborhood referred to above.
ψ 3 (x) = (x − x 0 )(x − x 1 )(x − x 2 )(x − x 3 ),
where x 0 , x 1 , x 2 , x 4 are equally spaced points that satisfy xi − xi− 1 = h, i = 1 , 2 , 3. Show that
max x∈[x 0 ,x 3 ]
|ψ 3 (x)| = h^4 , max x∈[x 1 ,x 2 ]
|ψ 3 (x)| =
h^4 ≈. 56 h^4.
p(x) =
∑^ n
j=
fj αj (x) +
∑^ n
j=
f (^) j′ βj (x).
b. Show that {αj (x)} and {βj (x)} can be chosen to be polynomials, and show how they can be expressed in terms of the Lagrange polynomials `i(x).
p(x) =
a + bx 1 + cx
that satisfies p(xi) = yi, i = 1, 2 , 3 ,
with x 1 , x 2 , x 3 distinct.
a. Is such a function guaranteed to exist?
b. When such a function exists, is it unique?
6a. Given a function f (x), write a program that takes as input a pair of numbers defining an interval [a, b] and a set of values {xi}ni=0 in [a, b], and that produces as output a representation of the Newton interpolating polynomial for f.
6b. Write a second program that graphs the function and interpolating polyno- mial. This program should evaluate the polynomial using Horner’s rule. Explore the behavior of this polynomial for [a, b] = [− 1 , 1] and
f (x) = ex^ and f (x) =
1 + 25x^2
at a set of n uniformly spaced points for n = 5, 10 and 15. Do the same for the Chebyshev points.
For this problem, hand in the two programs and plots of the results for the three values of n, together with a fourth plot showing the results for n = 15 on only a component of the interval in the interior. Comment on what this last plot suggests.