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

Size: px
Start display at page:

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

Transcription

1 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 of equations Moreover, some of the most frequently used models are linear models Today, we will cover the simplest possible systems of equations linear systems We will also examine some of the techniques for solving such systems In particular, we will rely on Matrix Algebra, and important tool in mathematical social science Linear Systems Consider the following two equations: 3x + x 7 x + x 3 These are typical linear equations straight lines They are called linear because their graphs are In general, an equation is linear if it has the form: a x + a x + + a n x n b The letters a,, a n and b stand for fixed numbers, such as 3 and 7 in the first equation These numbers are called parameters The letters x,, x n stand for variables The key feature of the general form of a linear equation is that each term of the equation contains at most one variable, and that variable appears only to the first power rather than to the second, third, or some other power

2 Linear equations are the most elementary ones that can arise In addition, the typically describe geometric objects such as lines or planes Linear systems have the added advantage that we can often calculate exact solutions to the equations Linearity, however, is usually a simplifying assumption: the real world is nonlinear While many models have a natural linear structure, many other ones are better described by a system of nonlinear equations In those latter cases, though, we can still use calculus to take the derivative of those equations and convert them to an approximating linear system For example, the best linear approximation to the graph of a nonlinear function at any point on its graph is the tangent line to the graph at that point Let s take a look now at different techniques for solving systems of linear equations Systems of Linear Equations Consider the problem of solving the linear systems of equations such as or 3x + x 7 x + x 3 x + x + x 3 5 x x 3 The general linear system of m equations in n unknowns can be written a x + a x + + a n x n b a x + a x + + a n x n b a m x + a m x + + a mn x n b m In this system, the a ij s and b i s are given real numbers The number a ij is the coefficient of the unknown x j in the ith equation A solution of this system of equations is an n-tuple of real numbers x, x,,,, x n which satisfies each of the m equations in the system For instance, going back to our examples x, x solves the first system And, x 5, x, x 3 solves the second

3 For any linear system such as the one described above, we are usually interested in answering the following three questions: Does a solution exist? How many solutions are there? 3 Is there an efficient algorithm that computes actual solutions? There are essentially three ways of solving such systems: substitution, elimination of variables, and 3 matrix methods Substitution Substitution is the method usually taught in beginning algebra classes To use this method, first we solve one equation of the system for one variable, say x n, in terms of the other variables in the equation Then, we substitute this expression for x n into the other m equations The result will be a new system of m equations in the n unknowns x,,,, x n We can continue this process until we reach a system with just a single equation, a situation which is easily solved Finally, we can use our expressions of one variable in terms of the others to find all the x i s Let s go back to our initial example, 3x + x 7 x + x 3 From the second equation we have x 3 x and on substitution for x in the first we get 3x + (3 x ) 7, which leads to the solution x, x That these values satisfy our system of equations is easily verified Thus we have shown that a solution exists in this case The question whether this is the only solution possible remains to be answered 3

4 Consider now the equations, 3x + x 7 6x + x 4 Casual inspection tells us that the left-hand sides of the two equations have the same relation as the right-hand sides; ie the second equation is double the first Therefore, in effect we have only one equation But if there is only one equation involving two unknowns we can have an infinite number of solutions In this example, it is easy to verify that the values x θ and x 7 3θ satisfy the system of equations, whatever the value of θ While the substitution method is straightforward, it is not a method around which we can generate general solutions of linear systems Elimination of Variables The method that is most conducive to theoretical analysis is the elimination of variables Consider now the equations, x x 8 3x + x 3 We can eliminate the variable x from this system by multiplying the first equation by 3 to obtain 3x + 6x 4 and adding this new equation to the second one The result is 7x or x 3 To find x, we substitute x 3 back into our second or first equation to compute that x Note that we chose to multiply the first equation by 3 precisely so that when we added the new equation to the second one, we would eliminate x from the system More generally, when we want to solve a system of m equations by elimination of variables, we can use the coefficient of x in the first equation to eliminate the term x from all the equations below it We can then do the same thing with the remaining terms, until we eliminate enough variables to have a simplified system that can be solved by substitution 4

5 Matrix Methods When we perform the method of elimination of variables, we have to carefully keep track of the coefficients a ij and the b i s of the system each time we transform our system Matrices In order to do these operations in a careful manner, it usually makes sense to simplify the representation of linear systems with the use of matrices A matrix is a rectangular array of numbers The idea is to treat such arrays as single objects To explicitly indicate this intention, we should enclose the array within brackets: Instead of brackets, sometimes you will see that parentheses or double ruling on both sides are also used: The numbers that constitute a matrix are called the element entries of the matrix We typically refer to the elements by their row and column numbers, in that order So, for example, the (,) element of the matrix presented above is the number 5; the (,3) is 7; and so on If a matrix has n rows and m columns, it has altogether n m elements The dimensions of a matrix are the number of rows and columns it contains A matrix that has n rows and m columns is said to be of order n by m, or n m Therefore, the matrix presented above is of order 3 by 3 or 3 3 In giving the order of a matrix, we always mention the number of rows first, followed by the number of columns We are now almost ready to start making our matrices work for us; but first, it is convenient to introduce some more terminology 5

6 We typically use a single letter as a label for a matrix and also to use letters to designate its elements so that we may refer to matrices with arbitrary elements To distinguish between the letter designations of matrices and those of their elements, we shall follow the convention of using boldface capital letters for matrices, and lowercase, ordinary letters for their elements An example is A a a a m a a a m a n a n a nm Here we use the label A for the n m matrix whose typical element is a ij Since the exact numerical values of n and m are not specified, it is not possible to write the matrix in full So, we use dots to indicate the elements not written It is often informative to write A n m ((a ij )) to indicate that the matrix A with n rows and m columns has a typical element a ij A vector is an ordered set of numbers arranged in either a row or a column Therefore, matrices containing only one row are often called row vectors Similarly, matrices containing only one column are called column vectors For example, [ 3 7 is a row vector, and 3 is a column vector 7 We typically denote a vector by a boldfaced lower case letter, as in a If A is an n m matrix and n equals m, then A is a square matrix Several particular types of square matrices are worth noting: A symmetric matrix, A, is one in which a ij a ji for all i and j For example, A

7 A diagonal matrix is a square matrix whose only nonzero elements appear on the main diagonal, moving from upper left to lower right For example, B 7 5 A scalar matrix is a diagonal matrix with the same value in all diagonal elements For example, C An identity matrix is a scalar matrix with ones on the diagonal This is always denoted I A subscript is sometimes included to indicate its size, or order For example, Algebraic Manipulation of Matrices I 3 Let s take a look now at some basic arithmetic operations of matrix algebra Equality of Matrices Two matrices (or vectors) are equal if and only if they have the same dimensions and their corresponding elements are equal A B if and only if a ij b ij for all i and j So, for example if A [ 3 4 and B [ x x 4 then A B implies that x and x 3 Transposition The transpose of a matrix A, denoted A, is obtained by creating the matrix whose mth row is the mth column of the original matrix 7

8 Thus, if B A, each column of A will appear as the corresponding row of B If A is n m, A is m n For example, A , A An equivalent definition of the transpose of a matrix is: B A b ij a ji for all i and j The definition of a symmetric matrix implies that if A is symmetric, A A For any A, (A ) A Finally, the transpose of a column vector, a, is a row vector: Matrix Addition and Subtraction a [ a a a n We define addition (subtraction) of matrices in terms of addition (subtraction) of their corresponding elements, C A + B [ a ij + b ij Matrices cannot be added unless they have the same dimensions, in which case they are said to be conformable for addition So, for example, if [ a a A a a [ b b and B b b then their sum is A + B [ (a + b ) (a + b ) (a + b ) (a + b ) By way of numerical example 8

9 [ [ [ ( + 5) ( + 6) (3 + 7) (4 + 8) A zero matrix or null matrix is one whose elements are all zero [ 6 8 In the addition of matrices, the zero matrix plays the same role as the scalar in scalar addition; that is, A + A We can also extend the operation of subtraction to matrices precisely as if they were scalars by performing the operation element by element Thus, A B [ a ij b ij It follows that matrix addition is commutative, A + B B + A, and associative, (A + B) + C A + (B + C), and that (A + B) A + B Multiplication by a Scalar Let k be an ordinary number (scalar) and A ((a ij )) be any matrix Then ka ((ka ij )) That is, to multiply a matrix by a scalar, we multiply each element of the matrix by that number It is easy to verify that multiplication of a matrix by a positive integer is the same as repeated addition For example, if A [ 3 4, 9

10 [ 4 6 A A + A 8 It is also the case that B n m A n m B n m + ( )A n m Matrix Multiplication Matrices are multiplied by using the inner product Let a be a row vector and b be a column vector Then, the inner product (or dot product) of a and b is a scalar and is written a b a b + a b + + a n b n For example a b [ (3) + 3(8) + 4() 35 Notice that in the expression above, each term a j b j equals b j a j ; hence a b b a Matrix-Vector Multiplication: Let A be a matrix and v a column vector such that the number of columns of A equals the number of elements in v Then, the product A times v, written Av, is a column vector c whose ith element is equal to the inner product of the ith row of A with v For example, the first element of c is [ c 5

11 the second element of c is [ and so on and so forth So, the vector c is NOTE: c If A is a 3 matrix, and Av is defined (where v is a column vector), then we know that v has 3 elements If C is a 3 matrix, and u is a column vector with elements only, then Cu is not defined Matrix Multiplication: For an n m matrix A and an m p matrix B, the product matrix, C AB, is an n p matrix whose ijth element equals the inner product of the row i of A and column j of B To avoid confusion, we can use the following notation: let a i denote the ith row of matrix A, and a i be the ith column of a matrix Then, So, for example: [ 3 4 [ C AB c ij a i b j [ (5) + (7) (6) + (8) 3(5) + 4(7) 3(6) + 4(8) [ Notice that the element c 43 in our new matrix is the dot product of a b [ 3 4 [ 5 7

12 To multiply two matrices, the number of columns in the first must be the same as the number of rows in the second, in which case, they are conformable for multiplication A simple way to check the conformability of two matrices for multiplication is to write down the dimensions of the operation, for example, (n m) times (m p) The inner dimensions must be equal; the result has dimensions equal to the outer values Multiplication of matrices is generally not commutative For example, [ 4 [ 3 AB 6 5 3, but BA [ () + 4(4) (3) + 4(5) () + 4( ) () + 6(4) (3) + 6(5) () + 6( ) () + 5(4) (3) + 5(5) () + 5( ) In other cases, even when the product AB exists, the product BA may not be defined This is the case, for example, if A if of order ( 3) while B is of order (3 7) In general, however, even if AB and BA do have the same dimensions, they will not be equal In view of thus, we define premultiplication and posmultiplication of matrices In the product AB, B is premultiplied by A, while A is posmultiplied by B Some general rules for matrix multiplication are as follows: Associative Law: (AB)C A(BC) Assuming that the matrices are conformable, we can get the product ABC either by postmultiplying AB by C or premultiplying BC by A Distributive Law: A(B + C) AB + AC Assuming that the factors of AB are conformable and that those of AC are also conformable, the product A(B + C), where parentheses signify operation that has priority, is equivalent to AB + AC Similarly, given conformability, (E + F)G EG + FG

13 Transpose of a product: (AB) B A By direct extension, (ABC) C B A Zero Matrix A conformable matrix of zeros produces the expected result: A Identity Matrix In ordinary algebra we have the number, which has the property that its product with any number is the number itself We now introduce an analogous concept in matrix algebra Consider the following matrices: A [ and B [ The product of A times B and the product of B times A in this case are both equal to A as can be easily verified Notice that the matrix B is an identity matrix of order In matrix multiplication, the identity matrix is analogous to the scalar Elementary Operations We are going to focus now on some further properties of matrices and the matrix as an operator The main objective is to introduce the concept of inverse of a matrix Formally, there are three types of elementary row operations that can be carried out on a matrix: interchanging two rows, multiplying each element of a row by a nonzero scalar, and 3 adding a nonzero multiple of one row to another Each of these operations on the rows of a matrix can be carried out by premultiplying the given matrix by an appropriate elementary row operator To get the appropriate elementary row operator, all that we have to do is carry out the required operations on an n n identity matrix, if the given matrix is of order n m 3

14 For example, suppose we are given A 3 To interchange rows and 3, we premultiply A by E which is obtained by interchanging the first and third rows of I 3 Clearly, E A 3 3 Notice that by premultiplying A by E we interchanged the first and third rows of A Now, suppose that we want to multiply the second row of the same matrix A by a scalar, say, (-8) The appropriate elementary row operator for this is E 8 which, it may be noted, is constructed by performing the required operation: multiplying the second row of I 3 by (-8) We can verify that E A which is A with its second row multiplied by (-8) as desired Finally, suppose that we wish to add twice the second row of A to the first 4

15 Once again, we perform the desired operation on I 3 and use the resulting matrix as an elementary row operator: And, we can verify that E 3 A E Elementary column operations can be defined similarly They are equivalent to postmultiplication by appropriate elementary column operators (of order m m, if A is of order n m) which can be constructed by carrying out the specified elementary column operations on the identity matrix of the appropriate order Echelon Matrices Consider the following matrix, 3 B and, the following sequence of elementary row operations on B: Subtract row from row Subtract twice row of the resulting matrix from its row 3 3 Subtract the new row from the new row 3 To perform these operations, the appropriate row operators are: E for operation (), E E 3 for operation (), for operation (3), 5

16 Applying these in sequence, we get E B E (E B) , 3, and E 3 (E E B) 3 3 The last matrix illustrates the concept of an echelon matrix Notice that each row begins with more zeros than does the previous row Definition A row of a matrix is said to have k leading zeros if the first k elements of the row are all zeros and the (k + )th element of the row is not zero With this terminology, a matrix is in row echelon form if each row has more leading zeros than the row preceding it So, for example, is in echelon row form Each non-zero entry in each row of a matrix in row echelon form is called a pivot In this case, the pivots are the numbers, 4, and 6, respectively Definition A row echelon matrix in which each pivot is a and in which each column containing a pivot contains no other nonzero entries is said to be in reduced row echelon form So, for example, 6

17 is in reduced echelon form Inverse of a Square Matrix Earlier today we covered the matrix operations of addition, subtraction, and multiplication In arithmetic and ordinary algebra, however, there is also an operation of division Can we define an analogous operation for matrices? Strictly speaking, there is no such thing as division of one matrix by another; but there is an operation that accomplishes the same thing as division does in arithmetic and scalar algebra In arithmetic, we know that multiplying by is the same thing as dividing by More generally, given any nonzero scalar a, we can speak of multiplying by a instead of dividing by a The multiplication by a has the property that aa a a This prompts the question, for a matrix A, can we find a matrix B such that where I is an identity matrix of order n BA AB I n In order for the equality in the previous expression to hold, AB and BA must be of order n n; but AB is of order n n only if A has n rows and B has n columns, and BA is of order n n only if B has n rows and A has n columns Therefore, the equality will only hold if A and B are both of order n n This leads to the following definition: Definition 3 Given a square matrix A, if there exists a square matrix B, such that BA AB I then B is called the inverse matrix (or simply the inverse) of A, and A is said to be invertible Not all square matrices are invertible, though A square matrix that does not have an inverse is said to be singular 7

18 A square matrix that possesses an inverse is said to be nonsingular To illustrate the concept of inverse of a matrix, consider the following example: Given a matrix, A [ 3 4 it is easy to verify that the matrix satisfies the relations [ B 4 3 BA AB I Therefore the matrix B is the inverse of A Similarly, given the matrix C D satisfies the relations CD DC I Hence D is the inverse of C A Procedure to Calculate the Inverse of a Matrix If It Exists Let us first confine attention to finding a matrix B, given a matrix A, such that the premultiplication requirement BA I is satisfied 8

19 For the moment, we are not concerned with the postmultiplication requirement that AB should also be equal to I Our task, then, is to find a premultiplying matrix B n n that transforms A n n into the identity matrix I This reminds us of the procedure described earlier in connection with deriving an echelon matrix If we can find a sequence of row operations that transforms the given matrix A n n into I, then the premultiplying matrix must be the B n n matrix we are looking for Let see whether the method works and, if so, how Suppose the given square matrix is A [ 3 4 The first part of our procedure is to find a sequence of elementary row operations that transforms A into an echelon form In the present case this task is easily accomplished: subtract three times the first row from the second or, which is the same thing, premultiply A by [ E 3 This yields [ E A 3 [ 3 4 [, Note that this echelon matrix does not have any row consisting entirely of zeros There are ones all the way from top-left down to bottom-right of the principal diagonal Also the elementary row operator created zero elements everywhere below the principal diagonal What remains now is to perform additional row operations so that all entries above the principal diagonal become zero In the present case, this is accomplished by subtracting the second row from the first or, which is the same thing, premultiplying by 9

20 [ E giving E E A [ [ [ Finally, the product E E E [ [ 3 [ 4 3 is the matrix B we are looking for, satisfying the relation BA I We have to be careful, though, when we do this last step: notice the order in which the matrices are entered, E on the left of E We can also check if our calculation is correct: [ [ [ Moreover, we can also easily verify that the matrix which satisfies the premultiplication requirements, also satisfies the postmultiplication requirement: [ 3 4 [ 4 3 [ In fact, it can be shown mathematically that this holds true in general It may also be noted that if a square matrix has an inverse, then this inverse is unique Suppose that it is not and that C is a different inverse of A Then CAB CAB, but (CA)B IB B and C(AB) C, which would be a contradiction if C did not equal B Properties of the Inverse We just learned a way to find a square matrix B such that BA I If the matrix B exists, it is the inverse of A, denoted From the definition, B A,

21 A A I In addition, by premultiplying by A, postmultiplying by A, and then canceling terms, we find as well AA I The following facts about the behavior of the inverse are also worth noting: If a row of A is all zeros, then A does not exist If a column of A is all zeros, then A does not exist If a row of A is a multiple of another row, then A does not exist If a column of A is a multiple of another row, then A does not exist If a matrix is of the form with d i, then D D d d d 3 d d d 3 Let A be a square invertible matrix, then (A ) A Let A be a square invertible matrix, then (A ) (A ) Let A and B be square invertible matrices, then AB is invertible, and (AB) B A Gaussian Elimination Algorithm for Finding A Besides the method outlined above, there are other ways to compute the inverse of a square matrix, if it exists A particularly useful algorithm uses Gaussian elimination to do this Given a matrix A 4 4 4

22 and the identity matrix, I 3, we can obtain the matrix [A I which is called the augmented matrix of A Just as before, we can perform the elementary row operations on the augmented matrix [A I: Interchange two rows (R i R j ) Multiply any row by a nonzero scalar (kr i ) 3 Add a multiple of one row to another row (kr i + R j ) Algorithm Start at the top row Is there a nonzero entry in the diagonal position? No if possible, interchange with a lower row to get a nonzero entry if not possible, then A does not exist Yes divide each element in the row by the diagonal element (pivot) to get a in the pivot position 3 Add multiples of the row being considered to the lower rows to sweep out any nonzero entries below the pivot 4 Go to the next lower row and repeat steps and 3 5 Continue as in 4 until all rows are considered You will now have an echelon matrix 6 Now begin from the bottom row and work up to sweep out nonzero entries above the pivots 7 When you reach the form [I B then B A So, for example, given the augmented matrix [A I, R +R 4R R R R ,,

23 R R 3, 8 R 3+R 8, R 3 +R 8 R 8 +R 8, A Using Matrices to Solve Systems of Linear Equations At the beginning of today s class, we looked at two ways of solving linear systems of equations Now, we are going to examine the application of matrix algebra to the solution of systems of equations First, we should note that matrices provide a convenient way of collecting sets of equations and equations involving sums of values For example, suppose we have the following system of equations: x + 3x x x 3 we can arrange the coefficients as: [ 3 and call this array, the coefficient matrix We can also collect the values corresponding to the right-hand side of the system and represent them with a column vector [ 3 3

24 Vector Representation of a System of Linear Equations Consider now the following equations in two unknowns: x + 3x 5 3x + x 5 We can form three column vectors, corresponding to the coefficients of x, those of x, and the the values corresponding to the right-hand side of the system: [ [ [ 3 5 a, b, c 3 5 Now the given set of equations can be expressed compactly as x a + x b c To check this out, we note that the vector equation just written is equivalent to [ [ [ 3 5 x + x 3 5 which by virtue of the definition of scalar multiplication, becomes [ [ x 3x + 3x x [ 5 5 which, in turn, by virtue of the definition of addition is the same as [ (x + 3x ) (3x + x ) and now the definition of equality gives x + 3x 5 3x + x 5 [ 5 5 Elementary Operations Let us consider now the following two equations in two unknowns: x + 3x 5 3x 6x 3 4

25 We can solve this set of equations using the method of elimination of variables In this case, multiplication of the first equation by gives 4x + 6x Adding this to the second equation in the initial set, we get 7x 7, which leads to the solution x, x These same steps can be performed by matrix multiplication Let s see: First, we should write the initial set of equations in matrix form [ [ x x [ 5 3 If we premultiply both sides of this matrix equation by E [ we get [ [ x x [ 3 which is equivalent to the same operation that we preformed earlier Now let us premultiply the last expression by E [ the result is [ [ x x [ 7 3 which gives the equation 7x 7, obtained earlier, and the second equation in the initial set Using the Inverse of a Matrix to Solve Systems of Equations We have already seen that a system of linear equations can be compactly express as a single matrix equation 5

26 Consider the following two equations with two unknowns x + 3x 4x + 9x We can rewrite them as [ [ x x [ If [ exists, premultiplication of both sides of the previous expression gives [ [ [ x x [ [ that is [ [ x x [ [ or [ x x [ [ thus giving the solution required [ [ 3 In this case, exists and it is 4 9 Therefore, the required solution is or x and x [ x x [ [ If we check this answer by direct substitution in the initial set of equations, we get + + [ thus demonstrating that this is indeed a solution to the system 6

27 As another example, consider the following system of three equations in three unknowns: x + x + 3x 3 x + 3x + 5x 3 x + 5x + 9x 3 3 Writing this system as a matrix equation, we have x x x 3 3 If we premultiply of both sides of the previous expression by we get x x x which is x x x 3 giving the solution x, x, and x 3 ; which on direct substitution in the original equations yields thus proving that x, x, and x 3 is indeed a solution to the given system of equations 7

28 Generalizing from these examples, if A is an n n matrix, and x and b are both column vectors having n elements, the former consisting of unknowns and the latter of known constants, then a solution to the system of equations Ax b can be obtained by premultiplying both sides of the equation by A, if it exists This is so because is the same as A Ax A b Ix A b by virtue of the definition of the inverse (A A I), and this in turn is the same as x A b by virtue of the definition of the identity matrix That x A b satisfies the given equation system can be seen by substitution A(A b) Ib b More About Simultaneous Linear Equations We are now ready to answer the questions about existence and uniqueness of solutions that were posed at the beginning of today s lecture We are going to rely on two important concepts, that of linear dependence among a collection of vectors, and that of the rank of a matrix The latter concept is used in discussing equation systems with no solution, one unique solution and infinitely many solutions Definition 4 Linear Combination Given a set of vectors, a sum of scalar multiples of vectors, all containing the same number of elements, is called a linear combination of vectors in the set So, for example, given a [ 3 and b [ 8

29 any sum such as k a + k b, where k and k are any two scalars, not both zero, is a linear combination of a and b Linear combinations of what are known as unit vectors are worth special mentioning An n-tuple is called a unit vector is all except one of its elements are zero and one element is unity Any n-tuple can be written as a linear combination of the corresponding set of unit vectors For example, Definition 5 Linear Dependence A set of vectors is linearly dependent if any one of the vectors in the set can be written as a linear combination of the others For example, the set of vectors 3 5, 6, is linearly dependent because one of them is twice another: For another example, if a [ [ 3, b [, and c 4 then a + b c, so a, b, and c are linearly dependent Any of the three possible pairs of them, however, are not linearly dependent One way to check whether a given set of vectors is linearly dependent is the following: [ [ Suppose we want to check whether, and are linearly dependent 4 3 9

30 If they are, we know that there exist, by definition, numbers k and k, not both zero, such that [ [ [ k + k 4 3 Note that this vector equation is equivalent to the following two equations in two unknowns (k and k ): solving which we find k k k + k 4k + 3k Therefore, in this case, there are no k and k, not both zero,such that the vector expression is satisfied We can conclude that the two vectors are not linearly dependent, or that they are linearly independent Another way of checking whether a given set of vectors is linearly dependent is the following: Concatenate the given set of vectors into a matrix, Derive an echelon form from it, 3 If the echelon form has one or more rows containing nothing but zeros, declare the collection as linearly dependent Suppose we want to determine whether the following vectors are linearly dependent: 4 7, 5, Stacking the transposes of these vectors, we get the following matrix: 3 A Now, lets get in into echelon form: R +R 7R R ,

31 R 6R +R 3 Bingo! This set of vectors is linearly dependent Once a matrix is transformed into an echelon matrix by elementary row operations, we can count the number of nonzero rows in the resulting echelon matrix Definition 6 Rank of a Matrix The rank of a matrix is the number of nonzero rows in its row echelon form So, in the preceding example, we say that the rank of original matrix A The usual notation for the rank of a matrix A is r(a) The rank is zero only for a zero (null) matrix All other matrices have positive (greater than zero) rank The rank of an n m matrix exceeds neither n nor m The rank of a square matrix determines whether the matrix has an inverse A square matrix of order n n is said to be of full rank if its rank is n A square matrix of full rank has an inverse; such matrices are said to be nonsingular Square matrices with less than full rank are said to be singular, and they are not invertible Rank - The Fundamental Criterion Using the ranks of two matrices associated with simultaneous linear equations, it is possible to determine whether the equations have no solution, one solution, or infinitely many solutions Consider a system of m linear equations in n unknowns, x, x,, x n, a x + a x + + a n x n b a x + a x + + a n x n b a m x + a m x + + a mn x n b m where m does not necessarily has to be equal to n 3

32 We can write this system of equations in matrix from as AX B, where a a a m a a a m A X a n a n a nm x x x n B We can solve the system by considering the augmented matrix [A B and using Gaussian elimination Consider the following system of equations: b b b m The coefficient matrix A into the [A B matrix: 3x 5x 3 x + x 3 6x + x [A B and the matrix B can be augmented Using Gaussian elimination, R R R +R 6R +R R 4R +R ,,,, 3

33 3 4 R 3+R 4 Our reduced echelon matrix corresponds to the system x x 4 Therefore, this system has a unique solution: x and x 4 Consider now the following system of equations: The augmented into the [A B matrix is: Using Gaussian elimination, [A B x + x 4 3 x + x 5 x 3 + x 4 5 x + x Our reduced echelon matrix corresponds to the system x + x 4 3 x x 4 5 x 3 + x 4 5 It is clear that there is no single solution to this system of equations 33

34 For any value of x 4, the system of equations, determines the corresponding values of x, x and x 3 Note also that x 4 can be anything So, we can assign any arbitrary number θ as its value, and rewrite the system as x 3 θ x 5 (3 θ) θ 5 x 3 5 θ This system has many solutions (the system is underdetermined) We can easily check this by substituting back the values for the coefficients: If x 4, then x x 5 x 3 5 θ But if x 4 75, then x 5 x 5 x 3 5 θ Finally, consider the following system of equations: The coefficient matrix A into the [A B matrix: a + b + c 3 a + b + c a + 3b + 3c [A B and the matrix B can be augmented 34

35 Using Gaussian elimination, 3 R +R R R R +R The last row corresponds to the equation (a) + (b) + ()c 5 The left-hand side of this equation is always zero and thus can never equal 5 So, there is no tuple a, b, c which solves this equation This system has no solution (the system is overdetermined) Homogeneous Equations Consider a system in which al the bj s on the right-hand side are : a x + a x + + a n x n a x + a x + + a n x n a m x + a m x + + a mn x n Such a system is called homogeneous We can write this system of equations in matrix from as AX, where a a a m a a a m A X a n a n a nm x x x n, B Any homogeneous system has at least one solution: x x x n Such a solution is usually called the trivial solution Using the Rank Criterion Given a system of equations, let A be the coefficient matrix and let [A B be the augmented matrix 35

36 Then, 36

POLI270 - Linear Algebra

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

More information

Finite Mathematics Chapter 2. where a, b, c, d, h, and k are real numbers and neither a and b nor c and d are both zero.

Finite Mathematics Chapter 2. where a, b, c, d, h, and k are real numbers and neither a and b nor c and d are both zero. Finite Mathematics Chapter 2 Section 2.1 Systems of Linear Equations: An Introduction Systems of Equations Recall that a system of two linear equations in two variables may be written in the general form

More information

Chapter 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

MTH Linear Algebra. Study Guide. Dr. Tony Yee Department of Mathematics and Information Technology The Hong Kong Institute of Education

MTH Linear Algebra. Study Guide. Dr. Tony Yee Department of Mathematics and Information Technology The Hong Kong Institute of Education MTH 3 Linear Algebra Study Guide Dr. Tony Yee Department of Mathematics and Information Technology The Hong Kong Institute of Education June 3, ii Contents Table of Contents iii Matrix Algebra. Real Life

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

Introduction to Matrices

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

More information

MTH 2032 Semester II

MTH 2032 Semester II MTH 232 Semester II 2-2 Linear Algebra Reference Notes Dr. Tony Yee Department of Mathematics and Information Technology The Hong Kong Institute of Education December 28, 2 ii Contents Table of Contents

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

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. Matrices Operations. Consider, for example, a system of equations such as x + 2y z + 4w = 0, 3x 4y + 2z 6w = 0, x 3y 2z + w = 0.

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

More information

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

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

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

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

Matrix Arithmetic. j=1

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

More information

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

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

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

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

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

Fundamentals of Engineering Analysis (650163)

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

More information

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

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

More information

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

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

[ 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

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

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

DM559 Linear and Integer Programming. Lecture 2 Systems of Linear Equations. Marco Chiarandini

DM559 Linear and Integer Programming. Lecture 2 Systems of Linear Equations. Marco Chiarandini DM559 Linear and Integer Programming Lecture Marco Chiarandini Department of Mathematics & Computer Science University of Southern Denmark Outline 1. Outline 1. 3 A Motivating Example You are organizing

More information

LS.1 Review of Linear Algebra

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

More information

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, Vectors and Matrices

Linear Algebra, Vectors and Matrices Linear Algebra, Vectors and Matrices Prof. Manuela Pedio 20550 Quantitative Methods for Finance August 2018 Outline of the Course Lectures 1 and 2 (3 hours, in class): Linear and non-linear functions on

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

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

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

Definition of Equality of Matrices. Example 1: Equality of Matrices. Consider the four matrices

Definition of Equality of Matrices. Example 1: Equality of Matrices. Consider the four matrices IT 131: Mathematics for Science Lecture Notes 3 Source: Larson, Edwards, Falvo (2009): Elementary Linear Algebra, Sixth Edition. Matrices 2.1 Operations with Matrices This section and the next introduce

More information

A matrix is a rectangular array of. objects arranged in rows and columns. The objects are called the entries. is called the size of the matrix, and

A matrix is a rectangular array of. objects arranged in rows and columns. The objects are called the entries. is called the size of the matrix, and Section 5.5. Matrices and Vectors A matrix is a rectangular array of objects arranged in rows and columns. The objects are called the entries. A matrix with m rows and n columns is called an m n matrix.

More information

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

Numerical Analysis Lecture Notes

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

More information

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

Chapter 1: Systems of Linear Equations

Chapter 1: Systems of Linear Equations Chapter : Systems of Linear Equations February, 9 Systems of linear equations Linear systems Lecture A linear equation in variables x, x,, x n is an equation of the form a x + a x + + a n x n = b, where

More information

A matrix is a rectangular array of. objects arranged in rows and columns. The objects are called the entries. is called the size of the matrix, and

A matrix is a rectangular array of. objects arranged in rows and columns. The objects are called the entries. is called the size of the matrix, and Section 5.5. Matrices and Vectors A matrix is a rectangular array of objects arranged in rows and columns. The objects are called the entries. A matrix with m rows and n columns is called an m n matrix.

More information

Basic Concepts in Linear Algebra

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

More information

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

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

Introduction to Matrices

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

More information

M. Matrices and Linear Algebra

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

More information

Digital Workbook for GRA 6035 Mathematics

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

More information

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

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

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

More information

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

Review of Basic Concepts in Linear Algebra

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

More information

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

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

7.4. The Inverse of a Matrix. Introduction. Prerequisites. Learning Outcomes

7.4. The Inverse of a Matrix. Introduction. Prerequisites. Learning Outcomes The Inverse of a Matrix 7.4 Introduction In number arithmetic every number a 0has a reciprocal b written as a or such that a ba = ab =. Similarly a square matrix A may have an inverse B = A where AB =

More information

Finite Math - J-term Section Systems of Linear Equations in Two Variables Example 1. Solve the system

Finite Math - J-term Section Systems of Linear Equations in Two Variables Example 1. Solve the system Finite Math - J-term 07 Lecture Notes - //07 Homework Section 4. - 9, 0, 5, 6, 9, 0,, 4, 6, 0, 50, 5, 54, 55, 56, 6, 65 Section 4. - Systems of Linear Equations in Two Variables Example. Solve the system

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

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 123, Week 2: Matrix Operations, Inverses

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

More information

MAC Module 1 Systems of Linear Equations and Matrices I

MAC Module 1 Systems of Linear Equations and Matrices I MAC 2103 Module 1 Systems of Linear Equations and Matrices I 1 Learning Objectives Upon completing this module, you should be able to: 1. Represent a system of linear equations as an augmented matrix.

More information

Matrices. Chapter Definitions and Notations

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

More information

Matrices and RRE Form

Matrices and RRE Form Matrices and RRE Form Notation R is the real numbers, C is the complex numbers (we will only consider complex numbers towards the end of the course) is read as an element of For instance, x R means that

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

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

Matrix Basic Concepts

Matrix Basic Concepts Matrix Basic Concepts Topics: What is a matrix? Matrix terminology Elements or entries Diagonal entries Address/location of entries Rows and columns Size of a matrix A column matrix; vectors Special types

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

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

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 Introduction: linear equations Read 1.1 (in the text that is!) Go to course, class webpages.

More information

chapter 12 MORE MATRIX ALGEBRA 12.1 Systems of Linear Equations GOALS

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

More information

Matrices and Matrix Algebra.

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

More information

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

SAMPLE OF THE STUDY MATERIAL PART OF CHAPTER 1 Introduction to Linear Algebra

SAMPLE OF THE STUDY MATERIAL PART OF CHAPTER 1 Introduction to Linear Algebra 1.1. Introduction SAMPLE OF THE STUDY MATERIAL PART OF CHAPTER 1 Introduction to Linear algebra is a specific branch of mathematics dealing with the study of vectors, vector spaces with functions that

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

CLASS 12 ALGEBRA OF MATRICES

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

More information

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

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

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

More information

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

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

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

A primer on matrices

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

More information

Math 1314 Week #14 Notes

Math 1314 Week #14 Notes Math 3 Week # Notes Section 5.: A system of equations consists of two or more equations. A solution to a system of equations is a point that satisfies all the equations in the system. In this chapter,

More information

Lectures on Linear Algebra for IT

Lectures on Linear Algebra for IT Lectures on Linear Algebra for IT by Mgr Tereza Kovářová, PhD following content of lectures by Ing Petr Beremlijski, PhD Department of Applied Mathematics, VSB - TU Ostrava Czech Republic 3 Inverse Matrix

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

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

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

More information

Chapter 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

Some Notes on Linear Algebra

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

More information

Chapter 3. Vector spaces

Chapter 3. Vector spaces Chapter 3. Vector spaces Lecture notes for MA1111 P. Karageorgis pete@maths.tcd.ie 1/22 Linear combinations Suppose that v 1,v 2,...,v n and v are vectors in R m. Definition 3.1 Linear combination We say

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

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

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

Introduction to Quantitative Techniques for MSc Programmes SCHOOL OF ECONOMICS, MATHEMATICS AND STATISTICS MALET STREET LONDON WC1E 7HX

Introduction to Quantitative Techniques for MSc Programmes SCHOOL OF ECONOMICS, MATHEMATICS AND STATISTICS MALET STREET LONDON WC1E 7HX Introduction to Quantitative Techniques for MSc Programmes SCHOOL OF ECONOMICS, MATHEMATICS AND STATISTICS MALET STREET LONDON WC1E 7HX September 2007 MSc Sep Intro QT 1 Who are these course for? The September

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

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

Linear Algebra Tutorial for Math3315/CSE3365 Daniel R. Reynolds

Linear Algebra Tutorial for Math3315/CSE3365 Daniel R. Reynolds Linear Algebra Tutorial for Math3315/CSE3365 Daniel R. Reynolds These notes are meant to provide a brief introduction to the topics from Linear Algebra that will be useful in Math3315/CSE3365, Introduction

More information

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

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

More information

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

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