Working with Block Structured Matrices

Size: px
Start display at page:

Download "Working with Block Structured Matrices"

Transcription

1 Working with Block Structured Matrices Numerical linear algebra lies at the heart of modern scientific computing and computational science. Today it is not uncommon to perform numerical computations with matrices having millions of components. The key to understanding how to implement such algorithms is to exploit underlying structure within the matrices. In these notes we touch on a few ideas and tools for dissecting matrix structure. Specifically we are concerned with block matrix structures.. Rows and Columns Let A IR m n so that A has m rows and n columns. Denote the element of A in the ith row and jth column as A ij. Denote the m rows of A by A A 2 A 3... A m and the n columns of A by A A 2 A 3... A n. For example if then A 24 = 00 A = A = [ A 2 = [ A 3 = [ and A = Exercise: If 3 2 A 2 = 2 27 A 3 = 32 A 4 = 5 00 A 5 = 7 0 A 6 = C = what are C 44 C 4 and C 4? For example C 2 = [ and C 2 = The block structuring of a matrix into its rows and columns is of fundamental importance and is extremely useful in understanding the properties of a matrix. In particular for A IR m n it allows us to write A A 2 A = A 3. and A = [ A A 2 A 3... A n. A m

2 2 These are called the row and column block representations of A respectively.. Matrix vector Multiplication. Let A IR m n and x IR n. In terms of its coordi- x nates (or components) we can also write x = 2. with each x j IR. The term x j is called x n the jth component of x. For example if x = then n = 3 x = 5 x 2 = 00 x 3 = 22. We define the matrix-vector product Ax by A x A 2 x Ax = A 3 x. A m x where for each i = 2... m A i x is the dot product of the ith row of A with x and is given by n A i x = A ij x j. For example if then Exercise: If what is Cx? A = j= x and x = C = Ax = and x =

3 Note that if A IR m n and x IR n then Ax is always well defined with Ax IR m. In terms of components the ith component of Ax is given by the dot product of the ith row of A (i.e. A i ) and x (i.e. A i x). The view of the matrix-vector product described above is the row-space perspective where the term row-space will be given a more rigorous definition at a later time. But there is a very different way of viewing the matrix-vector product based on a column-space perspective. This view uses the notion of the linear combination of a collection of vectors. Given k vectors v v 2... v k IR n and k scalars α α 2... α k IR we can form the vector α v + α 2 v α k v k IR n. Any vector of this kind is said to be a linear combination of the vectors v v 2... v k where the α α 2... α k are called the coefficients in the linear combination. The set of all such vectors formed as linear combinations of v v 2... v k is said to be the linear span of v v 2... v k and is denoted Ax = Span { v v 2... v k} := { α v + α 2 v α k v k α α 2... α k IR }. Returning to the matrix-vector product one has that A x + A 2 x 2 + A 3 x A n x n A 2 x + A 22 x 2 + A 23 x A 2n x n... A m x + A m2 x 2 + A m3 x A mn x n = x A + x 2 A 2 + x 3 A x n A n which is a linear combination of the columns of A. That is we can view the matrix-vector product Ax as taking a linear combination of the columns of A where the coefficients in the linear combination are the coordinates of the vector x. We now have two fundamentally different ways of viewing the matrix-vector product Ax. Row-Space view of Ax: Column-Space view of Ax: A x A 2 x Ax = A 3 x. A m x Ax = x A + x 2 A 2 + x 3 A x n A n. 2. Matrix Multiplication We now build on our notion of a matrix-vector product to define a notion of a matrixmatrix product which we call matrix multiplication. Given two matrices A IR m n and B IR n k note that each of the columns of B resides in IR n i.e. B j IR n i = 2... k. Therefore each of the matrix-vector products AB j is well defined for j = 2... k. This 3

4 4 allows us to define a matrix-matrix product that exploits the block column structure of B by setting () AB := [ AB AB 2 AB 3 AB k. Note that the jth column of AB is (AB) j = AB j IR m and that AB IR m k i.e. Also note that if H IR m n and L IR n k then HL IR m k. if T IR s t and M IR r l then the matrix product T M is only defined when t = r. For example if 2 0 A = and B = then Exercise: if C = 2 2 AB = A is CD well defined and if so what is it? A = and D = The formula () can be used to give further insight into the individual components of the matrix product AB. By the definition of the matrix-vector product we have for each j = 2... k AB j = A B j A 2 B j. A m B j Consequently (AB) ij = A i B j i = 2... m j = 2... k. That is the element of AB in the ith row and jth column (AB) ij is the dot product of the ith row of A with the jth column of B.

5 2.. Elementary Matrices. We define the elementary unit coordinate matrices in IR m n in much the same way as we define the elementary unit coordinate vectors. Given i { 2... m} and j { 2... n} the elementary unit coordinate matrix E ij IR m n is the matrix whose ij entry is with all other entries taking the value zero. This is a slight abuse of notation since the notation E ij is supposed to represent the ijth entry in the matrix E. To avoid confusion we reserve the use of the letter E when speaking of matrices to the elementary matrices. Exercise: (Multiplication of square elementary matrices)let i k { 2... m} and j l { 2... m}. Show the following for elementary matrices in IR m m first for m = 3 and then in general. { Eil if j = k () E ij E kl = 0 otherwise. (2) For any α IR if i j then (I m m αe ij )(I m m + αe ij ) = I m m so that (I m m + αe ij ) = (I m m αe ij ). (3) For any α IR with α 0 (I + (α )E ii )(I + (α )E ii ) = I so that (I + (α )E ii ) = (I + (α )E ii ). Exercise: (Elementary permutation matrices)let i l { 2... m} and consider the matrix P ij IR m m obtained from the identity matrix by interchanging its i and lth rows. We call such a matrix an elementary permutation matrix. Again we are abusing notation but again we reserve the letter P for permutation matrices (and later for projection matrices). Show the following are true first for m = 3 and then in general. () P il P il = I m m so that P il = P il. (2) Pil T = P il. (3) P il = I E ii E ll + E il + E li. Exercise: (Three elementary row operations as matrix multiplication)in this exercise we show that the three elementary row operations can be performed by left multiplication by an invertible matrix. Let A IR m n α IR and let i l { 2... m} and j { 2... n}. Show that the following results hold first for m = n = 3 and then in general. () (row interchanges) Given A IR m n the matrix P ij A is the same as the matrix A except with the i and jth rows interchanged. (2) (row multiplication) Given α IR with α 0 show that the matrix (I + (α )E ii )A is the same as the matrix A except with the ith row replaced by α times the ith row of A. (3) Show that matrix E ij A is the matrix that contains the jth row of A in its ith row with all other entries equal to zero. (4) (replace a row by itself plus a multiple of another row) Given α IR and i j show that the matrix (I + αe ij )A is the same as the matrix A except with the ith row replaced by itself plus α times the jth row of A. 5

6 Associativity of matrix multiplication. Note that the definition of matrix multiplication tells us that this operation is associative. That is if A IR m n B IR n k and C IR k s then AB IR m k so that (AB)C is well defined and BC IR n s so that A(BC) is well defined and moreover (AB)C = (2) (AB)C (AB)C 2 (AB)C s where for each l = 2... s Therefore we may write (2) as (AB)C l = [ AB AB 2 AB 3 AB k C l = C l AB + C 2l AB C kl AB k = A [ C l B + C 2l B C kl B k = A(BC l ). (AB)C = [ (AB)C (AB)C 2 (AB)C s = [ A(BC ) A(BC 2 )... A(BC s ) = A [ BC BC 2... BC s = A(BC). Due to this associativity property we may dispense with the parentheses and simply write ABC for this triple matrix product. Obviously longer products are possible. Exercise:Consider the following matrices: A = B = C = D = F = G = Using these matrices which pairs can be multiplied together and in what order? Which triples can be multiplied together and in what order (e.g. the triple product BAC is well defined)? Which quadruples can be multiplied together and in what order? Perform all of these multiplications. 3. Block Matrix Multiplication To illustrate the general idea of block structures consider the following matrix A =

7 Visual inspection tells us that this matrix has structure. But what is it and how can it be represented? We re-write the the matrix given above blocking out some key structures: 7 A = = [ B I C where B = C = [ I 3 3 is the 3 3 identity matrix and is the 2 3 zero matrix. Having established this structure for the matrix A it can now be exploited in various ways. As a simple example we consider how it can be used in matrix multiplication. Consider the matrix M = The matrix product AM is well defined since A is 5 6 and M is 6 2. We show how to compute this matrix product using the structure of A. To do this we must first block decompose M conformally with the block decomposition of A. Another way to say this is that we must give M a block structure that allows us to do block matrix multiplication with the blocks of A. The correct block structure for M is. [ X M = Y where X = and Y =

8 8 B I3 3 since then X can multiply and Y can multiply. This gives C B I3 3 X BX + Y AM = = C Y CY = = Block structured matrices and their matrix product is a very powerful tool in matrix analysis. Consider the matrices M IR n m and T IR m k given by An m M = B n m 2 C n2 m D n2 m 2 and Em k T = F m k 2 G m k 3 H m2 k J m2 k 2 K m2 k 3 where n = n + n 2 m = m + m 2 and k = k + k 2 + k 3. The block structures for the matrices M and T are said to be conformal with respect to matrix multiplication since AE + BH AF + BJ AG + BK MT =. CE + DH CF + DJ CG + DK Similarly one can conformally block structure matrices with respect to matrix addition (how is this done?). Exercise:Consider the the matrix H = Does H have a natural block structure that might be useful in performing a matrix-matrix multiply and if so describe it by giving the blocks? Describe a conformal block decomposition

9 of the matrix M = that would be useful in performing the matrix product HM. Compute the matrix product HM using this conformal decomposition. Exercise:Let T IR m n with T 0 and let I be the m m identity matrix. Consider the block structured matrix A = [ I T. (i) If A IR k s what are k and s? (ii) Construct a non-zero s n matrix B such that AB = 0. The examples given above illustrate how block matrix multiplication works and why it might be useful. One of the most powerful uses of block structures is in understanding and implementing standard matrix factorizations or reductions. 4. Gauss-Jordan Elimination Matrices and Reduction to Reduced Echelon Form In this section we show that Gaussian-Jordan elimination can be represented as a consequence of left multiplication by a specially designed matrix called a Gaussian-Jordan elimination matrix. Consider the vector v IR m block decomposed as v = a α b where a IR s α IR and b IR t with m = s + + t. In this vector we refer to the α entry as the pivot and assume that α 0. We wish to determine a matrix G such that Gv = e s+ where for j =... n e j is the unit coordinate vector having a one in the jth position and zeros elsewhere. We claim that the matrix G = I s s α a 0 0 α 0 0 α b I t t does the trick. Indeed (3) Gv = I s s α a 0 0 α 0 0 α b I t t a α b = a a α α b + b = 0 0 = e s+. 9

10 0 The matrix G is called a Gaussian-Jordan Elimination Matrix or GJEM for short. Note that G is invertible since G = I a 0 0 α 0 0 b I Moreover for any vector of the form w = x 0 y Gw = w. where x IR s y IR t we have The GJEM matrices perform precisely the operations required in order to execute Gauss- Jordan elimination. That is each elimination step can be realized as left multiplication of the augmented matrix by the appropriate GJEM. For example consider the linear system 2x + x 2 + 3x 3 = 5 2x + 2x 2 + 4x 3 = 8 4x + 2x 2 + 7x 3 = 5x + 3x 2 + 4x 3 = 0 and its associated augmented matrix A = The first step of Gauss-Jordan elimination is to transform the first column of this augmented matrix into the first unit coordinate vector. The procedure described in (3) can be employed for this purpose. In this case the pivot is the ( ) entry of the augmented matrix and so which gives s = 0 a is void α = 2 t = 3 and b = / G = /2 0 0 Multiplying these two matrices gives / /2 3/2 5/2 G A = = / /2 7/2 5/2

11 We now repeat this process to transform the second column of this matrix into the second unit coordinate vector. In this case the (2 2) position becomes the pivot so that 0 s = a = /2 α = t = 2 and b = /2 yielding /2 0 0 G 2 = /2 0 Again multiplying these two matrices gives /2 0 0 /2 3/2 5/2 0 G 2 G A = = /2 0 0 /2 7/2 5/ Repeating the process on the third column transforms it into the third unit coordinate vector. In this case the pivot is the (3 3) entry so that [ s = 2 a = α = t = and b = 4 yielding 0 0 G 3 = Multiplying these matrices gives G 3 G 2 G A = = which is in reduced echelon form. Therefore the system is consistent and the unique solution is Observe that x = /2 0 G 3 G 2 G = /2 4

12 2 and that (G 3 G 2 G ) = G / = / = G 2 G In particular reduced Gauss-Jordan form can always be achieved by multiplying the augmented matrix on the left by an invertible matrix which can be written as a product of Gauss-Jordan elimination matrices. 2 Exercise:What are the Gauss-Jordan elimination matrices that transform the vector in to e j for j = and what are the inverses of these matrices? 5. The Four Fundamental Subspaces and Echelon Form Let A IR m n. We associate with A its four fundamental subspaces: In the text it is shown that Ran (A) := {Ax x IR n } Null (A) := {x Ax = 0} Ran (A T ) := { A T y y IR m } Null (A T ) := { y A T y = 0 }. (4) rank(a) + nullity(a) = n and where (5) Observe that rank(a) := dim Ran (A) rank(a T ) + nullity(a T ) = m nullity(a) := dim Null (A) rank(a T ) := dim Ran (A T ) nullity(a T ) := dim Null (A T ) Null (A) := {x Ax = 0} = {x A i x = 0 i = 2... m} = {A A 2... A m } = Span {A A 2... A m } = Ran (A T ).

13 3 Since for any subspace S IR n we have (S ) = S we obtain (6) Null (A) = Ran (A T ) and Null (A T ) = Ran (A). The equivalences in (6) are called the Fundamental Theorem of the Alternative. By combining this with the rank-plus-nullity equals dimension statement in (4) we find that rank(a T ) = dim Ran (A T ) = dim Null (A) = n nullity(a) = rank(a). Consequently the row rank of a matrix equals the column rank of a matrix i.e. the dimensions of the row and column spaces of a matrix are the same! These observations have consequences for computing bases for the four fundamental subspaces of a matrix using reduced echelon form. Again consider A IR m n and form the augmented matrix [A I m. Apply the necessary sequence of Gauss-Jordan eliminations to put this matrix in reduced echelon form. If each column has a non-zero pivot then the reduced echelon form looks like (7) Ik T R R F I (m k) where T IR k (n k) R IR k k and F IR (m k) k. rank(a) = k and nullity(a) = n k. A basis for Ran (A): Observe that (7) implies that Ik T GA = 0 0 where is an invertible matrix. In particular G = R R 2 F I (m k) This representation tells us that GA j = e j for j = 2... k. Therefore the vectors A j j = 2... k are linearly independent (since G is invertible and the vectors e j for j = 2... k are linearly independent). Since rank(a) = k these vectors necessarily form a basis for Ran (A). The reduced echelon form (7) provides a second way to obtain a basis for Ran (A). To see this observe that if b Ran (A) then we can obtain a solution to Ax = b. In particular R R GAx = Gb = 2 b F I (m k) b 2 where b IR k and b 2 IR (m k) is a decomposition of b that is conformal to the block structure of G. But then b 0 = [F I (m k) b 2 = F b + b 2

14 4 or equivalently b 2 = F b. This is a necessary and sufficient condition for b to be an element of Ran (A). Therefore b Ran (A) if and only if there is a vector b IR k such that Ik b = b F. Ik Since the matrix has k = rank(a) columns these columns must form a basis for F Ran (A). Basis for the Null (A): Since G is invertible we know that Ax = 0 if and only if GAx = 0. Since nullity(a) = n k we need only find n k linearly independent vectors such that GAx = 0 or equivalently [I k T x = 0. For this observe that T [I T = T + T = 0 I (n k) T where the matrix has n k linearly independent columns. Therefore the columns I (n k) of this matrix necessarily form a basis for Null (A). Basis for Ran (A T ): Recall that A T = rank(a) = k. Therefore to obtain a basis for A T we need only obtain k linearly independent vectors in the row space of A. But by construction the matrix Ik T 0 0 is row equivalent to A with the rows of [I k T necessarily linearly independent. Consequently the columns of the matrix [I k T T Ik = T T necessarily form a basis for the range of A T. Basis for Null (A T ): By (6) Null (A T ) = Ran (A). Therefore to obtain a basis for Null (A T ) we need only find m k linearly independent vectors in Ran (A). But we have Ik already seen that the columns of the matrix form a basis for the Ran (A) and F F [I k F T T = F I T F T = 0 (m k) F T with the columns of necessarily linearly independent. Therefore the columns of I (m k) this matrix must form a basis for Null (A T ). Recap: Putting this all together we find that if A IR m n is such that [A I has echelon form Ik T R (8) R F I (m k)

15 with T IR k (n k) R IR k k and F IR (m k) k then a bases for Ran (A) Null (A) Ran (A T ) and Null (A T ) are given by the columns of the matrices Ik T Ik F T (9) F I (n k) T T and I (m k) respectively. Example:Consider the matrix A = Reducing [A I 3 to reduced echelon form gives Using the notation from (8) we have m = 3 n = 4 k = 2 n k = 2 m k = [ T = R 3 = R 2 = and F = [ 3. 0 This may be easier to see by conformally partitioning the reduced echelon form of [A I 3 as Ik T R R 2 = F I (m k) Then the bases of the four fundamental subspaces are given as the columns of the following matrices: Ik Ran (A) = 0 0 F T Null (A) = 3 I (n k) Ran (A T Ik ) T T = F Null (A T T ) = 3. I (m k). 5

16 6 Example:Consider the matrix A = It has echelon form G[A I = Show that the bases of the four fundamental subspaces are given as the columns of the following matrices and identify which subspace goes with which matrix: It may happen that the reduced echelon form of [A I does not take the form given in (8) if a zero pivot occurs. In this case formulas similar to the ones given in (9) are possible and can be described in a straightforward manner but the notational overhead is quite high. Nonetheless it is helpful to see what is possible therefore we consider one more reduced echelon structure below. The proof is left to the reader. Suppose A IR m n is such that [A I m has reduced echelon form (0) I k T 0 T 2 R R I k2 T 22 R 2 R F I m k where k := k + k 2 is the rank of A n k = t + t 2 =: t is the nullity of A T IR k t T 2 IR k t 2 and T 22 IR k 2 t 2. Then the bases of the four fundamental subspaces are given as the columns of the following matrices: Ran (A) Ik F I k 0 Ran (A T ) T T 0 0 I k2 T2 T T22 T T T 2 Null (A) I t 0 0 T 22 0 I t2 Null (A T ) [ F T I (m k). Example:Consider the matrix

17 The reduced echelon form for [A I is the matrix Show that the bases of the four fundamental subspaces are given as the columns of the following matrices and identify which subspace goes with which matrix: Hint: Identify all of the pieces in the reduced echelon form (0) from the partitioning I k T 0 T 2 R R I k2 T 22 R 2 R 22 = F I m k

Review of Matrices and Block Structures

Review of Matrices and Block Structures CHAPTER 2 Review of Matrices and Block Structures Numerical linear algebra lies at the heart of modern scientific computing and computational science. Today it is not uncommon to perform numerical computations

More information

Math 323 Exam 2 Sample Problems Solution Guide October 31, 2013

Math 323 Exam 2 Sample Problems Solution Guide October 31, 2013 Math Exam Sample Problems Solution Guide October, Note that the following provides a guide to the solutions on the sample problems, but in some cases the complete solution would require more work or justification

More information

Chapter 1. Vectors, Matrices, and Linear Spaces

Chapter 1. Vectors, Matrices, and Linear Spaces 1.4 Solving Systems of Linear Equations 1 Chapter 1. Vectors, Matrices, and Linear Spaces 1.4. Solving Systems of Linear Equations Note. We give an algorithm for solving a system of linear equations (called

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

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

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

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

More information

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

x y + z = 3 2y z = 1 4x + y = 0

x y + z = 3 2y z = 1 4x + y = 0 MA 253: Practice Exam Solutions You may not use a graphing calculator, computer, textbook, notes, or refer to other people (except the instructor). Show all of your work; your work is your answer. Problem

More information

Row Space and Column Space of a Matrix

Row Space and Column Space of a Matrix Row Space and Column Space of a Matrix 1/18 Summary: To a m n matrix A = (a ij ), we can naturally associate subspaces of K n and of K m, called the row space of A and the column space of A, respectively.

More information

Matrices and systems of linear equations

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

More information

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

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

MAT2342 : Introduction to Applied Linear Algebra Mike Newman, fall Projections. introduction

MAT2342 : Introduction to Applied Linear Algebra Mike Newman, fall Projections. introduction MAT4 : Introduction to Applied Linear Algebra Mike Newman fall 7 9. Projections introduction One reason to consider projections is to understand approximate solutions to linear systems. A common example

More information

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

7.5 Operations with Matrices. Copyright Cengage Learning. All rights reserved. 7.5 Operations with Matrices Copyright Cengage Learning. All rights reserved. What You Should Learn Decide whether two matrices are equal. Add and subtract matrices and multiply matrices by scalars. Multiply

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

CSL361 Problem set 4: Basic linear algebra

CSL361 Problem set 4: Basic linear algebra CSL361 Problem set 4: Basic linear algebra February 21, 2017 [Note:] If the numerical matrix computations turn out to be tedious, you may use the function rref in Matlab. 1 Row-reduced echelon matrices

More information

GAUSSIAN ELIMINATION AND LU DECOMPOSITION (SUPPLEMENT FOR MA511)

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

More information

Elementary Linear Algebra Review for Exam 2 Exam is Monday, November 16th.

Elementary Linear Algebra Review for Exam 2 Exam is Monday, November 16th. Elementary Linear Algebra Review for Exam Exam is Monday, November 6th. The exam will cover sections:.4,..4, 5. 5., 7., the class notes on Markov Models. You must be able to do each of the following. Section.4

More information

MTH 362: Advanced Engineering Mathematics

MTH 362: Advanced Engineering Mathematics MTH 362: Advanced Engineering Mathematics Lecture 5 Jonathan A. Chávez Casillas 1 1 University of Rhode Island Department of Mathematics September 26, 2017 1 Linear Independence and Dependence of Vectors

More information

10. Rank-nullity Definition Let A M m,n (F ). The row space of A is the span of the rows. The column space of A is the span of the columns.

10. Rank-nullity Definition Let A M m,n (F ). The row space of A is the span of the rows. The column space of A is the span of the columns. 10. Rank-nullity Definition 10.1. Let A M m,n (F ). The row space of A is the span of the rows. The column space of A is the span of the columns. The nullity ν(a) of A is the dimension of the kernel. The

More information

Linear Algebra Handout

Linear Algebra Handout Linear Algebra Handout References Some material and suggested problems are taken from Fundamentals of Matrix Algebra by Gregory Hartman, which can be found here: http://www.vmi.edu/content.aspx?id=779979.

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

Topics. Vectors (column matrices): Vector addition and scalar multiplication The matrix of a linear function y Ax The elements of a matrix A : A ij

Topics. Vectors (column matrices): Vector addition and scalar multiplication The matrix of a linear function y Ax The elements of a matrix A : A ij Topics Vectors (column matrices): Vector addition and scalar multiplication The matrix of a linear function y Ax The elements of a matrix A : A ij or a ij lives in row i and column j Definition of a matrix

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 REVIEW

LINEAR ALGEBRA REVIEW LINEAR ALGEBRA REVIEW SPENCER BECKER-KAHN Basic Definitions Domain and Codomain. Let f : X Y be any function. This notation means that X is the domain of f and Y is the codomain of f. This means that for

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

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

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

Midterm 1 Solutions Math Section 55 - Spring 2018 Instructor: Daren Cheng

Midterm 1 Solutions Math Section 55 - Spring 2018 Instructor: Daren Cheng Midterm 1 Solutions Math 20250 Section 55 - Spring 2018 Instructor: Daren Cheng #1 Do the following problems using row reduction. (a) (6 pts) Let A = 2 1 2 6 1 3 8 17 3 5 4 5 Find bases for N A and R A,

More information

Problem Set (T) If A is an m n matrix, B is an n p matrix and D is a p s matrix, then show

Problem Set (T) If A is an m n matrix, B is an n p matrix and D is a p s matrix, then show MTH 0: Linear Algebra Department of Mathematics and Statistics Indian Institute of Technology - Kanpur Problem Set Problems marked (T) are for discussions in Tutorial sessions (T) If A is an m n matrix,

More information

4 Elementary matrices, continued

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

More information

SUMMARY OF MATH 1600

SUMMARY OF MATH 1600 SUMMARY OF MATH 1600 Note: The following list is intended as a study guide for the final exam. It is a continuation of the study guide for the midterm. It does not claim to be a comprehensive list. You

More information

EE731 Lecture Notes: Matrix Computations for Signal Processing

EE731 Lecture Notes: Matrix Computations for Signal Processing EE731 Lecture Notes: Matrix Computations for Signal Processing James P. Reilly c Department of Electrical and Computer Engineering McMaster University September 22, 2005 0 Preface This collection of ten

More information

Section 2.2: The Inverse of a Matrix

Section 2.2: The Inverse of a Matrix Section 22: The Inverse of a Matrix Recall that a linear equation ax b, where a and b are scalars and a 0, has the unique solution x a 1 b, where a 1 is the reciprocal of a From this result, it is natural

More information

Notes on Row Reduction

Notes on Row Reduction Notes on Row Reduction Francis J. Narcowich Department of Mathematics Texas A&M University September The Row-Reduction Algorithm The row-reduced form of a matrix contains a great deal of information, both

More information

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

Equality: Two matrices A and B are equal, i.e., A = B if A and B have the same order and the entries of A and B are the same. Introduction Matrix Operations Matrix: An m n matrix A is an m-by-n array of scalars from a field (for example real numbers) of the form a a a n a a a n A a m a m a mn The order (or size) of A is m n (read

More information

MATH 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

System of Linear Equations

System of Linear Equations Chapter 7 - S&B Gaussian and Gauss-Jordan Elimination We will study systems of linear equations by describing techniques for solving such systems. The preferred solution technique- Gaussian elimination-

More information

MATH 240 Spring, Chapter 1: Linear Equations and Matrices

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

More information

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

LECTURES 14/15: LINEAR INDEPENDENCE AND BASES

LECTURES 14/15: LINEAR INDEPENDENCE AND BASES LECTURES 14/15: LINEAR INDEPENDENCE AND BASES MA1111: LINEAR ALGEBRA I, MICHAELMAS 2016 1. Linear Independence We have seen in examples of span sets of vectors that sometimes adding additional vectors

More information

Gaussian elimination

Gaussian elimination Gaussian elimination October 14, 2013 Contents 1 Introduction 1 2 Some definitions and examples 2 3 Elementary row operations 7 4 Gaussian elimination 11 5 Rank and row reduction 16 6 Some computational

More information

SECTION 3.3. PROBLEM 22. The null space of a matrix A is: N(A) = {X : AX = 0}. Here are the calculations of AX for X = a,b,c,d, and e. =

SECTION 3.3. PROBLEM 22. The null space of a matrix A is: N(A) = {X : AX = 0}. Here are the calculations of AX for X = a,b,c,d, and e. = SECTION 3.3. PROBLEM. The null space of a matrix A is: N(A) {X : AX }. Here are the calculations of AX for X a,b,c,d, and e. Aa [ ][ ] 3 3 [ ][ ] Ac 3 3 [ ] 3 3 [ ] 4+4 6+6 Ae [ ], Ab [ ][ ] 3 3 3 [ ]

More information

MAT 242 CHAPTER 4: SUBSPACES OF R n

MAT 242 CHAPTER 4: SUBSPACES OF R n MAT 242 CHAPTER 4: SUBSPACES OF R n JOHN QUIGG 1. Subspaces Recall that R n is the set of n 1 matrices, also called vectors, and satisfies the following properties: x + y = y + x x + (y + z) = (x + y)

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

Solving Systems of Linear Equations

Solving Systems of Linear Equations LECTURE 5 Solving Systems of Linear Equations Recall that we introduced the notion of matrices as a way of standardizing the expression of systems of linear equations In today s lecture I shall show how

More information

Department of Aerospace Engineering AE602 Mathematics for Aerospace Engineers Assignment No. 4

Department of Aerospace Engineering AE602 Mathematics for Aerospace Engineers Assignment No. 4 Department of Aerospace Engineering AE6 Mathematics for Aerospace Engineers Assignment No.. Decide whether or not the following vectors are linearly independent, by solving c v + c v + c 3 v 3 + c v :

More information

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

Fundamentals of Linear Algebra. Marcel B. Finan Arkansas Tech University c All Rights Reserved Fundamentals of Linear Algebra Marcel B. Finan Arkansas Tech University c All Rights Reserved 2 PREFACE Linear algebra has evolved as a branch of mathematics with wide range of applications to the natural

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

Rank and Nullity. MATH 322, Linear Algebra I. J. Robert Buchanan. Spring Department of Mathematics

Rank and Nullity. MATH 322, Linear Algebra I. J. Robert Buchanan. Spring Department of Mathematics Rank and Nullity MATH 322, Linear Algebra I J. Robert Buchanan Department of Mathematics Spring 2015 Objectives We have defined and studied the important vector spaces associated with matrices (row space,

More information

MATH 20F: LINEAR ALGEBRA LECTURE B00 (T. KEMP)

MATH 20F: LINEAR ALGEBRA LECTURE B00 (T. KEMP) MATH 20F: LINEAR ALGEBRA LECTURE B00 (T KEMP) Definition 01 If T (x) = Ax is a linear transformation from R n to R m then Nul (T ) = {x R n : T (x) = 0} = Nul (A) Ran (T ) = {Ax R m : x R n } = {b R m

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

Section 3.3. Matrix Rank and the Inverse of a Full Rank Matrix

Section 3.3. Matrix Rank and the Inverse of a Full Rank Matrix 3.3. Matrix Rank and the Inverse of a Full Rank Matrix 1 Section 3.3. Matrix Rank and the Inverse of a Full Rank Matrix Note. The lengthy section (21 pages in the text) gives a thorough study of the rank

More information

Chapter 2: Matrices and Linear Systems

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

More information

INVERSE OF A MATRIX [2.2]

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

More information

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

Row Space, Column Space, and Nullspace

Row Space, Column Space, and Nullspace Row Space, Column Space, and Nullspace MATH 322, Linear Algebra I J. Robert Buchanan Department of Mathematics Spring 2015 Introduction Every matrix has associated with it three vector spaces: row space

More information

Lecture 22: Section 4.7

Lecture 22: Section 4.7 Lecture 22: Section 47 Shuanglin Shao December 2, 213 Row Space, Column Space, and Null Space Definition For an m n, a 11 a 12 a 1n a 21 a 22 a 2n A = a m1 a m2 a mn, the vectors r 1 = [ a 11 a 12 a 1n

More information

Jim Lambers MAT 610 Summer Session Lecture 1 Notes

Jim Lambers MAT 610 Summer Session Lecture 1 Notes Jim Lambers MAT 60 Summer Session 2009-0 Lecture Notes Introduction This course is about numerical linear algebra, which is the study of the approximate solution of fundamental problems from linear algebra

More information

1111: Linear Algebra I

1111: Linear Algebra I 1111: Linear Algebra I Dr. Vladimir Dotsenko (Vlad) Lecture 13 Dr. Vladimir Dotsenko (Vlad) 1111: Linear Algebra I Lecture 13 1 / 8 The coordinate vector space R n We already used vectors in n dimensions

More information

4 Elementary matrices, continued

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

More information

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

The Four Fundamental Subspaces

The Four Fundamental Subspaces The Four Fundamental Subspaces Introduction Each m n matrix has, associated with it, four subspaces, two in R m and two in R n To understand their relationships is one of the most basic questions in linear

More information

Vector Spaces, Orthogonality, and Linear Least Squares

Vector Spaces, Orthogonality, and Linear Least Squares Week Vector Spaces, Orthogonality, and Linear Least Squares. Opening Remarks.. Visualizing Planes, Lines, and Solutions Consider the following system of linear equations from the opener for Week 9: χ χ

More information

EA = I 3 = E = i=1, i k

EA = I 3 = E = i=1, i k MTH5 Spring 7 HW Assignment : Sec.., # (a) and (c), 5,, 8; Sec.., #, 5; Sec.., #7 (a), 8; Sec.., # (a), 5 The due date for this assignment is //7. Sec.., # (a) and (c). Use the proof of Theorem. to obtain

More information

Methods for Solving Linear Systems Part 2

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

More information

MATH 304 Linear Algebra Lecture 20: Review for Test 1.

MATH 304 Linear Algebra Lecture 20: Review for Test 1. MATH 304 Linear Algebra Lecture 20: Review for Test 1. Topics for Test 1 Part I: Elementary linear algebra (Leon 1.1 1.4, 2.1 2.2) Systems of linear equations: elementary operations, Gaussian elimination,

More information

GEOMETRY OF MATRICES x 1

GEOMETRY OF MATRICES x 1 GEOMETRY OF MATRICES. SPACES OF VECTORS.. Definition of R n. The space R n consists of all column vectors with n components. The components are real numbers... Representation of Vectors in R n.... R. The

More information

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

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

More information

Algorithms to Compute Bases and the Rank of a Matrix

Algorithms to Compute Bases and the Rank of a Matrix Algorithms to Compute Bases and the Rank of a Matrix Subspaces associated to a matrix Suppose that A is an m n matrix The row space of A is the subspace of R n spanned by the rows of A The column space

More information

Math 123, Week 5: Linear Independence, Basis, and Matrix Spaces. Section 1: Linear Independence

Math 123, Week 5: Linear Independence, Basis, and Matrix Spaces. Section 1: Linear Independence Math 123, Week 5: Linear Independence, Basis, and Matrix Spaces Section 1: Linear Independence Recall that every row on the left-hand side of the coefficient matrix of a linear system A x = b which could

More information

Lecture 2 Systems of Linear Equations and Matrices, Continued

Lecture 2 Systems of Linear Equations and Matrices, Continued Lecture 2 Systems of Linear Equations and Matrices, Continued Math 19620 Outline of Lecture Algorithm for putting a matrix in row reduced echelon form - i.e. Gauss-Jordan Elimination Number of Solutions

More information

7. Dimension and Structure.

7. Dimension and Structure. 7. Dimension and Structure 7.1. Basis and Dimension Bases for Subspaces Example 2 The standard unit vectors e 1, e 2,, e n are linearly independent, for if we write (2) in component form, then we obtain

More information

4.9 The Rank-Nullity Theorem

4.9 The Rank-Nullity Theorem For Problems 7 10, use the ideas in this section to determine a basis for the subspace of R n spanned by the given set of vectors. 7. {(1, 1, 2), (5, 4, 1), (7, 5, 4)}. 8. {(1, 3, 3), (1, 5, 1), (2, 7,

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

SYMBOL EXPLANATION EXAMPLE

SYMBOL EXPLANATION EXAMPLE MATH 4310 PRELIM I REVIEW Notation These are the symbols we have used in class, leading up to Prelim I, and which I will use on the exam SYMBOL EXPLANATION EXAMPLE {a, b, c, } The is the way to write the

More information

Math 313 Chapter 5 Review

Math 313 Chapter 5 Review Math 313 Chapter 5 Review Howard Anton, 9th Edition May 2010 Do NOT write on me! Contents 1 5.1 Real Vector Spaces 2 2 5.2 Subspaces 3 3 5.3 Linear Independence 4 4 5.4 Basis and Dimension 5 5 5.5 Row

More information

1. Determine by inspection which of the following sets of vectors is linearly independent. 3 3.

1. Determine by inspection which of the following sets of vectors is linearly independent. 3 3. 1. Determine by inspection which of the following sets of vectors is linearly independent. (a) (d) 1, 3 4, 1 { [ [,, 1 1] 3]} (b) 1, 4 5, (c) 3 6 (e) 1, 3, 4 4 3 1 4 Solution. The answer is (a): v 1 is

More information

Chapter 4. Solving Systems of Equations. Chapter 4

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

More information

What is A + B? What is A B? What is AB? What is BA? What is A 2? and B = QUESTION 2. What is the reduced row echelon matrix of A =

What is A + B? What is A B? What is AB? What is BA? What is A 2? and B = QUESTION 2. What is the reduced row echelon matrix of A = STUDENT S COMPANIONS IN BASIC MATH: THE ELEVENTH Matrix Reloaded by Block Buster Presumably you know the first part of matrix story, including its basic operations (addition and multiplication) and row

More information

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

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

More information

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

MTH 464: Computational Linear Algebra

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

More information

Math 1553 Introduction to Linear Algebra

Math 1553 Introduction to Linear Algebra Math 1553 Introduction to Linear Algebra Lecture Notes Chapter 2 Matrix Algebra School of Mathematics The Georgia Institute of Technology Math 1553 Lecture Notes for Chapter 2 Introduction, Slide 1 Section

More information

Math 369 Exam #2 Practice Problem Solutions

Math 369 Exam #2 Practice Problem Solutions Math 369 Exam #2 Practice Problem Solutions 2 5. Is { 2, 3, 8 } a basis for R 3? Answer: No, it is not. To show that it is not a basis, it suffices to show that this is not a linearly independent set.

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

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

Linear Algebra I Lecture 8

Linear Algebra I Lecture 8 Linear Algebra I Lecture 8 Xi Chen 1 1 University of Alberta January 25, 2019 Outline 1 2 Gauss-Jordan Elimination Given a system of linear equations f 1 (x 1, x 2,..., x n ) = 0 f 2 (x 1, x 2,..., x n

More information

Math 3C Lecture 20. John Douglas Moore

Math 3C Lecture 20. John Douglas Moore Math 3C Lecture 20 John Douglas Moore May 18, 2009 TENTATIVE FORMULA I Midterm I: 20% Midterm II: 20% Homework: 10% Quizzes: 10% Final: 40% TENTATIVE FORMULA II Higher of two midterms: 30% Homework: 10%

More information

Section 1.1 System of Linear Equations. Dr. Abdulla Eid. College of Science. MATHS 211: Linear Algebra

Section 1.1 System of Linear Equations. Dr. Abdulla Eid. College of Science. MATHS 211: Linear Algebra Section 1.1 System of Linear Equations College of Science MATHS 211: Linear Algebra (University of Bahrain) Linear System 1 / 33 Goals:. 1 Define system of linear equations and their solutions. 2 To represent

More information

Lecture 2: Linear Algebra

Lecture 2: Linear Algebra Lecture 2: Linear Algebra Rajat Mittal IIT Kanpur We will start with the basics of linear algebra that will be needed throughout this course That means, we will learn about vector spaces, linear independence,

More information

Linear Algebra. Chapter Linear Equations

Linear Algebra. Chapter Linear Equations Chapter 3 Linear Algebra Dixit algorizmi. Or, So said al-khwarizmi, being the opening words of a 12 th century Latin translation of a work on arithmetic by al-khwarizmi (ca. 78 84). 3.1 Linear Equations

More information

Linear Algebra (part 1) : Matrices and Systems of Linear Equations (by Evan Dummit, 2016, v. 2.02)

Linear Algebra (part 1) : Matrices and Systems of Linear Equations (by Evan Dummit, 2016, v. 2.02) Linear Algebra (part ) : Matrices and Systems of Linear Equations (by Evan Dummit, 206, v 202) Contents 2 Matrices and Systems of Linear Equations 2 Systems of Linear Equations 2 Elimination, Matrix Formulation

More information

Answers in blue. If you have questions or spot an error, let me know. 1. Find all matrices that commute with A =. 4 3

Answers in blue. If you have questions or spot an error, let me know. 1. Find all matrices that commute with A =. 4 3 Answers in blue. If you have questions or spot an error, let me know. 3 4. Find all matrices that commute with A =. 4 3 a b If we set B = and set AB = BA, we see that 3a + 4b = 3a 4c, 4a + 3b = 3b 4d,

More information

We see that this is a linear system with 3 equations in 3 unknowns. equation is A x = b, where

We see that this is a linear system with 3 equations in 3 unknowns. equation is A x = b, where Practice Problems Math 35 Spring 7: Solutions. Write the system of equations as a matrix equation and find all solutions using Gauss elimination: x + y + 4z =, x + 3y + z = 5, x + y + 5z = 3. We see that

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

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

Chapter 1: Linear Equations

Chapter 1: Linear Equations Chapter : Linear Equations (Last Updated: September, 6) The material for these notes is derived primarily from Linear Algebra and its applications by David Lay (4ed).. Systems of Linear Equations Before

More information

Lecture 12: Solving Systems of Linear Equations by Gaussian Elimination

Lecture 12: Solving Systems of Linear Equations by Gaussian Elimination Lecture 12: Solving Systems of Linear Equations by Gaussian Elimination Winfried Just, Ohio University September 22, 2017 Review: The coefficient matrix Consider a system of m linear equations in n variables.

More information