7 Matrix Operations. 7.0 Matrix Multiplication + 3 = 3 = 4

Size: px
Start display at page:

Download "7 Matrix Operations. 7.0 Matrix Multiplication + 3 = 3 = 4"

Transcription

1 7 Matrix Operations Copyright 017, Gregory G. Smith 9 October 017 The product of two matrices is a sophisticated operations with a wide range of applications. In this chapter, we defined this binary operation, visualize it using directed graphs, and start to exploration of invertible matrices. 7.0 Matrix Multiplication How should we define matrix multiplication? When a matrix A multiplies a vector ~v, it transforms ~v into the vector A~v. If this vector is then multiplied by the matrix B, the resulting vector is B(A~v). We want to represent the composite mapping ~v 7! B(A~v) as multiplication by a single matrix BA, so that B(A~v) =(BA)~v. To describe matrix multiplication, let A be an (m n)-matrix, let B an (` m)-matrix, and let ~v K n. If ~a 1,~a,...,~a n denote the columns of A, then we have A~x = v 1 ~a 1 + v ~a + + v n ~a n K m. By the linearity of matrix multiplication, we obtain B(A~x) =B(v 1 ~a 1 )+B(v ~a )+ + B(v n ~a n )=v 1 (B~a 1 )+v (B~a )+ + v n (B~a n ) K`. In particular, we have B(A~x) =[B~a 1 B~a B~a n ]~v and we define BA := [B~a 1 B~a B~a n ] Problem. Compute the product Solution. We have = = so the product is = 1 5 = = = = ()()+()(1) ()()+()( ) ()(6)+()() (1)()+( 5)(1) (1)()+( 5)( ) (1)(6)+( 5)() = Matrix multiplication may be reinterpreted using the dot product. Assuming that the product BA is defined, the (i, k)-entry of BA is dot

2 90 linear algebra product of the i-th row in B with the k-th column in A. Indeed, if b i,j for 1 6 i 6 ` and 1 6 j 6 m are the entries in B and a j,k for 1 6 j 6 m and 1 6 k 6 n are the entries in A, then the (i, k)-entry of the product AB is  m j=1 b i,ja j,k = b i,1 a 1,k + b i, a,k + + b i,m a m,k Problem. Find the entries in the second row of the product Solution. If denotes an arbitrary scalar, then we have = = Problem. Compute both products of the following matrices: Solution. We have = = For n N, the identity matrix is the (n n)-matrix I n := [~e 1 ~e ~e n ] = The subscript on the square matrix I will be omitted when the number of rows or columns is clear from the context Proposition (Properties of matrix multiplication). Let A, B, C be matrices for which the indicated sums and products are defined. For any scalar c K, we have the following properties: (identity) I m A = A = AI n (BA) T = A T B T (associativity) C(BA)=(CB)A c(ba)=(cb)a = B(c A) (distributivity) C(B + A)=CB + CA (C + B)A = CA + BA. Proof. Let a j,k for 1 6 j 6 m and 1 6 k 6 n be the entries in the matrix A and let ~a 1,~a,...,~a n be the columns of A; it follows that ~a k = [a 1,k a,k a m,k ] T. Since ~e j ~a k = a j,k and ~a k ~e j = a k,j,we

3 matrix operations 91 deduce that I m A = A = AI n. If b i,j for 1 6 i 6 ` and 1 6 j 6 m denotes the entries in the matrix B, then the (i, k)-entry in BA is  m j=1 b i,ja j,k and the (k, i)-entry in A T B T is  m j=1 a j,kb i,j, so the commutativity of multiplication of scalars implies that (BA) T = A T B T. Finally, the general definition of matrix multiplication and the linearity of matrix multiplication with a vector yield C(BA) =[C(B~a 1 ) C(B~a ) C(B~a n )] = [(CB)~a 1 (CB)~a (CB)~a n ] =(CB)A, c(ba) =[c(b~a 1 ) c(b~a ) c(b~a n )] = [(cb)~a 1 (cb)~a (cb)~a n ] =(cb)a = [c(b~a 1 ) c(b~a ) c(b~a n )] = [B(c~a 1 ) B(c~a ) B(c~a n )] = B(cA), C(B + A) = C(~ b1 +~a 1 ) C(~ b +~a ) C(~ bn +~a n ) = C~ b1 + C~a 1 C~ b + C~a C~ bn + C~a n = CB + CA, (C + B)A = [(C + B)~a 1 (C + B)~a (C + B)~a n ] = [C~a 1 + B~a 1 C~a + B~a C~a n + B~a n ] = CA + BA. There are some important differences between products of matrices and products of scalars. The product of two matrices depends on the order of the factors. For example, we have = 0 0 6= 0 0 = The product of two nonzero matrices may equal zero. For example, we have = 0 0. The cancellation property does not hold for matrix multiplication, that is the matrix equation AB = AC does not imply B = C. For example, we have = 0 0 = , but = If A is an square matrix and k N, then the k-fold product of A is A k := AA {z A } is the product of k copies of A. In particular, the k times empty product is A 0 = I Problem. If N = , then compute N k for all k N Solution. We have N 0 = I, N 1 = N, N = = , N = = , and N k = 0 for k >.

4 9 linear algebra Exercises Problem. Determine which of the following statements are true. If a statement is false, then provide a counterexample. i. Matrix multiplication is defined for any two matrices. ii. The product of two matrices is a matrix. iii. The entry in a product of matrices equals the dot product of the corresponding row and column. iv. The identity matrix can have any size. v. Matrix multiplication is never commutative Problem. Let A be a square matrix. If the linear system A ~x =~0 has infinitely many solutions, then prove that the linear system A~x =~0 also has infinitely many solutions Problem. The trace of an (n n)-matrix A := [a j,k ] is the sum of its diagonal entries: tr(a) := a 1,1 + a, + + a n,n = n  a j,j. j=1 i. Prove that the trace is linear. In other words, show that, for any (n n)-matrices A, B and any scalars c, d K, we have tr(c A + d B) =c tr(a)+d tr(b). ii. If A and B are (n n)-matrices, then prove that tr(ab) =tr(ba). iii. For n > 1, show that the matrix equation XY YX = I has no solutions for (n n)-matrices X and Y.

5 matrix operations Adjacency Matrices* How can we visualize matrix multiplication for square matrices? A directed graph G consists of a set V(G) := {1,,..., n} of vertices and a set E(G) of ordered pairs of vertices called edges. The edge (j, k) is drawn as an arrow from the jth vertex to the kth vertex. Given a directed graph G, the adjacency matrix A G is a square matrix where rows and columns correspond to the vertices of G. The (j, k)-entry in A G is the number of edges in G from the kth vertex to the jth vertex. The adjacency matrices for our two examples are A T = A H = From the definition of the adjacency matrix, we see that every square matrix with entries in {0, 1} is the adjacency matrix of a direct graph. A walk in the directed graph G is a sequence of edges e 1, e,...,e` where the tail of e j+1 equals the head of e j for 1 6 j <`. The length of a walk is the number of edges in the sequence, and each vertex corresponds to a trivial walk of length 0. For example, the directed graph T has a unique path of length from the second vertex to first vertex. How are the following matrix products related to paths? Proposition. If A G is the adjacency matrix of a directed graph G and ` N, then the (j, k)-entry of A`G is the number of walks with length ` from the kth vertex to the jth vertex. Proof. We proceed by induction on `. When ` = 0, we have A 0 G = I and the vertices correspond to the walks of length 0, which establishes the base case of the induction. Suppose that `>0, so A`G = A` 1 G A G. Let n be the number of vertices in G. If a j,k denotes the (j, k)-entry in A G for all 1 6 j, k 6 n, then the definition of the adjacency matrix guarantees that a j,k equals the number of walks of length 1 in G from the kth vertex to the jth vertex. Similarly, if b i,j denotes the (i, j)-entry in A` 1 G for all 1 6 i, j 6 n, then the induction hypothesis implies that b i,j equals the number of walks of length ` 1 in G from the jth vertex to the kth vertex. By concatenating these walks at the jth vertex, we see that there are b i,j a j,k walks of length ` in G from the kth vertex to the ith vertex passing through the jth vertex at second step. By summing over all possible choices for the second vertex, we see that there are b i,1 a 1,k + b i, a,k + + b i,n a n,k walks of length ` in G from the kth vertex to the ith vertex. From the dot-product reinterpretation of matrix multiplication, we recognize this sum as the (i, k)-entry in the product A` 1 G A G = A`G. T Figure 7.0: A small directed graph H Figure 7.1: A larger directed graph " # A T = A T = " # 1 0 A H = A H = A H = A 5 H =

6 9 linear algebra P 1 5 Figure 7.: A bipartite directed graph Q Figure 7.: Another bipartite graph Figure 7.: Merging two bipartite graphs B Q B P = " 1 # How can we visualize matrix multiplication for arbitrary matrices? A bipartite directed graph is a directed graph such that no vertex is both a tail and head. In other words, the set of vertices that are tails for some edge is disjoint from the set of vertices that are heads. For a bipartite directed graph, the biadjacency matrix B G is a matrix in which the columns correspond to the vertices that are tails of some edge and the rows correspond to the vertices that are heads of some edge. The (j, k)-entry of B G is the number of edges in G from the kth vertex to the jth vertex. The biadjacency matrices for our examples are B P = B Q = From the definition of the biadjacency matrix, we see that every matrix with entries in {0, 1} is the biadjacency matrix of a unique bipartite directed graph Proposition. Let G and H be bipartite directed graphs such that the heads in G corresponds the tails in H. If B G and B H are the associated biadjacency matrices, then the (i, k)-entry of the product B H B G is the number of walks from the k-th tail in G to the i-th head in H in the directed graph obtained by merging the heads in G with the tails in H. Proof. If a j,k denote the (j, k)-entry in the adjacency matrix B G for all 1 6 j 6 m and all 1 6 k 6 n, then the definition of the biadjacency matrix ensures that a j,k equals the number of walks of length 1 in G from the kth vertex to the jth vertex. Similarly, if b i,j denote the (i, j)-entry in the adjacency matrix B H for all 1 6 i 6 ` and all 1 6 j 6 m, then the definition of the biadjacency matrix ensures that b i,j equals the number of walks of length 1 in H from the jth vertex to the kth vertex. By concatenating these walks at the jth vertex, we see that there are b i,j a j,k walks of length in the merged graph from the kth vertex the ith vertex passing through the jth vertex. Summing over all possible choices for the intermediate vertex, we see that there are b i,1 a 1,k + b i, a,k + + b i,m a m,k walks of length in the merged graph from the kth vertex to the ith vertex. From the dot-product reinterpretation of matrix multiplication, we recognize this sum as the (i, k)-entry in the product B H B G. To create an equivalence between directed graphs and matrices, one normally considers weighted graphs. A weighted directed graph is a directed graph such that each edge (k, j) is labelled by an element of a j,k K. In the weighted adjacency matrix A G or the weighted biadjacency matrix B G, the (j, k)-entry equals the label a j,k K. It follows that every square matrix is the weighted adjacency matrix of some weighted directed graph, and every matrix is the weighted biadjacency matrix of some weighted bipartite directed graph.

7 matrix operations 95 Exercises 7.1. Problem. Determine which of the following statements are true. If a statement is false, then provide a counterexample. i. The adjacency matrix of a directed graph is a square matrix. ii. The adjacency matrix of a directed graph is always symmetric. iii. The adjacency matrix of a nonempty directed graph is never skewsymmetric. iv. A biadjacency matrix can have any size Problem. A complete bipartite directed graph is a graph whose vertices can be partitioned into two subsets and such that no edge has both endpoints in the same subset, and every possible edge that could connect vertices in different subsets is part of the graph. Describe the biadjacency matrix of a complete bipartite directed graph.

8 96 linear algebra

9 matrix operations Invertible Matrices Do anymatriceshaveamultiplicativeinverse? Let A be a square matrix. If there is a matrix B such that AB = I and BA = I, then B is an inverse of A and we write B = A 1. When there exists a inverse, we say that A is invertible. For example, we have = 0 1 and = , so both of these matrices are invertible Problem. Show that 6 1 is not invertible. Solution. Assuming that wy xy were the inverse, we would have I = 6 1 w y w + 6x y + 6z x z = w + x y+ z () 8 9 w + 6x = 1 >< >= w + x = 0 >: y + 6z = 0>;. y + z = 1 Elementary row operations give R 1 R 7! R R R 7! R ! R 1 7! R R 7! R 1 R 7! R R 7! R! R + R 7! R! Since the linear system is inconsistent, no inverse exists Lemma. If A is an invertible matrix, then its inverse is unique. Proof. If B and C are both inverses of the matrix A then the definition of an inverse matrix and the properties of matrix multiplication give C = CI = C(AB) =(CA)B = IB = B. 7.. Proposition. If A is an invertible matrix, then linear system A~x = ~ b has a unique solution given by ~x = A 1 ~ b. Proof. To establish existence, we have A(A 1 ~ b)=(aa 1 )~ b = I ~ b = ~ b, so A 1 ~ b is a solution. On the other hand, for any solution ~v, we have ~v = I~v =(A 1 A)~v = A 1 (A~v) =A 1 ~ b which proves uniqueness. 7.. Problem. Consider the matrix A := ab cd where a, b, c, d K. If ad bc 6= 0, then show that A is invertible where A 1 = ad 1 d b bc c a. If ad bc = 0 then prove that A is not invertible. For the matrix A := ab cd, the expression ad bc is called the determinant of A and written det(a) =ad bc. Solution. If ad a b c d bc 6= 0, then we have d b ad bc ab + ba c a = cd dc cb + da =(ad bc) I,

10 98 linear algebra which proves that A 1 = ad 1 d b bc c a. Next, suppose that ad bc = 0. If a 6= 0, then we would have d = bc a and a b a b a b A = c d = ac/a bc/a = ka kb, where k = a c. If wx y z were an inverse of A, then we would obtain a I = b ka kb w x y z aw + by = ax + bz k(aw + by) k(ax + bz). a 0 b a 0 b 07 ka 0 kb ka 0 kb 1 R k R 1 7! R R k R 7! R! Applying elementary row operations to the associated augmented matrix yields a 1 R 1 7! R 1 a a 0 b 0 1 R 1 R 7! R 1 a 0 b 00 1 R 7! R R 7! R 10 b a 60 a 0 b 07 R + k R 7! R 60 a 0 b 07 R 0000 k 5! 7! R ! 6010 b a Since the linear system is inconsistent, we deduce that the matrix A does not have an inverse in this case. On the other hand, if a = 0, then we have bc = 0 which implies that either b = 0 or c = 0. Thus, A has or 0 b 0 d neither of which has an inverse, because no the form 00 cd matrix with a zero row or zero column has a inverse. 7.. Proposition (Properties of invertible matrices). Let A and B be invertible matrices of the same size. If 0 6= c K and k N, then we have the following: (involution) (A 1 ) 1 = A (compatibility with matrix multiplication) (AB) 1 = B 1 A 1 (compatibility with scalar multiplication) (c A) 1 = 1 c A 1 (compatibility with transpose) (A T ) 1 =(A 1 ) T (compatibility with powers) (A k ) 1 =(A 1 ) k Proof. Since AA 1 = I = A 1 A, the uniqueness of the inverse for the matrix A 1 implies that A =(A 1 ) 1. Since the properties of matrix multiplication give (B 1 A 1 )(AB) =B 1 (A 1 A)B = B 1 IB = B 1 B = I (AB)(B 1 A 1 )=A 1 (B 1 B)A = A 1 A = I, the uniqueness of the inverse establishes that (AB) 1 = B 1 A 1. As 1 c A 1 (c A) = c c (A 1 A)=I and (c A) 1 c A 1 = c c (AA 1 )=I, the uniqueness of the inverse shows that (c A) 1 = 1 c A 1. The properties of the transpose give I =(AA 1 ) T =(A 1 ) T A T and I =(A 1 A) T = A T (A 1 ) T, so we deduce that (A T ) 1 =(A 1 ) T. We proceed by induction on k. For the base case when k = 0, we have (A 0 ) 1 = I 1 = I =(A 1 ) 0. Suppose k > 0. The compatibility with matrix multiplication and the induction hypothesis give (A k ) 1 =(AA k 1 ) 1 =(A k 1 ) 1 A 1 =(A 1 ) k 1 A 1 =(A 1 ) k.

11 matrix operations 99 Exercises 7..5 Problem. Determine which of the following statements are true. If a statement is false, then provide a counterexample. i. Every matrix has a multiplicative inverse. ii. Every square matrix has a multiplicative inverse. iii. The identity matrix is equal to its own inverse. iv. The inverse of a sum of invertible matrices equals the sum of there inverses Problem. Let P be an invertible (m m)-matrix, let Q be an invertible (n n)-matrix, let U be an (m n)-matrix, and let V be an (n m)-matrix. Directly verify the Woodbury matrix identity (P + UQV) 1 = P 1 P 1 U(Q 1 + VP 1 U) 1 VP Problem. Let A be an invertible (m m)-matrix, let B be an (m n)-matrix, let C be an (n m)-matrix, and let D be an (n n)- matrix. If the Schur complement S := D CA 1 B is invertible, then establish the blockwise inversion formula: " # 1 " # A B A = 1 + A 1 BS 1 CA 1 A 1 BS 1 C D S 1 CA 1 S Problem. Consider the matrix M := i. Verify that M 5M + 9M I = 0. ii. If N := 1 (M 5M + 9I), then prove that N = M 1. iii. Explain how N in part i can be obtained from the equation in part ii.

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

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

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

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

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

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

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

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

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

Math 54 HW 4 solutions

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

More information

Introduction to Matrix Algebra

Introduction to Matrix Algebra Introduction to Matrix Algebra August 18, 2010 1 Vectors 1.1 Notations A p-dimensional vector is p numbers put together. Written as x 1 x =. x p. When p = 1, this represents a point in the line. When p

More information

Linear Equations in Linear Algebra

Linear Equations in Linear Algebra 1 Linear Equations in Linear Algebra 1.7 LINEAR INDEPENDENCE LINEAR INDEPENDENCE Definition: An indexed set of vectors {v 1,, v p } in n is said to be linearly independent if the vector equation x x x

More information

2. Linear algebra. matrices and vectors. linear equations. range and nullspace of matrices. function of vectors, gradient and Hessian

2. Linear algebra. matrices and vectors. linear equations. range and nullspace of matrices. function of vectors, gradient and Hessian FE661 - Statistical Methods for Financial Engineering 2. Linear algebra Jitkomut Songsiri matrices and vectors linear equations range and nullspace of matrices function of vectors, gradient and Hessian

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 Homework and Study Guide

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

More information

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

Chapter 1 Matrices and Systems of Equations

Chapter 1 Matrices and Systems of Equations Chapter 1 Matrices and Systems of Equations System of Linear Equations 1. A linear equation in n unknowns is an equation of the form n i=1 a i x i = b where a 1,..., a n, b R and x 1,..., x n are variables.

More information

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

MATH 2030: MATRICES. Example 0.2. Q:Define A 1 =, A. 3 4 A: We wish to find c 1, c 2, and c 3 such that. c 1 + c c MATH 2030: MATRICES Matrix Algebra As with vectors, we may use the algebra of matrices to simplify calculations. However, matrices have operations that vectors do not possess, and so it will be of interest

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

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

Exercise Set Suppose that A, B, C, D, and E are matrices with the following sizes: A B C D E

Exercise Set Suppose that A, B, C, D, and E are matrices with the following sizes: A B C D E Determine the size of a given matrix. Identify the row vectors and column vectors of a given matrix. Perform the arithmetic operations of matrix addition, subtraction, scalar multiplication, and multiplication.

More information

Math Linear Algebra Final Exam Review Sheet

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

More information

Elementary 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

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

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

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

Chapter 1: Systems of Linear Equations and Matrices

Chapter 1: Systems of Linear Equations and Matrices : Systems of Linear Equations and Matrices Multiple Choice Questions. Which of the following equations is linear? (A) x + 3x 3 + 4x 4 3 = 5 (B) 3x x + x 3 = 5 (C) 5x + 5 x x 3 = x + cos (x ) + 4x 3 = 7.

More information

Extra Problems: Chapter 1

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

More information

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

Matrix & Linear Algebra

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

More information

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

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

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

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

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

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

[ 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

LINEAR SYSTEMS AND MATRICES

LINEAR SYSTEMS AND MATRICES CHAPTER 3 LINEAR SYSTEMS AND MATRICES SECTION 3. INTRODUCTION TO LINEAR SYSTEMS This initial section takes account of the fact that some students remember only hazily the method of elimination for and

More information

Matrices. 1 a a2 1 b b 2 1 c c π

Matrices. 1 a a2 1 b b 2 1 c c π Matrices 2-3-207 A matrix is a rectangular array of numbers: 2 π 4 37 42 0 3 a a2 b b 2 c c 2 Actually, the entries can be more general than numbers, but you can think of the entries as numbers to start

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. In this chapter: matrices, determinants. inverse matrix

Matrices. In this chapter: matrices, determinants. inverse matrix Matrices In this chapter: matrices, determinants inverse matrix 1 1.1 Matrices A matrix is a retangular array of numbers. Rows: horizontal lines. A = a 11 a 12 a 13 a 21 a 22 a 23 a 31 a 32 a 33 a 41 a

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

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 221: SOLUTIONS TO SELECTED HOMEWORK PROBLEMS

MATH 221: SOLUTIONS TO SELECTED HOMEWORK PROBLEMS MATH 221: SOLUTIONS TO SELECTED HOMEWORK PROBLEMS 1. HW 1: Due September 4 1.1.21. Suppose v, w R n and c is a scalar. Prove that Span(v + cw, w) = Span(v, w). We must prove two things: that every element

More information

The Matrix-Tree Theorem

The Matrix-Tree Theorem The Matrix-Tree Theorem Christopher Eur March 22, 2015 Abstract: We give a brief introduction to graph theory in light of linear algebra. Our results culminates in the proof of Matrix-Tree Theorem. 1 Preliminaries

More information

CS 246 Review of Linear Algebra 01/17/19

CS 246 Review of Linear Algebra 01/17/19 1 Linear algebra In this section we will discuss vectors and matrices. We denote the (i, j)th entry of a matrix A as A ij, and the ith entry of a vector as v i. 1.1 Vectors and vector operations A vector

More information

MODEL ANSWERS TO THE THIRD HOMEWORK

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

More information

Solution to Homework 1

Solution to Homework 1 Solution to Homework Sec 2 (a) Yes It is condition (VS 3) (b) No If x, y are both zero vectors Then by condition (VS 3) x = x + y = y (c) No Let e be the zero vector We have e = 2e (d) No It will be false

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

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

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

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

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

More information

Math Bootcamp An p-dimensional vector is p numbers put together. Written as. x 1 x =. x p

Math Bootcamp An p-dimensional vector is p numbers put together. Written as. x 1 x =. x p Math Bootcamp 2012 1 Review of matrix algebra 1.1 Vectors and rules of operations An p-dimensional vector is p numbers put together. Written as x 1 x =. x p. When p = 1, this represents a point in the

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

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

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

Boolean Inner-Product Spaces and Boolean Matrices

Boolean Inner-Product Spaces and Boolean Matrices Boolean Inner-Product Spaces and Boolean Matrices Stan Gudder Department of Mathematics, University of Denver, Denver CO 80208 Frédéric Latrémolière Department of Mathematics, University of Denver, Denver

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

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

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

IMPORTANT DEFINITIONS AND THEOREMS REFERENCE SHEET

IMPORTANT DEFINITIONS AND THEOREMS REFERENCE SHEET IMPORTANT DEFINITIONS AND THEOREMS REFERENCE SHEET This is a (not quite comprehensive) list of definitions and theorems given in Math 1553. Pay particular attention to the ones in red. Study Tip For each

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

Appendix C Vector and matrix algebra

Appendix C Vector and matrix algebra Appendix C Vector and matrix algebra Concepts Scalars Vectors, rows and columns, matrices Adding and subtracting vectors and matrices Multiplying them by scalars Products of vectors and matrices, scalar

More information

MATH 511 ADVANCED LINEAR ALGEBRA SPRING 2006

MATH 511 ADVANCED LINEAR ALGEBRA SPRING 2006 MATH 511 ADVANCED LINEAR ALGEBRA SPRING 2006 Sherod Eubanks HOMEWORK 2 2.1 : 2, 5, 9, 12 2.3 : 3, 6 2.4 : 2, 4, 5, 9, 11 Section 2.1: Unitary Matrices Problem 2 If λ σ(u) and U M n is unitary, show that

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

A = 1 6 (y 1 8y 2 5y 3 ) Therefore, a general solution to this system is given by

A = 1 6 (y 1 8y 2 5y 3 ) Therefore, a general solution to this system is given by Mid-Term Solutions 1. Let A = 3 1 2 2 1 1 1 3 0. For which triples (y 1, y 2, y 3 ) does AX = Y have a solution? Solution. The following sequence of elementary row operations: R 1 R 1 /3, R 1 2R 1 + R

More information

Matrix Algebra 2.1 MATRIX OPERATIONS Pearson Education, Inc.

Matrix Algebra 2.1 MATRIX OPERATIONS Pearson Education, Inc. 2 Matrix Algebra 2.1 MATRIX OPERATIONS MATRIX OPERATIONS m n If A is an matrixthat is, a matrix with m rows and n columnsthen the scalar entry in the ith row and jth column of A is denoted by a ij and

More information

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

MATH Topics in Applied Mathematics Lecture 12: Evaluation of determinants. Cross product. MATH 311-504 Topics in Applied Mathematics Lecture 12: Evaluation of determinants. Cross product. Determinant is a scalar assigned to each square matrix. Notation. The determinant of a matrix A = (a ij

More information

1300 Linear Algebra and Vector Geometry

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

More information

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

CS123 INTRODUCTION TO COMPUTER GRAPHICS. Linear Algebra 1/33

CS123 INTRODUCTION TO COMPUTER GRAPHICS. Linear Algebra 1/33 Linear Algebra 1/33 Vectors A vector is a magnitude and a direction Magnitude = v Direction Also known as norm, length Represented by unit vectors (vectors with a length of 1 that point along distinct

More information

Steven J. Leon University of Massachusetts, Dartmouth

Steven J. Leon University of Massachusetts, Dartmouth INSTRUCTOR S SOLUTIONS MANUAL LINEAR ALGEBRA WITH APPLICATIONS NINTH EDITION Steven J. Leon University of Massachusetts, Dartmouth Boston Columbus Indianapolis New York San Francisco Amsterdam Cape Town

More information

Matrices and Determinants

Matrices and Determinants Chapter1 Matrices and Determinants 11 INTRODUCTION Matrix means an arrangement or array Matrices (plural of matrix) were introduced by Cayley in 1860 A matrix A is rectangular array of m n numbers (or

More information

Review of Linear Algebra

Review of Linear Algebra Review of Linear Algebra Definitions An m n (read "m by n") matrix, is a rectangular array of entries, where m is the number of rows and n the number of columns. 2 Definitions (Con t) A is square if m=

More information

Announcements Wednesday, October 10

Announcements Wednesday, October 10 Announcements Wednesday, October 10 The second midterm is on Friday, October 19 That is one week from this Friday The exam covers 35, 36, 37, 39, 41, 42, 43, 44 (through today s material) WeBWorK 42, 43

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

Announcements Monday, October 02

Announcements Monday, October 02 Announcements Monday, October 02 Please fill out the mid-semester survey under Quizzes on Canvas WeBWorK 18, 19 are due Wednesday at 11:59pm The quiz on Friday covers 17, 18, and 19 My office is Skiles

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

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

Online Exercises for Linear Algebra XM511

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

More information

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

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

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

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

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

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

BASIC NOTIONS. x + y = 1 3, 3x 5y + z = A + 3B,C + 2D, DC are not defined. A + C =

BASIC NOTIONS. x + y = 1 3, 3x 5y + z = A + 3B,C + 2D, DC are not defined. A + C = CHAPTER I BASIC NOTIONS (a) 8666 and 8833 (b) a =6,a =4 will work in the first case, but there are no possible such weightings to produce the second case, since Student and Student 3 have to end up with

More information

Math 403 Linear Algebra

Math 403 Linear Algebra Math 403 Linear Algebra Kenneth Massey Carson-Newman College February 15, 2012 C-N Math 403 - Massey, 1 / 65 Linear Algebra Introduction Linear essentially means flat, and algebra is about how objects

More information

x n -2.5 Definition A list is a list of objects, where multiplicity is allowed, and order matters. For example, as lists

x n -2.5 Definition A list is a list of objects, where multiplicity is allowed, and order matters. For example, as lists Vectors, Linear Combinations, and Matrix-Vector Mulitiplication In this section, we introduce vectors, linear combinations, and matrix-vector multiplication The rest of the class will involve vectors,

More information

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

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

More information

NOTES FOR LINEAR ALGEBRA 133

NOTES FOR LINEAR ALGEBRA 133 NOTES FOR LINEAR ALGEBRA 33 William J Anderson McGill University These are not official notes for Math 33 identical to the notes projected in class They are intended for Anderson s section 4, and are 2

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

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

CS123 INTRODUCTION TO COMPUTER GRAPHICS. Linear Algebra /34

CS123 INTRODUCTION TO COMPUTER GRAPHICS. Linear Algebra /34 Linear Algebra /34 Vectors A vector is a magnitude and a direction Magnitude = v Direction Also known as norm, length Represented by unit vectors (vectors with a length of 1 that point along distinct axes)

More information

IMPORTANT DEFINITIONS AND THEOREMS REFERENCE SHEET

IMPORTANT DEFINITIONS AND THEOREMS REFERENCE SHEET IMPORTANT DEFINITIONS AND THEOREMS REFERENCE SHEET This is a (not quite comprehensive) list of definitions and theorems given in Math 1553. Pay particular attention to the ones in red. Study Tip For each

More information

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

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

More information

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

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

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

More information

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

n n matrices The system of m linear equations in n variables x 1, x 2,..., x n can be written as a matrix equation by Ax = b, or in full n n matrices Matrices Definitions Diagonal, Identity, and zero matrices Addition Multiplication Transpose and inverse The system of m linear equations in n variables x 1, x 2,..., x n a 11 x 1 + a 12 x

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