Lecture Notes in Linear Algebra

Size: px
Start display at page:

Download "Lecture Notes in Linear Algebra"

Transcription

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

2

3 Contents 1 Linear Equations and Matrices Matrices Special types of matrices: Matrix Operation: Dot Product and Matrix Multiplication Properties of Matrix Operations Properties of matrix-scalar multiplication Properties of Matrix Addition Properties of Matrix Multiplication Properties of Matrix Transpose Symmetric and Skew-Symmetric Matrices Solutions of Linear System of Equations Solving System of Linear Equations The Inverse of a Matrix Determinants Determinants Cofactor Expansion and Applications Vectors in R n Vectors in R n i

4 ii CONTENTS Vectors Operations: The Dot Product of Vectors: Properties of Dot Product: The Angle Between Two Vectors Principle of Unit Vectors in R n Real Vector Spaces Real Vector Spaces Real Vector Subspaces Linear Independence Basis and Dimension Homogenous System The Rank of a Matrix and its Application Diagonalization Eigenvalues and Eigenvectors Diagonalization Case 1: Diagonalization of a Matrix with Distinct Eigenvalues Case 2: Diagonalization of a Matrix with Repeated Eigenvalues Vectors in R n The Cross Product in R n Planes and Lines in R

5 Chapter 1 Linear Equations and Matrices 1.2 Matrices Definition An m n matrix A is a rectangular array of m n real numbers arranged in m horizontal rows and n vertical columns. That is, a 11 a a 1j... a 1n a 21 a a 2j... a 2n A = a i1 a i2... a ij... a in a m1 a m2... a mj... a mn In the matrix A above, we have: a 11, a 12,..., a mn are called elements (or entries) of the matrix. The entry a ij lies in the intersection of row i and column j. The size (or order) of A is m by n, written as m n. The matrix is called a square matrix if m = n. We write M m n for the class of all real matrices of size m n. If a matrix A is of size 1 n, then we say that A is a vector of size (length) n and we write A R n. In addition, if A is of size n 1, we say that A R n. Example A matrix A M 2 3 and another matrix B M 3 3. A = B =

6 2 Chapter 1. Linear Equations and Matrices An m n matrix can be represented by the following ways: A = (a ij ) for 1 i m and 1 j n, row 1 A = row 2, where row i = [a i1 a i2... a in ], for 1 i m, or. row m A = [col 1 col 2... col n], where col j = a 1j a 2j. a mj for 1 j n. Example List all of the entries of the matrix A = (a ij ) R 3, for 1 i 3 and 1 j 3, where i + j, if i > j a ij = 0, if i = j i j, if i < j We list the entries of A in the following way: a 11 a 12 a A = a 21 a 22 a 23 = a 31 a 32 a Special types of matrices: 1. The zero matrix, say O, is an m n matrix whose entries are all equal to O =

7 1.2. Matrices 3 2. The diagonal matrix, D, is a square matrix in R n, where D = (d ij ) so that d ij = 0 for all i j. d 11 0 D =... 0 d nn 3. The scalar matrix is a diagonal matrix S whose all diagonal entries are equal to some a scalar c. c 0 S =... 0 c 4. The identity matrix (or unit matrix) is a scalar matrix I n whose all diagonal entries are equal to I n = The lower triangular matrix, L, is a square matrix in R n, where L = (l ij ) so that l ij = 0 for all i < j. l 11 0 L =.... l n1... l nn 6. The upper triangular matrix, U, is a square matrix in R n, where U = (u ij ) so that u ij = 0 for all i > j. u u 1n U = u nn Remark Two m n matrices A = (a ij ) and B = (b ij ) are said to be equal if a ij = b ij for all 1 i m and 1 j n. Example Find the values of a, b, c, and d if a + b c d c + d = 1 2. a b 2 1

8 4 Chapter 1. Linear Equations and Matrices Since the two matrices are equal. Then a + b = 1 a b = 1 c + d = 2 c d = 2 + = 2a = 2 = a = 1 and hence b = 0. + = 2c = 0 = c = 0 and hence d = Matrix Operation: Matrix transpose Definition If A = (a ij ) is an m n matrix, then the n m matrix A T 1 i m, is called the transpose of A. = (a ji ), where 1 j n and Example If A = a b c d e f 2 3 a, then A T = b c d e f 3 2. Example ( ) Q#6 pg. 20 If A is an n n lower triangular matrix, then A T is an n n upper triangular matrix. Since A is a lower triangular, then a ij = 0 for all i < j. Therefore, the transpose of A, A T = (a ji ) has entries a ji = 0 if j > i and thus it is an upper triangular. Matrix addition and substraction To add two m n matrices A = (a ij ) and B = (b ij ), we must have the size(a) = size(b). Then, A ± B = C, where C = (c ij ) with c ij = a ij ± b ij, for all 1 i m and 1 j n.

9 1.2. Matrices 5 Example If possible, find A + B and A T B, where 2 1 A = , and B = Clearly, A+B is not possible as they have different sizes. On the other hand, size(a T ) = size(b), and A T B = = Example ( ) Q#5 pg.20 Show that the sum and the difference of two lower triangular matrices is a lower triangular matrix. Let A = (a ij ) and B = (b ij ) be two n n matrices so that both are lower triangular matrices. Thus, a ij = 0 and b ij = 0 for all i < j. If (c ij ) = C = A ± B with c ij = a ij ± b ij, then c ij = 0 for all i < j. Therefore, C is again a lower triangular matrix. Remark The sum and the difference of two upper triangular matrices is an upper triangular matrix. Scalar multiplication If A = (a ij ) is an m n matrix and c is a real number, then c A = (c a ij ) for all 1 i m and 1 j n.

10 6 Chapter 1. Linear Equations and Matrices 1.3 Dot Product and Matrix Multiplication Definition The dot (inner) product of the n-vectors x = (x 1 x 2 x n ) and y = (y 1 y 2 y n ) is defined by x y = x 1 y 1 + x 2 y x n y n = n x i y i. (1.3.1) i=1 An n-vector x = (x 1 x 2 x n ) can be written as x = (x 1, x 2,, x n ). Example Find x y if x = (1, 0, 2, 1) and y = (3, 5, 1, 4). Clearly, x y = ( 2) + ( 4) = 3. Definition Let A = (a ij ) be an m p matrix and B = (b ij ) be a p n matrix. Then, the product of A and B, (AB), is the m n matrix C = (c ij ) = row i (A) col j (B) where p c ij = a i1 b 1j + a i2 b 2j + + a ip b pj = a ik b kj, for 1 i m and 1 j n. k=1 Note that the entry (i, j) of the product AB equals to the dot product of row i (A) by the col j (B). Remark To get the product AB, we must have # of columns in A = # of rows in B.

11 1.3. Dot Product and Matrix Multiplication 7 Example If A = a 11 a 12 a 13 a 21 a 22 a b 11 b 12, and B = b 21 b 22 b 31 b , then AB = a 11b 11 + a 12 b 21 + a 13 b 31 a 11 b 12 + a 12 b 22 + a 13 b 32 a 21 b 11 + a 22 b 21 + a 23 b 31 a 21 b 12 + a 22 b 22 + a 23 b Example Find AB, AB T, and A T B if possible, where A = 1 0 2, and B = Clearly, AB is not possible to compute since # columns in A is not the same as # rows of B. AB T : excercise. 1 1 A T B = = = Remark In general, AB BA. For instance, consider A = 1 0 and B = 0 0. Check it yourself!! It is always true that AB = BA if A = I n or that A = B.

12 8 Chapter 1. Linear Equations and Matrices Example Let A = [ ] Find all values of c so that c A A T = 15. [ ] Note that ca A T = c = 5c. Therefore, 5c = 15 and hence c = 3. 0 Example Let A = 4 2 1, and B = Compute the (3, 2)-entry of AB The (3, 2)-entry = row 3 (A) col 2 (B) = [0 1 2] [4 1 2] = 1 4 = 5. Definition Let A be an m n matrix and x R n (be an n-vector), then a 11 a 12 a 1n x 1 a 11 x 1 + a 12 x a 1n x n Ax = a 21 a 22 a 2n x 2 = a 21 x 1 + a 22 x a 2n x n a m1 a m2 a mn x n a m1 x 1 + a m2 x a mn x n row 1 (A) x a 11 a 12 a 1n = row 2 (A) x = x 1 a 21 + x 2 a x n a 2n.... row m (A) x a m1 a m2 = x 1 col 1 (A) + x 2 col 2 (A) + + x n col n (A). a mn That is, Ax is a linear combination of columns of A and the entries of x are the coefficients.

13 1.3. Dot Product and Matrix Multiplication 9 Example Write the following product as a linear combination of the columns of the first matrix = ( 2) Example ( ) Q#9 pg.38 If A is an m p matrix and B is a p n matrix, then (a) Show that col j (AB) = A col j (B). (b) Show that row i (AB) = ( row i (A) ) B. (a) Let C = AB. Clearly for 1 j n, c 1j row 1 (A) col j (B) row 1 (A) col j (AB) = col j (C) = c 2j = row 2 (A) col j (B) = row 2 (A) col j (B) = A col j (B).... c mj row m (A) col j (B) row m (A) (b) Let C = AB. Clearly for 1 i m, i1 c i2 row i (AB) = row i (C) = [c ] c in [ ] = row i (A) col 1 (B) row i (A) col 2 (B) row i (A) col n (B) = row i (A) [ col 1 (B) col 2 (B) ] col n (B) = ( row i (A) ) B. TRUE or FALSE: If a matrix B has a column of zeros, then the product AB has a column of zeros as well. reason: Assume that column j of B is a column of zero. Then, col j (AB) = A col j (B) = 0. (TRUE).

14 10 Chapter 1. Linear Equations and Matrices Example Let A = of columns of A. 3 2 and B = Clearly, 1 2 col 1 (AB) = A col 1 (B) = = col 2 (AB) = A col 2 (B) = = col 3 (AB) = A col 3 (B) = = Find the columns of AB as a linear combination Example Compute A 2017, where A = Here, we will compute some powers of the matrix A to look for a pattern. That is, A 2 = AA = = 1 2, A 3 = A 2 A = = A 4 = A 3 A = = 1 4, A n = A n 1 A = 1 (n 1) 1 1 = 1 n Therefore, A 2017 = A 2016 A =

15 1.3. Dot Product and Matrix Multiplication 11 Matrix Form of Linear System of Equations: Given a linear system of equation on n variables as in (1.3.2) a 11 x 1 + a 12 x 2 + a 13 x a 1n x n = b 1 a 21 x 1 + a 22 x 2 + a 23 x a 2n x n = b 2 a m1 x 1 + a m2 x 2 + a m3 x a mn x n = b m (1.3.2) we transform this system into the matrix form as in (1.3.3) a 11 a 12 a 1n a 21. a 22.. a 2n. a m1 a m2 a mn x 1 x 2. x n = b 1 b 2. b m (1.3.3) We say that the form of (1.3.3) is the matrix form A x = B, where x is called the vector of unknowns. Moreover, we define the augmented form as [ A B ]. (1.3.4) Example Write the following system of linear equations in the matrix form and in the augmented form. 2x z + 3w = 1 x + 5y = 1 x + y + z = 0 The matrix form is: x y z w = while the augmented form is given by

16 12 Chapter 1. Linear Equations and Matrices Exercise Let A = 1 2. Compute A 2 + I ( ) Q#6 pg.31 : The product of two upper triangular matrices is an upper triangular matrix. The proof is NOT required Let A = 4 5 and B = Express the third row of AB as a linear combination of the rows of B Let A = 0 2 and B = Find AB and express the second column of AB as a linear combination of the columns of A.

17 1.4. Properties of Matrix Operations Properties of Matrix Operations In what follows, let A, B, and C be matrices of appropriate sizes, and let r, s R Properties of matrix-scalar multiplication 1. r (s A) = (rs) A, 2. (r + s) A = r A + s A, 3. r (A + B) = r A + r B, 4. A(r B) = (r A)B = r (AB). Example ( ) Q#32 pg.51 If the m n linear system A x = B has more than one solution, then it has infinitely many solutions. Let y and z be two solutions to the system A x = B. Then, for r, s R, we have A y = B r A y = r B A(r y) = r B. (1.4.1) Similarly, we have A(s z) = s B. (1.4.2) Adding up (1.4.1) and (1.4.2), we got A(r y + s z) = (r + s)b. Therefore, (r y + s z) is a solution to the system whenever, r + s = 1. The result follows.

18 14 Chapter 1. Linear Equations and Matrices TRUE or FALSE: If x 1 and x 2 are two solutions for Ax = B, then 3 2 x 1 2x 2 is also a solution. reason: Since = (FALSE) Properties of Matrix Addition 1. A + B = B + A, 2. (A + B) + C = A + (B + C), 3. there is a unique matrix O such that O + A = A + O = A, the matrix O is called the additive identity, 4. there is a unique matrix D such that A + D = D + A = O. In particular, D = A is called the additive inverse of A Properties of Matrix Multiplication 1. A(BC) = (AB)C, 2. A(B + C) = AB + AC, 3. (A + B)C = AC + BC, 4. there is a unique (identity) matrix I such that AI = IA = A. Remark Let p, q, and r be rational numbers and let A, B M m n, then 1. A p A q = A p+q, 2. (A p ) q = A pq, 3. AB BA,

19 1.4. Properties of Matrix Operations (AB) p A p B p, 5. for a, b R: ab = 0 only if a = 0 or b = 0. This is not true ingeneral for matrices. For instance, if A = [ ], and B = [ ], then AB = O where A and B are both non-zero matrices Properties of Matrix Transpose 1. (A T ) T = A, 2. (A + B) T = A T + B T, 3. (AB) T = B T A T, 4. for any real number r R, (ra) T = ra T, Note That: Property 3 can be generalized to (ABC XY Z) T = Z T Y T X T C T B T A T. Example Let A = 2 0 and B = 1 4. Find A T, B T, AB, (AB) T, and B T A T Clearly, A T = 2 1 and B T = AB = = 2 8 (AB) T = Moreover, B T A T = =

20 16 Chapter 1. Linear Equations and Matrices Example ( ) T #9 pg.51 Find a 2 2 matrix B O and B I2 so that AB = BA if A = Let B = a c b. Therefore, d AB = BA a + 2c c b + 2d = a d c 2a + b, 2c + d thus a = a + 2c c = 0 and b + 2d = 2a + b a = d. Let s, t R so that a = s and b = t to get B = s t. Note that s and t can not be both 0 since B O, and the case of t = 0 and 0 s s = 1 can NOT be hold since B I Symmetric and Skew-Symmetric Matrices Definition Let A M n n. A is called symmetric matrix whenever A T = A, and it is called skewsymmetric matrix whenever A T = A. For instance, A = matrix is a symmetric matrix; where B = 0 2 is a skew-symmetric 2 0 Example ( ) T #23 pg.51 Let A and B be two symetric matrices. Show that (a) A + B is symmetric. (b) AB is symmetric ( ) if and only if AB = BA.

21 1.4. Properties of Matrix Operations 17 Since A and B are both symmetirc, then A T = A and B T = B. (a): Clearly, (A + B) T = A T + B T = A + B. Therefore, A + B is symmetric. (b): We first prove ( ). Let AB be symmetirc. Thus AB = (AB) T = B T A T = BA which shows that AB = BA. To show the other direction ( ), assume that AB = BA. Thus, (AB) T = B T A T = BA = AB which shows that AB is symmetric. Example If A and B are skew-symmetric matrices and AB = BA, then AB is symmetric. It is given that A T = A and B T = B; thus, (AB) T = B T A T = ( B)( A) = BA = AB. Therefore, AB is symmetric. Example ( ) T #26 pg.51 Show that A T A and AA T are both symmetric matrices. It is clear that (A T A) T = A T (A T ) T = A T A which shows that A T A is symmetric. In addition, (AA T ) T = (A T ) T A T = AA T shows that AA T is also symmetric. Example ( ) T #27 pg.51 Let A Mn n. Show that (a) A T + A is symmetirc. (b) A A T is skew-symmetric. [(a)]: (A T + A) T = (A T ) T + A T = A + A T = A T + A. Therefore, A T + A is symmetric. [(b)]: (A A T ) T = A T (A T ) T = A T A = (A A T ). Therefore, A A T is skew-symmetric.

22 18 Chapter 1. Linear Equations and Matrices Example ( ) T #28 pg.51 Let A Mn n. Then A can be written as A = S + K, where S is symmetric matrix and K is skew-symmetric matrix. From Example 1.4.7, we know that A T + A is symmetric and that A A T is skew-symmetric. If S = 1 2 (AT + A) which is symmetric and K = 1 2 (A AT ) which is skew-symmetric, then S + K = 1 2 (AT + A) (A AT ) = 1 2 AT A A 1 2 AT = A.

23 1.4. Properties of Matrix Operations 19 Exercise Let A = (a) Find A (b) Find all matrices B such that AB = BA. 2. Let A = Find A Show that if A and B are symmetric matrices, then AB BA is a skew-symmetric matrix. 4. Let A be 2 2 skew-symmetric matrix. If A 2 = A, then A = Let A = 3. Find all constants c R such that (ca) T (ca) = Let A = Find a symmetric matrix S and a skew symmetric matrix K such that A = S + K.

24 20 Chapter 1. Linear Equations and Matrices 1.6 Solutions of Linear System of Equations Definition A matrix A M m n is said to be in the reduced row echelon form (r.r.e.f. for short) if it satisfies the following conditions: 1. the row of zeros (if any) should be at the bottom of A, 2. the leading (first) entry of a non-zero row should be 1, 3. the leading entry of row i + 1 should be on the right of the leading entry of row i, 4. the columns that contain a leading entry 1, all its other entries are zeros. The matrix A is said to be in the row echelon form (r.e.f.) if it does not satisfy the last Condition. Example Here aresome examples of some matrices to clarify the previous conditions: (1) A = is r.r.e.f (2) B = is not r.r.e.f. since it has a row of zeros in the second row (3) C = is not r.r.e.f. since the leading entry in the second row is not (4) D = is not r.r.e.f. since the leading entry of the third row is on the left of the leading entry of the second row. Switch 2 nd and 3 rd rows to get the r.r.e.f. form.

25 1.6. Solutions of Linear System of Equations 21 Given a matrix A M m n, we define the following elementary row operations: 1. interchanging a row by another row, 2. multiplying a row by a non-zero scalar, 3. adding a multiple of a row to another row. That is, replace a i1, a i2,, a in by a i1 + ca k1, a i2 + ca k2,, a in + ca kn, for 1 i, k n. Definition An m n matrix A is called row equivalent to an m n matrix B if B can be obtained by applying a finite sequence of elementary row operation to A. In this case, we write A B. Properties of matrix equivalence: For any m n matrices A, B, and C we have 1. A A, 2. A B B A, 3. A B and B C A C. Theorem Every non-zero m n matrix is row equivalent to a unique matrix in the r.r.e.f. Example Find the matrix B which is in r.r.e.f. and is row equivalent to A = A r 2 2r 1 r 2 r 3 3r 1 r r 2 r r 3 r r 1 2r 2 r 1 r 3 3r 2 r

26 22 Chapter 1. Linear Equations and Matrices 1 2 r 3 r r 1 r 3 r 1 r 2 r 3 r = B (in r.r.e.f.) A Example Find the matrix B which is in r.r.e.f. and is row equivalent to A = A 1 2 r 1 r r 1 3r 3 r r 2 r 1 r 2 r 2 r r 3 r 1 r = B (in r.r.e.f.) A r 1 2r 2 r Solving System of Linear Equations Solving Ax = B Ax = B where B O (non-homogenous) Ax = O (homogenous) unique sol no sol infinite sol trivial sol non-trivial sol Remark Guass-Jordan method for solving Ax = B: 1. Find the r.r.e.f. of augmented matrix [ A B ], 2. Solve the reduced system. Note that, the solution of the reduced system is the solution of the original one.

27 1.6. Solutions of Linear System of Equations 23 Theorem Let Ax = B and Cx = D be two linear systems of equations. If [ A B ] [ C D ], then the two system have the same solutions. (α) Solving Non-Homogenous System Ax = B with B O Example Solve the following system using the Guass-Jordan method. x + 2y + 3z = 9 2x y + z = 8 3x z = r 2 2r 1 r r 2 r r 1 2r 2 r r 3 3r 1 r r 3 r 3 r 3 3r 2 r r 3 r r 1 r 3 r r 2 r 3 r Therefore, the reduced system is: x = 2, y = 1, and z = 3. Thus, x = 1 is a unique 3 solution to the system. Remark The system Ax = B has a unique solution if and only if A I.

28 24 Chapter 1. Linear Equations and Matrices Example Solve the following system using the Guass-Jordan method. x 1 + x 2 x 3 + 4x 4 = 1 + x 2 3x 3 + 4x 4 = 0 2x 1 + 2x 2 2x 3 + 8x 4 = r 3 2r 1 r Therefor, the reduced system is: r 1 r 2 r x 1 + 2x 3 = 1 x 2 3x 3 + 4x 4 = 0 x 1 = 1 2x 3 x 2 = 3x 3 4x 4 We now fix x 3 = r and x 4 = t for r, t R to get the following infinite many solutions: x 1 = 1 2r x 2 = 3r 4t 1 2r x = 3r 4t for all r, t R. r t Remark The system Ax = B has infinity many solutions if the number of unknowns is more than the number of equations. Example Solve the following system using the Guass-Jordan method. x 1 + x 2 x 3 + 4x 4 = 1 + x 2 3x 3 + 4x 4 = 0 2x 1 + 2x 2 2x 3 + 8x 4 = 3

29 1.6. Solutions of Linear System of Equations r 3 2r 1 r At this point, it can be seen that the third row suggests that 0 = 1 which is not possible. Therefore, this system has no solution. Remark The system Ax = B has no solution whenever A a matrix with a row of zeros while [ A B ] a matrix with no rows of zeros. Example Consider the system: Find all values of a so that the system has: (a) a unique solution. (b) infinite many solutions. (c) no solution. x + y + z = 2 x + 2y z = 2 x + 2y + (a 2 5)z = a In this kind of questions, it is not necessary to get the r.r.e.f. So, we will try to focus on the last row which contains the term a as follows: r 2 r 1 r a 2 r 3 r 1 r 3 5 a 0 1 a 2 6 a 2 At this point, we have: r 3 r 2 r 3 (a) a unique solution if a a ±2 a R\{ 2, +2} a 2 4 a 2 (b) infinite solutions if { a 2 4 = 0 and a 2 = 0 } { a = ±2 and a = +2 } a = +2. (c) no solution if { a 2 4 = 0 and a 2 0 } { a = ±2 and a +2 } a = 2.

30 26 Chapter 1. Linear Equations and Matrices (β) Solving Homogenous System Ax = O Example Solve the following system using the Guass-Jordan method. x + 2y + 3z = 0 x + 3y + 2z = 0 2x + y 2z = r 2 r 1 r r 1 2r 2 r r 3 r 3 r 3 2r 1 r 3 r 3 +3r 2 r r 1 5r 3 r r 2 +r 3 r Therefore, the reduced system is: x = 0, y = 0, and z = 0. Thus, x = 0 is a trivial solution. 0 Remark The system Ax = O has a trivial solution whenever A I. Example Solve the following system using the Guass-Jordan method. x 1 + x 2 x 3 + 4x 4 = 0 + x 2 3x 3 + 4x 4 = 0 2x 1 + 2x 2 2x 3 + 8x 4 = 0

31 1.6. Solutions of Linear System of Equations r 3 2r 1 r Therefor, the reduced system is: r 1 r 2 r x 1 + 2x 3 = 0 x 2 3x 3 + 4x 4 = 0 x 1 = 2x 3 x 2 = 3x 3 4x 4 We now fix x 3 = r and x 4 = t for r, t R to get the following non-trivial solution: x 1 = 2r x 2 = 3r 4t 2r x = 3r 4t for all r, t R. r t Remark The system Ax = O has a non-trivial solution if the number of unknowns is greater than the number of equations in the reduced system. Definition Linear systems with at least one solution are called consistent, and linear system with no solutions are called inconsistent. Example Discuss the consistency of the following homogenous system: a The system has: r 2 r 1 r 2 r 3 r 1 r 3 x + y z = 0 x y + 3z = 0 x + y + (a 2 5)z = a 2 4 0

32 28 Chapter 1. Linear Equations and Matrices (a) trivial solution when a a ±2 a R\{±2}, (b) non-trivial solution when a 2 4 = 0 a = ±2. Example Discuss the consistency of the following non-homogenous system: x + 3y + kz = 4 2x + ky + 12z = k 4 r 2 2r 1 r k 4. 2 k k k 2 The system: (a) can not have a unique solution (not equivalent to I because it is not square matrix!!), (b) has infinite solutions when k 6, (c) has no solutions when k = 6. Example ( ) T #11 pg.89 Let u and v be two solutions of the homogenous system Ax = O. Show that ru + sv (for r, s R) is a solution to the same system. Since u and v are two solution of Ax = O, then Au = O and Av = O (respectively). We need to show that A(ru + sv) = O. Clearly, A(ru + sv) = A(ru) + A(sv) = r(au) + s(av) = O + O = O. Therefore, ru + sv is also a solution to the system.

33 1.6. Solutions of Linear System of Equations 29 Example ( ) T #12 pg.89 Let u and v be two solutions of the non-homogenous system Ax = B. Show that u v is a solution to the homogenous system Ax = O. Since u and v are two solution of Ax = B, then Au = B and Av = B (respectively). We need to show that A(u v) = O. Clearly, A(u v) = Au Av = B B = O. Therefore, u v is a solution to the system Ax = O.

34 30 Chapter 1. Linear Equations and Matrices Exercise Let A = 3. Find all constants c R such that (ca) T (ca) = Find the reduced row echelon form (r.r.e.f.) of the following matrix: Let A = and B = a system Ax = B has at least one solution Find all value(s) of a such that the 0 a Solve the system x + y + z = 0 x + 2y + 3z = 0 x + 3y + 4z = 0 x + 4y + 5z = Find all value(s) of a for which the system x y + (a + 3)z = a 3 a 7 x + ay az = a 2(a 1)y + (a 2 + 2)z = 8a 14. has (a) no solution, (b) unique solution, and (c) infinite many solutions. 6. Show that if C 1 and C 2 are solutions of the system Ax = B, then 4C 1 3C 2 is also a solution of this system.

35 1.7. The Inverse of a Matrix The Inverse of a Matrix Unless otherwise specified, all matrices in this section are considered to be square matrices. Definition A matrix A M n n is called non-singular or invertable if there exists a matrix B M n n such that A B = B A = I n. In particular, B is called the inverse of A and is denoted by A 1. If there is no such B, we say that A is singular which means that A has no inverse. Example Here is an example of a 2 2 matrix along with its inverse = = 1 0 = I Theorem If a matrix has an inverse, then its inverse is unique. Proof: Assume that A M n n is a matrix with two inverses B and C, then B = B I n = B (A C) = (B A) C = I n C = C. Therefore, A has a unique inverse. Remark How to find A 1 for a given A M n n : 1. form the augmented matrix [ A I n ],

36 32 Chapter 1. Linear Equations and Matrices 2. find the r.r.e.f. of [ A I n ], say [ C B ]: (a) if C = I n, then A is non-singular and A 1 = B, (b) if C I n, then C has a row of zeros and A is singular matrix with no inverse. Example Find, if possible, A 1 for A = r 2 2r 1 r r 1 r 2 r Therefore, A is non-singular and A 1 = Example Find, if possible, A 1 for A = r 2 r 1 r r r 3 2r 1 r r 1 r 3 r r 2 r 3 r Therefore, A is non-singular and A 1 =

37 1.7. The Inverse of a Matrix 33 Example Find, if possible, A 1 for A = r 2 r 1 r r 3 3r 2 r r 3 5r 1 r At this point, we can conclude that this matrix is singular with no inverse because of the fact that the third row in the first part is a zero row. In particular, A 1 does not exist. Remark Let A be an n n matrix: 1. if A is row equivalent to I n, then it is non-singular, Example A = 3 0 is row equivalent to I if A is row equivalent to a matrix with a row of zeros, then it is singular. Example A = 1 1 is row equivalent to a matrix with a row of zeros. 0 0 TRUE or FALSE:

38 34 Chapter 1. Linear Equations and Matrices (FALSE). 1 0 is a non- 0 1 If A and B are singular matrices, then so is A + B. reason: A = 1 0 and B = 0 0 are two singular matrices, while A + B = singular. If A and B are non-singular matrices, then so is A + B. (FALSE). reason: A = 1 0 and B = 1 0 are two non-singular matrices, while A + B = 0 0 is a singular. Theorem If A is non-singular, then A 1 is non-singular and (A 1 ) 1 = A. Proof: If A is non-singular, then A A 1 = A 1 A = I, or A 1 A = A A 1 = I. Therefore, A 1 is non-singular and (A 1 ) 1 = A. Theorem If A and B are non-singular matrices, then A B is non-singular and (A B) 1 = B 1 A 1. Proof: Since both A and B are non-singular, then both A 1 and B 1 exist. Thus A B (B 1 A 1 ) = A (B B 1 ) A 1 = A I A 1 = A A 1 = I. A B (B 1 A 1 ) = A (B B 1 ) A 1 = A I A 1 = A A 1 = I. Thus, A B is non-singular and (A B) 1 = B 1 A 1. Theorem If A is non-singular, then A T is non-singular and (A T ) 1 = (A 1 ) T. Proof: A is non-singular, and thus A A 1 = I = A 1 A. Taking the transpose for the whole thing, we get

39 1.7. The Inverse of a Matrix 35 (A A 1 ) T = I = (A 1 A) T } (A 1 ) T A T = I = A T (A 1 ) T A T is non-singular and (A T ) 1 = (A 1 ) T. Inverses and System of Linear Equations Remark Assume that A is a non-singular n n matrix. Then the non-homogenous system Ax = B has a unique solution since A 1 A x = A 1 B I n x = A 1 B x = A 1 B Remark Assume that A is a non-singular n n matrix. Then the homogenous system Ax = O has a trivial solution since A 1 A x = A 1 O x = O Remark Assume that A is a singular n n matrix. Then the homogenous system Ax = O has a non-trivial solution. Example Solve the following system A x = B x y = z 1

40 36 Chapter 1. Linear Equations and Matrices We can find the inverse of A as in Example 1.7.3, to get A 1 = Then, using Remark 1.7.3, x = x y z = A 1 B = = which is a unique solution. Example Solve the following system A x = O x y z = We can find the inverse of A as in Example 1.7.3, to get A 1 = Then, using Remark 1.7.4, x = x y z = A 1 O = = which is a trivial solution.

41 1.7. The Inverse of a Matrix 37 Example Solve the following system A x = O x y = z 0 Since A is singular as we have seen in Example 1.7.4, we can not follow Remark Therefore, we use the usual Guass-Jordan method to solve this system, knowing that this system has nontrivial solution as in Remark t x z = 0 Thus, the reduced system is. Let z = t R. Therefore, x = y z = 0 t t Remark For any A M n n, we have 1. A is non-singular A I n A 1 exits A x = B has a unique solution A x = O has a trivial solution. 2. A is singular A a matrix with a row of zeros A 1 Does Not Exist A x = O has a non-trivial solution.

42 38 Chapter 1. Linear Equations and Matrices Exercise Let A T = Find (2A) [ Hint: If c is a nonzero constant, then what is (ca) 1?] 2. Let A = 1 2, and B = Find C if (B T + C)A 1 = B T Let A 1 = and B = Find C if A C = BT [ Hint: Consider multiplying both sides from the left with A 1.] [ ] 4. Let A 1 = Find all x, y, z R such that x y z A = Let A = and B = (a) find B 1. (b) Find C if A = B C. [ ] Let A, B, and C be n n matrices such that D = AB + AC is non-singular. (a) Find A 1 if possible. (b) Find (B + C) 1 if possible. 7. Let A be an n n matrix such that A 3 = O. Prove or disprove that (I n A) 1 = A 2 + A + I n.

43 1.7. The Inverse of a Matrix 39 CHAPTER 1 REVISION Revision of Chapter 1... Have Fun :-) 1. Let A = 5 a 10. Find all values of a such that A 2 = A Find the matrix A satisfying 2A T T = Let A = 1 3 and X = 5. Compute, if possible, X T A T, A T X T, X T X, and XX T Let A = 0 2 and B = (a) Find, if possible, AB and A T B. (b) Express the second column of AB as a linear combination of the columns of A. (c) Express the second row of AB as a linear combination of the rows of B. 5. Let A be a square matrix. Show that if A = 2A T, then A = O Let A = x 1 (a) Find all solution, if any, to the system A y = 8. z 7 x (b) Find all solution to the homogenous system A y = 0 0. z 0

44 40 Chapter 1. Linear Equations and Matrices 7. Find all values of a such that the following system has at least one solution. x + y + z = 1 x + 3y + 2z = 2 x + y + (a 2 3)z = a Let A = 1 3 0, B = , and C = (a) Find A 1. (b) Find a matrix X such that AX + B = C. (c) Is it possible to find a matrix Y such that Y A + B = C? Explain. 9. Let A and B be skew symmetric matrices. Show that AB is symmetric iff AB = BA. 10. Let A and B be two square matrices such that AB = O. If B is non-singular, find A. 11. Find a 2 2 matrix C such that A T CB = I 2, where A 1 = 1 1 and B 1 = Let P = and Q = (a) Compute PQ. (b) Is P singular or non-singular matrix? Explain. 13. Consider the system 3x +2y z w = 0 x y +3z 5w = 0 5y +2z 4w = 0 x y z +w = 0, (a) Determine whether (1, 0, 2, 1) is a solution to the above system. (b) Does the above system has infinitely many solutions? Explain. (c) Let A be the coefficient matrix of the above system. Is A singular? Explain.

45 1.7. The Inverse of a Matrix [ ] 14. Let A 1 = Find all x, y, z R such that x y z A = [ ] Let A, B, and C be n n matrices such that D = AB + AC is non-singular. (a) Find A 1 if possible. (b) Find (B + C) 1 if possible. 16. Let A be an n n matrix such that A 3 = O. Prove or disprove that (I n A) 1 = A 2 + A + I n. 17. Let A be an n n matrix and let U and V be two n 1 column matrices. Show that if AU = AV and U V, then A is singular. 18. Solve the following linear system x +3y z +w = 1 2x y 2z +2w = 2 3x +y z +w = Let A = and C = (a) If possible, compute (AC + I 3 ) T. (b) Write AC as a linear combination of the columns of A. (c) Find a 3 3 matrix B, if any, such that A 1 B + I 3 = A. 20. Let A = 1 2 and B = (a) If possible, find A 2 (3A) T. (b) Find C, if any, such that (B T + C)A 1 = B T.

46 42 Chapter 1. Linear Equations and Matrices

47 Chapter 2 Determinants 2.1 Determinants Definition Let S = {1, 2,, n} be a set of integers from 1 to n. A rearrangement of j 1, j 2,, j n of elements of S is called permutation of S. Example For S = {1, 2}, we have 2 permutations: 1 2, and 2 1. While, for S = {1, 2, 3}, we have the following 6 permutations: 1 2 3, 1 3 2, 2 1 3, 2 3 1, 3 1 2, and In general, for S = {1, 2,, n}, we have n! = n(n 1)(n 2) permutations. Definition A permutation j 1 j 2 j n of the set S = {1, 2,, n} is said to have an inversion if a larger integer j r preceedes a smaller one j s for r, s S. A permutation is called even with a positive + sign or odd with a negative sign according to whether the total number of inversions in it is even or odd, respectively. 43

48 44 Chapter 2. Determinants Example If S = {1, 2, 3}, then permutation #inversions even-odd sign inversions even odd odd even even odd TRUE or FALSE: The permutation has a positive sign. (FALSE). reason: The number of inversions is 5 which are 5 2, 5 1, 5 3, 5 4, and 2 1. So, this permutation has an odd number of inversions and a negative sign. Definition Let A = (a ij ) M n n. Then, the determinant of A, denoted by det(a) or A, is det(a) = (±)a 1j1 a 2j2 a 3j3 a njn where the summation ranges over all permutations j 1 j 2 j n of the set S = {1, 2,, n}. The sign is taken as + or according to the sign of the permutation. Example Compute the determinant of A = a 11 a 12. a 21 a 22 Using the definition, we have det(a) = (±)a 1j1 a 2j2, where j 1 j 2 is a permutation of S = {1, 2}. Thus, j 1 j 2 {1 2, 2 1} and det(a) = + a 11 a 22 a 12 a 21.

49 2.1. Determinants 45 Example a 11 a 12 a 13 Compute the determinant of A = a 21 a 22 a 23. a 31 a 32 a 33 Using the definition, we have det(a) = (±)a 1j1 a 2j2 a 3j3, where j 1 j 2 j 3 is a permutation of S = {1, 2, 3}. Thus, j 1 j 2 j 3 {1 2 3, 1 3 2, 2 1 3, 2 3 1, 3 1 2, 3 2 1} and det(a) = + a 11 a 22 a 33 a 11 a 23 a 32 a 12 a 21 a 33 + a 12 a 23 a 31 + a 13 a 21 a 32 a 13 a 22 a 31. Moreover, this formula can be found by taking the sum of the positive product of the diagonal entries and the negative product of the anti-diagonal entries in the following matrix: a 11 a 12 a 13 a 11 a 12 a 21 a 22 a 23 a 21 a 22 a 31 a 32 a 33 a 31 a 32 Example Find det(a) for A = A = (2)(5) (1)(3) = 10 3 = 7.

50 46 Chapter 2. Determinants Example Find det(a) for A = We calculate the det(a) using the following diagram: In particular, A = (2)(3)(2) + (0)(4)(5) + (1)( 2)(1) (1)(3)(2) (2)(4)(1) (0)( 2)(2) = ( 2) = 13. Properties of Determinants: 1. A = A T. 2. If B is obtained from A by interchanging two rows (or two columns), then B = A. 3. If A has two equal rows (or columns), then A = If A has a row (or a column) of zeros, then A = If B is obtained from A by adding a multiple of a row (or a column) to another row (or column, respectively), then A = B. 6. If B is obtained from A by multiplying a row (or a column) by a scalar c, then B = c A.

51 2.1. Determinants 47 Remark In general, for A M n n, we have c A = c n A. 7. The determinant of lower triangular, upper triangular, diagonal, and scalar matrices can be computed as follows. Theorem The determinant of lower triangular, upper triangular, diagonal, and scalar matrices equal the product of elements of the diagonal. 8. For any A, B M n n, we have A B = A B. 9. Theorem If A is an n n non-singular matrix, then A 0 and A 1 = 1. This statement A suggests that if A = 0, then A is singular matrix. Proof: Since A is non-singular, A 1 exists, then AA 1 = I n (take the determinant for both sides) A A 1 = In A A 1 = 1. Thus, A 0 and A 1 = 1 A. Example Let A, B M n n. Show that, if A B = I n, then B A = I n.

52 48 Chapter 2. Determinants If A B = I n, then A 0 and B 0. A 1 A B = A 1 I n I n B = A 1 B A = A 1 A = I n Thus, A B = I n = B A. Example ( ) T #16 pg.195 Show that if A Mn n is skew-symmetric matrix and n is odd, then A = 0. Since A is skew-symmetric, then A T = A and taking the determinant for both sides A T = A A T = ( 1) n, A where n is odd and ( 1) n = 1. A = A T = A. Therefore, A = A which means that A = 0. TRUE or FALSE: If A, B M n n with A = B, then A = B. reason: I 2 I 2 while I2 = 1 and I2 = ( 1) 2 I2 = 1. (FALSE). Example ( ) T #5 pg.194 If A B = 0, then either A = 0 or B = 0. Clearly, A B = A B = 0. Then, A = 0 or B = 0.

53 2.1. Determinants 49 Example ( ) T #8 pg.194 If A B = In, then A 0 and B 0. A B = I n = A B = 1 which implies that zero. A B = 1 and both A and B can not be Example ( ) T #9(b) pg.194 Show that if A 1 = A T, then A = 1 or A = 1. Since A 1 = A T, we have A 1 = A T 1 A = A A 2 = 1 A = ±1. Example ( ) T #10 pg.194 Show that if A is non-singular and A 2 = A, then A = 1. Since A is non-singular, A 1 exists and A 2 = A A = I n A = In A = 1. Example ( ) T #10 pg.210 Show that for any A, B, C Mn n, if A B = A C and A 0, then B = C. Since A 0, then A 1 exists and thus AB = AC A 1 AB = A 1 AC B = C.

54 50 Chapter 2. Determinants Example Let A, B M 3 3 with A = 2 and B = 2. Find 2 A 1 (B 2 ) T. 2 A 1 (B 2 ) T = 2 3 A 1 B 2 1 = 8 B B A = 8 ( 1 ) ( 2)( 2) = Example Evaluate the determinant of the matrix A via reduction to triangular form, where A = The idea here is to compute the determinant of A by applying the method of Theorem A = r 1 r ( 1) r 3 2r 1 r ( 1) c 2 c r ( 1)( 1) 3 r 2 r 3 }{{} = (1)(1)( 13) = 13. = Example a 1 b 1 c 1 a 1 a 2 a 3 Let a 2 b 2 c 2 = 3. Find 2b 1 2b 2 2b 3. a 3 b 3 c 3 3a 1 c 1 3a 2 c 2 3a 3 c 3 We solve this question in the following two ways (either one works):

55 2.1. Determinants 51 solution 1: a 1 b 1 c 1 a 1 a 2 a 3 a 1 a 2 a 3 transpose ( 2)r 2 r 2 a 2 b 2 c 2 = 3 b 1 b 2 b 3 = 3 ( 1)r 3 r 3 2b 1 2b 2 2b 3 = a 3 b 3 c 3 c 1 c 2 c 3 c 1 c 2 c 3 ( 1)( 2)3 r a 1 a 2 a 3 3+3r 1 r 3 2b 1 2b 2 2b 3 = 6. 3a 1 c 1 3a 2 c 2 3a 3 c 3 solution 2: a 1 a 2 a 3 a 1 a 2 a 3 r 2b 1 2b 2 2b 3 = ( 2)( 1) 3 +3r 1 r b 1 b 2 b 3 3 3a 1 c 1 3a 2 c 2 3a 3 c 3 c 1 3a 1 c 2 3a 2 c 3 3a 3 a 1 a 2 a 3 a 1 b 1 c 1 transpose 2 b 1 b 2 b 3 2 a 2 b 2 c 2 = 2(3) = 6. c 1 c 2 c 3 a 3 b 3 c 3

56 52 Chapter 2. Determinants Exercise Let D = Evaluate D [ Hint: D = 12.] 2. Let A = a + e b + f, B = a b, and C = e f. Show that A = B + C. c d c d c d a 1 b 1 c 1 b 1 b 2 b 1 3b 3 3. Given that a 2 b 2 c 2 = 7, evaluate a 1 a 2 a 1 3a 3. a 3 b 3 c 3 c 1 c 2 c 1 3c 3 [ Hint: The result is 21.] a 1 a 2 a 3 4. Let A = b 1 b 2 b 3, and B = 2a 3 2a 2 2a 1 b 3 a 3 b 2 a 2 b 1 a 1. If A = 4, find B. c 1 c 2 c 3 c 3 + 3b 3 c 2 + 3b 2 c 1 + 3b 1 [ Hint: The result is 8.] Let A be a matrix with A 1 = Find det (A) Find all values of α for which the matrix is singular. 1 α α 2 7. Let A and B be two n n matrices such that A is invertible and B is singular. Prove that A 1 B is singular. 8. If A and B are 2 2 matrices with det (A) = 2 and det (B) = 5, compute 3 A 2 (AB 1 ) T.

57 2.2. Cofactor Expansion and Applications Cofactor Expansion and Applications Definition Let A = (a ij ) be an n n matrix. Let M ij be the (n 1) (n 1) submatrix of A obtained by deleting the i th row and the j th column of A. The determinant, det(m ij ), is called the minor of a ij. The cofactor denoted by A ij of a ij is defined by A ij = ( 1) i+j det(m ij ). Moreover, the cofactor matrix denoted by coef(a) = (A ij ) where 1 i, j n. Example Compute the minors, cofactors, and the coef(a) for A = det(m 11 ) = det(m 12 ) = det(m 13 ) = det(m 21 ) = det(m 22 ) = det(m 23 ) = minors: cofactors: = -1 = A 11 = ( 1) 2 ( 1) = -1 = 3 = A 12 = ( 1) 3 (3) = -3 = -3 = A 13 = ( 1) 4 ( 3) = -3 = -5 = A 21 = ( 1) 3 ( 5) = 5 = -5 = A 22 = ( 1) 4 ( 5) = -5 = -5 = A 23 = ( 1) 5 ( 5) = 5

58 54 Chapter 2. Determinants det(m 31 ) = 2 1 = -3 = A 31 = ( 1) 4 ( 3) = det(m 32 ) = 1 1 = -1 = A 32 = ( 1) 5 ( 1) = det(m 33 ) = 1 2 = 1 = A 33 = ( 1) 6 (1) = Therefore, coef(a) = Theorem Let A = (a ij ) be an n n matrix with cofactors A ij for all 1 i, j n, then for each 1 i n we have A if i = k, a i1 A k1 + a i2 A k2 + + a in A kn = 0 if i k. and for each 1 j n A if j = k, a 1j A 1k + a 2j A 2k + + a nj A nk = 0 if j k. Example Compute the determinant of A by using the cofactor expansion method, where A is given in Example Computing the determinant of A using the first row of A, we have A = a 11 A 11 + a 12 A 12 + a 13 A 13 = (1)( 1) + (2)( 3) + (1)( 3) = 10. Moreover, we can get the same result using (for instance) the second column of A, A = a 12 A 12 + a 22 A 22 + a 32 A 32 = (2)( 3) + (1)( 5) + (1)(1) = 10.

59 2.2. Cofactor Expansion and Applications 55 Note that, if we choose the first row of A and the cofactors of (for instance) the second row of A, we get a 11 A 21 + a 12 A 22 + a 13 A 23 = (1)(5) + (2)( 5) + (1)(5) = 0. Example Compute using the cofactor expansion method We solve this problem by choosing the row or the column with the maximum number of zeros as this will ease the computations: Choosing the first column, we have A = a11 A 11 + a 21 A 21 + a 31 A 31 + a 41 A = (0) A 11 + (0) A =O =O {}}{{}}{ = ( 2) = ( 2) (+1) 3 1 = ( 2) [3 1] = ( 2)(2) = (0) A 41 = ( 2) choose 2 nd column {}}{

60 56 Chapter 2. Determinants Definition Let A = (a ij ) M n n. The adjoint matrix of A, denoted by adj(a), is given by adj(a) = (coef(a)) T. Example Compute the adjoint of A, where A as given in Example 2.2.1: A = Here, we use the result of Example 2.2.1, where coef(a) = Therefore, adj(a) = (coef(a)) T = Theorem Let A = (a ij ) M n n. Then, A adj(a) = adj(a) A = A In. Proof:

61 2.2. Cofactor Expansion and Applications 57 We first prove that A adj(a) = A In, A adj(a) = a 11 a 12 a 1n A 11 A 21 A n1 a 21 a 22 a 2n A 12 A 22 A n = a n1 a n2 a nn A 1n A 2n A nn A A =... 0 A A 1 = A In. The proof of adj(a) A = A I n is similar. Example Let adj(a) = 1 2. Find A. 4 6 Assume that A = x z y. Then coef(a) = w w y z. Therefore, x adj(a) = (coef(a)) T = w z y = 1 2. x 4 6 Thus, x = 6, y = 2, z = 4, and w = 1, and A =

62 58 Chapter 2. Determinants Theorem If A is non-singular, then A 1 = 1 A adj(a). Proof: A is non-singular so that A 0 and A 1 exists. Then, by Theorem 2.2.2, A adj(a) = A In multiply from left by A 1 A 1 A adj(a) = A 1 A In adj(a) = A A 1 A 1 = 1 A adj(a). Remark Let A = a c b be any 2 2 non-singular matrix. Thus, ad bc 0, and d A 1 = 1 A adj(a) = 1 d ad bc c b. a Confirmation: A A 1 = 1 ad bc ad bc cd cd ab + ab = 1 0 = I 2. cb + ad 0 1 Example Find the inverse of A = By Remark 2.2.1, we have A 1 = The reader can check the solution by confirming that either (which leads to both) A A 1 = I 2 or A 1 A = I

63 2.2. Cofactor Expansion and Applications 59 Example ( ) T #8 pg.210 Show that if A is a non-singular n n matrix, then adj(a) = A n 1. Given that A 0, we use Theorem to get A A adj(a) = A I n A adj(a) = A In adj(a) = A n I n adj(a) = A n 1 Example ( ) T #12 pg.210 Show that if A is non-singular, then adj(a) is non-singular and ( adj(a) ) 1 = 1 A A = adj(a 1 ). Since A is non-singular, A 0. We use Theorem to get adj(a) A = A adj(a) = A I n ( ) 1 adj(a) A A = 1 A A ( adj(a) ) = I n which shows that adj(a) is non-singular and Now, if we replace A by A 1 in Theorem 2.2.2, we get ( ) 1 1 adj(a) = A. (2.2.1) A adj(a 1 ) A 1 = A 1 adj(a 1 ) = A 1 In.

64 60 Chapter 2. Determinants Thus, adj(a 1 ) A 1 = adj(a 1 ) A 1 A = adj(a 1 ) = 1 A I n 1 A I n A 1 A A (2.2.2) Adding Equation and Equation 2.2.2, we get ( adj(a) ) 1 = 1 A A = adj(a 1 ). Example Let A be a non-singular 4 4 matrix with A 1 = 2. Find (a) adj(a), and (b) 1 2 AT adj(a 1 ). We have A = 1 2 since A 1 = 2. Then (a): adj(a) = A 4 1 = A 3 ( ) 3 = 1 2 = 1. 8 (b): 1 2 AT adj(a 1 ) = ( 1 2 ) 4 A T adj(a 1 ) = A A 1 3 = ( 2)3 = 1 4.

65 2.2. Cofactor Expansion and Applications 61 Example Let A be a 4 4 matrix with adj(a) = 8. Find 2A adj(2a). By Theorem 2.2.2, we have (2A) adj(2a) = adj(2a) (2A) = 2A I 4. Since adj(a) = 8, we have A = 2. Thus, 2A adj(2a) = 2A I 4 = (2) 4 A I4 = (16) ( 2) I 4 = 32 I 4.

66 62 Chapter 2. Determinants Exercise Let adj(a) = 2 8. Find A Let A be a nonsingular n n matrix. (a) Show that adj(a) is nonsingular. (b) Prove that adj(a 1 ) = 1 A. det (A) Let A = Compute the cofactors A 11, A 12, and A 13, and show that 5A A A 13 = Let A = (a) Compute det (A) using a cofactor expansion along row 2. (b) Find A adj(a). (c) Find det (2A 1 adj(a)) Let A = (a) Find A using a cofactor expansion along row 2. (b) Find A adj(a). (c) Find 2A 1 adj(a).

67 2.2. Cofactor Expansion and Applications 63 Revision of Chapter 2... Have Fun :-) CHAPTER 2 REVISION 1. Find all 3 3 matrices A, if any, such that adj(a) = Let A and B be two 4 4 nonsingular matrices such that det (2A 1 B 2 ) = 32 and det (B 1 adj(a)) = 4. Find A and B. 3. Let A be a nonsingular n n matrix. Prove that det (adj(a)) = [det (A)] n Show that if A is a nonsingular matrix, then adj(a) is nonsingular and (adj(a)) 1 = Let A = Find det(a) by: (a) reducing A to triangular form. (b) using a cofactor expansion of det(a). 1 det (A) A = adj(a 1 ). (c) using the cofactor expansion on the fourth row of A Let A be a matrix with adj(a) = Find A Find adj(a), given that A 1 = Let A = Compute the cofactors A 11, A 12, and A 13, and show that 5A A A 13 = 0.

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

1 Determinants. 1.1 Determinant

1 Determinants. 1.1 Determinant 1 Determinants [SB], Chapter 9, p.188-196. [SB], Chapter 26, p.719-739. Bellow w ll study the central question: which additional conditions must satisfy a quadratic matrix A to be invertible, that is to

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

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

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

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

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

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

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

Matrices and Linear Algebra

Matrices and Linear Algebra Contents Quantitative methods for Economics and Business University of Ferrara Academic year 2017-2018 Contents 1 Basics 2 3 4 5 Contents 1 Basics 2 3 4 5 Contents 1 Basics 2 3 4 5 Contents 1 Basics 2

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

Graduate Mathematical Economics Lecture 1

Graduate Mathematical Economics Lecture 1 Graduate Mathematical Economics Lecture 1 Yu Ren WISE, Xiamen University September 23, 2012 Outline 1 2 Course Outline ematical techniques used in graduate level economics courses Mathematics for Economists

More information

MATRICES. knowledge on matrices Knowledge on matrix operations. Matrix as a tool of solving linear equations with two or three unknowns.

MATRICES. knowledge on matrices Knowledge on matrix operations. Matrix as a tool of solving linear equations with two or three unknowns. MATRICES After studying this chapter you will acquire the skills in knowledge on matrices Knowledge on matrix operations. Matrix as a tool of solving linear equations with two or three unknowns. List of

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

Chapter 3. Determinants and Eigenvalues

Chapter 3. Determinants and Eigenvalues Chapter 3. Determinants and Eigenvalues 3.1. Determinants With each square matrix we can associate a real number called the determinant of the matrix. Determinants have important applications to the theory

More information

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

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 Section 5.5. Matrices and Vectors A matrix is a rectangular array of objects arranged in rows and columns. The objects are called the entries. A matrix with m rows and n columns is called an m n matrix.

More information

Phys 201. Matrices and Determinants

Phys 201. Matrices and Determinants Phys 201 Matrices and Determinants 1 1.1 Matrices 1.2 Operations of matrices 1.3 Types of matrices 1.4 Properties of matrices 1.5 Determinants 1.6 Inverse of a 3 3 matrix 2 1.1 Matrices A 2 3 7 =! " 1

More information

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

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 Section 5.5. Matrices and Vectors A matrix is a rectangular array of objects arranged in rows and columns. The objects are called the entries. A matrix with m rows and n columns is called an m n matrix.

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

Undergraduate Mathematical Economics Lecture 1

Undergraduate Mathematical Economics Lecture 1 Undergraduate Mathematical Economics Lecture 1 Yu Ren WISE, Xiamen University September 15, 2014 Outline 1 Courses Description and Requirement 2 Course Outline ematical techniques used in economics courses

More information

MATRICES AND MATRIX OPERATIONS

MATRICES AND MATRIX OPERATIONS SIZE OF THE MATRIX is defined by number of rows and columns in the matrix. For the matrix that have m rows and n columns we say the size of the matrix is m x n. If matrix have the same number of rows (n)

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

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

Linear Algebra: Lecture Notes. Dr Rachel Quinlan School of Mathematics, Statistics and Applied Mathematics NUI Galway Linear Algebra: Lecture Notes Dr Rachel Quinlan School of Mathematics, Statistics and Applied Mathematics NUI Galway November 6, 23 Contents Systems of Linear Equations 2 Introduction 2 2 Elementary Row

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

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

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

TOPIC III LINEAR ALGEBRA

TOPIC III LINEAR ALGEBRA [1] Linear Equations TOPIC III LINEAR ALGEBRA (1) Case of Two Endogenous Variables 1) Linear vs. Nonlinear Equations Linear equation: ax + by = c, where a, b and c are constants. 2 Nonlinear equation:

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

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

Chapter 2. Square matrices

Chapter 2. Square matrices Chapter 2. Square matrices Lecture notes for MA1111 P. Karageorgis pete@maths.tcd.ie 1/18 Invertible matrices Definition 2.1 Invertible matrices An n n matrix A is said to be invertible, if there is a

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

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

1 Matrices and Systems of Linear Equations. a 1n a 2n

1 Matrices and Systems of Linear Equations. a 1n a 2n March 31, 2013 16-1 16. Systems of Linear Equations 1 Matrices and Systems of Linear Equations An m n matrix is an array A = (a ij ) of the form a 11 a 21 a m1 a 1n a 2n... a mn where each a ij is a real

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

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

Chapter 2:Determinants. Section 2.1: Determinants by cofactor expansion Chapter 2:Determinants Section 2.1: Determinants by cofactor expansion [ ] a b Recall: The 2 2 matrix is invertible if ad bc 0. The c d ([ ]) a b function f = ad bc is called the determinant and it associates

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

Linear Algebra. Linear Equations and Matrices. Copyright 2005, W.R. Winfrey

Linear Algebra. Linear Equations and Matrices. Copyright 2005, W.R. Winfrey Copyright 2005, W.R. Winfrey Topics Preliminaries Systems of Linear Equations Matrices Algebraic Properties of Matrix Operations Special Types of Matrices and Partitioned Matrices Matrix Transformations

More information

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

MATH 213 Linear Algebra and ODEs Spring 2015 Study Sheet for Midterm Exam. Topics MATH 213 Linear Algebra and ODEs Spring 2015 Study Sheet for Midterm Exam This study sheet will not be allowed during the test Books and notes will not be allowed during the test Calculators and cell phones

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

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

Math113: Linear Algebra. Beifang Chen

Math113: Linear Algebra. Beifang Chen Math3: Linear Algebra Beifang Chen Spring 26 Contents Systems of Linear Equations 3 Systems of Linear Equations 3 Linear Systems 3 2 Geometric Interpretation 3 3 Matrices of Linear Systems 4 4 Elementary

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

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

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

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

Chapter 2: Matrix Algebra

Chapter 2: Matrix Algebra Chapter 2: Matrix Algebra (Last Updated: October 12, 2016) These notes are derived primarily from Linear Algebra and its applications by David Lay (4ed). Write A = 1. Matrix operations [a 1 a n. Then entry

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

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

Linear Algebra M1 - FIB. Contents: 5. Matrices, systems of linear equations and determinants 6. Vector space 7. Linear maps 8. Linear Algebra M1 - FIB Contents: 5 Matrices, systems of linear equations and determinants 6 Vector space 7 Linear maps 8 Diagonalization Anna de Mier Montserrat Maureso Dept Matemàtica Aplicada II Translation:

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 Camp Notes: Linear Algebra I

Math Camp Notes: Linear Algebra I Math Camp Notes: Linear Algebra I Basic Matrix Operations and Properties Consider two n m matrices: a a m A = a n a nm Then the basic matrix operations are as follows: a + b a m + b m A + B = a n + b n

More information

Matrices. Chapter Definitions and Notations

Matrices. Chapter Definitions and Notations Chapter 3 Matrices 3. Definitions and Notations Matrices are yet another mathematical object. Learning about matrices means learning what they are, how they are represented, the types of operations which

More information

ELEMENTARY LINEAR ALGEBRA WITH APPLICATIONS. 1. Linear Equations and Matrices

ELEMENTARY LINEAR ALGEBRA WITH APPLICATIONS. 1. Linear Equations and Matrices ELEMENTARY LINEAR ALGEBRA WITH APPLICATIONS KOLMAN & HILL NOTES BY OTTO MUTZBAUER 11 Systems of Linear Equations 1 Linear Equations and Matrices Numbers in our context are either real numbers or complex

More information

Introduction to Determinants

Introduction to Determinants Introduction to Determinants For any square matrix of order 2, we have found a necessary and sufficient condition for invertibility. Indeed, consider the matrix The matrix A is invertible if and only if.

More information

Vectors and matrices: matrices (Version 2) This is a very brief summary of my lecture notes.

Vectors and matrices: matrices (Version 2) This is a very brief summary of my lecture notes. Vectors and matrices: matrices (Version 2) This is a very brief summary of my lecture notes Matrices and linear equations A matrix is an m-by-n array of numbers A = a 11 a 12 a 13 a 1n a 21 a 22 a 23 a

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

Section 9.2: Matrices.. a m1 a m2 a mn

Section 9.2: Matrices.. a m1 a m2 a mn Section 9.2: Matrices Definition: A matrix is a rectangular array of numbers: a 11 a 12 a 1n a 21 a 22 a 2n A =...... a m1 a m2 a mn In general, a ij denotes the (i, j) entry of A. That is, the entry in

More information

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 )

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 ) Direct Methods for Linear Systems Chapter Direct Methods for Solving Linear Systems Per-Olof Persson persson@berkeleyedu Department of Mathematics University of California, Berkeley Math 18A Numerical

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

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

Glossary of Linear Algebra Terms. Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

Glossary of Linear Algebra Terms. Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB Glossary of Linear Algebra Terms Basis (for a subspace) A linearly independent set of vectors that spans the space Basic Variable A variable in a linear system that corresponds to a pivot column in the

More information

Homework Set #8 Solutions

Homework Set #8 Solutions Exercises.2 (p. 19) Homework Set #8 Solutions Assignment: Do #6, 8, 12, 14, 2, 24, 26, 29, 0, 2, 4, 5, 6, 9, 40, 42 6. Reducing the matrix to echelon form: 1 5 2 1 R2 R2 R1 1 5 0 18 12 2 1 R R 2R1 1 5

More information

Chapter 4. Matrices and Matrix Rings

Chapter 4. Matrices and Matrix Rings Chapter 4 Matrices and Matrix Rings We first consider matrices in full generality, i.e., over an arbitrary ring R. However, after the first few pages, it will be assumed that R is commutative. The topics,

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

ENGI 9420 Lecture Notes 2 - Matrix Algebra Page Matrix operations can render the solution of a linear system much more efficient.

ENGI 9420 Lecture Notes 2 - Matrix Algebra Page Matrix operations can render the solution of a linear system much more efficient. ENGI 940 Lecture Notes - Matrix Algebra Page.0. Matrix Algebra A linear system of m equations in n unknowns, a x + a x + + a x b (where the a ij and i n n a x + a x + + a x b n n a x + a x + + a x b m

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

MAT Linear Algebra Collection of sample exams

MAT Linear Algebra Collection of sample exams MAT 342 - Linear Algebra Collection of sample exams A-x. (0 pts Give the precise definition of the row echelon form. 2. ( 0 pts After performing row reductions on the augmented matrix for a certain system

More information

Materials engineering Collage \\ Ceramic & construction materials department Numerical Analysis \\Third stage by \\ Dalya Hekmat

Materials engineering Collage \\ Ceramic & construction materials department Numerical Analysis \\Third stage by \\ Dalya Hekmat Materials engineering Collage \\ Ceramic & construction materials department Numerical Analysis \\Third stage by \\ Dalya Hekmat Linear Algebra Lecture 2 1.3.7 Matrix Matrix multiplication using Falk s

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

MTH 102A - Linear Algebra II Semester

MTH 102A - Linear Algebra II Semester MTH 0A - Linear Algebra - 05-6-II Semester Arbind Kumar Lal P Field A field F is a set from which we choose our coefficients and scalars Expected properties are ) a+b and a b should be defined in it )

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

a s 1.3 Matrix Multiplication. Know how to multiply two matrices and be able to write down the formula

a s 1.3 Matrix Multiplication. Know how to multiply two matrices and be able to write down the formula Syllabus for Math 308, Paul Smith Book: Kolman-Hill Chapter 1. Linear Equations and Matrices 1.1 Systems of Linear Equations Definition of a linear equation and a solution to a linear equations. Meaning

More information

Lecture Summaries for Linear Algebra M51A

Lecture Summaries for Linear Algebra M51A These lecture summaries may also be viewed online by clicking the L icon at the top right of any lecture screen. Lecture Summaries for Linear Algebra M51A refers to the section in the textbook. Lecture

More information

CHAPTER 8: Matrices and Determinants

CHAPTER 8: Matrices and Determinants (Exercises for Chapter 8: Matrices and Determinants) E.8.1 CHAPTER 8: Matrices and Determinants (A) means refer to Part A, (B) means refer to Part B, etc. Most of these exercises can be done without a

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

ECON 186 Class Notes: Linear Algebra

ECON 186 Class Notes: Linear Algebra ECON 86 Class Notes: Linear Algebra Jijian Fan Jijian Fan ECON 86 / 27 Singularity and Rank As discussed previously, squareness is a necessary condition for a matrix to be nonsingular (have an inverse).

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

Topic 15 Notes Jeremy Orloff

Topic 15 Notes Jeremy Orloff Topic 5 Notes Jeremy Orloff 5 Transpose, Inverse, Determinant 5. Goals. Know the definition and be able to compute the inverse of any square matrix using row operations. 2. Know the properties of inverses.

More information

Notes on Mathematics

Notes on Mathematics Notes on Mathematics - 12 1 Peeyush Chandra, A. K. Lal, V. Raghavendra, G. Santhanam 1 Supported by a grant from MHRD 2 Contents I Linear Algebra 7 1 Matrices 9 1.1 Definition of a Matrix......................................

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

Determinants by Cofactor Expansion (III)

Determinants by Cofactor Expansion (III) Determinants by Cofactor Expansion (III) Comment: (Reminder) If A is an n n matrix, then the determinant of A can be computed as a cofactor expansion along the jth column det(a) = a1j C1j + a2j C2j +...

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

c c c c c c c c c c a 3x3 matrix C= has a determinant determined by

c c c c c c c c c c a 3x3 matrix C= has a determinant determined by Linear Algebra Determinants and Eigenvalues Introduction: Many important geometric and algebraic properties of square matrices are associated with a single real number revealed by what s known as the determinant.

More information

M. Matrices and Linear Algebra

M. Matrices and Linear Algebra M. Matrices and Linear Algebra. Matrix algebra. In section D we calculated the determinants of square arrays of numbers. Such arrays are important in mathematics and its applications; they are called matrices.

More information

Algebra & Trig. I. For example, the system. x y 2 z. may be represented by the augmented matrix

Algebra & Trig. I. For example, the system. x y 2 z. may be represented by the augmented matrix Algebra & Trig. I 8.1 Matrix Solutions to Linear Systems A matrix is a rectangular array of elements. o An array is a systematic arrangement of numbers or symbols in rows and columns. Matrices (the plural

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

MAC Module 3 Determinants. Learning Objectives. Upon completing this module, you should be able to:

MAC Module 3 Determinants. Learning Objectives. Upon completing this module, you should be able to: MAC 2 Module Determinants Learning Objectives Upon completing this module, you should be able to:. Determine the minor, cofactor, and adjoint of a matrix. 2. Evaluate the determinant of a matrix by cofactor

More information

1. Let m 1 and n 1 be two natural numbers such that m > n. Which of the following is/are true?

1. Let m 1 and n 1 be two natural numbers such that m > n. Which of the following is/are true? . Let m and n be two natural numbers such that m > n. Which of the following is/are true? (i) A linear system of m equations in n variables is always consistent. (ii) A linear system of n equations in

More information

Section 9.2: Matrices. Definition: A matrix A consists of a rectangular array of numbers, or elements, arranged in m rows and n columns.

Section 9.2: Matrices. Definition: A matrix A consists of a rectangular array of numbers, or elements, arranged in m rows and n columns. Section 9.2: Matrices Definition: A matrix A consists of a rectangular array of numbers, or elements, arranged in m rows and n columns. That is, a 11 a 12 a 1n a 21 a 22 a 2n A =...... a m1 a m2 a mn A

More information

ENGR-1100 Introduction to Engineering Analysis. Lecture 21

ENGR-1100 Introduction to Engineering Analysis. Lecture 21 ENGR-1100 Introduction to Engineering Analysis Lecture 21 Lecture outline Procedure (algorithm) for finding the inverse of invertible matrix. Investigate the system of linear equation and invertibility

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

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 March 2, 2018 Linear Algebra (MTH 464)

More information

Lecture 10: Determinants and Cramer s Rule

Lecture 10: Determinants and Cramer s Rule Lecture 0: Determinants and Cramer s Rule The determinant and its applications. Definition The determinant of a square matrix A, denoted by det(a) or A, is a real number, which is defined as follows. -by-

More information

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

Chapter 5. Linear Algebra. Sections A linear (algebraic) equation in. unknowns, x 1, x 2,..., x n, is. an equation of the form Chapter 5. Linear Algebra Sections 5.1 5.3 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

More information

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

Review Let A, B, and C be matrices of the same size, and let r and s be scalars. Then 1 Sec 21 Matrix Operations Review Let A, B, and C be matrices of the same size, and let r and s be scalars Then (i) A + B = B + A (iv) r(a + B) = ra + rb (ii) (A + B) + C = A + (B + C) (v) (r + s)a = ra

More information

Math 240 Calculus III

Math 240 Calculus III The Calculus III Summer 2015, Session II Wednesday, July 8, 2015 Agenda 1. of the determinant 2. determinants 3. of determinants What is the determinant? Yesterday: Ax = b has a unique solution when A

More information

Systems of Linear Equations. By: Tri Atmojo Kusmayadi and Mardiyana Mathematics Education Sebelas Maret University

Systems of Linear Equations. By: Tri Atmojo Kusmayadi and Mardiyana Mathematics Education Sebelas Maret University Systems of Linear Equations By: Tri Atmojo Kusmayadi and Mardiyana Mathematics Education Sebelas Maret University Standard of Competency: Understanding the properties of systems of linear equations, matrices,

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

Math Camp Lecture 4: Linear Algebra. Xiao Yu Wang. Aug 2010 MIT. Xiao Yu Wang (MIT) Math Camp /10 1 / 88

Math Camp Lecture 4: Linear Algebra. Xiao Yu Wang. Aug 2010 MIT. Xiao Yu Wang (MIT) Math Camp /10 1 / 88 Math Camp 2010 Lecture 4: Linear Algebra Xiao Yu Wang MIT Aug 2010 Xiao Yu Wang (MIT) Math Camp 2010 08/10 1 / 88 Linear Algebra Game Plan Vector Spaces Linear Transformations and Matrices Determinant

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

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