Docsity

Gaussian Elimination - Numerical Analysis - Exam, Exams of Mathematical Methods for Numerical Analysis and Optimization

Toggle sidebar
bg1
MATH 5510 – Preliminary Examination.
January 18, 2010
Instructions: Answer two out of the three questions. You do not have
to prove results which you rely upon, just state them clearly !
Q1) (a) Suppose that A(1) =Ais an invertible n×nmatrix and that the
Gaussian elimination algorithm with partial pivoting applied to A(1) produces
the upper triangular matrix A(n). As usual, let A(k)be the renamed A(k)
following any necessary row intrechanges before the k–th major step of the
elimination so that
a(k+1)
i,j =
a(k)
i,j ,when i≤k, 1≤j≤n,
0 when i≥k+ 1,1≤j≤k,
a(k)
i,j −a(k)
i,k a(k)
k,j /a(k)
k,k,when i, j ≥k+ 1.
Show that the total number of multiplication and division operations needed
to reduce A(1) to A(n)is (n3−n)/3. [Hint: Recall that Pn
i=1 i2=n(n+
1)(2n+ 1)/6.]
b) Suppose that all the leading principal minors of Aare positive. Show
that Ahas an LU–factorization with unit diagonal entries in Land positive
diagonal entries in U.
c) Suppose now that no partial pivoting is necessary and that A(1) =
a(1)
i,j is tridiagonal, that is, a(1)
i,j = 0 when |i−j|>1,1≤i, j ≤n. Show
that each of A(1), . . . , A(n)is tridiagonal.
pf3
pf4

Partial preview of the text

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

MATH 5510 – Preliminary Examination.

January 18, 2010

Instructions: Answer two out of the three questions. You do not have to prove results which you rely upon, just state them clearly!

Q1) (a) Suppose that A(1)^ = A is an invertible n × n matrix and that the Gaussian elimination algorithm with partial pivoting applied to A(1)^ produces the upper triangular matrix A(n). As usual, let A(k)^ be the renamed A(k) following any necessary row intrechanges before the k–th major step of the elimination so that

a( i,jk+1) =

  

a( i,jk) , when i ≤ k, 1 ≤ j ≤ n, 0 when i ≥ k + 1, 1 ≤ j ≤ k, a( i,jk) − a( i,kk) a( k,jk) /a( k,kk), when i, j ≥ k + 1.

Show that the total number of multiplication and division operations needed to reduce A(1)^ to A(n)^ is (n^3 − n)/3. [Hint: Recall that

∑n i=1 i (^2) = n(n +

1)(2n + 1)/6.]

b) Suppose that all the leading principal minors of A are positive. Show that A has an LU–factorization with unit diagonal entries in L and positive diagonal entries in U.

( c) Suppose now that no partial pivoting is necessary and that^ A(1)^ = a(1) i,j

) is tridiagonal, that is, a(1) i,j = 0 when |i − j| > 1 , 1 ≤ i, j ≤ n. Show

that each of A(1),... , A(n)^ is tridiagonal.

d) Suppose that A is an n × n invertible matrix which admits an LU– factorization without pivoting. Partition A into:

A =

  

A 1 , 1 A 1 , 2

A 2 , 1 A 2 , 2

   ,

with A 1 , 1 being a (k − 1) × (k − 1) matrix. Knowing that A 1 , 1 is invertible (why?), show that the current active array which is the (n−k+1)×(n−k−1)

matrix Ak =

( a( i,jk)

) , i, j = k,... , n is given by:

Ak = A 2 , 2 − A 2 , 1 A− 2 ,^12 A 1 , 2.

Assume now that in addition to A being invertible and admitting an LU– factorization without pivoting, A is Hermitian. Use this formula to deduce that Ak is also Hermitian, for k = 1,... , n.

Q2) (a) Prove the de la Vall´ee–Poussin lemma: Suppose that f is a real function on the interval [a, b]. Let Ωn be the set of all polynomials of degree at most n on [a, b] and let P ∈ Ωn. Suppose there exist n + 2 partition points

a ≤ x 1 < x 2 <... < xn+2 ≤ b (∗)

and n + 2 positive numbers λ 1 ,... , λn+2 such that

f (xi) − P (xi) = (−1)i+mλi, i = 1,... , n + 2,

for some fixed integer m, m = 0 or m = 1. Then

min Q∈Ωn ‖f − Q‖∞ ≥ min{λ 1 ,... , λn+2}.

Explain in your own words why the de la Vall´ee–Poussin lemma implies that if there exist n + 2 points x 1 ,... , xn+2 in the interval [a, b] satisfying (∗) such that at these points the function f and the polynomial P satisfy that

f (xi) − P (xi) = (−1)i+m‖f − P ‖∞, i = 1,... , n + 2,

for some fixed integer m, m = 0 or m = 1, then P is the best approximation polynomial for f in Ωn.

Without carrying out a detailed error analysis for Simpson’s Three– Eighths rule and comparing it with the error analysis for his usual rule, in what sense can we regard the the Three–Eighths rule to be superior to the usual one. Justify your answer.