Docsity

Classical Interpolation - Numerical Analysis - Exam, Exams of Mathematical Methods for Numerical Analysis and Optimization

Toggle sidebar
bg1
MATH 313 August 2008 PRELIMINARY EXAMINATION
INSTRUCTIONS: Answer three out of four questions. You do not have to prove results
which you rely upon, just state them clearly.
Good luck!
Q1) (a) Consider the following classical interpolation problem.
•Given n+ 1 supp ort points
(xi, fi)i= 0,...,n; (xi6=xjfor i 6=j).
•Find a polynomial P(x) whose degree does not exceed nsuch that
P(xi) = fi, i = 0, . . . n.
Define the Vandermonde matrix, and then reformulate the above interpolation problem
as a matrix problem of solving a linear system of equations with the Vandermonde
coefficient matrix.
(b) Use the condition
xi6=xjfor i 6=j,
to prove that the Vandermonde matrix is nonsingular.
(c) Use the fact established in (b) to prove that the classical interpolation problem of (a)
has a unique solution.
(d) Let Pi0i1...ik(x) be the (unique) polynomial that interpolates at points
(xim, fim)m= 0, . . . k.
Prove that there exists a unique coefficient fi0...iksuch that
Pi0...ik(x) = Pi0...ik−1+fi0...ik(x−xi0)(x−xi1)···(x−xik−1).
(e) Prove the recursion:
fi0...ik=fi1...ik−fi0...ik−1
xik−xi0
.
Q2) (a) Let N= 2M+ 1 and consider
Ψ(x) = A0
2+
M
X
h=1
(Ahcos hx +Bhsin hx) (1)
pf3

Partial preview of the text

Download Classical Interpolation - Numerical Analysis - Exam and more Exams Mathematical Methods for Numerical Analysis and Optimization in PDF only on Docsity!

MATH 313 August 2008 PRELIMINARY EXAMINATION

INSTRUCTIONS: Answer three out of four questions. You do not have to prove results which you rely upon, just state them clearly.

Good luck!

Q1) (a) Consider the following classical interpolation problem.

  • Given n + 1 support points

(xi, fi) i = 0,... , n; (xi 6 = xj f or i 6 = j).

  • Find a polynomial P (x) whose degree does not exceed n such that

P (xi) = fi, i = 0,... n.

Define the Vandermonde matrix, and then reformulate the above interpolation problem as a matrix problem of solving a linear system of equations with the Vandermonde coefficient matrix. (b) Use the condition xi 6 = xj f or i 6 = j, to prove that the Vandermonde matrix is nonsingular. (c) Use the fact established in (b) to prove that the classical interpolation problem of (a) has a unique solution. (d) Let Pi 0 i 1 ...ik (x) be the (unique) polynomial that interpolates at points

(xim , fim ) m = 0,... k.

Prove that there exists a unique coefficient fi 0 ...ik such that

Pi 0 ...ik (x) = Pi 0 ...ik− 1 + fi 0 ...ik (x − xi 0 )(x − xi 1 ) · · · (x − xik− 1 ).

(e) Prove the recursion: fi 0 ...ik =

fi 1 ...ik − fi 0 ...ik− 1 xik − xi 0

Q2) (a) Let N = 2M + 1 and consider

Ψ(x) =

A 0

∑^ M

h=

(Ah cos hx + Bh sin hx) (1)

and p(x) = β 0 + β 1 eix^ + β 2 e^2 ix^ +... + βN − 1 e(N^ −1)ix

Assume that Ψ(x) and p(x) agree at the N points

xk = 2πk/N, k = 0, 1 ,... , N − 1

i.e., Ψ(xk) = p(xk), k = 0, 1 ,... , N − 1. Use the relation between exk^ and exN−k^ to find the matrix S such that [ A 0 A 1 A 2 · · · AM BM · · · B 2 B 1

]

[

β 0 β 1 · · · βN − 1

]

· S (2)

(b) Explain why the matrix S in (2) is invertible, and use the uniqueness of the interpolation polynomial to show that the trigonometric polynomial (1) satisfying

Ψ(xk) = yk, yk ∈ C, k = 0, ..., N − 1. (3)

is unique. (c) Explain how to solve the trigonometric interpolation problem in (3) with the help of (2) via the inverse FFT (provide the definition for the DFT matrix).

Q3) The integration formulas of Newton and Cotes have the form

∫ (^) b

a

f (x)dx ≈ h

∑^ n

i=

f (a + ih) · αi, h := b − a n

and they are obtained (i.e., the specific values for {αi}ni=0 are obtained) as follows.

  • The integrand f (x) is replaced by a suitable interpolating polynomial P (x).
  • The value

∫ (^) b a P^ (x)dx^ is taken as an approximate value for^

∫ (^) b a f^ (x)dx. (a) Formulate the trapezoidal rule and derive it as a special case of the Newton-Cotes formulas (Hint: consider the case when the interpolating polynomial has degree one). (b) Formulate the Simpson’s rule and derive it as a special case of the Newton-Cotes formulas (Hint: consider the case when the interpolating polynomial has degree two). (c) Verify that the Simpson’s rule is exact on [− 1 , 1] for all polynomials whose degree does not exceed 3 (Hint: Prove it by verifying that it holds exactly for f (x) = 1, x, x^2 , x^3 ). (d) Prove the following theorem. For (n+1) pairwise distinct nodes x 0 , x 1 ,... , xn there exist a unique set of parameters α 0 , α 1 ,... , αn such that the quadrature formula ∫ (^) b

a

f (x)dx ≈ xn − x 0 n

∑^ n

i=

f (xi) · αi

is exact for all polynomials whose degree does not exceed n. (Hint: one way to prove it is based on the fact that Vandermonde matrix is nonsingular, see, e.g., item (b) of question Q1.)

Page 2