Docsity

AMSC/CMSC 666 - Spring 2003 Final Exam: Mathematics and Computing - Prof. Peter Wolfe, Exams of Mathematical Methods for Numerical Analysis and Optimization

Toggle sidebar
bg1
AMSC/CMSC 666 Dr. Wolfe SAMPLE FINAL EXAM Spring 2003
1. (10 points) Let f(x) = 1
x. Let x0, x1,···, xkbe distinct non-zero numbers. Show that
f[x0, x1,···, xk] = (−1)k
k
Y
i=0
1
xi
(Hint: Use induction.)
2. (10 points) Construct a polynomial p(x) of degree at most 2 for which
p(x0) = y0, p0(x1) = z0, p(x2) = y2,
where x0, x1, x2, y0, z0, y2are given numbers with x06=x2. Under what conditions
will p(x) exist and be unique ?
3. (12 points) Let f∈C[a, b]. Let Snbe the result of applying the npanel Simpson’s
rule to f(of course nmust be even). Show that
lim
n→∞ Sn=Zb
a
f(x)dx.
(Hint: Show Snis a Riemann Sum.)
4. (13 points) Let
Zb
a
f(x)w(x)dx ≈
n
X
i=1
wif(xi)
be an n-point Gaussian integration rule.
(a) What are the xi?
(b) For which polynomials is the formula exact ?
(c) Prove wi>0, i = 1,...,n.
5. (15 points) Let A∈Rm×n.
(a) What is the Singular Value Decomposition for A?
(b) Define
kAk2= max
x6=0
kAxk2
kxk2
= max
kxk2=1 kAxk2
Show that kAk2=σ1, the largest singular value of A.
6. (15 points) Let Abe an invertible matrix. Let C0be given. Define R0=I−AC0and
assume kR0k<1 for some matrix norm. Define the iteration method
Cm+1 =Cm(I+Rm), Rm+1 =I−ACm+1, m ≥0
(a) Show that Cmconverges to A−1by first relating the error A−1−Cmto the
residual Rm. Then examine the behavior of the residual Rmby showing Rm+1 =
R2
m, m ≥0.
pf2

Partial preview of the text

Download AMSC/CMSC 666 - Spring 2003 Final Exam: Mathematics and Computing - Prof. Peter Wolfe and more Exams Mathematical Methods for Numerical Analysis and Optimization in PDF only on Docsity!

AMSC/CMSC 666 Dr. Wolfe SAMPLE FINAL EXAM Spring 2003

  1. (10 points) Let f (x) =

1

x

. Let x 0 , x 1 , · · · , x k be distinct non-zero numbers. Show that

f [x 0 , x 1 , · · · , x k

] = (−1)

k

k ∏

i=

xi

(Hint: Use induction.)

  1. (10 points) Construct a polynomial p(x) of degree at most 2 for which

p(x 0 ) = y 0 , p

′ (x 1 ) = z 0 , p(x 2 ) = y 2

where x 0 , x 1 , x 2 , y 0 , z 0 , y 2 are given numbers with x 0

= x 2

. Under what conditions

will p(x) exist and be unique?

  1. (12 points) Let f ∈ C[a, b]. Let S n be the result of applying the n panel Simpson’s

rule to f (of course n must be even). Show that

lim

n→∞

S

n

b

a

f (x) dx.

(Hint: Show S n is a Riemann Sum.)

  1. (13 points) Let

∫ b

a

f (x)w(x) dx ≈

n ∑

i=

w i f (x i

be an n-point Gaussian integration rule.

(a) What are the xi?

(b) For which polynomials is the formula exact?

(c) Prove w i

0 , i = 1,... , n.

  1. (15 points) Let A ∈ R

m×n .

(a) What is the Singular Value Decomposition for A?

(b) Define

‖A‖

2 = max

x 6 = 0

‖Ax‖ 2

‖x‖ 2

= max

‖x‖ 2 =

‖Ax‖ 2

Show that ‖A‖ 2 = σ 1 , the largest singular value of A.

  1. (15 points) Let A be an invertible matrix. Let C 0 be given. Define R 0

= I − AC

0 and

assume ‖R 0 ‖ < 1 for some matrix norm. Define the iteration method

C

m+

= C

m

(I + R

m

), R

m+

= I − AC

m+ , m ≥ 0

(a) Show that C m converges to A

− 1 by first relating the error A

− 1 − C m to the

residual R m

. Then examine the behavior of the residual R m by showing R m+

R

2

m

, m ≥ 0.

(b) Relate C m to the expansion

A

− 1 = C 0

(I − R

0

− 1 = C 0

∞ ∑

j=

R

j

0

  1. (25 points) Let A ∈ R

n×n be nonsingular and b ∈ R

n

. Consider the following iteration

for the solution of Ax = b.

x k+ 1 = x k

  • α(b − Ax k

(a) Show that if all the eigenvalues of A have positive real part then there will be

some real α such that the iterates converge for any starting vector x 0

. Discuss

how to choose α optimally in case A is symmetric and determine the rate of

convergence.

(b) Show that if some eigenvalues of A have negative real part and some have positive

real part, then there is no real α for which the iterations converge.

(c) Let ρ = ‖I − αA‖ < 1 for a matrix norm associated to a vector norm. Show that

the error can be expressed in terms of the difference between consecutive iterates,

namely

‖x − xk+ 1 ‖ ≤

ρ

1 − ρ

‖xk − xk+ 1 ‖

(The proof of this is short but a little tricky.)

(d) Let A be the tridiagonal matrix

A =

Find a value of α that guarantees convergence.