chapter 5 INTRODUCTION TO MATRIX ALGEBRA GOALS 5.1 Basic Definitions

Size: px
Start display at page:

Download "chapter 5 INTRODUCTION TO MATRIX ALGEBRA GOALS 5.1 Basic Definitions"

Transcription

1 chapter 5 INTRODUCTION TO MATRIX ALGEBRA GOALS The purpose of this chapter is to introduce you to matrix algebra, which has many applications. You are already familiar with several algebras: elementary algebra, the algebra of logic, the algebra of sets. We hope that as you studied the algebra of logic and the algebra of sets, you compared them with elementary algebra and noted that the basic laws of each are similar. We will see that matrix algebra is also similar. As in previous discussions, we begin by defining the objects in question and the basic operations. 5. Basic Definitions Definition: Matrix. A matrix is a rectangular array of elements of the form a a 2 a 3 º a n a 2 a 22 a 23 º a 2 n A = a 3 a 32 a 33 º a 3 n ª ª ª ª a m a m2 a m3 º a mn A convenient way of describing a matrix in general is to designate each entry via its position in the array. That is, the entry a 34 is the entry in the third row and fourth column of the matrix A. Depending on the situation, we will decide in advance to which set the entries in a matrix will belong. For example, we might assume that each entry a ij ( i m, j n) is a real number. In that case we would use M mµn HR L to stand for the set of all m by n matrices whose entries are real numbers. If we decide that the entries in a matrix must come from a set S, we use M mµn HSL to denote all such matrices. Definition: Order of a Matrix. The matrix A that has m rows and n columns is called an mµ n (read "m by n") matrix, and is said to have order m µ n. Since it is rather cumbersome to write out the large rectangular array above each time we wish to discuss the generalized form of a matrix, it is common practice to replace the above by A = Aa ij E. In general, matrices are often given names that are capital letters and the corresponding lower case letter is used for individual entries. For example the entry in the third row, second column of a matrix called C would be c 32. Example 5... A = K O, B = 0 2 5, and D = are 2 µ2, 3 µ, and 3 µ3 matrices, respectively Since we now understand what a matrix looks like, we are in a position to investigate the operations of matrix algebra for which users have found the most applications. Example First we ask ourselves: Is the matrix A = K 2 O equal to 3 4 the matrix B = K 2 O? No, they are not because the corresponding entries in the second row, second column of the two matrices are not 3 5

2 equal. Next, is A = K O equal to B = K O? No, although the corresponding entries in the first two columns are identical, B doesn't have a third column to compart to that of A. We formalize these observations in the following definition. Definition; Equality of Matrices. A matrix A is said to be equal to matrix B (written A = B) if and only if: () A and B have the same order, and (2) all corresponding entries are equal: that is, a ij = b ij for all appropriate i and j. 5.2 Addition and Scalar Multiplication Example Concerning addition, it seems natural that if A = K O and B = K O, then A + B = K O = K O. However, if A = K O and B = K 3 0 O, can we find A + B? No, the orders of the two matrices must be identical. 2 8 Definition: Matrix Addition. Let A and B be mµ n matrices. Then A + B is an mµ n matrix where HA + BL ij = a ij + b ij (read "the ith jth entry of the matrix A + B is obtained by adding the ith jth entry of A to the ith jth entry of B"). If the orders of A and B are not identical, A + B is not defined. It should be clear from Example 5.2. and the definition of addition that A + B is defined if and only if A and B are of the same order. Another frequently used operation is that of multiplying a matrix by a number, commonly called a scalar in this context. Scalars normally come from the same set as the entries in a matrix. For example, if A œ M mµn HR L, a scalar can be any real number. Example If c = 3 and if A = K -2 O and we wish to find c A, it seems natural to multiply each entry of A by 3 so that A = K 3-6 O, and this is precisely the way scalar multiplication is defined. 9 5 Definition: Scalar Multiplication. Let A be an m µ n matrix and c a scalar. Then c A is the mµ n matrix obtained by multiplying c times each entry of A; that is HcAL ij = c a ij. 5.3 Multiplication of Matrices - For a video introduction to this section, go to A definition that is more awkward to motivate (and we will not attempt to do so here) is the product of two matrices. In time, the reader will see that the following definition of the product of matrices will be very useful, and will provide an algebraic system that is quite similar to elementary algebra. Definition: Matrix Multiplication. Let A be an mµ n matrix and let B be an nµ p matrix. The product of A and B, denoted by AB, is an mµ p matrix whose ith row jth column entry is HA BL i j = a i b j + a i 2 b 2 j + º + a i n b n j n = ai k b k j k= for i m and j p. The mechanics of computing one entry in the product of two matrices is illustrated in Figure 5.3..

3 Figure 5.3. Computation of one entry in the product of two 3 by 3 matrices The computation of a product can take a considerable amount of time in comparison to the time required to add two matrices. Suppose that A and B are n µn matrices; then HABL ij is determined performing n multiplications and n - additions. The full product takes n 3 multiplications and n 3 n 2 additions. This compares with n 2 additions for the sum of two n µn matrices. The product of two 0 by 0 matrices will require,000 multiplications and 900 additions, clearly a job that you would assign to a computer. The sum of two matrices requires a more modest 00 additions. This analysis is based on the assumption that matrix multiplication will be done using the formula that is given in the definition. There are more advanced methods that, in theory, reduce operation counts. For example, Strassen's algorithm ( computes the product of two n by n matrices in 7 ÿ7 log 2 n - 6 ÿ 4 log 2 n º 7 n operations. There are practical issues involved in actually using the algorithm in many situations. For example, round-off error can be more of a problem than with the standard formula. Example Let A = Remarks: A B = K 6 O =, a 3 µ2 matrix, an let B = K 6 O, a 2 µ matrix. Then A B is a 3 µ matrix: ÿ6 + 0 ÿ 2 ÿ + 3 ÿ6-5 ÿ6 + ÿ = () The product A B is defined only if A is an m µn matrix and B is an n µ p matrix; that is, the two "inner" numbers must be the equal. Furthermore, the order of the product matrix A B is the "outer" numbers, in this case m µ p. (2) It is wise to first determine the order of a product matrix. For example, if A is a 3 µ2 matrix and B is a 2 µ2 matrix, then A B is a 3 µ2 matrix of the form c c 2 A B = c 2 c 22 c 3 c 32 Then to obtain, for example, C 3, we multiply corresponding entries in the third row of A times the first column of B and add the results. Example

4 Let A = K O, and B = K O. Then ÿ3 + 0 ÿ2 ÿ0 + 0 ÿ A B = K 0 ÿ3 + 3 ÿ2 0 ÿ0 + 3 ÿ O = K O Note: B A = K O ¹ A B Remarks; () An n µn matrix is called a square matrix. (2) If A is a square matrix, A A is defined and is denoted by A 2, and A A A = A 3, etc. (3) The m µn matrices whose entries are all 0 are denoted by 0 mµn, or simply 0, when no confusion arises regarding the order. EXERCISES FOR SECTIONS 5. THROUGH 5.3 A Exercises. Let A = K O, B = K O, and C = K O (a) Compute A B and B A. (b) Compute A + B and B + A. (c) If c = 3, show that cha + BL = c A + c B. (d) Show that HA BL C = A HB CL. (e) Compute A 2 C. (f) Compute B + 0 (g) Compute A 0 2µ2 and 0 2µ2 A, where 0 2µ2 is the 2 µ2 zero matrix, (h) Compute 0 A, where 0 is the real number (scalar) zero. (i) Let c = 2 and d = 3. Show that Hc + dl A = c A + d A. 2. Let A = Compute, if possible;, B = , and C = (a) A - B (b) A B (c) A C - B C (d) A HB CL (e) C A - C B (f) C x y z w 3. Let A = K O. Find a matrix B such that A B = I and B A = I, where I = K O 4. Find A I and B I where I is as in Exercise 3, where A = K O and B = K O. What do you notice?

5 5. Find A 3 if A = What is A 5 equal to? B Exercises 6. (a) Determine I 2 and I 3 if I = (b) What is I n equal to for any n? (c) Prove your answer to part (b) by induction.. 7. (a) If A = K 2 - O, X = K x x 2 O, and B = K 3 O, show that A X = B is a way of expressing the system 2 x + x 2 = 3 x - x 2 = (b) Express the following systems of equations using matrices: (i) 2 x - x 2 = 4 x + x 2 = 0 (ii) x + x x 3 = x + 2 x 2 - x 3 = - x + 3 x 2 + x 3 = 5 (iii) x + x 2 = 3 x 2 = 5 x + 3 x 3 = 6 using matrices.

6 5.4 Special Types of Matrices We have already investigated one special type of matrix, namely the zero matrix, and found that it behaves in matrix algebra in an analogous fashion to the real number 0; that is, as the additive identity. We will now investigate the properties of a few other special matrices. Definition: Diagonal Matrix. A square matrix D is called a diagonal matrix if d ij = 0 whenever i ¹ j. Example A = , B = , and I = are all diagonal matrices. In Example 5.4., the 3 µ3 diagonal matrix I whose diagonal entries are all 's has the singular property that for any other 3 µ3 matrix A we have A I = I A = A. For example: Example If A = A I = I A = and, then In other words, the matrix I behaves in matrix algebra like the real number ; that is, as a multiplicative identity. In matrix algebra the matrix I is called simply the identity matrix. Convince yourself that if A is any n µn matrix A I = I A = A. Definition: Identity Matrix. The n µ n diagonal matrix whose diagonal components are all 's is called the identity matrix and is denoted by I or I n. In the set of real numbers we realize that, given a nonzero real number x, there exists a real number y such that x y = y x =. We know that real numbers commute under multiplication so that the two equations can be summarized as x y =. Further we know that y = x - =. Do x we have an analogous situation in M nµn HR L? Can we define the multiplicative inverse of an n µn matrix A? It seems natural to imitate the definition of multiplicative inverse in the real numbers. Definition: Matrix Inverse. Let A be an nµ n matrix. If there exists an nµ n matrix B such that A B = B A = I, then B is the multiplicative inverse of A (called simply the inverse of A) and is denoted by A - (read "A inverse"). When we are doing computations involving matrices, it would be helpful to know that when we find A -, the answer we obtain is the only inverse of the given matrix. Remark: Those unfamiliar with the laws of matrices should go over the proof of Theorem 5.4. after they have familiarized themselves with the Laws of Matrix Algebra in Section 5.5. Theorem The inverse of an nµ n matrix A, when it exists, is unique. Proof: Let A be an n µn matrix. Assume to the contrary, that A has two (different) inverses, say B and C. Then B = B I Identity property of I = B HA C L Assumption that C is an inverse of A = HB AL C Associativity of matrix multiplication = I C Assumption that B is an inverse of A = C Identity property of I Example Let A = K O. What is A-? Without too much difficulty, by trial and error, we determine that A - = might lead us to guess that the inverse is found by taking the reciprocal of all nonzero entries of a matrix. Alas, it isn't that easy! A = K O, the "reciprocal rule" would tell us that the inverse of A is B = This. Try computing A B and you will see that you don't get the identity matrix. So, what is A -? In order to understand more completely the notion of the inverse of a matrix, it would be beneficial to have a formula that would enable us to compute the inverse of at least a 2 µ2 matrix. To do this, we need to recall the definition of the determinant of a 2 µ2 matrix. Appendix A gives a more complete description of the determinant of a 2 µ2 and higher-order matrices. Definition: Determinant of a 2 2 Matrix. Let A = K a b O. The determinant of A is the number det A = a d - b c. c d In addition to det A, common notation for the determinant of matrix A is A. This is particularly common when writing out the whole matrix, If

7 which case we would write Example a c b d for the determinant of the general 2 µ2 matrix. If A = K 2 O then det A = ÿ5-2 ÿ H-3L = If B = K 2 O then det B = ÿ4-2 ÿ2 = Theorem Let A = K a b c d O. If det A ¹ 0, then A- = K d -b det A -c a O Proof: See Exercise 4 at the end of this section. Example Can we find the inverses of the matrices in Example 5.4.4? If A = K O then A- = K O = The reader should verify that A A - = A - A = I The second matrix, B has a determinant equal to zero. We we tried to apply the formula in Theorem 5.4.2, we would be dividing by zero. For this reason, the formula can't be applied and in fact B - does not exist. Remarks: () In general, if A is a 2 µ2 matrix and if det A = 0, then A - does not exist. (2) A formula for the inverse of n µn matrices n 3 can be derived that also involves det A, Hence, in general, if the determinant of a matrix is zero, the matrix does not have an inverse. However the formula for even a 3 µ 3 matrix is very long and is not the most efficient way to compute the inverse of a matrix. (3) In Chapter 2 we will develop a technique to compute the inverse of a higher-order matrix, if it exists. (4) Matrix inversion comes first in the hierarchy of matrix operations; therefore, A B - is AHB - L. EXERCISES FOR SECTION 5.4 A Exercises. For the given matrices A find A - if it exists and verify that A A - = A - A = I If A - does not exist explain why. (a) A = K 3 2 O (b) A = K O (c) A = K -3 0 O (d) A = K 0 0 O (e) Use the definition of the inverse of a matrix to find A - : A = For the given matrices A find A - if it exists and verify that A A - = A - A = I If A - does not exist explain why. (a) A = K O (b) A = K O (c) A = K c 0 O

8 (d) A = K a b O, were a > b > 0. b a 3. (a) Let A = K O and B = K 4 2 O. Verify that HA BL- = B - A -. (b) Let A and B be n µn invertible matrices. Prove that HA BL - = B - A -. Why is the right side of the above statement written "backwards"? Is this necessary? Hint: Use Theorem B Exercises 4. Let Let A = K a b c d O. Derive the formula for A-. 5. (a) Let A and B be as in problem 3 above. Show that detha BL = Hdet AL Hdet BL. (b) It can be shown that the statement in part (a) is true for all n µn matrices. Let A be any invertible n µn matrix. Prove that detha - L = Hdet AL -. Note: The determinant of the identity matrix I n is for all n, see Appendix A for details. (c) Verify that the equation in part (b) is true for the matrix in exercise l(a) of this section. 6. Prove by induction that for n, K a 0 0 b O n = K an 0 0 b n O. 7. Use the assumptions in exercise 5 to prove by induction that if n, detha n L = Hdet AL n. 8. Prove: If the determinant of a matrix A is zero, then A does not have an inverse. Hint: Use the indirect method of proof and exercise 5. C Exercise 9. (a) Let A, B, and D be n µn matrices. Assume that B is invertible. If A = B D B -, prove by induction that A m = B D m B - is true for m (b) Given that A = K -6 O = B K O B- where B = K O what is A0?

9 5.5 Laws of Matrix Algebra The following is a summary of the basic laws of matrix operations. Assume that the indicated operations are defined; that is, that the orders of the matrices A, B, and C are such that the operations make sense. () A + B = B + A (2) A + HB + CL = HA + BL + C (3) c HA + BL = c A + c B, where c œ R. (4) Hc + c 2 L A = c A + c 2 A, where c, c 2 œ R. (5) c Hc 2 AL = Hc ÿc 2 L A, where c, c 2 œ R. (6) 0 A = 0, where 0 is the zero matrix. (7) 0 A = 0, where 0 on the left is the number 0. (8) A + 0 = A. (9) A + H-L A = 0. (0) A HB + CL = A B + A C. () HB + CL A = B A + C A. (2) AHB CL = HA BL C. (3) I A = A and A I = A. (4) If A - exists, HA - L - = A. (5) If A - and B - exist, HA BL - = B - A - Example If we wished to write out each of the above laws more completely, we would specify the orders of the matrices. For example, Law 0 should read: (0) Let A, B, and C be m µn, n µ p, and n µ p matrices, respectively, then A HB + CL = A B + A C Remarks: () Notice the absence of the "law" A B = B A. Why? (2) Is it really necessary to have both a right (No. ) and a left (No. 0) distributive law? Why? (3) What does Law 8 define? What does Law 9 define? EXERCISES FOR SECTION 5.5 A Exercises. Rewrite the above laws specifying as in Example 5.5. the orders of the matrices. 2. Verify each of the Laws of Matrix Algebra using examples. 3. Let A = K O, B = K Matrix Algebra: (a) A B + A C (b) A - (c) A HB + CL O, and C = K O. Compute the following as efficiently as possible by using any of the Laws of 7

10 (d) HA 2 L - (e) HC + BL - A - 4. Let A = K O and B = K 3 5 O. Compute the following as efficiently as possible by using any of the Laws of Matrix Algebra: 2 4 (a) A B (b) A + B (c) A 2 + A B + B A + B 2 (d) B - A - (e) A 2 + A B 5. Let A and B be n µn matrices of real numbers. Is A 2 - B 2 = HA - BL HA + BL? Explain

11 5.6 Matrix Oddities We have seen that matrix algebra is similar in many ways to elementary algebra. Indeed, if we want to solve the matrix equation A X = B for the unknown X, we imitate the procedure used in elementary algebra for solving the equation a x = b. Notice how exactly the same properties are used in the following detailed solutions of both equations. Solution of a x = b Solution of A X = B a x = b A X = B a - Ha xl = a - b if a ¹ 0 A - HA XL = A - B if A - exists Ha - al x = a - b associative law HA - AL X = A - B associative law x = a - b definition of inverse I X = A - B definition of inverse x = a - b identity property of X = A - B identity property of I Certainly the solution process for A X = B is the same as that of a x = b. The solution of x a = b is x = b a - = a - b. In fact, we usually write the solution of both equations as x = b. In matrix algebra, the solution of a X A = B is X = B A -, which is not necessarily equal to A - B. So in matrix algebra, since the commutative law (under multiplication) is not true, we have to be more careful in the methods we use to solve equations. It is clear from the above that if we wrote the solution of A X = B as X = B, we would not know how to interpret the answer B. Does it mean A A A - B or B A -? Because of this, A - is never written as A. Some of the main dissimilarities between matrix algebra and elementary algebra are that in matrix algebra: () A B may be different from B A. (2) There exist matrices A and B such that A B = 0, and yet A ¹ 0 and B ¹ 0. (3) There exist matrices A where A ¹ 0, and yet A 2 = 0. (4) There exist matrices A where A 2 - A with A ¹ I and A ¹ 0 (5) There exist matrices A where A 2 = I, where A ¹ I and A ¹ -I EXERCISES FOR SECTION 5.6 A Exercises. Discuss each of the above "oddities" with respect to elementary algebra. 2. Determine 2 µ2 matrices which show each of the above "oddities" are true. B Exercises 3. Prove the following implications, if possible: (a) A 2 = A and det A ¹ 0 A = I (b) A 2 = I and det A ¹ 0 A = I or A = -I. 4. Let M nµn HR L be the set of real n µn matrices. Let P Œ M nµn HR L be the subset of matrices defined by A œ P if and only if A 2 = A. Let Q Œ P be defined by A œ Q if and only if det A ¹ 0. (a) Determine the cardinality of Q. (b) Consider the special case n = 2 and prove that a sufficient condition for A œ P Œ M 2µ2 HR L is that A has a zero determinant (i.e., A is singular) and tr HAL = where tr HAL = a + a 22 is the sum of the main diagonal elements of A. (c) Is the condition of part b a necessary condition?

12 C Exercises 5. Write each of the following systems in the form A X = B, and then solve the systems using matrices. (a) 2 x + x 2 = 3 x - x 2 = (b) 2 x - x 2 = 4 x - x 2 = 0 (c) 2 x + x 2 = x - x 2 = (d) 2 x + x 2 = x - x 2 = - (e) 3 x + 2 x 2 = 6 x + 4 x 2 = - 6. Recall that p HxL = x 2-5 x + 6 is called a polynomial, or more specifically, a polynomial over R, where the coefficients are elements of R and x œ R. Also, think of the method of solving, and solutions of, x 2-5 x + 6 = 0. We would like to define the analogous situation for 2 µ2 matrices. First define where A is a 2 µ2 matrix p HAL = A 2-5 A + 6 I. Discuss the method of solving and the solutions of A 2-5 A + 6 I = (For those who know calculus) (a) Write the series expansion for a centered around a = 0. (b) Use the idea of exercise 6 to write what would be a plausible definion of A where A is an n µ n matrix. (c) If A = K 0 - O and B = K O, use the series in part (b) to show that A = K - O and 0 B = K - 0 O. (d) Show that A B ¹ B A (e) Show that A+B = K 0 0 O (f) Is A B = A+B?

13 SUPPLEMENTARY EXERCISES FOR CHAPTER 5 Sections 5. through 5.3. Determine x and y in the following: 0-2. Let A = (a) 2 A - 3 B (b) 2 A - 5 A (c) AC + BC, B = , C = K x + y 5-2 x - y O = K O. Compute: 3. Let A and B be two mµm matrices with AB = BA. Prove by induction on n that AB n = B n A for n greater than or equal to. 4. Prove by induction that if n is a positive integer, and Section Determine A - A 3 if A = K O 6. Let A = K O and B = K 2 0 O A = , then A n = n nhn - Lê2 0 n 0 0 Compute A + B, A 2 + AB +BA + B 2, and B - A -. You may save some time by thinking before plunging into the computations. 7. For what real number c will the matrix D have no inverse? Explain your answer. D = K c O 8. Let P = :K a b c d O œ M 2µ2HR L ad ¹ bc>. Fact: The inverse of a diagonal matrix belonging to P can be found simply by reciprocating the diagonal elements of the matrix. (a) Determine K O -. (b) Suppose K a b c d O œ P and K a b - c d O In general, is K a b c d Section 5.5 = K êa b c êd O O a diagonal matrix? If yes, explain why; if no, give the most general form of such a matrix K a b c d O. 9. (a) Let A and B be nµn matrices. Expand HA + BL 2. (b) Is HA + BL 2 ever equal to A AB + B 2? Explain. 0. Solve the following matrix equation for X. Be careful to explain under which conditions each step is possible. Section 5.6. Prove or disprove: A - = A and B - = B HABL - = AB. AX + C = BX 2. The following is true for all real numbers a and b: aÿb = 0 if and only if a = 0 or b = 0. Is any part of this statement true for nµn matrices A and B? Explain. Give an example and proof. 3. Let A = K a b 0 b O, where a, b, c, d œ R. Show that the matrices of the form A = ±K O, and A = ±K O are also solutions to the c d c equation A 2 = I, confirming that a quadratic matrix equation can have an infinite number of solutions. Are there any others?

chapter 12 MORE MATRIX ALGEBRA 12.1 Systems of Linear Equations

chapter 12 MORE MATRIX ALGEBRA 12.1 Systems of Linear Equations chapter MORE MATRIX ALGEBRA GOALS In Chapter we studied matrix operations and the algebra of sets and logic. We also made note of the strong resemblance of matrix algebra to elementary algebra. The reader

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

12.4 The Diagonalization Process

12.4 The Diagonalization Process Chapter - More Matrix Algebra.4 The Diagonalization Process We now have the background to understand the main ideas behind the diagonalization process. Definition: Eigenvalue, Eigenvector. Let A be an

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

Matrix Arithmetic. a 11 a. A + B = + a m1 a mn. + b. a 11 + b 11 a 1n + b 1n = a m1. b m1 b mn. and scalar multiplication for matrices via.

Matrix Arithmetic. a 11 a. A + B = + a m1 a mn. + b. a 11 + b 11 a 1n + b 1n = a m1. b m1 b mn. and scalar multiplication for matrices via. Matrix Arithmetic There is an arithmetic for matrices that can be viewed as extending the arithmetic we have developed for vectors to the more general setting of rectangular arrays: if A and B are m n

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 12 MORE MATRIX ALGEBRA 12.1 Systems of Linear Equations GOALS

chapter 12 MORE MATRIX ALGEBRA 12.1 Systems of Linear Equations GOALS chapter MORE MATRIX ALGEBRA GOALS In Chapter we studied matrix operations and the algebra of sets and logic. We also made note of the strong resemblance of matrix algebra to elementary algebra. The reader

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

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

is a 3 4 matrix. It has 3 rows and 4 columns. The first row is the horizontal row [ ] Matrices: Definition: An m n matrix, A m n is a rectangular array of numbers with m rows and n columns: a, a, a,n a, a, a,n A m,n =...... a m, a m, a m,n Each a i,j is the entry at the i th row, j th column.

More information

ELEMENTARY LINEAR ALGEBRA

ELEMENTARY LINEAR ALGEBRA ELEMENTARY LINEAR ALGEBRA K R MATTHEWS DEPARTMENT OF MATHEMATICS UNIVERSITY OF QUEENSLAND First Printing, 99 Chapter LINEAR EQUATIONS Introduction to linear equations A linear equation in n unknowns x,

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

MATRICES. a m,1 a m,n A =

MATRICES. a m,1 a m,n A = MATRICES Matrices are rectangular arrays of real or complex numbers With them, we define arithmetic operations that are generalizations of those for real and complex numbers The general form a matrix of

More information

1 Matrices and matrix algebra

1 Matrices and matrix algebra 1 Matrices and matrix algebra 1.1 Examples of matrices A matrix is a rectangular array of numbers and/or variables. For instance 4 2 0 3 1 A = 5 1.2 0.7 x 3 π 3 4 6 27 is a matrix with 3 rows and 5 columns

More information

LS.1 Review of Linear Algebra

LS.1 Review of Linear Algebra LS. LINEAR SYSTEMS LS.1 Review of Linear Algebra In these notes, we will investigate a way of handling a linear system of ODE s directly, instead of using elimination to reduce it to a single higher-order

More information

a 11 x 1 + a 12 x a 1n x n = b 1 a 21 x 1 + a 22 x a 2n x n = b 2.

a 11 x 1 + a 12 x a 1n x n = b 1 a 21 x 1 + a 22 x a 2n x n = b 2. Chapter 1 LINEAR EQUATIONS 11 Introduction to linear equations A linear equation in n unknowns x 1, x,, x n is an equation of the form a 1 x 1 + a x + + a n x n = b, where a 1, a,, a n, b are given real

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

A Review of Matrix Analysis

A Review of Matrix Analysis Matrix Notation Part Matrix Operations Matrices are simply rectangular arrays of quantities Each quantity in the array is called an element of the matrix and an element can be either a numerical value

More information

DS-GA 1002 Lecture notes 0 Fall Linear Algebra. These notes provide a review of basic concepts in linear algebra.

DS-GA 1002 Lecture notes 0 Fall Linear Algebra. These notes provide a review of basic concepts in linear algebra. DS-GA 1002 Lecture notes 0 Fall 2016 Linear Algebra These notes provide a review of basic concepts in linear algebra. 1 Vector spaces You are no doubt familiar with vectors in R 2 or R 3, i.e. [ ] 1.1

More information

chapter 11 ALGEBRAIC SYSTEMS GOALS

chapter 11 ALGEBRAIC SYSTEMS GOALS chapter 11 ALGEBRAIC SYSTEMS GOALS The primary goal of this chapter is to make the reader aware of what an algebraic system is and how algebraic systems can be studied at different levels of abstraction.

More information

Solution Set 7, Fall '12

Solution Set 7, Fall '12 Solution Set 7, 18.06 Fall '12 1. Do Problem 26 from 5.1. (It might take a while but when you see it, it's easy) Solution. Let n 3, and let A be an n n matrix whose i, j entry is i + j. To show that det

More information

Math 123, Week 2: Matrix Operations, Inverses

Math 123, Week 2: Matrix Operations, Inverses Math 23, Week 2: Matrix Operations, Inverses Section : Matrices We have introduced ourselves to the grid-like coefficient matrix when performing Gaussian elimination We now formally define general matrices

More information

3. Vector spaces 3.1 Linear dependence and independence 3.2 Basis and dimension. 5. Extreme points and basic feasible solutions

3. Vector spaces 3.1 Linear dependence and independence 3.2 Basis and dimension. 5. Extreme points and basic feasible solutions A. LINEAR ALGEBRA. CONVEX SETS 1. Matrices and vectors 1.1 Matrix operations 1.2 The rank of a matrix 2. Systems of linear equations 2.1 Basic solutions 3. Vector spaces 3.1 Linear dependence and independence

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

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

[ 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

Chapter 16. An Introduction to Rings and Fields Rings Basic Definitions and Concepts

Chapter 16. An Introduction to Rings and Fields Rings Basic Definitions and Concepts Chapter 16 An Introduction to Rings and Fields GOALS In our early elementary school days we began the study of mathematics by learning addition and multiplication on the set of positive integers. We then

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

Review of linear algebra

Review of linear algebra Review of linear algebra 1 Vectors and matrices We will just touch very briefly on certain aspects of linear algebra, most of which should be familiar. Recall that we deal with vectors, i.e. elements of

More information

Math 24 Spring 2012 Questions (mostly) from the Textbook

Math 24 Spring 2012 Questions (mostly) from the Textbook Math 24 Spring 2012 Questions (mostly) from the Textbook 1. TRUE OR FALSE? (a) The zero vector space has no basis. (F) (b) Every vector space that is generated by a finite set has a basis. (c) Every vector

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

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

18.02 Multivariable Calculus Fall 2007

18.02 Multivariable Calculus Fall 2007 MIT OpenCourseWare http://ocw.mit.edu 18.02 Multivariable Calculus Fall 2007 For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms. M. Matrices and Linear Algebra

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

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

ELEMENTARY LINEAR ALGEBRA

ELEMENTARY LINEAR ALGEBRA ELEMENTARY LINEAR ALGEBRA K. R. MATTHEWS DEPARTMENT OF MATHEMATICS UNIVERSITY OF QUEENSLAND Second Online Version, December 1998 Comments to the author at krm@maths.uq.edu.au Contents 1 LINEAR EQUATIONS

More information

3 (Maths) Linear Algebra

3 (Maths) Linear Algebra 3 (Maths) Linear Algebra References: Simon and Blume, chapters 6 to 11, 16 and 23; Pemberton and Rau, chapters 11 to 13 and 25; Sundaram, sections 1.3 and 1.5. The methods and concepts of linear algebra

More information

Basic Concepts in Linear Algebra

Basic Concepts in Linear Algebra Basic Concepts in Linear Algebra Grady B Wright Department of Mathematics Boise State University February 2, 2015 Grady B Wright Linear Algebra Basics February 2, 2015 1 / 39 Numerical Linear Algebra Linear

More information

10. Linear Systems of ODEs, Matrix multiplication, superposition principle (parts of sections )

10. Linear Systems of ODEs, Matrix multiplication, superposition principle (parts of sections ) c Dr. Igor Zelenko, Fall 2017 1 10. Linear Systems of ODEs, Matrix multiplication, superposition principle (parts of sections 7.2-7.4) 1. When each of the functions F 1, F 2,..., F n in right-hand side

More information

DM559 Linear and Integer Programming. Lecture 3 Matrix Operations. Marco Chiarandini

DM559 Linear and Integer Programming. Lecture 3 Matrix Operations. Marco Chiarandini DM559 Linear and Integer Programming Lecture 3 Matrix Operations Marco Chiarandini Department of Mathematics & Computer Science University of Southern Denmark Outline and 1 2 3 and 4 2 Outline and 1 2

More information

Math 308 Midterm Answers and Comments July 18, Part A. Short answer questions

Math 308 Midterm Answers and Comments July 18, Part A. Short answer questions Math 308 Midterm Answers and Comments July 18, 2011 Part A. Short answer questions (1) Compute the determinant of the matrix a 3 3 1 1 2. 1 a 3 The determinant is 2a 2 12. Comments: Everyone seemed to

More information

Review of Basic Concepts in Linear Algebra

Review of Basic Concepts in Linear Algebra Review of Basic Concepts in Linear Algebra Grady B Wright Department of Mathematics Boise State University September 7, 2017 Math 565 Linear Algebra Review September 7, 2017 1 / 40 Numerical Linear Algebra

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

Prepared by: M. S. KumarSwamy, TGT(Maths) Page

Prepared by: M. S. KumarSwamy, TGT(Maths) Page Prepared by: M. S. KumarSwamy, TGT(Maths) Page - 50 - CHAPTER 3: MATRICES QUICK REVISION (Important Concepts & Formulae) MARKS WEIGHTAGE 03 marks Matrix A matrix is an ordered rectangular array of numbers

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

CLASS 12 ALGEBRA OF MATRICES

CLASS 12 ALGEBRA OF MATRICES CLASS 12 ALGEBRA OF MATRICES Deepak Sir 9811291604 SHRI SAI MASTERS TUITION CENTER CLASS 12 A matrix is an ordered rectangular array of numbers or functions. The numbers or functions are called the elements

More information

Linear Algebra V = T = ( 4 3 ).

Linear Algebra V = T = ( 4 3 ). Linear Algebra Vectors A column vector is a list of numbers stored vertically The dimension of a column vector is the number of values in the vector W is a -dimensional column vector and V is a 5-dimensional

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

12. Perturbed Matrices

12. Perturbed Matrices MAT334 : Applied Linear Algebra Mike Newman, winter 208 2. Perturbed Matrices motivation We want to solve a system Ax = b in a context where A and b are not known exactly. There might be experimental errors,

More information

MATH Mathematics for Agriculture II

MATH Mathematics for Agriculture II MATH 10240 Mathematics for Agriculture II Academic year 2018 2019 UCD School of Mathematics and Statistics Contents Chapter 1. Linear Algebra 1 1. Introduction to Matrices 1 2. Matrix Multiplication 3

More information

a11 a A = : a 21 a 22

a11 a A = : a 21 a 22 Matrices The study of linear systems is facilitated by introducing matrices. Matrix theory provides a convenient language and notation to express many of the ideas concisely, and complicated formulas are

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

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

A matrix over a field F is a rectangular array of elements from F. The symbol

A matrix over a field F is a rectangular array of elements from F. The symbol Chapter MATRICES Matrix arithmetic A matrix over a field F is a rectangular array of elements from F The symbol M m n (F ) denotes the collection of all m n matrices over F Matrices will usually be denoted

More information

Two matrices of the same size are added by adding their corresponding entries =.

Two matrices of the same size are added by adding their corresponding entries =. 2 Matrix algebra 2.1 Addition and scalar multiplication Two matrices of the same size are added by adding their corresponding entries. For instance, 1 2 3 2 5 6 3 7 9 +. 4 0 9 4 1 3 0 1 6 Addition of two

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

Linear Algebra, Summer 2011, pt. 2

Linear Algebra, Summer 2011, pt. 2 Linear Algebra, Summer 2, pt. 2 June 8, 2 Contents Inverses. 2 Vector Spaces. 3 2. Examples of vector spaces..................... 3 2.2 The column space......................... 6 2.3 The null space...........................

More information

Chapter 2. Ma 322 Fall Ma 322. Sept 23-27

Chapter 2. Ma 322 Fall Ma 322. Sept 23-27 Chapter 2 Ma 322 Fall 2013 Ma 322 Sept 23-27 Summary ˆ Matrices and their Operations. ˆ Special matrices: Zero, Square, Identity. ˆ Elementary Matrices, Permutation Matrices. ˆ Voodoo Principle. What is

More information

Introduction to Matrices

Introduction to Matrices 214 Analysis and Design of Feedback Control Systems Introduction to Matrices Derek Rowell October 2002 Modern system dynamics is based upon a matrix representation of the dynamic equations governing the

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

CPE 310: Numerical Analysis for Engineers

CPE 310: Numerical Analysis for Engineers CPE 310: Numerical Analysis for Engineers Chapter 2: Solving Sets of Equations Ahmed Tamrawi Copyright notice: care has been taken to use only those web images deemed by the instructor to be in the public

More information

Calculus II - Basic Matrix Operations

Calculus II - Basic Matrix Operations Calculus II - Basic Matrix Operations Ryan C Daileda Terminology A matrix is a rectangular array of numbers, for example 7,, 7 7 9, or / / /4 / / /4 / / /4 / /6 The numbers in any matrix are called its

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

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

Some Notes on Linear Algebra

Some Notes on Linear Algebra Some Notes on Linear Algebra prepared for a first course in differential equations Thomas L Scofield Department of Mathematics and Statistics Calvin College 1998 1 The purpose of these notes is to present

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

Stat 206: Linear algebra

Stat 206: Linear algebra Stat 206: Linear algebra James Johndrow (adapted from Iain Johnstone s notes) 2016-11-02 Vectors We have already been working with vectors, but let s review a few more concepts. The inner product of two

More information

A primer on matrices

A primer on matrices A primer on matrices Stephen Boyd August 4, 2007 These notes describe the notation of matrices, the mechanics of matrix manipulation, and how to use matrices to formulate and solve sets of simultaneous

More information

Linear Algebra Summary. Based on Linear Algebra and its applications by David C. Lay

Linear Algebra Summary. Based on Linear Algebra and its applications by David C. Lay Linear Algebra Summary Based on Linear Algebra and its applications by David C. Lay Preface The goal of this summary is to offer a complete overview of all theorems and definitions introduced in the chapters

More information

Offline Exercises for Linear Algebra XM511 Lectures 1 12

Offline Exercises for Linear Algebra XM511 Lectures 1 12 This document lists the offline exercises for Lectures 1 12 of XM511, which correspond to Chapter 1 of the textbook. These exercises should be be done in the traditional paper and pencil format. The section

More information

Getting Started with Communications Engineering. Rows first, columns second. Remember that. R then C. 1

Getting Started with Communications Engineering. Rows first, columns second. Remember that. R then C. 1 1 Rows first, columns second. Remember that. R then C. 1 A matrix is a set of real or complex numbers arranged in a rectangular array. They can be any size and shape (provided they are rectangular). A

More information

1.1.1 Algebraic Operations

1.1.1 Algebraic Operations 1.1.1 Algebraic Operations We need to learn how our basic algebraic operations interact. When confronted with many operations, we follow the order of operations: Parentheses Exponentials Multiplication

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

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

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

1 Matrices and Systems of Linear Equations

1 Matrices and Systems of Linear Equations March 3, 203 6-6. Systems of Linear Equations Matrices and Systems of Linear Equations An m n matrix is an array A = a ij of the form a a n a 2 a 2n... a m a mn where each a ij is a real or complex number.

More information

Linear Algebra Basics

Linear Algebra Basics Linear Algebra Basics For the next chapter, understanding matrices and how to do computations with them will be crucial. So, a good first place to start is perhaps What is a matrix? A matrix A is an array

More information

Chapter 2. Matrix Arithmetic. Chapter 2

Chapter 2. Matrix Arithmetic. Chapter 2 Matrix Arithmetic Matrix Addition and Subtraction Addition and subtraction act element-wise on matrices. In order for the addition/subtraction (A B) to be possible, the two matrices A and B must have the

More information

Definition 2.3. We define addition and multiplication of matrices as follows.

Definition 2.3. We define addition and multiplication of matrices as follows. 14 Chapter 2 Matrices In this chapter, we review matrix algebra from Linear Algebra I, consider row and column operations on matrices, and define the rank of a matrix. Along the way prove that the row

More information

Section 5.5: Matrices and Matrix Operations

Section 5.5: Matrices and Matrix Operations Section 5.5 Matrices and Matrix Operations 359 Section 5.5: Matrices and Matrix Operations Two club soccer teams, the Wildcats and the Mud Cats, are hoping to obtain new equipment for an upcoming season.

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

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

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

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

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

The Integers. Peter J. Kahn

The Integers. Peter J. Kahn Math 3040: Spring 2009 The Integers Peter J. Kahn Contents 1. The Basic Construction 1 2. Adding integers 6 3. Ordering integers 16 4. Multiplying integers 18 Before we begin the mathematics of this section,

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

7.6 The Inverse of a Square Matrix

7.6 The Inverse of a Square Matrix 7.6 The Inverse of a Square Matrix Copyright Cengage Learning. All rights reserved. What You Should Learn Verify that two matrices are inverses of each other. Use Gauss-Jordan elimination to find inverses

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

Matrices and Vectors. Definition of Matrix. An MxN matrix A is a two-dimensional array of numbers A =

Matrices and Vectors. Definition of Matrix. An MxN matrix A is a two-dimensional array of numbers A = 30 MATHEMATICS REVIEW G A.1.1 Matrices and Vectors Definition of Matrix. An MxN matrix A is a two-dimensional array of numbers A = a 11 a 12... a 1N a 21 a 22... a 2N...... a M1 a M2... a MN A matrix can

More information

NOTES on LINEAR ALGEBRA 1

NOTES on LINEAR ALGEBRA 1 School of Economics, Management and Statistics University of Bologna Academic Year 207/8 NOTES on LINEAR ALGEBRA for the students of Stats and Maths This is a modified version of the notes by Prof Laura

More information

LS.2 Homogeneous Linear Systems with Constant Coefficients

LS.2 Homogeneous Linear Systems with Constant Coefficients LS2 Homogeneous Linear Systems with Constant Coefficients Using matrices to solve linear systems The naive way to solve a linear system of ODE s with constant coefficients is by eliminating variables,

More information

Section-A. Short Questions

Section-A. Short Questions Section-A Short Questions Question1: Define Problem? : A Problem is defined as a cultural artifact, which is especially visible in a society s economic and industrial decision making process. Those managers

More information

a (b + c) = a b + a c

a (b + c) = a b + a c Chapter 1 Vector spaces In the Linear Algebra I module, we encountered two kinds of vector space, namely real and complex. The real numbers and the complex numbers are both examples of an algebraic structure

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

Knowledge Discovery and Data Mining 1 (VO) ( )

Knowledge Discovery and Data Mining 1 (VO) ( ) Knowledge Discovery and Data Mining 1 (VO) (707.003) Review of Linear Algebra Denis Helic KTI, TU Graz Oct 9, 2014 Denis Helic (KTI, TU Graz) KDDM1 Oct 9, 2014 1 / 74 Big picture: KDDM Probability Theory

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

MATRIX DETERMINANTS. 1 Reminder Definition and components of a matrix

MATRIX DETERMINANTS. 1 Reminder Definition and components of a matrix MATRIX DETERMINANTS Summary Uses... 1 1 Reminder Definition and components of a matrix... 1 2 The matrix determinant... 2 3 Calculation of the determinant for a matrix... 2 4 Exercise... 3 5 Definition

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