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

Size: px
Start display at page:

Download "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"

Transcription

1 MATH 2030: MATRICES Matrix Algebra As with vectors, we may use the algebra of matrices to simplify calculations. However, matrices have operations that vectors do not possess, and so it will be of interest to explore their properties. Properties of Addition and Scalar Multiplication. All of the algebraic properties of addition and scalar multiplication from vectors apply to matrices as well. These are summarized as a theorem Theorem 0.1. Let A,B and C be matrices of the same size and let c and d be scalars. Then (1) A + B B + A (Commutativity) (2) (A + B) + C A + (B + C) (Associativity) (3) A + O A (4) A + ( A) O (5) c(a + B) ca + cb (Distrivutivity) (6) (c + d)a ca + da (Distrivutivity) (7) c(da) cda (8) 1A A These may be proven directly using the component wise definitions of matrix addition and scalar multiplication. These properties allow us to combine k m n matrices {A i }, i 1,.., k with k scalars c i, i 1,..., k to produce a linear combination c 1 A 1 + c 2 A c k A k we say the c i are coefficients of the linear combination. In fact we can say when a collection of matrices are linearly dependent or independent - as in the case of vectors. If a matrix B is a linear combination of the k matrices A i, we say that B is in the Span of these matrices Span(A 1,..., A k ) or B Span(A 1,..., A k ) [ ] [ ] Example 0.2. Q:Define A 1, A 1 0 2, A [ ] 1 4 Is B in the Span of A 2 1 1, A 2 and A 3 [ ] 1 2 Is C in the Span of A 3 4 1, A 2 and A 3 A: We wish to find c 1, c 2, and c 3 such that c 1 + c c [ ] [ ].

2 2 MATH 2030: MATRICES Using the algebraic properties of matrix addition and scalar multiplication, we may write the left hand side as [ ] [ ] c2 + c 3 c 1 + c c 1 + c 3 c 2 + c This gives four linear equations in terms of three variables, it is a system of linear equations with the augmented matrix Gauss-Jordan elimination gives implying that c 1 1, c 2 2 and c 3 03 and so B A 1 2A 2 + 3A 3. We wish to find c 1, c 2, and c 3 such that [ ] c 1 + c c Listing the linear equations in the components of the resulting matrix c 2 + c 3 1, c 1 + c 3 2, c 1 + c 3 3 c 2 + c 3 4 Row reduction of the augmented matrix gives As this system is inconsistent, we say that C is not in the Span of A 1, A 2 and A 3. Asking if O is in the span of A 1, A 2,..., A k is tatamount to asking whether these k matrices are linearly dependent or linearly independent. A solution is linearly dependent if O Span(A 1, A 2,..., A k ) which implies c 1 A 1 + c 2 A c k A k O for some vector [c 1,..., c k ] 0, i.e., not equal to the zero k-vector. If c 1 c 2... c k, then we say it is linearly independent. As an example, the three matrices in the previous example are linearly indepdendent - meaning that if one were to determine the related linear system in terms of c 1, c 2 and c 3 yields the only solution c 1 c 2 c 3 0

3 MATH 2030: MATRICES 3 Properties of Matrix Multiplication. We have introduced a new operation for matrices that looks like multiplication for the real numbers, however this analogy only goes so far, we must be careful with what these two have in common and how they differ. Example 0.3. Consider the 2 2 matrices and the two products AB and BA [ ] [ ] A, and B Calculating the matrix products: AB, BA, Notice that AB BA, we say that matrix multiplication is not commutative. This differs from multiplication of numbers where a b b a for any a, b R. Although matrix multiplication lacks commutativity, the operation still has some satisfying properties that will be of use. Theorem 0.4. Let A,B and C be matrices of the appropriate size to suit the operation for each case, and k a scalar. Then (1) A(BC)(Associativity) (2) A(B + C) AB + AB (Left Distributivity) (3) (A + B)C AC + BC (Right Distributivity) (4) k(ab) (ka)b A(kB) (5) I m A A AI n where A is a m n matrix. (Multiplicative identity). These may be proven using the row-column representations of the matrices. Example 0.5. Q: If A and B are square matrices (n n ), calculate (A + B) 2 A: Using the properties of matrix multiplication we find (A + B) 2 (A + B)(A + B), then by applying left distributivity then right distributivity in order, we find this becomes (A + B)A + (A + B)B A 2 + BA + AB + B 2 Notice the difference from the real numbers, the only time that (A + B) 2 A 2 + 2AB + B 2 is when A 2 + 2AB + B 2 A 2 + AB + BA + B 2 removing the extra terms we find this is simply AB +BA 2AB, or by subtracting an AB on both sides BA AB. This can only happen in the special case when A and B commute under matrix multiplication.

4 4 MATH 2030: MATRICES Properties of the Transpose. Combining the properties we have for matrix addition, scalar multiplication and matrix multiplication with the transpose operation we have the following list of helpful properties of the transpose Theorem 0.6. Let A and B be matrices - of appropriate size - and k be a scalar (1) (A t ) t A (2) (A + B) T A t + B t (3) (ka) t ka t (4) (AB) t B t A t (5) A k ) t (A t ) k, here k is a non-negative integer. Proof. Properties 1-3 are easily proven with the componentwise definition of A [a ij ], while property 5 is a great excercise using mathematical induction. We will only prove property 4 as it is a property that illustrates the difference between multiplication and matrix multiplication. Supposing A [a ij ] m n and B [b ij ] n r it is clear B t will be an r n matrix and A t will be a n m matrix. And so B t A t is a well defined matrix product. Furthermore AB t is an r m matrix, so it is the same size as B t A t, we just have to prove that their entries are equal. We find denote the i-th row of a matrix X by row i (X) and the j-th column of X by col j (X) then the matrix multiplication of A and B is [(AB) t ] ij (AB) ji row j (A) col i (B) col j (A t ) row i (B t ) row i (B t ) col j (A t ) [B t A t ] ij. where we have used the commutativity of the dot product in the second-last step. The Inverse of a Matrix Returning to the question of when a system of linear equations Ax b has a solution, we would like to use matrix algebra to solve the system. Returning to the analogy of the real numbers, to solve the linear equation ax b one must compute the inverse of a which is 1 a. Then using this and simple algebra ax b ax a b ( a ) 1 a (a) x b a 1 x b a Thus we found the solution to be x b a. To reproduce this idea, we need to find some matrix A such that A A I the square identity matrix with the same number of columns as A. If a matrix like this exists, the procedure for finding x is considerably simpler: Ax b A Ax A b Ix A b x A b. in this chapter we answer the question of when such a matrix exists. Definition 0.7. If A is an n n matrix, an inverse of A is an n n matrix A such that AA I, and A A I where I I n is the n n identity matrix. If A exists we say that A is invertible.

5 MATH 2030: MATRICES 5 [ ] [ ] Example 0.8. If A, and A 1 3, computing the two products we 1 2 see that A is invertible: AA A A [ ] 1 2 Example 0.9. Q: Show that the matrix B is not invertible. A: Supposing [ ] 2 4 a b there is such a matrix B such that c d 1 2 a b c d 0 1 we produce four linear equations 1 + 2y 1, x + 2x 0, 2w + 4y 0, 2x + 4z 1; subtracting twice the first equation from the third produces 0 2 which is a contradiction, and so there cannot be a solution. Notice that a matrix and its inverse is commutative AA A A. Uniqueness of an Inverse of a Matrix - if it exists. Although we cannot yet say when a matrix has an inverse or how it can be found, by positing the existence an inverse for a matrix A, we may prove that it is unique Theorem If A is an invertible matrix, then its inverse is unique. Proof. Suppose A and A are (both potentially distinct) matrices such that AA IA A and AA I A A, then consider the line of equalities: A A I A (AA ) (A A)A IA A we have shown that they are equal and hence A is unique. We may update the definition for the inverse of a matrix: Definition If A has a matrix A such that AA I A A, we denote this as A 1 and say it is the unique inverse of A. Note: A 1 1 A, as there is no operation for division by matrices. Wit the inverse defined we may complete the analogy with solving a simple linear system in R. Theorem If A is an invertible n n matrix, then the system of linear equations given by Ax b has the unique solution x A 1 b for any b R n. Proof. Proving the existence of x is easily done with matrix algebra. A(A 1 b Ib b To prove uniqueness, suppose y is another solution i.e. Ay b then A 1 (Ay) A 1 b (A 1 A)b A 1 b Iy A 1 b y A 1 b Hence y x implying the solution is unique.

6 6 MATH 2030: MATRICES Conditions for the Existence of an Inverse for 2 2 matrices. The above theorem is wonderful if one can calculate the inverse of the coefficient matrix for the system of linear equations. In the case of n 2 we have the following theorem [ ] a b Theorem If A, then A is invertible if ad bc 0, in which case c d its invariant is A 1 1 ad bc [ d b c a If ad bc 0 the matrix A is not invertible. We call ad bc the determinant of the matrix A and denote it as deta Proof. Supposing ad bc 0, then we verify that the matrices are inverse [ ] ( [ ]) [ ] [ ] a b 1 d b 1 ad bc ab + ba ad bc 1 0 c d ad bc c a ad bc cd dc da cb ad bc 0 1 Repeating the calculation with the matrix product switched on the left-hand side produces the same result. We have proven that A is invertible and that A 1 defined above is the unique inverse of A. Instead if we assume ad bc 0 we must consider two cases, depending on whether a vanishes. If a 0 then d bc a and the matrix becomes [ ] a b A, k c ka kb a Supposing this does have an inverse [ ] [ ] a b w x ka kb y z ]. [ ] we will produce a linear system of four equation in four variables x, y, z and w which is inconsistent. If a 0, the vanishing of det(a) ad bc implies bc 0 and so we have two further subcases. A will be of the form [ ] [ ] b A, or c d 0 d Generically we have that 0 0 x y 0 0 c d z w z w 0 b x y 0 y 0 d z w 0 w. where y, z and w are distinct from [ y, ] z and w. The resulting product can never 1 0 be equal to the identity matrix. 0 1 [ ] Example Q:Is the matrix B invertible? 4 5 A: No, as the determinant detb 12( 5) ( 15)(4) Example Q:Use the inverse of the coefficient matrix to solve the linear system x + 2y 3, 3x + 4y 2.

7 A: The coefficient matrix is the matrix A [ MATH 2030: MATRICES 7 [ ] 1 2 whose inverse will be A ]. Thus by applying the inverse to both sides we find that x A 1 b or x [ ] Invoking the relevant theorem, we note this is the unique solution to the linear system. Properties of Invertible Matrices. Of course, the inverse of a matrix has some interesting algebraic properties. Theorem (1) If A is an invertible matrix, then A 1 is invertible and (A 1 ) 1 A. (2) If A is an invertible matrix and c is a nonzero scalar then ca is invertible and (ca) 1 1 c A 1. (3) If A and B are invertible matrices, then (AB) 1 B 1 A 1. More generally if A i is a collection of k n n invertible matrices, (A 1 A 2...A k ) 1 A 1 k A 1 k 1...A 1 2 A 1 1 (4) If A is an invertible matrix, then A t is invertible and (A t ) 1 (A 1 ) t. (5) If A is an invertible matrix, then A n is invertible for all nonnegative integers n and (A n ) 1 (A 1 ) n. We define A n (A n ) 1. Proof. This is a great exercise in matrix algebra and the uniqueness of the inverse. Unfortunately for brevity s sake we will omit it. If you are interested, I refer to the proof in the textbook, pg. 174 for the proof. Example Q:Solve the following matrix equation for X, assuming all matrices involved are invertible. A 1 (BX) 1 (A 1 B 3 ) 2 A: Noticing that A 1 (BX) 1 (A(BX)) 1 by Theorem (0.16)-3 we find that (BXA) 1 (A 1 B) 2 ((BXA) 1 ) 1 [(A 1 B 3 ) 2 ] 1 T heorem(0.16) 1 BXA [(A 1 B 3 )(A 1 B 3 )] 1 T heorem(0.16) 5 BXA B 3 (A 1 ) 1 B 3 (A 1 ) 1 T heorem(0.16) 1 BXA B 3 AB 3 A T heorem(0.16) 1 B 1 BXAA 1 B 4 AB 3 AA 1 IXI B 4 AB 3 I X B 4 AB 3 Elementary Matrices as Elementary Row Operations. Originally we defined elementary row operations on an augmented matrix in terms of operations done on the linear system, and then generalized these operations to matrices in general. We are going to reinterpret our elementary row operations this time in terms of matrix multiplication. Consider the matrices E 0 0 1, A

8 8 MATH 2030: MATRICES Calculating the product EA we find that the second and third row has been switched in the new matrix EA So we have found a matrix whose product with A reproduces the row operation R 2 R 3. We have a special name for matrices of this type. Definition An elementary matrix is any matrix that can be obtained by performing an elementary row operation on an identity matrix. As there are three elementary row operations, we expect three types of elementary matrices. Example Define E , E , E Following the definition of an elementary matrix, these are all elementary matrices arising from I 4 by applying a single elementary row operation. In E 1 we have multiplied the second row by 3, in E 2 we have interchanged two rows R 1 R 3 and in E 3 we have R 4 2R 2. Notice that if we apply this to any 4 4 matrix the same row operation is performed on it. That is, given a 11 a 12 a 13 a 14 A a 21 a 22 a 23 a 24 a 31 a 32 a 33 a 34 a 41 a 42 a 43 a 44 then the products are simply a 11 a 12 a 13 a 14 a 31 a 32 a 33 a 34 E 1 A 3a 21 3a 22 3a 23 3a 24 a 31 a 32 a 33 a 34, E 2A a 21 a 22 a 23 a 24 a 11 a 12 a 13 a 14 a 41 a 42 a 43 a 44 a 41 a 42 a 43 a 44 and E 3 A a 11 a 12 a 13 a 14 a 21 a 22 a 23 a 24 a 31 a 32 a 33 a 34 a 41 2a 21 a 42 2a 22 a 43 2a 23 a 44 2a 24 Theorem Let E be the elementary matrix obtained by performing an elementary row operation on I n. If the same elementary row operation is performed on an n r matrix A, the result is the same as the matrix EA. Remember that an elementary row operation is reversible, and so we expect all elementary matrices to be invertible due to this. The inverse would be the matrix resulting from the reserse elementary row operation acting on I n.

9 MATH 2030: MATRICES 9 Example Let E , E , and E As E 1 corresponds to R 2 R 3 its inverse will be itself, that is E1 1 E 1. As E 2 arises by the row operation 4R 2 the inverse will be E And finally the inverse row operation related to E 3 is R 3 + 2R 2 so that E We have a theorem generalizing the observations here Theorem Each elementary matrix is invertible, and its inverse is an elementary matrix of the same type. The Fundamental Theorem of Invertible Matrices. With the definitions and theorems established in the previous subsections, we are now able to summarize many equivalent conditions for an invertible matrix into one theorem. Here equivalent means that if one is given a matrix A all of the statements in the following theorem are all true or all false. Theorem The Fundamental Theorem of Inverbile Matrices: Ver.1 Let A be an n n matrix. the following statements are equivalent( i.e. all true or all false): (1) A is invertible (2) Ax b has a unique solution for every b in R n (3) Ax 0 has only the trivial solution. (4) The reduced row echelon form of A is the n n identity matrix (5) A is a product of elementary matrices. Proof. We will establish the theorem by proving the circular chain of implications (1) (2) (3) (4) (5) (1) 1 2 As A is invertible, the system of linear equations has the solution x A 1 b for any b R n. 2 3 Since any linear system Ax b has a unique solution, so does the linear system where b 0. Furthermore x 0 is always a trivial solution - it must be the only solution. 3 4 The homogeneous system Ax 0 has only the trivial solution, and so the corresponding system of equations is a 11 x 1 + a 12 x a 1n x n 0 a 21 x 1 + a 22 x a 2n x n 0. a n1 x 1 + a n2 x a nn x n 0

10 10 MATH 2030: MATRICES and that this linear system is equivalent to the one where x 1 0, x 2 0,..., x n 0. In other words, using Gauss-Jordan elimination applied to the augmented matrix of the system gives a 11 a 12 a 1n a 21 a 22 a 2n 0 [A 0] vdots [I n 0]. a n1 a n2 a nn proving the required condition. 4 5 Assuming the reduced row echelon form of A is the identity matrix I n, A can be reduced to I n using a finite sequence of elementary row operations. By Theorem (0.20) each one of these elementary row operations corresponds to left-multiplication by an appropriate elementary matrix. Combining the sequence of elementary matrices E 1, E 2,..., E k we find that E k E 2 E 1 A I n Furthermore these matrices are invertible by Theorem (0.22) and so A (E k E 2 E 1 ) 1 I n E1 1 E 1 2 E 1 I n E 1 k 1 E 1 2 E If A is a product of elementary matrices, we have shown that A is invertible, since each elementary matrix is invertible and the product of invertible matrices is always invertible. [ ] 2 3 Example Q: Express A as a product of elementary matrices: A: 1 3 Applying the following row operations R 1 R 2, R 2 2R 1, R 1 + R 2 and 1 3 R 2 we may reduce A I n Applying the fundamental theorem of invertible matrices, as A s reduced row echelon form is I 2 we know that it is invertible, and it may be written in terms of the elementary matrices related to the row operations used in Gauss-Jordan elimination [ ] E 1, E 1 0 2, E 2 1 3, E Using the formula from Theorem (0.23) we find that [ ] A (E 4 E 3 E 2 E 1 ) 1 E E 1 2 E 1 3 E As another application of the Fundamental theorem of invertible matrices, we will show that the inverse of a matrix A is defined as B such that AB I n and BA I n need only be defined as AB I n as the other condition is derived from this one. Theorem Let A be a square matrix. if B is a square matrix such that either AB I or BA I then A is invertible and B A 1. Proof. Suppose BA I. Consider the equation Ax 0. By left multiplying by B we have BAx B0, implying that Ix x 0. The original system Ax 0 has the trivial solution x 0. From the equivalence of (5) and (1) in Theorem (0.23): k

11 MATH 2030: MATRICES 11 A is invertible so that A 1 exists and AA 1 A 1 A I. Right multiplying both sides of AB I by A 1 we find the following implications BAA 1 IA 1 BI A 1 B A 1 Another application of the fundamental theorem of invertible matrices gives a helpful result for the calculation of a matrix s inverse Theorem Let A be a square matrix. If a sequence of elementary row operations reduce A to I, then the same sequences of elementary row operations transforms I into A 1. Proof. If A is row equivalent to I, then we can achieve the reduction by leftmultiplication by the sequence of elementary matrices related to the row operations used in the Gauss-Jordan method. Thus if E k E 2 E 1 A I, we may set B E k E 2 E 1 and we find that BA I. By the previous theorem A is invertible and A 1 B. By applying the same sequence of row operations to I, this will be equivalent to left multiplication onto I by E k E 2 E 1 B. Doing so we find that E k E 2 E 1 I BI B A 1 proving that I is transformed into A 1 by the same sequence of elementary row operations. The Gauss-Jordan Method for Computing the Inverse of a matrix. The last theorem of the previous subsection suggests a power approach to determining the inverse of a matrix. The question is how does one one record the row operations used to reduce A to the identity matrix (if that is possible). To do this compactly, we consider the new matrix [A I] which may be seen as a super-augmented matrix. Then Theorem (0.26) shows that if A is row equivalent to I, that is, A is invertible then applying row operations to this new matrix to bring A into reduced row echelon form yields: [A I] [I A 1 ] Furthermore if A cannot be reduced to I using elementary row operations, the fundamental theorem of invertible matrices ensures that A is not invertible. In essence this procedure is merely Gauss-Jordan elimination performed on an n 2n matrix instead of n (n + 1) augmented matrix. Example Q: Find the inverse of of the matrix A if it exists: [ ] 1 2 A 2 2 A: Applying Gauss-Jordan elimination we find [ ] [A I] Applying R 2 2R 1, then 1 2 R 2 and R1 2R 1 we find this agrees with the 2 2 definition of the matrix inverse.

12 12 MATH 2030: MATRICES Let us see what happens when a matrix does not have an inverse. Example Q:Find the inverse of the matrix A if it exits A A: Proceeding as in the previous example, we form the super-augmented matrix As A is not reducible to the identity matrix, Theorem (0.23) implies this matrix does not have an inverse. The LU Factorization We are going to explore the idea of expressing matrices into the products of simple matrices. In the case of the real numbers this is often helpful, say when one considers the prime decomposition of a number, i.e Any representation of a matrix as a product of two or more other matrices is called a matrix factorization. For example, the following would be a matrix factorization [ ] [ ] [ ] In this section we will explore a factorization that arises in the solution of systems of linear equations using Gaussian elimination. Consider a system of linear equation of the form Ax b where A is an n n matrix. Our aim will be to factor A into a product of matrices that simplify the solution to the given system as easily as possible. Example Q: Consider A A: Applying the row operations R 2 2R 1, R 3 + R 1 and R 3 + 2R 2 we find the following upper-triangular matrix U The three elementary matrices E 1, E 2 and E 3 related to the row operations are then E , E , E

13 MATH 2030: MATRICES 13 Hence E 3 E 2 E 1 A U, and solving for A produces A E1 1 2 E 1 3 U U U LU Thus A may be factored as A LU where U is an upper triangular matrix and L is a unit lower triangular matrix. This implies L where all of the entries above the diagonal are zero and along the diagonal they are 1s. Definition Let A be a square matrix. A factorization of A as A LU, where L is a unit lower triangular matrix and U is upper-triangular, is called an LU factorization of A. The LU factorization works well when there are no row interchanges needed to reduce A to the upper-triangular matrix U. In cases like this all of the resulting elementary matrices are unit lower triangular - ensuring that L is unit lower triangular, and that its inverse (built of inverse elementary matrices which are unit lower triangular) will be as well. This approach fails when a zero appears in a pivot position, as we must apply a row interchange to bring the matrix into upper-triangular form, and so L would no longer be in unit lower triangular form. Theorem If A is a square matrix that can be reduced to row echelon form without using any row interchanges, then A has an LU factorization. As a rough argument for why the LU factorization works, consider the linear system Ax b where the coefficient matrix A has an LU factorization, ALU. We can rewrite the system as Ax b as LUx b. If we define y Ux we can solve for x in two steps Solve Ly b for y. Solve Ux y for x. Both of these linear systems are easier to solve due to their coefficient matrices having the lower and upper triangular form respectively. Example Q: Use an LU factorization of A to solve Ax b where b 1 4. A: In the previous example we saw that A LU

14 14 MATH 2030: MATRICES and so we begin by solving for y from Ly b for y y 1 y 2. This is a simple linear y 3 system: (1) y 1 1, 2y 1 + y 2 4, y 1 2y 2 + y 3 9. Using forward substitution, i.e., working from the top to bottom, we find 1 y 6 2 With this known we may solve the linear system Ux y for x, in this case the linear system is just 2x 1 + x 2 + 3x 1 1, 3x 2 3x 3 6, 2x 3 2; back substitution yields the solution 1 2 x 3. 1 To find an LU Factorization: An approach. In the first example of this section we computed the matrix L as a product of elementary matrices. This was somewhat calculation intensive; however it is possible to determine L merely by performing row reduction. However, we should stress that this will only work for those matrices which do not require row interchanges to reduce A to row echelon form, as the LU factorization will only work in these situations. if this is the case, the entire row reduction process can be done using only elementary row operations of the form R i kr j - we call k here the multiplier. In the previous example we saw that the row operations R 2 2R 1, R 3 + R 1 R 3 ( 1)R 1 and R 3 + 2R 2 R 3 ( 2)R 2 were used to transform A into U the upper triangular matrix. Then we saw that the multiplies became the entries below the diagonal of L in example (0.29) L Here L 21 2, L 31 1 and L 32 2, notice the relationship between the rows and columns of L [L ij ] and the row operations R i lr j. Example Q:Find an LU factorization of A

15 MATH 2030: MATRICES 15 A: Applying the row operations in order R 2 2R 1, R 3 R 1, R 4 ( 3)R 1, R R 2, R 4 4R 2 and R 4 ( 1)R 3 yield the following upper triangular matrix U Looking at these row operations we may read off the components of L, for R 2 2R 1 we find that the multiplier will also be the L 21 2 entry of the matrix L, and similarly with the next two row operations L 31 1 and L 41 3, and so L takes the form: L where the three asterisks indicated entries of L not yet identified. Continuing with the recording of the row operations we see that L and L The last row operation implies L 43 1 thus L takes the form L With U and L defined as above we see that A LUby direct calculation. From this example, we note that applying elementary row operations R i kr j must be performed from top to bottom within each column, and column by column from left to right, otherwise the components of L may be mixed up so that we do not produce the LU factorization. When the row echelon form of a matrix was introduced we emphasized that this form was not unique for the matrix. In the case of invertible matrices, we will show that the LU factorization is unique and always exists! Theorem If A is an invertible matrix that has an LU factorization, then L and U are unique. Proof. Suppose A LU and A L U are two distinct factorizations of A, so that LU L U where the pairs L, and L and U andu are lower and upper triangular matrices respectively. As L must be invertible (if it weren t it d cause a contradiction since A is invertible!), and since A is invertible, its reduced row echelon form is an identity matrix I by Theorem (0.23), thus U must be row reduced to be I as well, and hence U is invertible by a second application of Theorem (0.23). Thus L 1 (LU)U 1 L 1 (L U )U 1 (L 1 L)(UU 1 ) (L 1 L )(U U 1 ) so that (L 1 L)I I(U U 1 ) L 1 L U U 1 However L 1 L is a unit lower triangular matrix and U U 1 is an upper triangular matrix, if these two matrix products are equal then they must be both upper and

16 16 MATH 2030: MATRICES lower triangular at once. Thus It follows that L L and U U. L 1 L I, U U 1 I The P t LU factorization. The LU factorization is very helpful, however it cannot help with systems of linear equations Ax b where A requires row interchanges to reduce the matrix to an upper-triangular form. Consider the matrix A upon row reduction we find A B this is not an upper-triangular matrix, but could be one if we could only interchange rows. If we did this we d find U The elementary matrix related to this row interchange is given by P If we denote E as the product of the elementary matrices used to reduce P A to U, i.e. so that E 1 L the unit lower triangular matrix. Thus EP A U so A (EP ) 1 U P 1 E 1 U P 1 LU. This will only work in the case of a single row interchange, but by constructing all of the elementary matrices related to row interchange and denote them as P i, then in general P will be a product of these matrices P P k P 2 P 1. Such a matrix is called a permutation matrix. Remember that any elementary permutation matrix arises from permuting the rows of the identity matrix in some order. For example, the following are all permutation matrices [ ] , 1 0 0, The inverse of a permutation matrix is very easily calculated Theorem If P is a permutation matrix, the P 1 P t. Proof. To show that P t P I, we note that the i-th row of P 6t is the i-th column of P, and so these are both equal to the same standard unit vector e. And so (P t P ) ii (i-th row of P t )(i-th column of P) e t e e e 1. This shows us that the diagonal elements of P t P are 1s. Alternatively if j i then the j-th column of P is a different standard unit vector from e, say e. Thus for any off-diagonal entry of P t P we find (P t P ) ij (i-th row of P t )(j-th column of P) e t e e e 0. We

17 MATH 2030: MATRICES 17 As the diagonal components are 1s and the off-diagonal are 0s, we conclude that in general P t P I. Definition Let A be a square matrix. A factorization of A as A P t LU, where P is a permutation matrix, L is an unit lower triangular matrix and U an upper triangular matrix, is called a P t LU factorization of A. Example Q: Find a P t LU factorization of the matrix A A A: To reduce A to row echelon form we apply the row operations R 1 R 2, R 3 2R 1 and R 2 R 3. As we have used two row interchanges the permutation matrix will be P P 2 P We now find an LU factorization of PA P A This is put into upper triangular form by the row operation R 2 2R 1, implying that L 21 2 and so A P t LU we end this section with a helpful theorem without proof Theorem Every square matrix has a P t LU factorization. References [1] D. Poole, Linear Algebra: A modern introduction - 3rd Edition, Brooks/Cole (2012).

Math 313 Chapter 1 Review

Math 313 Chapter 1 Review Math 313 Chapter 1 Review Howard Anton, 9th Edition May 2010 Do NOT write on me! Contents 1 1.1 Introduction to Systems of Linear Equations 2 2 1.2 Gaussian Elimination 3 3 1.3 Matrices and Matrix Operations

More information

GAUSSIAN ELIMINATION AND LU DECOMPOSITION (SUPPLEMENT FOR MA511)

GAUSSIAN ELIMINATION AND LU DECOMPOSITION (SUPPLEMENT FOR MA511) GAUSSIAN ELIMINATION AND LU DECOMPOSITION (SUPPLEMENT FOR MA511) D. ARAPURA Gaussian elimination is the go to method for all basic linear classes including this one. We go summarize the main ideas. 1.

More information

INVERSE OF A MATRIX [2.2]

INVERSE OF A MATRIX [2.2] INVERSE OF A MATRIX [2.2] The inverse of a matrix: Introduction We have a mapping from R n to R n represented by a matrix A. Can we invert this mapping? i.e. can we find a matrix (call it B for now) such

More information

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

Chapter 1: Systems of linear equations and matrices. Section 1.1: Introduction to systems of linear equations Chapter 1: Systems of linear equations and matrices Section 1.1: Introduction to systems of linear equations Definition: A linear equation in n variables can be expressed in the form a 1 x 1 + a 2 x 2

More information

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

Inverting Matrices. 1 Properties of Transpose. 2 Matrix Algebra. P. Danziger 3.2, 3.3 3., 3.3 Inverting Matrices P. Danziger 1 Properties of Transpose Transpose has higher precedence than multiplication and addition, so AB T A ( B T and A + B T A + ( B T As opposed to the bracketed expressions

More information

Chapter 2 Notes, Linear Algebra 5e Lay

Chapter 2 Notes, Linear Algebra 5e Lay Contents.1 Operations with Matrices..................................1.1 Addition and Subtraction.............................1. Multiplication by a scalar............................ 3.1.3 Multiplication

More information

Math 54 HW 4 solutions

Math 54 HW 4 solutions Math 54 HW 4 solutions 2.2. Section 2.2 (a) False: Recall that performing a series of elementary row operations A is equivalent to multiplying A by a series of elementary matrices. Suppose that E,...,

More information

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 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. Matrices Operations Linear Algebra Consider, for example, a system of equations such as x + 2y z + 4w = 0, 3x 4y + 2z 6w = 0, x 3y 2z + w = 0 The rectangular array 1 2 1 4 3 4 2 6 1 3 2 1 in which the

More information

MATH2210 Notebook 2 Spring 2018

MATH2210 Notebook 2 Spring 2018 MATH2210 Notebook 2 Spring 2018 prepared by Professor Jenny Baglivo c Copyright 2009 2018 by Jenny A. Baglivo. All Rights Reserved. 2 MATH2210 Notebook 2 3 2.1 Matrices and Their Operations................................

More information

4 Elementary matrices, continued

4 Elementary matrices, continued 4 Elementary matrices, continued We have identified 3 types of row operations and their corresponding elementary matrices. To repeat the recipe: These matrices are constructed by performing the given row

More information

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

A FIRST COURSE IN LINEAR ALGEBRA. An Open Text by Ken Kuttler. Matrix Arithmetic A FIRST COURSE IN LINEAR ALGEBRA An Open Text by Ken Kuttler Matrix Arithmetic Lecture Notes by Karen Seyffarth Adapted by LYRYX SERVICE COURSE SOLUTION Attribution-NonCommercial-ShareAlike (CC BY-NC-SA)

More information

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

Linear Algebra: Lecture notes from Kolman and Hill 9th edition. Linear Algebra: Lecture notes from Kolman and Hill 9th edition Taylan Şengül March 20, 2019 Please let me know of any mistakes in these notes Contents Week 1 1 11 Systems of Linear Equations 1 12 Matrices

More information

MODEL ANSWERS TO THE THIRD HOMEWORK

MODEL ANSWERS TO THE THIRD HOMEWORK MODEL ANSWERS TO THE THIRD HOMEWORK 1 (i) We apply Gaussian elimination to A First note that the second row is a multiple of the first row So we need to swap the second and third rows 1 3 2 1 2 6 5 7 3

More information

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

Linear Algebra Section 2.6 : LU Decomposition Section 2.7 : Permutations and transposes Wednesday, February 13th Math 301 Week #4 Linear Algebra Section. : LU Decomposition Section. : Permutations and transposes Wednesday, February 1th Math 01 Week # 1 The LU Decomposition We learned last time that we can factor a invertible matrix

More information

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

Review for Exam Find all a for which the following linear system has no solutions, one solution, and infinitely many solutions. Review for Exam. Find all a for which the following linear system has no solutions, one solution, and infinitely many solutions. x + y z = 2 x + 2y + z = 3 x + y + (a 2 5)z = a 2 The augmented matrix for

More information

MAC Module 2 Systems of Linear Equations and Matrices II. Learning Objectives. Upon completing this module, you should be able to :

MAC Module 2 Systems of Linear Equations and Matrices II. Learning Objectives. Upon completing this module, you should be able to : MAC 0 Module Systems of Linear Equations and Matrices II Learning Objectives Upon completing this module, you should be able to :. Find the inverse of a square matrix.. Determine whether a matrix is invertible..

More information

Elementary maths for GMT

Elementary maths for GMT Elementary maths for GMT Linear Algebra Part 2: Matrices, Elimination and Determinant m n matrices The system of m linear equations in n variables x 1, x 2,, x n a 11 x 1 + a 12 x 2 + + a 1n x n = b 1

More information

MAT 2037 LINEAR ALGEBRA I web:

MAT 2037 LINEAR ALGEBRA I web: MAT 237 LINEAR ALGEBRA I 2625 Dokuz Eylül University, Faculty of Science, Department of Mathematics web: Instructor: Engin Mermut http://kisideuedutr/enginmermut/ HOMEWORK 2 MATRIX ALGEBRA Textbook: Linear

More information

4 Elementary matrices, continued

4 Elementary matrices, continued 4 Elementary matrices, continued We have identified 3 types of row operations and their corresponding elementary matrices. If you check the previous examples, you ll find that these matrices are constructed

More information

Elementary Linear Algebra

Elementary Linear Algebra Matrices J MUSCAT Elementary Linear Algebra Matrices Definition Dr J Muscat 2002 A matrix is a rectangular array of numbers, arranged in rows and columns a a 2 a 3 a n a 2 a 22 a 23 a 2n A = a m a mn We

More information

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

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 Week 22 Equations, Matrices and Transformations Coefficient Matrix and Vector Forms of a Linear System Suppose we have a system of m linear equations in n unknowns a 11 x 1 + a 12 x 2 + + a 1n x n b 1

More information

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

[ Here 21 is the dot product of (3, 1, 2, 5) with (2, 3, 1, 2), and 31 is the dot product of . Matrices A matrix is any rectangular array of numbers. For example 3 5 6 4 8 3 3 is 3 4 matrix, i.e. a rectangular array of numbers with three rows four columns. We usually use capital letters for matrices,

More information

MATH 2030: ASSIGNMENT 4 SOLUTIONS

MATH 2030: ASSIGNMENT 4 SOLUTIONS MATH 23: ASSIGNMENT 4 SOLUTIONS More on the LU factorization Q.: pg 96, q 24. Find the P t LU factorization of the matrix 2 A = 3 2 2 A.. By interchanging row and row 4 we get a matrix that may be easily

More information

Fundamentals of Engineering Analysis (650163)

Fundamentals of Engineering Analysis (650163) Philadelphia University Faculty of Engineering Communications and Electronics Engineering Fundamentals of Engineering Analysis (6563) Part Dr. Omar R Daoud Matrices: Introduction DEFINITION A matrix is

More information

Extra Problems for Math 2050 Linear Algebra I

Extra Problems for Math 2050 Linear Algebra I Extra Problems for Math 5 Linear Algebra I Find the vector AB and illustrate with a picture if A = (,) and B = (,4) Find B, given A = (,4) and [ AB = A = (,4) and [ AB = 8 If possible, express x = 7 as

More information

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

E k E k 1 E 2 E 1 A = B Theorem.5. suggests that reducing a matrix A to (reduced) row echelon form is tha same as multiplying A from left by the appropriate elementary matrices. Hence if B is a matrix obtained from a matrix A

More information

3 Matrix Algebra. 3.1 Operations on matrices

3 Matrix Algebra. 3.1 Operations on matrices 3 Matrix Algebra A matrix is a rectangular array of numbers; it is of size m n if it has m rows and n columns. A 1 n matrix is a row vector; an m 1 matrix is a column vector. For example: 1 5 3 5 3 5 8

More information

Digital Workbook for GRA 6035 Mathematics

Digital Workbook for GRA 6035 Mathematics Eivind Eriksen Digital Workbook for GRA 6035 Mathematics November 10, 2014 BI Norwegian Business School Contents Part I Lectures in GRA6035 Mathematics 1 Linear Systems and Gaussian Elimination........................

More information

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

Matrix Algebra. Matrix Algebra. Chapter 8 - S&B Chapter 8 - S&B Algebraic operations Matrix: The size of a matrix is indicated by the number of its rows and the number of its columns. A matrix with k rows and n columns is called a k n matrix. The number

More information

Linear Algebra and Matrix Inversion

Linear Algebra and Matrix Inversion Jim Lambers MAT 46/56 Spring Semester 29- Lecture 2 Notes These notes correspond to Section 63 in the text Linear Algebra and Matrix Inversion Vector Spaces and Linear Transformations Matrices are much

More information

OHSx XM511 Linear Algebra: Solutions to Online True/False Exercises

OHSx XM511 Linear Algebra: Solutions to Online True/False Exercises This document gives the solutions to all of the online exercises for OHSx XM511. The section ( ) numbers refer to the textbook. TYPE I are True/False. Answers are in square brackets [. Lecture 02 ( 1.1)

More information

Linear Systems and Matrices

Linear Systems and Matrices Department of Mathematics The Chinese University of Hong Kong 1 System of m linear equations in n unknowns (linear system) a 11 x 1 + a 12 x 2 + + a 1n x n = b 1 a 21 x 1 + a 22 x 2 + + a 2n x n = b 2.......

More information

Midterm 1 Review. Written by Victoria Kala SH 6432u Office Hours: R 12:30 1:30 pm Last updated 10/10/2015

Midterm 1 Review. Written by Victoria Kala SH 6432u Office Hours: R 12:30 1:30 pm Last updated 10/10/2015 Midterm 1 Review Written by Victoria Kala vtkala@math.ucsb.edu SH 6432u Office Hours: R 12:30 1:30 pm Last updated 10/10/2015 Summary This Midterm Review contains notes on sections 1.1 1.5 and 1.7 in your

More information

Linear Equations and Matrix

Linear Equations and Matrix 1/60 Chia-Ping Chen Professor Department of Computer Science and Engineering National Sun Yat-sen University Linear Algebra Gaussian Elimination 2/60 Alpha Go Linear algebra begins with a system of linear

More information

Components and change of basis

Components and change of basis Math 20F Linear Algebra Lecture 16 1 Components and change of basis Slide 1 Review: Isomorphism Review: Components in a basis Unique representation in a basis Change of basis Review: Isomorphism Definition

More information

Math Linear Algebra Final Exam Review Sheet

Math Linear Algebra Final Exam Review Sheet Math 15-1 Linear Algebra Final Exam Review Sheet Vector Operations Vector addition is a component-wise operation. Two vectors v and w may be added together as long as they contain the same number n of

More information

Elementary Linear Algebra

Elementary Linear Algebra Elementary Linear Algebra Linear algebra is the study of; linear sets of equations and their transformation properties. Linear algebra allows the analysis of; rotations in space, least squares fitting,

More information

Chapter 4 - MATRIX ALGEBRA. ... a 2j... a 2n. a i1 a i2... a ij... a in

Chapter 4 - MATRIX ALGEBRA. ... a 2j... a 2n. a i1 a i2... a ij... a in Chapter 4 - MATRIX ALGEBRA 4.1. Matrix Operations A a 11 a 12... a 1j... a 1n a 21. a 22.... a 2j... a 2n. a i1 a i2... a ij... a in... a m1 a m2... a mj... a mn The entry in the ith row and the jth column

More information

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

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 1 x 2. x n 8 (4) 3 4 2 MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS SYSTEMS OF EQUATIONS AND MATRICES Representation of a linear system The general system of m equations in n unknowns can be written a x + a 2 x 2 + + a n x n b a

More information

INSTITIÚID TEICNEOLAÍOCHTA CHEATHARLACH INSTITUTE OF TECHNOLOGY CARLOW MATRICES

INSTITIÚID TEICNEOLAÍOCHTA CHEATHARLACH INSTITUTE OF TECHNOLOGY CARLOW MATRICES 1 CHAPTER 4 MATRICES 1 INSTITIÚID TEICNEOLAÍOCHTA CHEATHARLACH INSTITUTE OF TECHNOLOGY CARLOW MATRICES 1 Matrices Matrices are of fundamental importance in 2-dimensional and 3-dimensional graphics programming

More information

Math 3108: Linear Algebra

Math 3108: Linear Algebra Math 3108: Linear Algebra Instructor: Jason Murphy Department of Mathematics and Statistics Missouri University of Science and Technology 1 / 323 Contents. Chapter 1. Slides 3 70 Chapter 2. Slides 71 118

More information

Extra Problems: Chapter 1

Extra Problems: Chapter 1 MA131 (Section 750002): Prepared by Asst.Prof.Dr.Archara Pacheenburawana 1 Extra Problems: Chapter 1 1. In each of the following answer true if the statement is always true and false otherwise in the space

More information

Matrix Arithmetic. j=1

Matrix Arithmetic. j=1 An m n matrix is an array A = Matrix Arithmetic a 11 a 12 a 1n a 21 a 22 a 2n a m1 a m2 a mn of real numbers a ij An m n matrix has m rows and n columns a ij is the entry in the i-th row and j-th column

More information

Linear Algebra Math 221

Linear Algebra Math 221 Linear Algebra Math Open Book Exam Open Notes 8 Oct, 004 Calculators Permitted Show all work (except #4). (0 pts) Let A = 3 a) (0 pts) Compute det(a) by Gaussian Elimination. 3 3 swap(i)&(ii) (iii) (iii)+(

More information

Introduction to Matrices

Introduction to Matrices POLS 704 Introduction to Matrices Introduction to Matrices. The Cast of Characters A matrix is a rectangular array (i.e., a table) of numbers. For example, 2 3 X 4 5 6 (4 3) 7 8 9 0 0 0 Thismatrix,with4rowsand3columns,isoforder

More information

POLI270 - Linear Algebra

POLI270 - Linear Algebra POLI7 - Linear Algebra Septemer 8th Basics a x + a x +... + a n x n b () is the linear form where a, b are parameters and x n are variables. For a given equation such as x +x you only need a variable and

More information

Systems of Linear Equations and Matrices

Systems of Linear Equations and Matrices Chapter 1 Systems of Linear Equations and Matrices System of linear algebraic equations and their solution constitute one of the major topics studied in the course known as linear algebra. In the first

More information

MIDTERM 1 - SOLUTIONS

MIDTERM 1 - SOLUTIONS MIDTERM - SOLUTIONS MATH 254 - SUMMER 2002 - KUNIYUKI CHAPTERS, 2, GRADED OUT OF 75 POINTS 2 50 POINTS TOTAL ) Use either Gaussian elimination with back-substitution or Gauss-Jordan elimination to solve

More information

Linear Algebra. Solving Linear Systems. Copyright 2005, W.R. Winfrey

Linear Algebra. Solving Linear Systems. Copyright 2005, W.R. Winfrey Copyright 2005, W.R. Winfrey Topics Preliminaries Echelon Form of a Matrix Elementary Matrices; Finding A -1 Equivalent Matrices LU-Factorization Topics Preliminaries Echelon Form of a Matrix Elementary

More information

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.

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. Introduction Matrix Operations Matrix: An m n matrix A is an m-by-n array of scalars from a field (for example real numbers) of the form a a a n a a a n A a m a m a mn The order (or size) of A is m n (read

More information

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

Math 4A Notes. Written by Victoria Kala Last updated June 11, 2017 Math 4A Notes Written by Victoria Kala vtkala@math.ucsb.edu Last updated June 11, 2017 Systems of Linear Equations A linear equation is an equation that can be written in the form a 1 x 1 + a 2 x 2 +...

More information

Lecture Notes in Linear Algebra

Lecture Notes in Linear Algebra Lecture Notes in Linear Algebra Dr. Abdullah Al-Azemi Mathematics Department Kuwait University February 4, 2017 Contents 1 Linear Equations and Matrices 1 1.2 Matrices............................................

More information

MATH 323 Linear Algebra Lecture 6: Matrix algebra (continued). Determinants.

MATH 323 Linear Algebra Lecture 6: Matrix algebra (continued). Determinants. MATH 323 Linear Algebra Lecture 6: Matrix algebra (continued). Determinants. Elementary matrices Theorem 1 Any elementary row operation σ on matrices with n rows can be simulated as left multiplication

More information

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

MTH5112 Linear Algebra I MTH5212 Applied Linear Algebra (2017/2018) MTH5112 Linear Algebra I MTH5212 Applied Linear Algebra (2017/2018) COURSEWORK 3 SOLUTIONS Exercise ( ) 1. (a) Write A = (a ij ) n n and B = (b ij ) n n. Since A and B are diagonal, we have a ij = 0 and

More information

Math Camp II. Basic Linear Algebra. Yiqing Xu. Aug 26, 2014 MIT

Math Camp II. Basic Linear Algebra. Yiqing Xu. Aug 26, 2014 MIT Math Camp II Basic Linear Algebra Yiqing Xu MIT Aug 26, 2014 1 Solving Systems of Linear Equations 2 Vectors and Vector Spaces 3 Matrices 4 Least Squares Systems of Linear Equations Definition A linear

More information

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

Chapter 5. Linear Algebra. A linear (algebraic) equation in. unknowns, x 1, x 2,..., x n, is. an equation of the form Chapter 5. Linear Algebra A linear (algebraic) equation in n unknowns, x 1, x 2,..., x n, is an equation of the form a 1 x 1 + a 2 x 2 + + a n x n = b where a 1, a 2,..., a n and b are real numbers. 1

More information

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

x + 2y + 3z = 8 x + 3y = 7 x + 2z = 3 Chapter 2: Solving Linear Equations 23 Elimination Using Matrices As we saw in the presentation, we can use elimination to make a system of linear equations into an upper triangular system that is easy

More information

Gaussian Elimination and Back Substitution

Gaussian Elimination and Back Substitution Jim Lambers MAT 610 Summer Session 2009-10 Lecture 4 Notes These notes correspond to Sections 31 and 32 in the text Gaussian Elimination and Back Substitution The basic idea behind methods for solving

More information

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

Mon Feb Matrix algebra and matrix inverses. Announcements: Warm-up Exercise: Math 2270-004 Week 5 notes We will not necessarily finish the material from a given day's notes on that day We may also add or subtract some material as the week progresses, but these notes represent an

More information

MATH 2331 Linear Algebra. Section 2.1 Matrix Operations. Definition: A : m n, B : n p. Example: Compute AB, if possible.

MATH 2331 Linear Algebra. Section 2.1 Matrix Operations. Definition: A : m n, B : n p. Example: Compute AB, if possible. MATH 2331 Linear Algebra Section 2.1 Matrix Operations Definition: A : m n, B : n p ( 1 2 p ) ( 1 2 p ) AB = A b b b = Ab Ab Ab Example: Compute AB, if possible. 1 Row-column rule: i-j-th entry of AB:

More information

MTH501- Linear Algebra MCQS MIDTERM EXAMINATION ~ LIBRIANSMINE ~

MTH501- Linear Algebra MCQS MIDTERM EXAMINATION ~ LIBRIANSMINE ~ MTH501- Linear Algebra MCQS MIDTERM EXAMINATION ~ LIBRIANSMINE ~ Question No: 1 (Marks: 1) If for a linear transformation the equation T(x) =0 has only the trivial solution then T is One-to-one Onto Question

More information

Linear Algebra 1 Exam 1 Solutions 6/12/3

Linear Algebra 1 Exam 1 Solutions 6/12/3 Linear Algebra 1 Exam 1 Solutions 6/12/3 Question 1 Consider the linear system in the variables (x, y, z, t, u), given by the following matrix, in echelon form: 1 2 1 3 1 2 0 1 1 3 1 4 0 0 0 1 2 3 Reduce

More information

The matrix will only be consistent if the last entry of row three is 0, meaning 2b 3 + b 2 b 1 = 0.

The matrix will only be consistent if the last entry of row three is 0, meaning 2b 3 + b 2 b 1 = 0. ) Find all solutions of the linear system. Express the answer in vector form. x + 2x + x + x 5 = 2 2x 2 + 2x + 2x + x 5 = 8 x + 2x + x + 9x 5 = 2 2 Solution: Reduce the augmented matrix [ 2 2 2 8 ] to

More information

Online Exercises for Linear Algebra XM511

Online Exercises for Linear Algebra XM511 This document lists the online exercises for XM511. The section ( ) numbers refer to the textbook. TYPE I are True/False. Lecture 02 ( 1.1) Online Exercises for Linear Algebra XM511 1) The matrix [3 2

More information

MATH 2030: EIGENVALUES AND EIGENVECTORS

MATH 2030: EIGENVALUES AND EIGENVECTORS MATH 2030: EIGENVALUES AND EIGENVECTORS Determinants Although we are introducing determinants in the context of matrices, the theory of determinants predates matrices by at least two hundred years Their

More information

Systems of Linear Equations and Matrices

Systems of Linear Equations and Matrices Chapter 1 Systems of Linear Equations and Matrices System of linear algebraic equations and their solution constitute one of the major topics studied in the course known as linear algebra. In the first

More information

MATH 240 Spring, Chapter 1: Linear Equations and Matrices

MATH 240 Spring, Chapter 1: Linear Equations and Matrices MATH 240 Spring, 2006 Chapter Summaries for Kolman / Hill, Elementary Linear Algebra, 8th Ed. Sections 1.1 1.6, 2.1 2.2, 3.2 3.8, 4.3 4.5, 5.1 5.3, 5.5, 6.1 6.5, 7.1 7.2, 7.4 DEFINITIONS Chapter 1: Linear

More information

2. Every linear system with the same number of equations as unknowns has a unique solution.

2. Every linear system with the same number of equations as unknowns has a unique solution. 1. For matrices A, B, C, A + B = A + C if and only if A = B. 2. Every linear system with the same number of equations as unknowns has a unique solution. 3. Every linear system with the same number of equations

More information

Linear Algebra. The analysis of many models in the social sciences reduces to the study of systems of equations.

Linear Algebra. The analysis of many models in the social sciences reduces to the study of systems of equations. POLI 7 - Mathematical and Statistical Foundations Prof S Saiegh Fall Lecture Notes - Class 4 October 4, Linear Algebra The analysis of many models in the social sciences reduces to the study of systems

More information

Introduction. Vectors and Matrices. Vectors [1] Vectors [2]

Introduction. Vectors and Matrices. Vectors [1] Vectors [2] Introduction Vectors and Matrices Dr. TGI Fernando 1 2 Data is frequently arranged in arrays, that is, sets whose elements are indexed by one or more subscripts. Vector - one dimensional array Matrix -

More information

Introduction to Matrices and Linear Systems Ch. 3

Introduction to Matrices and Linear Systems Ch. 3 Introduction to Matrices and Linear Systems Ch. 3 Doreen De Leon Department of Mathematics, California State University, Fresno June, 5 Basic Matrix Concepts and Operations Section 3.4. Basic Matrix Concepts

More information

Methods for Solving Linear Systems Part 2

Methods for Solving Linear Systems Part 2 Methods for Solving Linear Systems Part 2 We have studied the properties of matrices and found out that there are more ways that we can solve Linear Systems. In Section 7.3, we learned that we can use

More information

MTH 464: Computational Linear Algebra

MTH 464: Computational Linear Algebra MTH 464: Computational Linear Algebra Lecture Outlines Exam 2 Material Prof. M. Beauregard Department of Mathematics & Statistics Stephen F. Austin State University February 6, 2018 Linear Algebra (MTH

More information

Chapter 7. Linear Algebra: Matrices, Vectors,

Chapter 7. Linear Algebra: Matrices, Vectors, Chapter 7. Linear Algebra: Matrices, Vectors, Determinants. Linear Systems Linear algebra includes the theory and application of linear systems of equations, linear transformations, and eigenvalue problems.

More information

Matrices and systems of linear equations

Matrices and systems of linear equations Matrices and systems of linear equations Samy Tindel Purdue University Differential equations and linear algebra - MA 262 Taken from Differential equations and linear algebra by Goode and Annin Samy T.

More information

Linear Algebra Homework and Study Guide

Linear Algebra Homework and Study Guide Linear Algebra Homework and Study Guide Phil R. Smith, Ph.D. February 28, 20 Homework Problem Sets Organized by Learning Outcomes Test I: Systems of Linear Equations; Matrices Lesson. Give examples of

More information

1 - Systems of Linear Equations

1 - Systems of Linear Equations 1 - Systems of Linear Equations 1.1 Introduction to Systems of Linear Equations Almost every problem in linear algebra will involve solving a system of equations. ü LINEAR EQUATIONS IN n VARIABLES We are

More information

The Solution of Linear Systems AX = B

The Solution of Linear Systems AX = B Chapter 2 The Solution of Linear Systems AX = B 21 Upper-triangular Linear Systems We will now develop the back-substitution algorithm, which is useful for solving a linear system of equations that has

More information

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

Math 343 Midterm I Fall 2006 sections 002 and 003 Instructor: Scott Glasgow 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

More information

Numerical Analysis Lecture Notes

Numerical Analysis Lecture Notes Numerical Analysis Lecture Notes Peter J Olver 3 Review of Matrix Algebra Vectors and matrices are essential for modern analysis of systems of equations algebrai, differential, functional, etc In this

More information

Daily Update. Math 290: Elementary Linear Algebra Fall 2018

Daily Update. Math 290: Elementary Linear Algebra Fall 2018 Daily Update Math 90: Elementary Linear Algebra Fall 08 Lecture 7: Tuesday, December 4 After reviewing the definitions of a linear transformation, and the kernel and range of a linear transformation, we

More information

Chapter 4. Solving Systems of Equations. Chapter 4

Chapter 4. Solving Systems of Equations. Chapter 4 Solving Systems of Equations 3 Scenarios for Solutions There are three general situations we may find ourselves in when attempting to solve systems of equations: 1 The system could have one unique solution.

More information

LINEAR ALGEBRA WITH APPLICATIONS

LINEAR ALGEBRA WITH APPLICATIONS SEVENTH EDITION LINEAR ALGEBRA WITH APPLICATIONS Instructor s Solutions Manual Steven J. Leon PREFACE This solutions manual is designed to accompany the seventh edition of Linear Algebra with Applications

More information

Matrix operations Linear Algebra with Computer Science Application

Matrix operations Linear Algebra with Computer Science Application Linear Algebra with Computer Science Application February 14, 2018 1 Matrix operations 11 Matrix operations If A is an m n matrix that is, a matrix with m rows and n columns then the scalar entry in the

More information

Elementary Row Operations on Matrices

Elementary Row Operations on Matrices King Saud University September 17, 018 Table of contents 1 Definition A real matrix is a rectangular array whose entries are real numbers. These numbers are organized on rows and columns. An m n matrix

More information

. =. 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

. =. 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 Vectors and Matrices Continued Remember that our goal is to write a system of algebraic equations as a matrix equation. Suppose we have the n linear algebraic equations a x + a 2 x 2 + a n x n = b a 2

More information

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.

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. Finite Mathematics Chapter 2 Section 2.1 Systems of Linear Equations: An Introduction Systems of Equations Recall that a system of two linear equations in two variables may be written in the general form

More information

Solving Linear Systems Using Gaussian Elimination

Solving Linear Systems Using Gaussian Elimination Solving Linear Systems Using Gaussian Elimination DEFINITION: A linear equation in the variables x 1,..., x n is an equation that can be written in the form a 1 x 1 +...+a n x n = b, where a 1,...,a n

More information

Linear Algebra March 16, 2019

Linear Algebra March 16, 2019 Linear Algebra March 16, 2019 2 Contents 0.1 Notation................................ 4 1 Systems of linear equations, and matrices 5 1.1 Systems of linear equations..................... 5 1.2 Augmented

More information

1300 Linear Algebra and Vector Geometry

1300 Linear Algebra and Vector Geometry 1300 Linear Algebra and Vector Geometry R. Craigen Office: MH 523 Email: craigenr@umanitoba.ca May-June 2017 Matrix Inversion Algorithm One payoff from this theorem: It gives us a way to invert matrices.

More information

Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition

Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition Prof. Tesler Math 283 Fall 2018 Also see the separate version of this with Matlab and R commands. Prof. Tesler Diagonalizing

More information

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

EXERCISE SET 5.1. = (kx + kx + k, ky + ky + k ) = (kx + kx + 1, ky + ky + 1) = ((k + )x + 1, (k + )y + 1) EXERCISE SET 5. 6. The pair (, 2) is in the set but the pair ( )(, 2) = (, 2) is not because the first component is negative; hence Axiom 6 fails. Axiom 5 also fails. 8. Axioms, 2, 3, 6, 9, and are easily

More information

MATH 106 LINEAR ALGEBRA LECTURE NOTES

MATH 106 LINEAR ALGEBRA LECTURE NOTES MATH 6 LINEAR ALGEBRA LECTURE NOTES FALL - These Lecture Notes are not in a final form being still subject of improvement Contents Systems of linear equations and matrices 5 Introduction to systems of

More information

Chapter 2: Matrices and Linear Systems

Chapter 2: Matrices and Linear Systems Chapter 2: Matrices and Linear Systems Paul Pearson Outline Matrices Linear systems Row operations Inverses Determinants Matrices Definition An m n matrix A = (a ij ) is a rectangular array of real numbers

More information

APPENDIX: MATHEMATICAL INDUCTION AND OTHER FORMS OF PROOF

APPENDIX: MATHEMATICAL INDUCTION AND OTHER FORMS OF PROOF ELEMENTARY LINEAR ALGEBRA WORKBOOK/FOR USE WITH RON LARSON S TEXTBOOK ELEMENTARY LINEAR ALGEBRA CREATED BY SHANNON MARTIN MYERS APPENDIX: MATHEMATICAL INDUCTION AND OTHER FORMS OF PROOF When you are done

More information

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

Matrix Algebra Determinant, Inverse matrix. Matrices. A. Fabretti. Mathematics 2 A.Y. 2015/2016. A. Fabretti Matrices Matrices A. Fabretti Mathematics 2 A.Y. 2015/2016 Table of contents Matrix Algebra Determinant Inverse Matrix Introduction A matrix is a rectangular array of numbers. The size of a matrix is indicated

More information

MATH10212 Linear Algebra B Homework 6. Be prepared to answer the following oral questions if asked in the supervision class:

MATH10212 Linear Algebra B Homework 6. Be prepared to answer the following oral questions if asked in the supervision class: MATH0 Linear Algebra B Homework 6 Students are strongly advised to acquire a copy of the Textbook: D C Lay, Linear Algebra its Applications Pearson, 006 (or other editions) Normally, homework assignments

More information

Matrices and Matrix Algebra.

Matrices and Matrix Algebra. Matrices and Matrix Algebra 3.1. Operations on Matrices Matrix Notation and Terminology Matrix: a rectangular array of numbers, called entries. A matrix with m rows and n columns m n A n n matrix : a square

More information

Matrix & Linear Algebra

Matrix & Linear Algebra Matrix & Linear Algebra Jamie Monogan University of Georgia For more information: http://monogan.myweb.uga.edu/teaching/mm/ Jamie Monogan (UGA) Matrix & Linear Algebra 1 / 84 Vectors Vectors Vector: A

More information

Linear Algebra Highlights

Linear Algebra Highlights Linear Algebra Highlights Chapter 1 A linear equation in n variables is of the form a 1 x 1 + a 2 x 2 + + a n x n. We can have m equations in n variables, a system of linear equations, which we want to

More information