Docsity

Math 433 Homework 9 - Numerical Analysis - Spring 2008 - Prof. Lyudmyla Barannyk, Assignments of Mathematical Methods for Numerical Analysis and Optimization

Toggle sidebar
bg1
Math 433 - Numerical Analysis - Spring 2008
Homework 9
Assigned: Friday, March 28, 2008.
Due: Friday, April 4, 2008.
1. (Nonlinear Systems).
Write down Newton’s method to solve the system x2+y2= 4, x2−y2= 1.
Perform one step of Newton’s method with initial guess x0= 1, y0= 1.
2. (Interpolation).
The function f(x) = exis given at the 4 points: x0= 0, x1= 1, x2= 2, x3= 3.
(a) Write the interpolating polynomial in Lagrange form.
(b) Write the interpolating polynomial in Newton form.
(c) Evaluate e1.5and e4using the interpolating polynomial. Note that the first
value is interpolated while the second is extrapolated. Which approximate
value is more accurate?
(d) Use the error formula to find an upper bound for the maximum error
||f−p3||∞= max
0≤x≤3|f(x)−p3(x)|.
3. The following data are taken from a polynomial p(x) of degree ≤5. What is
the degree of p(x)? Explain.
x−2−1012 3
p(x)−5 1 1 1 7 25
4. Show that
n
X
k=0
`k(x) = 1 (hint: consider the function f(x) = 1, a polynomial
of degree 0!)
5. (Chebyshev polynomials).
The Chebyshev polynomials are defined for x∈[−1,1] by Tn(x) = cos(nθ),
x= cos θ.
(a) Derive the 3-term recurrence relation,
Tn+1(x) = 2xTn(x)−Tn−1(x).
(b) Given T0(x) = 1 and T1(x) = x, use the recurrence relation to find T2(x)
and T3(x).
(c) What are the roots of T3(x)?
1

Partial preview of the text

Download Math 433 Homework 9 - Numerical Analysis - Spring 2008 - Prof. Lyudmyla Barannyk and more Assignments Mathematical Methods for Numerical Analysis and Optimization in PDF only on Docsity!

Math 433 - Numerical Analysis - Spring 2008 Homework 9 Assigned: Friday, March 28, 2008. Due: Friday, April 4, 2008.

  1. (Nonlinear Systems). Write down Newton’s method to solve the system x^2 + y^2 = 4, x^2 − y^2 = 1. Perform one step of Newton’s method with initial guess x 0 = 1, y 0 = 1.
  2. (Interpolation). The function f (x) = ex^ is given at the 4 points: x 0 = 0, x 1 = 1, x 2 = 2, x 3 = 3. (a) Write the interpolating polynomial in Lagrange form. (b) Write the interpolating polynomial in Newton form. (c) Evaluate e^1.^5 and e^4 using the interpolating polynomial. Note that the first value is interpolated while the second is extrapolated. Which approximate value is more accurate? (d) Use the error formula to find an upper bound for the maximum error ||f − p 3 ||∞ = max 0 ≤x≤ 3 |f (x) − p 3 (x)|.
  3. The following data are taken from a polynomial p(x) of degree ≤ 5. What is the degree of p(x)? Explain. x − 2 − 1 0 1 2 3 p(x) − 5 1 1 1 7 25
  4. Show that ∑^ n k=

`k(x) = 1 (hint: consider the function f (x) = 1, a polynomial of degree 0!)

  1. (Chebyshev polynomials). The Chebyshev polynomials are defined for x ∈ [− 1 , 1] by Tn(x) = cos(nθ), x = cos θ. (a) Derive the 3-term recurrence relation, Tn+1(x) = 2xTn(x) − Tn− 1 (x). (b) Given T 0 (x) = 1 and T 1 (x) = x, use the recurrence relation to find T 2 (x) and T 3 (x). (c) What are the roots of T 3 (x)?

1