Docsity

Homework #3 - Computational Mathematics I | MATH 577, Assignments of Mathematics

Toggle sidebar
bg1
Math 577 — Homework Assignment 3, due Oct.12, 2006
1. Prove that if A∈Cm×nwith rank(A) = n, then A∗Ais Hermitian and positive definite.
2. Consider the matrices
A=
1 0
0 1
1 0
, B =
1 2
0 1
1 0
used on the previous homework.
(a) Using any method you like, determine (on paper) a reduced QR factorization A=ˆ
Qˆ
Rand
a full QR factorization A=QR.
(b) Again using any method you like, determine reduced and full QR factorizations B=ˆ
Qˆ
R
and B=QR.
3. Let Abe an m×nmatrix. Determine the exact number of floating point additions, subtractions,
multiplications and divisions involved in performing the classical and modified Gram-Schmidt
algorithms as listed in the classnotes.
4. Consider the 2 ×2 orthogonal matrices
F=−c s
s c , J =c s
−s c ,
where s= sin θand c= cos θfor some θ. The first matrix has detF=−1 and is a reflector —
the special case of a Householder reflector in dimension 2. The second has detJ= 1 and effects
a rotation instead of a reflection. Such a matrix is called a Givens rotation.
(a) Describe exactly what geometric effects left-multiplications by Fand Jhave on the plane
R2. (Jrotates the plane by an angle θ, for example, but is the rotation clockwise or
counterclockwise?)
(b) Describe an algorithm for QR factorization that is analogous to the Householder QR algo-
rithm listed in the classnotes but based on Givens rotations instead of Householder reflec-
tions.

Partial preview of the text

Download Homework #3 - Computational Mathematics I | MATH 577 and more Assignments Mathematics in PDF only on Docsity!

Math 577 — Homework Assignment 3, due Oct.12, 2006

  1. Prove that if A ∈ Cm×n^ with rank(A) = n, then A∗A is Hermitian and positive definite.
  2. Consider the matrices

A =

 , B =

used on the previous homework.

(a) Using any method you like, determine (on paper) a reduced QR factorization A = Qˆ Rˆ and a full QR factorization A = QR. (b) Again using any method you like, determine reduced and full QR factorizations B = Qˆ Rˆ and B = QR.

  1. Let A be an m×n matrix. Determine the exact number of floating point additions, subtractions, multiplications and divisions involved in performing the classical and modified Gram-Schmidt algorithms as listed in the classnotes.
  2. Consider the 2 × 2 orthogonal matrices

F =

[

−c s s c

]

, J =

[

c s −s c

]

where s = sin θ and c = cos θ for some θ. The first matrix has detF = −1 and is a reflector — the special case of a Householder reflector in dimension 2. The second has detJ = 1 and effects a rotation instead of a reflection. Such a matrix is called a Givens rotation.

(a) Describe exactly what geometric effects left-multiplications by F and J have on the plane R^2. (J rotates the plane by an angle θ, for example, but is the rotation clockwise or counterclockwise?) (b) Describe an algorithm for QR factorization that is analogous to the Householder QR algo- rithm listed in the classnotes but based on Givens rotations instead of Householder reflec- tions.