Math 343 Midterm I Fall 2006 sections 002 and 003 Instructor: Scott Glasgow

Similar documents
Math 313 Midterm I KEY Winter 2011 section 003 Instructor: Scott Glasgow

Linear Algebra Practice Problems

Elementary maths for GMT

Matrix operations Linear Algebra with Computer Science Application

Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition

Math 313 Chapter 1 Review

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.

Chapter 2 Notes, Linear Algebra 5e Lay

Math 1314 Week #14 Notes

CHAPTER 8: Matrices and Determinants

x + 2y + 3z = 8 x + 3y = 7 x + 2z = 3

Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition

MODEL ANSWERS TO THE THIRD HOMEWORK

Linear Algebra Practice Problems

Inverting Matrices. 1 Properties of Transpose. 2 Matrix Algebra. P. Danziger 3.2, 3.3

Eigenvalues and Eigenvectors

We could express the left side as a sum of vectors and obtain the Vector Form of a Linear System: a 12 a x n. a m2

7.6 The Inverse of a Square Matrix

Matrix notation. A nm : n m : size of the matrix. m : no of columns, n: no of rows. Row matrix n=1 [b 1, b 2, b 3,. b m ] Column matrix m=1

Chapter 1: Systems of Linear Equations and Matrices

Linear Algebra: Lecture Notes. Dr Rachel Quinlan School of Mathematics, Statistics and Applied Mathematics NUI Galway

Chapter 1: Systems of linear equations and matrices. Section 1.1: Introduction to systems of linear equations

and let s calculate the image of some vectors under the transformation T.

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

4 Elementary matrices, continued

Linear Systems and Matrices

Finite Mathematics Chapter 2. where a, b, c, d, h, and k are real numbers and neither a and b nor c and d are both zero.

Review for Exam Find all a for which the following linear system has no solutions, one solution, and infinitely many solutions.

LINEAR SYSTEMS AND MATRICES

Section 12.4 Algebra of Matrices

MATH 213 Linear Algebra and ODEs Spring 2015 Study Sheet for Midterm Exam. Topics

A FIRST COURSE IN LINEAR ALGEBRA. An Open Text by Ken Kuttler. Matrix Arithmetic

Elementary Row Operations on Matrices

Chapter 5. Linear Algebra. A linear (algebraic) equation in. unknowns, x 1, x 2,..., x n, is. an equation of the form

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

Eigenvalues and Eigenvectors

4 Elementary matrices, continued

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

Matrices and Linear Algebra

is a 3 4 matrix. It has 3 rows and 4 columns. The first row is the horizontal row [ ]

Linear Algebra and Matrix Inversion

A matrix is a rectangular array of. objects arranged in rows and columns. The objects are called the entries. is called the size of the matrix, and

Math 308 Practice Final Exam Page and vector y =

GAUSSIAN ELIMINATION AND LU DECOMPOSITION (SUPPLEMENT FOR MA511)

A matrix is a rectangular array of. objects arranged in rows and columns. The objects are called the entries. is called the size of the matrix, and

7.5 Operations with Matrices. Copyright Cengage Learning. All rights reserved.

Linear Algebra Homework and Study Guide

Math x + 3y 5z = 14 3x 2y + 3z = 17 4x + 3y 2z = 1

Digital Workbook for GRA 6035 Mathematics

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

Introduction to Matrices

Conceptual Questions for Review

MIDTERM 1 - SOLUTIONS

Methods for Solving Linear Systems Part 2

[ Here 21 is the dot product of (3, 1, 2, 5) with (2, 3, 1, 2), and 31 is the dot product of

MODEL ANSWERS TO THE FIRST QUIZ. 1. (18pts) (i) Give the definition of a m n matrix. A m n matrix with entries in a field F is a function

Math 320, spring 2011 before the first midterm

Lectures on Linear Algebra for IT

MATH Mathematics for Agriculture II

POLI270 - Linear Algebra

Elementary matrices, continued. To summarize, we have identified 3 types of row operations and their corresponding

MATH2210 Notebook 2 Spring 2018

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 1 x 2. x n 8 (4) 3 4 2

Chapter 7. Linear Algebra: Matrices, Vectors,

Review of matrices. Let m, n IN. A rectangle of numbers written like A =

Matrix Algebra. Matrix Algebra. Chapter 8 - S&B

Problem 1: Solving a linear equation

3 Fields, Elementary Matrices and Calculating Inverses

Math Linear Algebra Final Exam Review Sheet

MATH 106 LINEAR ALGEBRA LECTURE NOTES

Matrix Algebra. Learning Objectives. Size of Matrix

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

Review Let A, B, and C be matrices of the same size, and let r and s be scalars. Then

If A is a 4 6 matrix and B is a 6 3 matrix then the dimension of AB is A. 4 6 B. 6 6 C. 4 3 D. 3 4 E. Undefined

Mon Feb Matrix algebra and matrix inverses. Announcements: Warm-up Exercise:

Final Review Sheet. B = (1, 1 + 3x, 1 + x 2 ) then 2 + 3x + 6x 2

Math 4A Notes. Written by Victoria Kala Last updated June 11, 2017

Linear Systems. Math A Bianca Santoro. September 23, 2016

ICS 6N Computational Linear Algebra Matrix Algebra

Fundamentals of Linear Algebra. Marcel B. Finan Arkansas Tech University c All Rights Reserved

Matrices and systems of linear equations

EXERCISE SET 5.1. = (kx + kx + k, ky + ky + k ) = (kx + kx + 1, ky + ky + 1) = ((k + )x + 1, (k + )y + 1)

Matrix Operations. Linear Combination Vector Algebra Angle Between Vectors Projections and Reflections Equality of matrices, Augmented Matrix

Next topics: Solving systems of linear equations

Linear Algebra March 16, 2019

MATH 240 Spring, Chapter 1: Linear Equations and Matrices

Equality: Two matrices A and B are equal, i.e., A = B if A and B have the same order and the entries of A and B are the same.

Elementary Linear Algebra

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

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

Math 54 HW 4 solutions

3 (Maths) Linear Algebra

Elementary Linear Algebra

Chapter 5: Matrices. Daniel Chan. Semester UNSW. Daniel Chan (UNSW) Chapter 5: Matrices Semester / 33

MTH501- Linear Algebra MCQS MIDTERM EXAMINATION ~ LIBRIANSMINE ~

Chapter 4. Solving Systems of Equations. Chapter 4

CPE 310: Numerical Analysis for Engineers

Problem Sheet 1 with Solutions GRA 6035 Mathematics

Math 60. Rumbos Spring Solutions to Assignment #17

Linear Algebra. Chapter Linear Equations

Transcription:

Math 343 Midterm I Fall 006 sections 00 003 Instructor: Scott Glasgow

1 Assuming A B are invertible matrices of the same size, prove that ( ) 1 1 AB B A 1 = (11) B A 1 1 is the inverse of AB if only if ( )( ) ( )( ) AB B A = B A AB = I, (1) to whit we first note that, by the associative property of matrix multiplication, ( )( ) = ( ) AB B A A BB A ( )( ) = ( ) B A AB B A A B (13) Then, by the definition of the inverses, in particular that an inverse is both a right a left inverse, we have, respectively, that 1 1 ( AB)( B A ) = A( BB ) A = AIA = A( IA ) 1 1 ( B A )( AB) = B ( A A) B = B IB = B ( IB) (14) In (14) we have also used the associative property of matrix multiplication again Using now the fact that the identity matrix is in fact the multiplicative identity we get ( )( ) ( ) AB B A = A IA = AA ( )( ) ( ) B A AB B IB B B = = (15) Finally we use again the definition of the inverses In particular, using that an inverse is both a right a left inverse, we have, respectively, that

( )( ) 1 1 1 AB B A AA I ( )( ) = = 1 1 1 B A AB = B B = I, (16) which is the required (1) Use Gaussian elimination, noting along the way the various relevant row operations their relationship to the (evolving calculation of) the determinant, to show that 1 x x = 1 z z ( )( )( ) det 1 y y x y y z z x (17) Be sure to note along the way the various relevant row operations to your Gaussian elimination their accurate relationship to the (evolving calculation of) the determinant We indicate the various Gaussian elimination row operations in the upper right-h corner of the matrix (whose determinant is being calculated), making sure to use the correct relationship of such to the evolving determinant calculation: ( y x) ( z x) R R1 R/ R3 R1 R3/ det 1 det 0 det 0 1 R3 R 1 x x 1 x x 1 x x y y = y x y x = ( y x)( z x) y+ x = 1 z z 0 z x z x 0 1 z x + R3 R 1 x x = ( y x)( z x) det 0 1 y+ x = ( y x)( z x) ( 1 1 ( z y) ) = ( x y)( y z)( z x) 0 0 z y (18) In the final steps above we used that a) the determinant of a triangular matrix is the product of its diagonal entries, b) some obvious algebraic properties of multiplication (of scalars)

3 By using the permutation definition of the determinant, prove that if square matrix B is the same as square matrix A, except that one of B s rows is a scalar multiple k of the corresponding row of A, then det B = kdet A (19) Let it be the j th row of the matrix B that is the same as the scalar k multiplied by the j th row of the matrix A Then, by definition of the determinant, the relationship between the rows (of matrix A matrix B ), we have d( p) d( p) ( ) ( ) ( ) det B: = 1 b b b = 1 a ka a 1 p(1) jp( j) np( n) 1 p(1) jp( j) np( n) p:[ n] [ n] p:[ n] [ n] d( p) ( 1 ) 1 p(1) jp( j) np( n) : det p:[ n] [ n] = k a a a = k A 4 Prove that, if the matrix A is invertible, the system A x = bhas one only one solution x, namely x = A 1 b (Warning: there are two things to prove here, namely a) that if the system has a solution, then it can only be x = A 1 b, that b) x = A 1 bactually does solve the system Here then you will have addressed the one only one issues in reverse order: you first show that a) there is at most one solution, b) that there is in fact one solution (rather than none) In parts a) 1 b) you will use that A is A s left right inverse, respectively) If the system has a solution x, then, for any such x,we may write (without implicitly lying), then, by left application of associative property of matrix multiplication, obtain that (110) A x = b (111) ( ) ( ) 1 1 1 A A A A A I 1 A to (111), as well as by the b= x = x = x = x (11) 1 In (11) we also used that A is a left inverse of A, as well as the fact that the so-called identity matrix I is in fact a multiplicative identity Here then we have just showed that if (111) has a solution, it s got to be x = A 1 b Thus we have showed that (111) has at most one solution But our demonstration does not yet preclude their being no solution To do that, we confirm that, for the only promising cidate x = A 1 b, we get

1 1 ( ) ( ) Ax = A A b = AA b= Ib= b, (113) so that our cidate was successful (Here we have used the associative property of 1 matrix multiplication, the fact that A is a right inverse of A, as well as the fact that the so-called identity matrix I is in fact a multiplicative identity ) Thus we have showed that the system has one only one solution, namely x = A 1 b 5 The graph of the function contains the points ( 1,1 ), ( 1, 1) (,4) y = ax + bx+ c (114) Find the values of the constants a, b, c by forming a relevant augmented matrix performing Gauss-Jordan elimination on it The stated facts dictate the three equations () () a 1 + b 1 + c= a+ b+ c = 1 ( ) ( ) a 1 + b 1 + c = a b+ c= 1 ( ) ( ) a + b + c= 4a b+ c= 4 (115) We row reduce the associated augmented matrix to reduced row echelon form as follows: R R1 R/( ) 1 1 1 1 R3 4R1 1 1 1 1 R3/( 3) 1 1 1 1 1 1 1 1 0 0 0 1 0 1 4 1 4 0 6 3 0 0 1 0 R1 R3 R1 R 1 1 1 1 1 1 0 3 1 0 0 0 1 0 1 0 1 0 1 0 1 0 1 0 0 1 0 0 1 0 0 1 R3 R (116) The latter indicates that a =, b= 1, c =

6 Assume that both the matrix B the matrix C are inverses of the matrix A Show that B C are just two aliases for the same matrix, ie show that in fact B = C The descriptions of B C dem that AB = BA = I = AC = CA (117) Using the associative property of matrix multiplication in two different ways on the product BAC we get so that indeed ( ) ( ) BAC = B AC = BI = B BAC = BA C = IC = C, B = BAC = C B = C (118) (119) as claimed Note that in (118) we also used that a) C is a right inverse of A, b) B is a left inverse of A, that c) the identity matrix acts as both a right left multiplicative identity 7 The eigenvalues of a (square) matrix B turn out to be the zeroes λ of the characteristic polynomial PB ( λ) : = det( λi B), ie the eigenvalues of B are the roots λ of the characteristic equation det( λi B) = 0 (where I denotes the identity matrix of the same size as B ) Find the eigenvalues of the matrix B = 6 3 (10) What is the determinant of this matrix? What is the product of its eigenvalues?

The characteristic equation is λ 0= det( λi B) = det = λ λ 3 6 6 λ 3 ( )( ) ( )( ) ( )( ) = λ 5λ + 6 1= λ 5λ 6= λ + 1 λ 6, (11) so that the eigenvalues are clearly 1 6 The determinant of the matrix is 3 6 6 1 6 1 6 = 6also ( )( ) ( )( ) = =, while the product of the eigenvalues is ( )( ) 8 Find the inverse of the matrix a b A = c d (1) by row reducing A I to 1 I A Assume the parameters abc,,, ddo not take on any special values, nor have a special relationship among them that is row reduce naively, without worrying about any divisions by hidden zeros The naïve row reduction mentioned proceeds as follows: ( bc) ( ) ar cr1 ad bc R1 br a b 1 0 a b 1 0 AI = c d 0 1 0 ad bc c a R1/ a R1/ a R1/ a a ad 0 ad ab ad bc 0 d b 0 ad bc c a 0 ad bc c a 1 0 1 d b 1 = IA 0 1 ad bc c a (13) 9 When is the product of two symmetric matrices symmetric? Prove this (Assume that the product of the two matrices makes sense, ie assume the two matrices are the same size)

The product AB of two matrices A B is, by definition, symmetric if only if AB = ( AB) T On the other h we have proved that ( ) T T T AB B A =, which, under the present circumstances, is the product BA Thus, if the matrices A B are symmetric, their product is symmetric if only if AB = BA, ie if only if A B commute 10 As in problem 7, let B be the matrix let PX ( ): ( X I)( X 6I) the identity Calculate PB ( ) ( B I)( B 6I) 6 3, (14) = +, where X is any by matrix, where I denotes = + (it s easier to calculate as written do not exp the polynomial factors unless you want to work harder than necessary) Does the result surprise you (given the outcomes of problem 7)? We have 1 0 3 B+ I = 6 3 + 0 1 = 6 4 6 0 4 B 6 I =, 6 3 + = 0 6 6 3 (15) so that ( ) ( ) ( ) ( ) ( ) + ( ) ( ) + ( ) 3 4 3 4 + 6 3 + 3 PB ( ) = ( B+ I)( B 6I) = 6 4 6 3 = 6 4 46 6 4 3 (16) 1 + 1 6 6 0 0 = = 4 + 4 1 1 0 0