Math/CS 466/666: Homework Solutions for Chapter 3

Similar documents
22m:033 Notes: 3.1 Introduction to Determinants

Determinants Chapter 3 of Lay

Chapter 3. Determinants and Eigenvalues

Determinant of a Matrix

Math 240 Calculus III

Matrix Factorization and Analysis

5.6. PSEUDOINVERSES 101. A H w.

Gaussian Elimination and Back Substitution

Chapter 2. Square matrices

Math Lecture 26 : The Properties of Determinants

Determinants. Samy Tindel. Purdue University. Differential equations and linear algebra - MA 262

MA2501 Numerical Methods Spring 2015

Determinants. Recall that the 2 2 matrix a b c d. is invertible if

MIDTERM 1 - SOLUTIONS

MATH 2050 Assignment 8 Fall [10] 1. Find the determinant by reducing to triangular form for the following matrices.

Linear algebra I Homework #1 due Thursday, Oct. 5

Recall : Eigenvalues and Eigenvectors

Numerical Linear Algebra Homework Assignment - Week 2

Math 502 Fall 2005 Solutions to Homework 3

1 Determinants. 1.1 Determinant

Components and change of basis

Determinants of 2 2 Matrices

Math Lecture 27 : Calculating Determinants

Determinants: summary of main results

Matrices. Chapter Definitions and Notations

Elementary maths for GMT

Chapter 4. Determinants

SPRING OF 2008 D. DETERMINANTS

Linear Algebra Primer

MATH Topics in Applied Mathematics Lecture 12: Evaluation of determinants. Cross product.

Linear Algebra. Matrices Operations. Consider, for example, a system of equations such as x + 2y z + 4w = 0, 3x 4y + 2z 6w = 0, x 3y 2z + w = 0.

Linear Equations and Matrix

ENGR-1100 Introduction to Engineering Analysis. Lecture 21. Lecture outline

MATH 1210 Assignment 4 Solutions 16R-T1

Lecture 8: Determinants I

Question: Given an n x n matrix A, how do we find its eigenvalues? Idea: Suppose c is an eigenvalue of A, then what is the determinant of A-cI?

A = , A 32 = n ( 1) i +j a i j det(a i j). (1) j=1

ENGR-1100 Introduction to Engineering Analysis. Lecture 21

Linear Algebra and Matrix Inversion

MATH 110: LINEAR ALGEBRA PRACTICE MIDTERM #2

Determinants. Beifang Chen

Chapter 2:Determinants. Section 2.1: Determinants by cofactor expansion

AMS 209, Fall 2015 Final Project Type A Numerical Linear Algebra: Gaussian Elimination with Pivoting for Solving Linear Systems

Matrices. In this chapter: matrices, determinants. inverse matrix

Evaluating Determinants by Row Reduction

Linear Algebra Section 2.6 : LU Decomposition Section 2.7 : Permutations and transposes Wednesday, February 13th Math 301 Week #4

k=1 ( 1)k+j M kj detm kj. detm = ad bc. = 1 ( ) 2 ( )+3 ( ) = = 0

II. Determinant Functions

Matrix Algebra Determinant, Inverse matrix. Matrices. A. Fabretti. Mathematics 2 A.Y. 2015/2016. A. Fabretti Matrices

MTH5112 Linear Algebra I MTH5212 Applied Linear Algebra (2017/2018)

MH1200 Final 2014/2015

4. Determinants.

Fall Inverse of a matrix. Institute: UC San Diego. Authors: Alexander Knop

Linear Algebra Solutions 1

Final Examination 201-NYC-05 December and b =

. =. a i1 x 1 + a i2 x 2 + a in x n = b i. a 11 a 12 a 1n a 21 a 22 a 1n. i1 a i2 a in

1 Multiply Eq. E i by λ 0: (λe i ) (E i ) 2 Multiply Eq. E j by λ and add to Eq. E i : (E i + λe j ) (E i )

I = i 0,

E k E k 1 E 2 E 1 A = B

Lemma 8: Suppose the N by N matrix A has the following block upper triangular form:

2 b 3 b 4. c c 2 c 3 c 4

MODEL ANSWERS TO THE THIRD HOMEWORK

GAUSSIAN ELIMINATION AND LU DECOMPOSITION (SUPPLEMENT FOR MA511)

7.3. Determinants. Introduction. Prerequisites. Learning Outcomes

Linear Algebra Primer

TOPIC III LINEAR ALGEBRA

Linear Systems and Matrices

MATH2210 Notebook 2 Spring 2018

Linear algebra I Homework #1 due Thursday, Oct Show that the diagonals of a square are orthogonal to one another.

Matrices Gaussian elimination Determinants. Graphics 2009/2010, period 1. Lecture 4: matrices

Math Linear Algebra Final Exam Review Sheet

Determinants: Introduction and existence

ANALYTICAL MATHEMATICS FOR APPLICATIONS 2018 LECTURE NOTES 3

Math Matrix Theory - Spring 2012

Math Camp Notes: Linear Algebra I

Lectures on Linear Algebra for IT

MATRICES AND MATRIX OPERATIONS

Midterm for Introduction to Numerical Analysis I, AMSC/CMSC 466, on 10/29/2015

CHAPTER 6. Direct Methods for Solving Linear Systems

Matrices: 2.1 Operations with Matrices

1300 Linear Algebra and Vector Geometry

Lecture Notes in Linear Algebra

Inverses and Determinants

Things we can already do with matrices. Unit II - Matrix arithmetic. Defining the matrix product. Things that fail in matrix arithmetic

Matrices and Determinants

Homework Set #8 Solutions

3 Matrix Algebra. 3.1 Operations on matrices

MATH 2030: MATRICES. Example 0.2. Q:Define A 1 =, A. 3 4 A: We wish to find c 1, c 2, and c 3 such that. c 1 + c c

Lecture 2: Eigenvalues and their Uses

Linear Algebra M1 - FIB. Contents: 5. Matrices, systems of linear equations and determinants 6. Vector space 7. Linear maps 8.

Linear Algebra: Lecture notes from Kolman and Hill 9th edition.

Formula for the inverse matrix. Cramer s rule. Review: 3 3 determinants can be computed expanding by any row or column

n n matrices The system of m linear equations in n variables x 1, x 2,..., x n can be written as a matrix equation by Ax = b, or in full

30.3. LU Decomposition. Introduction. Prerequisites. Learning Outcomes

3.2 Gaussian Elimination (and triangular matrices)

MA 1B ANALYTIC - HOMEWORK SET 7 SOLUTIONS

Determinants An Introduction

Linear Algebra Math 221

Determinants: Uniqueness and more

P = 1 F m(p ) = IP = P I = f(i) = QI = IQ = 1 F m(p ) = Q, so we are done.

Transcription:

Math/CS 466/666: Homework Solutions for Chapter 3 31 Can all matrices A R n n be factored A LU? Why or why not? Consider the matrix A ] 0 1 1 0 Claim that this matrix can not be factored A LU For contradiction, suppose that it could Then there would exist a lower-triangular matrix L R 2 2 and an upper-triangular matrix U R 2 2 such that A LU Therefore ] ] ] ] 0 1 L11 0 U11 U 12 L11 U 11 L 11 U 12 1 0 L 21 L 22 0 U 22 L 21 U 11 L 21 U 12 + L 22 U 22 Now L 11 U 11 0 implies either L 11 0 or U 11 0 or both If U 11 0 then L 21 U 11 0 contradicts the lower left corner of A being one On the other hand, if L 11 0 then L 11 U 12 0 contradicts the upper right corner of A being one As both possibilities lead to a contradiction, there is no LU factorization of A 1

36 Numerical algorithms appear in many components of simulation software for quantum physics The Schrödinger equation and others involve complex numbers in C, however, so we must extend the machinery we have developed for solving linear systems of equations to this case Recall that a complex number x C can be written as x a + bi, where a, b R and i 2 1 Suppose we wish to solve Ax b, but now A C n n and x, b C n Explain how a linear solver that takes only real-valued systems can be used to solve this equation First observe that the multiplication of complex numbers (a + bi)(c + di) ac bd + i(ad + bc) can be expressed as multiplication of the real matrices ] ] ] a b c d ac bd ad + bc b a d c (ad + bc) ac bd Following this pattern write A A 1 + A 2 i, where A 1, A 2 R n n and similarly decompose x x 1 + x 2 i and b b 1 + b 2 i where x 1, x 2, b 1, b 2 R n Now consider the real-valued matrix in R 2n 2n and the real-valued vectors in R 2n given by A1 A A 2 A 2 A 1 Now, if x is a solution to Ax b, then ] ] x1, X x 2 and B b1 b 2 Ax (A 1 + A 2 i)(x 1 + x 2 i) A 1 x 1 A 2 x 2 i(a 1 x 2 + A 2 x 1 ) implies A 1 x 1 A 2 x 2 b 1 and A 1 x 2 + A 2 x 1 b 2 On the other hand, if we solve the system of 2n linear equations given by AX B for X we obtain ] ] ] A1 A 2 x1 A1 x 1 A 2 x 2 A 2 A 1 x 2 A 2 x 1 A 1 x 2 which again implies A 1 x 1 A 2 x 2 b 1 and A 1 x 2 + A 2 x 1 b 2 Thus, the solution to the real valued system AX B may be used to solve the complex system Ax b b1 b 2 ] ] 2

39 Show that the inverse of an (invertible) lower-triangular matrix is lower triangular Let M L 1 and assume for contradiction that M is not lower triangular In this case, there is a column in which the matrix fails to be lower triangular Denote such a column as j and take i to be the least row i < j such that M ij 0 Thus k < i implies M kj 0 Moreover, since L is lower triangular then k > i implies L ik 0 Since LM I then 0 LM] ij n L ik M kj L ii M ij k1 Now, since L is invertible and lower triangular it has a non-zero diagonal It follows that L ii 0 and consequently L ii M ij 0 This contradiction implies that M must have been lower triangular 3

311 Show how the LU factorization of A R n n can be used to compute the determinant of A As this is the first mention of determinant in the book To answer this question it is necessary to define the determinant One standard definition is given by the recursive expansion of the top row and the respective minors Let M ij denote the (n 1) (n 1) matrix formed by deleting the i-th row and j-column from the matrix A Then If L is lower triangular it follows that n ( 1) j 1 A 1j det(m 1j ) for n > 1 det(a) j1 A 11 for n 1 { L11 det(l 11 ) for n > 1 det(l) L 11 for n 1 By induction it immediately follows that det(l) is the product of the diagonal entries det(l) L ii A similar formula for an upper triangular matrix may be obtained by expanding the determinant along the first column In the case of the A LU we have i1 det(a) det(lu) det(l) det(u) L ii U ii We note that for the LU factorization discussed in class, the diagonal entries of L are each identically 1 In this case det(l) 1 and we may compute det(a) U ii i1 i1 4

315 Suppose A R n n is invertible and admits a factorization A LU with ones along the diagonal of L Show that such a decomposition of A is unique Suppose there were two different factorizations A L 1 U 1 and A L 2 U 2 where L i are lower triangular with ones on the diagonal and the U i are upper triangular We note that L i are invertible since they have ones on the diagonal It follows that the U i L 1 i A are invertible because A is invertible and U 1 i A 1 L i Now implies 0 A A L 1 U 1 L 2 U 2 L 1 (U 1 U 2 ) + (L 1 L 2 )U 2 (U 2 U 1 )U 1 2 L 1 1 (L 1 L 2 ) Since U 2 is upper triangular then U2 1 is also upper triangular It follows that the product on the left hand side is upper triangular Similarly, since L 1 is lower triangular then L 1 1 is also lower triangular and the product on the right hand side is lower triangular Since the left and right sides are equal, then L 1 1 (L 1 L 2 ) must be both upper and lower triangular and therefore diagonal Moreover, since the L i s are ones on the diagonal then L 1 L 2 is lower triangular with zeros on the diagonal It follows that the product L 1 1 (L 1 L 2 ) also has zeros on the diagonal and is therefore equal zero Thus L 1 L 2 It immediately follows that U 1 U 2 Therefore, the decomposition of A must be unique 5