Docsity

5 Problems on Numerical Analysis - Sample Midterm Exam | MATH 128B, Exams of Mathematical Methods for Numerical Analysis and Optimization

Toggle sidebar
bg1
Prof. Ming Gu, 861 Evans, tel: 2-3145
Math128B: Numerical Analysis Sample Midterm
This is a closed book, closed notes exam. You need to justify every one of your
answers. Completely correct answers given without justification will receive little
credit. Do as much as you can. Partial solutions will get partial credit. Look over
the whole exam to find problems that you can do quickly.
Problem Maximum Score Your Score
1 30
2 20
3 20
4 30
Total 100
Your Name:
Your SID:
pf3
pf4
pf5

Partial preview of the text

Download 5 Problems on Numerical Analysis - Sample Midterm Exam | MATH 128B and more Exams Mathematical Methods for Numerical Analysis and Optimization in PDF only on Docsity!

Prof. Ming Gu, 861 Evans, tel: 2- Email: [email protected]

Math128B: Numerical Analysis Sample Midterm

This is a closed book, closed notes exam. You need to justify every one of your answers. Completely correct answers given without justification will receive little credit. Do as much as you can. Partial solutions will get partial credit. Look over the whole exam to find problems that you can do quickly.

Problem Maximum Score Your Score

1 30

2 20

3 20

4 30

Total 100

Your Name:

Your SID:

  1. (30 Points) Let A =

( 1 2 3 1

) .

(a) Compute the spectral radius of A.

(b) For the linear system of equations Ax = b where b =

( 1 0

) , define the Jacobi method.

(c) Find out whether the Jacobi method converges for any initial guess x 0.

  1. (20 Points) The Hankel matrix is a matrix whose entries are a constant along each anti- diagonal. The following is an example of a 4 × 4 Hankel matrix:

H 4 =

  

h 1 h 2 h 3 h 4 h 2 h 3 h 4 h 5 h 3 h 4 h 5 h 6 h 4 h 5 h 6 h 7

  .

Let H ∈ Rn×n^ be a Hankel matrix and let u ∈ Rn^ be a vector. Sketch an algorithm to compute Hu in O(n log 2 n) operations, assuming that n is a power of 2.

Hint: Let Sn ∈ Rn×n^ be the matrix that is 1 on the main anti-diagonal and 0 elsewhere. For example,

S 4 =

  

  .

Show that Sn H is a Toeplitz matrix.

  1. (30 Points)
  2. Let

u 1 =

  

   , u 2 =

  

   , u 3 =

  

  .

Use the Gram-Schmidt process to find a set of 3 orthonormal vectors.