Docsity

Study Guide for Week 5 in Math 170A: Topics Covered and Homework Assignment - Prof. Emre M, Study notes of Mathematics

Toggle sidebar
bg1
Instructor: Emre Mengi
Math 170A (Winter 2009)
Study Guide for Week 5
Before attempting homework 5 please make sure that you have understood the topics listed below.
We mainly focused on the Gaussian elimination with partial pivoting (section 1.8 in the textbook)
and matrix-vector norms (section 2.1) during the fifth week.
•Principal submatrices (section 1.7, page 72)
•The fact that a matrix with nonsingular principal submatrices has an LU factorization;
furthermore in this case the row-reduction algorithm (with only row-replacement operations
and without row-interchanges) works to compute the LU factorization. (see theorem 1.7.19,
page 80; we skipped the uniqueness of the LU factorization in class.)
•Permutation matrices (section 1.8, page 98)
•Computation of an LU factorization with partial pivoting; in particular the fact that the
computed factors Land Usatisfy P A =LU for some permutation matrix P(section 1.8,
pages 93-98)
•Usage of the factorization P A =LU to solve the linear system Ax =b(section 1.8, pages
98-100)
•Operation count for LU factorization (section 1.7 page 74-without pivoting and section 1.8,
page 97-with pivoting)
•The definition of a vector and a matrix norm; in particular the three properties that need to
be satisfied by a vector norm and four properties that need to be satisfied by a matrix norm
(section 2.1, page 112 for vector norms and page 115 for matrix norms)
•The common vector norms, i.e. 1-norm, 2-norm, ∞-norm and p-norm (section 2.1, pages
112-114)
•The common matrix norms, i.e. Frobenius norm, matrix norms induced by vector norms; in
particular matrix 1-norm, 2-norm and ∞-norm (section 2.1, pages 115-119).
Homework 5 (due on February 18th, Wednesday by 3pm)
In Matlab question (question 4) attach your Matlab outputs as well as the print-out of the
m-file matinverse.m.
1. An n×nmatrix Pis called a permutation matrix if it has only one nonzero entry,
that is equal to one, on each row and column.
(a) Consider the permutation matrices
P1=
0001
0010
0100
1000
and P2=
0100
0010
0001
1000
Given any 4 ×4 matrix Aexpress the products P1A,P2A,AP1and AP2in terms the
columns ai(i= 1,...,4) and the rows ¯ai(i= 1,...,4) of A.
pf3

Partial preview of the text

Download Study Guide for Week 5 in Math 170A: Topics Covered and Homework Assignment - Prof. Emre M and more Study notes Mathematics in PDF only on Docsity!

Instructor: Emre Mengi

Math 170A (Winter 2009)

Study Guide for Week 5 Before attempting homework 5 please make sure that you have understood the topics listed below. We mainly focused on the Gaussian elimination with partial pivoting (section 1.8 in the textbook) and matrix-vector norms (section 2.1) during the fifth week.

  • Principal submatrices (section 1.7, page 72)
  • The fact that a matrix with nonsingular principal submatrices has an LU factorization; furthermore in this case the row-reduction algorithm (with only row-replacement operations and without row-interchanges) works to compute the LU factorization. (see theorem 1.7.19, page 80; we skipped the uniqueness of the LU factorization in class.)
  • Permutation matrices (section 1.8, page 98)
  • Computation of an LU factorization with partial pivoting; in particular the fact that the computed factors L and U satisfy P A = LU for some permutation matrix P (section 1.8, pages 93-98)
  • Usage of the factorization P A = LU to solve the linear system Ax = b (section 1.8, pages 98-100)
  • Operation count for LU factorization (section 1.7 page 74-without pivoting and section 1.8, page 97-with pivoting)
  • The definition of a vector and a matrix norm; in particular the three properties that need to be satisfied by a vector norm and four properties that need to be satisfied by a matrix norm (section 2.1, page 112 for vector norms and page 115 for matrix norms)
  • The common vector norms, i.e. 1-norm, 2-norm, ∞-norm and p-norm (section 2.1, pages 112-114)
  • The common matrix norms, i.e. Frobenius norm, matrix norms induced by vector norms; in particular matrix 1-norm, 2-norm and ∞-norm (section 2.1, pages 115-119).

Homework 5 (due on February 18th, Wednesday by 3pm) In Matlab question (question 4 ) attach your Matlab outputs as well as the print-out of the m-file matinverse.m.

  1. An n × n matrix P is called a permutation matrix if it has only one nonzero entry, that is equal to one, on each row and column.

(a) Consider the permutation matrices

P 1 =

 and^ P^2 =

Given any 4 × 4 matrix A express the products P 1 A, P 2 A, AP 1 and AP 2 in terms the columns ai (i = 1,... , 4) and the rows ¯ai (i = 1,... , 4) of A.

(b) Verify that the product P 1 P 2 is a permutation matrix where P 1 , P 2 are as given in part (a).

(c) Show in general that the product of any two n × n permutation matrices is another permutation matrix.

  1. The ∞-norm ‖ · ‖∞ for vectors is defined as

‖v‖∞ = max 1 ≤i≤n|vi|

where v ∈ Rn. On the other hand the matrix norm ‖ · ‖∞ induced by the vector ∞-norm is defined as ‖A‖∞ = max‖x‖∞=1‖Ax‖∞.

where A is an n × n matrix and the maximization is over all x ∈ Rn^ with ‖x‖∞ = 1. (Note: the matrix ∞-norm can also be defined for rectangular matrices in a similar fashion. Here we restrict ourselves to square matrices for the sake of simplicity.)

(a) Prove that ‖v‖∞ is a vector norm.

(b) Show that ‖A‖∞ = max 1 ≤i≤n‖¯aTi ‖ 1 where ¯ai is the ith row of the n × n matrix A. (Note : the equation above means that the matrix ∞-norm is the maximal row sum of the entries in absolute value.)

(c) Describe in words the sets given below.

S 2 = {v ∈ R^2 : ‖v‖∞ = 1} S 3 = {v ∈ R^3 : ‖v‖∞ = 1}

(d) Calculate (i) the 1,2 and ∞ norms for the vector v and (ii) 1,∞ and Frobenius norms for the matrix A given below.

v =

 (^) and A =

  1. Consider the matrices

A 1 =

 (^) and A 2 =

You are expected to perform all the computations in both parts by hand.