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

Size: px
Start display at page:

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

Transcription

1 Copyright 2005, W.R. Winfrey

2 Topics Preliminaries Systems of Linear Equations Matrices Algebraic Properties of Matrix Operations Special Types of Matrices and Partitioned Matrices Matrix Transformations

3 Topics Preliminaries Systems of Linear Equations Matrices Algebraic Properties of Matrix Operations Special Types of Matrices and Partitioned Matrices Matrix Transformations

4 Preliminaries Focus on two major problems Solution of systems of linear equations Eigenvalue problem Solution of these problems will introduce many new ideas, such as vector spaces, inner products and linear transformations, that are useful independently of these two problems Focus on linear problems because They occur naturally in many applications They occur as first approximations to many nonlinear problems

5 Preliminaries Three Examples Example #1 2x y 2z 10 3x y 2z 1 5x 4y 3z 4 Add first equation to second 2x y 2z 10 5x 11 5x 4y 3z 4 x 11 5, y 14 55, z

6 Preliminaries Three Examples Example #2 2x y 2z 10 3x y 2z 1 x 2y 4z 8 This system has no solution

7 Preliminaries Three Examples Example #3 2x y 2z 10 3x y 2z 1 x 2y 4z 9 This system has infinitely many solutions x 11 5, y 2z 28 5

8 Preliminaries Three Examples Questions How do we generalize the notation to handle large numbers of variables? How do we know that the procedure suggested in Example #1 will always work? Is the solution in Example #1 unique? How can we reach the conclusions in Example #2 and Example #3 in a systematic way that can become an algorithm for a computer program? Is there hidden structure in the problem that can give us additional insight?

9 Topics Preliminaries Systems of Linear Equations Matrices Algebraic Properties of Matrix Operations Special Types of Matrices and Partitioned Matrices Matrix Transformations

10 Systems of Linear Equations System of m equations in n unknowns 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 a m1 x 1 a m2 x 2 a mn x n b m

11 Systems of Linear Equations Comments If a system has a solution, call it consistent If a system doesn t have a solution, call it inconsistent If b 1 b 2 b m 0, the system is called homogeneous. A homogeneous system always has the trivial solution x 1 x 2 x n 0 If two systems have the same solution, then they are called equivalent. The solution strategy for linear systems is to transform the system through a series of equivalent systems until the solution is obvious

12 Systems of Linear Equations Elementary Operations on Systems 1) Switch two equations 2) Multiply an equation by nonzero constant 3) Add multiple of one equation to another The application of any combination of elementary operations to a linear system yields a new linear system that is equivalent to the first

13 Systems of Linear Equations Third Elementary Operation a i1 x 1 a i2 x 2 a in x n b i a j1 x 1 a j2 x 2 a jn x n b j Add a times ith row to jth row to get aa a x aa a x aa a x ab b i1 j1 1 i2 j2 2 in jn n i j Let s 1, s 2,, s n be a solution of the original system a i1 s 1 a i2 s 2 a in s n b i a j1 s 1 a j2 s 2 a jn s n b j aa a s aa a s aa a s ab b i1 j1 1 i2 j2 2 in jn n i j

14 Systems of Linear Equations Elementary Operations 1) Switch two equations 2) Multiply an equation by non zero constant 3) Add multiple of one equation to another

15 Topics Preliminaries Systems of Linear Equations Matrices Algebraic Properties of Matrix Operations Special Types of Matrices and Partitioned Matrices Matrix Transformations

16 Matrices Introduce a new notation which aids the solution of systems of linear equations and gives insight into the solution process and into the structure of linear systems

17 Matrices Recall earlier example 2x 1 x 2 2x x 1 x 2 2x 3 1 5x 1 4x 2 3x 3 4 In the solution process, the x variables are just placeholders. The real work is done on the coefficients and the right-hand sides

18 Matrices Express system on previous slide as x x x x3 matrix 3x1 matrix 3x1 matrix Original system can recovered by multiplying column of x variables by rows of 3x3 Operations used to solve system can be performed simultaneously on rows of 3x3 and entries in 3x1

19 Matrices General Case System of m equations in n unknowns 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 a m1 x 1 a m2 x 2 a mn x n b m Define the mxn matrix A a a a a a a A n n a a a m1 m2 mn

20 Matrices General Case The mxn system can be written as or AX B a a a x b a a a x b n n 2 2 a a a x b m1 m2 mn n m Recall that if b 1 b 2 b m 0, the system is called homogenous and may be written as AX 0

21 General Case i th row of A j th column of A Matrices a i1 a i2 a in 1 i m a a a 1 j 2 j mj 1 jn Will sometimes write A [ a ij ] Will sometimes write (A) ij for a ij

22 Matrices Comments a) If m n then A is called a square matrix b) For a square matrix, the elements a 11, a 22,, a nn constitute the main diagonal of A c) Two matrices, A [ a ij ] and B [ b ij ], are equal if a ij b ij for 1 i m, 1 j n

23 Matrices Comment In terms of matrices, the two fundamental problems in linear algebra are 1) Linear systems - solve AX = B 2) Eigenvalues & eigenvectors - solve AX = lx

24 Matrices Basic Operations on Matrices a) Addition b) Scalar multiplication c) Matrix multiplication

25 Matrices Addition Adding matrices means adding corresponding elements, e.g In general, let A [ a ij ] and B [ b ij ] be two mxn matrices, then C A + B is a matrix C [ c ij ] such that c ij a ij + b ij i,j Note: sizes of matrices must be the same undefined

26 Matrices Scalar Multiplication Scalar multiplication means multiplying each element of a matrix by the same scalar, e.g Let A [ a ij ] and r R. Then C r A, where C [ c ij ] is defined as c ij r a ij i,j

27 Matrices Matrix Multiplication Simple Example. Will want to express a11x1 a12x2 b a11 a 1 12 x1 b as 1 a21x a 1 a22x2 b2 21 a22 x2 b 2 so, need to have matrix multiplication to work like e.g. a a x a x a x a a x a x a x

28 Matrices Matrix Multiplication Summation n i 1 2 n i i n n i1 i1 Properties 1) 2) 3) n d d d d ra r a r a r a n n n r s a ra s a i1 i i i i1 i i i1 i i n n cd c d i1 i i1 n m a ij i1 j1 i m j1 n a ij i1

29 Matrices Matrix Multiplication Recall If A is mxn and X is nx1, then k k k k k k a x a a x a x a x b a a x a x a x b a x n k k k n k k k n mk k k a x a x a x AX Row of A times the column of X

30 Matrices Matrix Multiplication If A is mxn and X is nx1, can also express AX as a a a AX x a x a x a n a a a mn n 1 2 n m1 m2 Will call this a linear combination of the columns of A. The coefficients are the elements of X

31 Matrices Matrix Multiplication a11 a12 a b b b 1n What about a a a n b b b p p a a a b b b m1 m2 mn n1 n2 np A B The basic idea is to multiply each column of B by A b11 b b 12 1p b21 b22 b 2 p AB A A A b b b n1 n2 np?

32 Matrices Matrix Multiplication Examine first column of product A b b b k1 n k1 1k k1 2k k1 n1 n n k1 a b a b a b mk k1 1st row A x 1 st column B 2nd row A x 1 st column B mth row A x 1 st column B

33 Matrices Matrix Multiplication Defn. Let A [ a ij ] be an mxn matrix and let B [ b ij ] be an nxp matrix. The product of A and B, AB C [ c ij ], is the mxp matrix defined by c ij n a ik b kj a i1 b 1 j a i2 b 2 j a in b nj k1 for i 1,2,,m j 1,2,, p

34 Matrices Matrix Multiplication Comments BA is defined only if p=m If p=m so that BA is defined, then BA is nxn and AB is mxm, i.e. different sizes If AB and BA are the same size, they may not be equal, i.e. they may not commute

35 Matrices Systems of Equations Consider 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 a m1 x 1 a m2 x 2 a mn x n b m Define a a a x b a a a x b A X B n n 2 2 a m1 am2 amn x n b m Express system as AX B

36 Matrices Systems of Equations Since the solution of the system involves the a and b values only, will often work with the augmented matrix a a a b a a a b n n 2 a a a b m1 m2 mn m

37 Matrices Transpose Defn. Let A [ a ij ] be an mxn matrix. The transpose of A, A T [ a ijt ] is the nxm matrix defined by a ij T a ji A 1 2 T 1 3 A

38 Topics Preliminaries Systems of Linear Equations Matrices Algebraic Properties of Matrix Operations Special Types of Matrices and Partitioned Matrices Matrix Transformations

39 Algebraic Properties of Matrix Operations Consider algebraic properties of 1) Matrix addition 2) Matrix multiplication 3) Scalar multiplication 4) Transpose Purposes 1) Establish relationships between matrices and known algebraic systems 2) Provide rules for manipulating matrices

40 Algebraic Properties of Matrix Operations Theorem (Matrix Addition) Let A, B and C be mxn matrices Closure Associativity Identity Inverse Commutivity 1) A + B is an mxn matrix 2) A + (B + C) = (A + B) + C 3) There is a unique mxn matrix m 0 n such that A + m 0 n = m 0 n + A = A for every matrix A 4) For every mxn matrix A, there is a unique mxn matrix D such that A + D = D + A = m 0 n 5) A + B = B + A

41 Algebraic Properties of Matrix Operations Theorem (Matrix Multiplication) - a) If A, B and C are matrices of the appropriate sizes, then A(BC) (AB)C b) If A, B and C are matrices of the appropriate sizes, then (A + B)C AC + BC c) If A, B and C are matrices of the appropriate sizes, then C(A + B) CA + CB

42 Algebraic Properties of Matrix Operations Proof a) Let A [ a ij ] be mxn, B [ b ij ] be nxp and C [ c ij ] be pxq BC kj A BC AB it AB C p t1 ij n k1 ij bc kt n tj p a b c a b c ik kt tj ik kt k1 t1 k1 t1 ab ik kt n p n p n n p a b c a b c a b c p ik kt tj ik kt tj ik kt tj t1 k1 t1 k1 k1 t1 tj

43 Algebraic Properties of Matrix Operations Proof (continued) b) Let A [ a ij ] be mxn, B [ b ij ] be mxn and C [ c ij ] be nxp A B a b ik A BC c) Proof similar to b) ik n n n n aik bik ckj aikckj bikckj k1 k1 k1 ik kj ik kj k1 k1 n a c b c AC BC QED

44 Algebraic Properties of Matrix Operations Comments on Matrix Multiplication AB need not equal BA Let A B AB So, we can have AB 0, but A 0 and B Let A, B, C then AB AC but B C, i.e. can't cancel 16 10

45 Algebraic Properties of Matrix Operations Properties of Scalar Multiplication If r and s are real numbers and A and B are matrices, then r (sa) (rs) A (r + s) A ra + sa r (A + B) ra + rb A (rb) r (AB) (ra) B

46 Algebraic Properties of Matrix Operations Properties of Transpose If r is a scalar and A and B are matrices, then (A T ) T A (A + B) T A T + B T (AB) T B T A T (ra) T ra T

47 Topics Preliminaries Systems of Linear Equations Matrices Algebraic Properties of Matrix Operations Special Types of Matrices and Partitioned Matrices Matrix Transformations

48 Special Matrices and Partitioned Matrices Defn - An nxn matrix A [ a ij ] is called a diagonal matrix if a ij 0 for i j, i.e. the terms off the main diagonal are all zero Defn - A scalar matrix is a diagonal matrix whose diagonal elements are all equal Defn - The scalar matrix I n [ a ij ], where a ii 1 and a ij 0 for i j is called the nxn identity matrix. The name comes from the following property. Let A be any mxn matrix, then A I n A and I m A A

49 Special Matrices and Partitioned Matrices Matrix Powers Recall that matrix multiplication is associative, i.e. if A, B and C have the proper dimensions, then A(BC) (AB)C, so the parentheses are unnecessary and the product can be written as ABC If A is an nxn matrix and p is a positive integer, can define p A AA A factors Again, if A is an nxn matrix, adopt the convention p A 0 I n

50 Special Matrices and Partitioned Matrices Matrix Powers The following laws of exponents hold for nonnegative integers p and q and any nxn matrix A 1 ) A p A q A p + q 2 ) (A p ) q A pq Caution. Without additional assumptions on A and B, cannot do the following 1 ) define A p for negative integers p 2) assert that (AB) p A p B p

51 Special Matrices and Partitioned Matrices Triangular Matrices An nxn matrix A [ a ij ] is called upper triangular if a ij 0 for i > j An nxn matrix A [ a ij ] is called lower triangular if a ij 0 for i < j Note: A diagonal matrix is both upper and lower triangular The nxn zero matrix is both upper and lower triangular

52 Special Matrices and Partitioned Matrices Symmetry Defn - A matrix A is called symmetric if A T A Defn - A matrix A is called skew-symmetric if A T A Comment - If A is skew-symmetric, then the diagonal elements of A are zero Comment - Any square matrix A can be written as the sum of a symmetric matrix and a skewsymmetric matrix T T A 1 A A 1 A A 2 2 symmetric skew-symmetric

53 Special Matrices and Partitioned Matrices Symmetry - Example A symmetric matrix is often indicative of some symmetry in the original problem being analyzed Consider a mass m suspended from a spring of spring constant k. Let x be the displacement of the mass from equilibrium. Hooke s Law is F kx. Combining Hooke s Law with Newton s Second Law gives m d 2 x dt 2 kx k k xt acos t sin t m m m k

54 Special Matrices and Partitioned Matrices Symmetry - Example Consider a system of springs and masses. Let x 1, x 2 and x 3 be the deviations of the masses from their equilibrium positions (at equilibrium, x 1 0, x 2 0 and x 3 0) k 01 k 12 k 23 k 34 m 1 m 2 m 3

55 Special Matrices and Partitioned Matrices Symmetry - Example Can argue that the equations of motion for the masses may be written as m1 0 0 x1 k01 k12 k12 0 x1 0 0 m2 0 x2 k12 k12 k23 k23 x m3 x3 0 k23 k23 k34 x3 0 Comments Note that the mass matrix is symmetric Note that the spring matrix is symmetric. This reflects the fact that a spring is a symmetric device Determination of vibrational frequencies will have to be deferred until the eigenvalue problem is discussed Symmetric matrices also appear in the analysis of networks of resistors and voltage sources

56 Special Matrices and Partitioned Matrices Partitioning of Matrices Defn - Let A [ a ij ] be an mxn matrix. A submatrix of A is obtained by deleting some, but not all, of the rows and columns of A Example - Let A some submatrices of A are ,,

57 Special Matrices and Partitioned Matrices Partitioning of Matrices Primary interest is in submatrices obtained by partitioning, i.e. by drawing horizontal and vertical lines between rows and columns of a matrix. Consider A a a a a a a a a a a a a a a a a a a a a

58 Special Matrices and Partitioned Matrices Partitioning of Matrices A can be written asa A A A A where A A a a a a a A a a22 a23 a24 a25 a a a a a A a a42 a43 a44 a45

59 Special Matrices and Partitioned Matrices Partitioning of Matrices A could also be partitioned as a11 a12 a13 a14 a15 a a a a a A A A A a a a a a A A A a a a a a (Note: Definitions of A ij have changed from previous slide)

60 Special Matrices and Partitioned Matrices Partitioning of Matrices Define the matrix B as b11 b12 b13 b 14 b21 b22 b23 b24 B11 B 12 B b31 b32 b33 b 34 B21 B 22 b41 b42 b43 b44 B31 B32 b51 b52 b53 b 54 Direct computation shows that the product AB may be written as A B A B A B A B A B A B AB A B A B A B A B A B A B So, the product can be done in pieces

61 Special Matrices and Partitioned Matrices Partitioning of Matrices Multiplication by partitioning works only if A ( mxn ) and B ( nxp ) are partitioned compatibly (conformal partitioning) A n 1 m 1 m 2 m q n 2 n h A A A A A A h h A A A q1 q2 qh where A ij is m i x n j and q h m m n n i i1 j1 j B p 1 p 2 p h B B B B B B k k B B B h1 h2 hk where B ij is n i x p j and h n n p p i i1 j1 k j n 1 n 2 n h

62 Special Matrices and Partitioned Matrices Partitioning of Matrices - Example Consider powers of a 3n x 3n matrix A, which has the partitioned form P In 0 A 0 P In 0 0 P where P is an nxn matrix, I n is the nxn identity matrix and 0 is the nxn zero matrix

63 Special Matrices and Partitioned Matrices Partitioning of Matrices - Example Then 2 P 2P I 2 2 A 0 P 2P P s s P P P 1 2 s s1 s2 s A 0 P P 1 s s s1 0 0 P s 3 2 P 3P 3P A 0 P 3P 0 0 P s 2,3,4, Note: Easy to do if the matrix is in partitioned form. Hard to see pattern otherwise.

64 Special Matrices and Partitioned Matrices Nonsingular Matrices Defn - An nxn matrix A is called nonsingular or invertible if there exists an nxn matrix B such that AB BA I n Comments If B exists, then B is called the inverse of A If B does not exist, then A is called singular or noninvertible At this point, the only available tool for showing that A is nonsingular is to show that B exists

65 Special Matrices and Partitioned Matrices Nonsingular Matrices Theorem - If the inverse of a matrix exists, then that inverse is unique Proof - Let A be a nonsingular nxn matrix and let B and C be inverses of A. Then AB BA I n and AC CA I n B B I n B(AC) (BA)C I n C C so the inverse is unique. QED Notation - If A is a nonsingular matrix. The inverse of A is denoted by A 1 Comment - For nonsingular matrices, A, can define A raised to a negative power as A k (A 1 ) k k > 0

66 Special Matrices and Partitioned Matrices Nonsingular Matrices Theorem - If A and B are both nonsingular matrices, then the product AB is nonsingular and (AB) 1 B 1 A 1 Proof - Consider the following products AB ( B 1 A 1 ) AB B 1 A 1 AI n A 1 AA 1 I n and ( B 1 A 1 ) AB B 1 A 1 AB B 1 I n B B 1 B I n Since we have found a matrix C such that C(AB) (AB)C I n, AB is nonsingular and its inverse is C B 1 A 1 QED

67 Special Matrices and Partitioned Matrices Nonsingular Matrices Theorem - If A 1, A 2,, A r are nonsingular matrices, then A 1 A 2 A r is nonsingular and A 1 A 2 A r 1 A 1 1 r A r1 A 2 1 A 1 1

68 Special Matrices and Partitioned Matrices Nonsingular Matrices Theorem - If A is a nonsingular matrix, then A 1 is nonsingular and (A 1 ) 1 A Proof - Since A 1 A AA 1 I n, then A 1 is nonsingular and its inverse is A. So (A 1 ) 1 A QED Comment - Cannot prove this using laws of exponents for matrix powers since this theorem is needed to prove those laws Comment - The previous four theorems involving inverses are essentially algebraic, i.e. the details of the matrix product are not used

69 Special Matrices and Partitioned Matrices Nonsingular Matrices Comment - Have observed earlier that AB AC does not necessarily imply that B C. However, if A is an nxn nonsingular matrix and AB AC, then B C. A 1 (AB) A 1 (AC) (A 1 A) B (A 1 A)C B C Comment - Have observed earlier that AB n 0 n does not imply that A n 0 n or B n 0 n. However, if A is an nxn nonsingular matrix and AB n 0 n, then B n 0 n. A 1 (AB) A 1 n0 n (A 1 A) B n 0 n B n 0 n

70 Special Matrices and Partitioned Matrices Nonsingular Matrices Theorem - If A is a nonsingular matrix, then A T is nonsingular and (A T ) 1 (A 1 ) T Proof - By an earlier theorem, (AB) T B T A T for any two matrices A and B. Since A is nonsingular, A 1 A AA 1 I n. Applying the relationship on transposes gives (A 1 A) T A T (A 1 ) T I nt I n (AA 1 ) T (A 1 ) T A T I nt I n Since A T (A 1 ) T I n and (A 1 ) T A T I n, A T is nonsingular and its inverse is (A 1 ) T, i.e. (A T ) 1 (A 1 ) T QED

71 Special Matrices and Partitioned Matrices Linear Systems and Inverses A system of n linear equations in n unknowns may be written as AX = B, where A is nxn matrix. If A is nonsingular, then A 1 exists and the system may be solved by multiplying both sides by A 1 A 1 (AX) = A 1 B (A 1 A)X = A 1 B X = A 1 B

72 Special Matrices and Partitioned Matrices Linear Systems and Inverses Comment - Although X = A 1 B gives a simple expression for the solution, its primary usage is for proofs and derivations At this point we have no practical tool for computing A 1 Even with a tool for computing A 1, this method of solution is usually numerically inefficient. The only exception is if A has a special structure that lets A 1 have a simple relationship to A

73 Topics Preliminaries Systems of Linear Equations Matrices Algebraic Properties of Matrix Operations Special Types of Matrices and Partitioned Matrices Matrix Transformations

74 Matrix Transformations Let A [ a ij ] be an mxn matrix. Let R m be the set of all mx1 matrices and let R n be set of all nx1 matrices. If X R m and Y = AX. Then Y R n and A can be interpreted as a function (or mapping or transformation) from R m into R n R m is the domain of the function The range or image of A is the set of all Y R n such that Y = AX for some X R m Will focus primarily on R 2 and R 3 and will interpret corresponding 2x1 and 3x1 matrices as two-dimensional and three-dimensional points

75 Matrix Transformations Example - Reflections Reflections in the x-axis A Reflections in the y-axis A

76 Matrix Transformations Example - Reflections Reflections in the origin A x,y y x, y x

77 Matrix Transformations Example - Projection onto xy Plane A Can also view this as a mapping from R 3 to R 2 using the matrix A 0 1 0

78 Matrix Transformations Example - Scaling A r r r If r > 1, A is called a dilation If 0 < r < 1, A is called contraction

79 Matrix Transformations Example - Rotation Let A cos sin sin cos x y x y cos sin sin cos A x y

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

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

ICS 6N Computational Linear Algebra Matrix Algebra

ICS 6N Computational Linear Algebra Matrix Algebra ICS 6N Computational Linear Algebra Matrix Algebra Xiaohui Xie University of California, Irvine xhx@uci.edu February 2, 2017 Xiaohui Xie (UCI) ICS 6N February 2, 2017 1 / 24 Matrix Consider an m n matrix

More information

Lecture Notes in Linear Algebra

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

More information

Systems of Linear Equations and Matrices

Systems of Linear Equations and Matrices Chapter 1 Systems of Linear Equations and Matrices System of linear algebraic equations and their solution constitute one of the major topics studied in the course known as linear algebra. In the first

More information

Chapter 1: Systems of linear equations and matrices. Section 1.1: Introduction to systems of linear equations

Chapter 1: Systems of linear equations and matrices. Section 1.1: Introduction to systems of linear equations Chapter 1: Systems of linear equations and matrices Section 1.1: Introduction to systems of linear equations Definition: A linear equation in n variables can be expressed in the form a 1 x 1 + a 2 x 2

More information

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

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: Lecture notes from Kolman and Hill 9th edition.

Linear Algebra: Lecture notes from Kolman and Hill 9th edition. Linear Algebra: Lecture notes from Kolman and Hill 9th edition Taylan Şengül March 20, 2019 Please let me know of any mistakes in these notes Contents Week 1 1 11 Systems of Linear Equations 1 12 Matrices

More information

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

Matrix Algebra 2.1 MATRIX OPERATIONS Pearson Education, Inc.

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

More information

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

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

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

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

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

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

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

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

More information

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

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

More information

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

MATRICES AND MATRIX OPERATIONS

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

More information

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

Kevin James. MTHSC 3110 Section 2.1 Matrix Operations

Kevin James. MTHSC 3110 Section 2.1 Matrix Operations MTHSC 3110 Section 2.1 Matrix Operations Notation Let A be an m n matrix, that is, m rows and n columns. We ll refer to the entries of A by their row and column indices. The entry in the i th row and j

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

MAT 2037 LINEAR ALGEBRA I web:

MAT 2037 LINEAR ALGEBRA I web: MAT 237 LINEAR ALGEBRA I 2625 Dokuz Eylül University, Faculty of Science, Department of Mathematics web: Instructor: Engin Mermut http://kisideuedutr/enginmermut/ HOMEWORK 2 MATRIX ALGEBRA Textbook: Linear

More information

Matrix Algebra & Elementary Matrices

Matrix Algebra & Elementary Matrices Matrix lgebra & Elementary Matrices To add two matrices, they must have identical dimensions. To multiply them the number of columns of the first must equal the number of rows of the second. The laws below

More information

Announcements Monday, October 02

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

More information

Announcements Wednesday, October 10

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

More information

Chapter 2: 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

Math 4377/6308 Advanced Linear Algebra

Math 4377/6308 Advanced Linear Algebra 2.3 Composition Math 4377/6308 Advanced Linear Algebra 2.3 Composition of Linear Transformations Jiwen He Department of Mathematics, University of Houston jiwenhe@math.uh.edu math.uh.edu/ jiwenhe/math4377

More information

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

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

More information

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

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

More information

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

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 Arithmetic. a 11 a. A + B = + a m1 a mn. + b. a 11 + b 11 a 1n + b 1n = a m1. b m1 b mn. and scalar multiplication for matrices via.

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

More information

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

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

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

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

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

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

More information

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

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

More information

Matrix Algebra Determinant, Inverse matrix. Matrices. A. Fabretti. Mathematics 2 A.Y. 2015/2016. A. Fabretti Matrices

Matrix Algebra Determinant, Inverse matrix. Matrices. A. Fabretti. Mathematics 2 A.Y. 2015/2016. A. Fabretti Matrices Matrices A. Fabretti Mathematics 2 A.Y. 2015/2016 Table of contents Matrix Algebra Determinant Inverse Matrix Introduction A matrix is a rectangular array of numbers. The size of a matrix is indicated

More information

Phys 201. Matrices and Determinants

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

More information

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

CS 246 Review of Linear Algebra 01/17/19

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

More information

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

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

Lecture Summaries for Linear Algebra M51A

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

More information

Linear Algebra Highlights

Linear Algebra Highlights Linear Algebra Highlights Chapter 1 A linear equation in n variables is of the form a 1 x 1 + a 2 x 2 + + a n x n. We can have m equations in n variables, a system of linear equations, which we want to

More information

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

Introduction to Matrix Algebra

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

More information

Matrices and Linear Algebra

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

More information

MAC Module 2 Systems of Linear Equations and Matrices II. Learning Objectives. Upon completing this module, you should be able to :

MAC Module 2 Systems of Linear Equations and Matrices II. Learning Objectives. Upon completing this module, you should be able to : MAC 0 Module Systems of Linear Equations and Matrices II Learning Objectives Upon completing this module, you should be able to :. Find the inverse of a square matrix.. Determine whether a matrix is invertible..

More information

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

OHSx XM511 Linear Algebra: Solutions to Online True/False Exercises

OHSx XM511 Linear Algebra: Solutions to Online True/False Exercises This document gives the solutions to all of the online exercises for OHSx XM511. The section ( ) numbers refer to the textbook. TYPE I are True/False. Answers are in square brackets [. Lecture 02 ( 1.1)

More information

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

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

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

This operation is - associative A + (B + C) = (A + B) + C; - commutative A + B = B + A; - has a neutral element O + A = A, here O is the null matrix

This operation is - associative A + (B + C) = (A + B) + C; - commutative A + B = B + A; - has a neutral element O + A = A, here O is the null matrix 1 Matrix Algebra Reading [SB] 81-85, pp 153-180 11 Matrix Operations 1 Addition a 11 a 12 a 1n a 21 a 22 a 2n a m1 a m2 a mn + b 11 b 12 b 1n b 21 b 22 b 2n b m1 b m2 b mn a 11 + b 11 a 12 + b 12 a 1n

More information

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

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

More information

Matrix Arithmetic. j=1

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

More information

A 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 Topics in Applied Mathematics Lecture 12: Evaluation of determinants. Cross product.

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

More information

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

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

More information

Math113: Linear Algebra. Beifang Chen

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

More information

Extra Problems: Chapter 1

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

More information

Math Camp II. Basic Linear Algebra. Yiqing Xu. Aug 26, 2014 MIT

Math Camp II. Basic Linear Algebra. Yiqing Xu. Aug 26, 2014 MIT Math Camp II Basic Linear Algebra Yiqing Xu MIT Aug 26, 2014 1 Solving Systems of Linear Equations 2 Vectors and Vector Spaces 3 Matrices 4 Least Squares Systems of Linear Equations Definition A linear

More information

Math Linear Algebra Final Exam Review Sheet

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

More information

MATH 106 LINEAR ALGEBRA LECTURE NOTES

MATH 106 LINEAR ALGEBRA LECTURE NOTES MATH 6 LINEAR ALGEBRA LECTURE NOTES FALL - These Lecture Notes are not in a final form being still subject of improvement Contents Systems of linear equations and matrices 5 Introduction to systems of

More information

All of my class notes can be found at

All of my class notes can be found at My name is Leon Hostetler I am currently a student at Florida State University majoring in physics as well as applied and computational mathematics Feel free to download, print, and use these class notes

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

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

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

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

Notes on Mathematics

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

More information

CHAPTER 6. Direct Methods for Solving Linear Systems

CHAPTER 6. Direct Methods for Solving Linear Systems CHAPTER 6 Direct Methods for Solving Linear Systems. Introduction A direct method for approximating the solution of a system of n linear equations in n unknowns is one that gives the exact solution to

More information

TOPIC III LINEAR ALGEBRA

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

More information

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

Math 60. Rumbos Spring Solutions to Assignment #17

Math 60. Rumbos Spring Solutions to Assignment #17 Math 60. Rumbos Spring 2009 1 Solutions to Assignment #17 a b 1. Prove that if ad bc 0 then the matrix A = is invertible and c d compute A 1. a b Solution: Let A = and assume that ad bc 0. c d First consider

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

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

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

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

ELEMENTARY LINEAR ALGEBRA

ELEMENTARY LINEAR ALGEBRA ELEMENTARY LINEAR ALGEBRA K R MATTHEWS DEPARTMENT OF MATHEMATICS UNIVERSITY OF QUEENSLAND Second Online Version, December 998 Comments to the author at krm@mathsuqeduau All contents copyright c 99 Keith

More information

Graduate Mathematical Economics Lecture 1

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

More information

Undergraduate Mathematical Economics Lecture 1

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

More information

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

Numerical Linear Algebra Homework Assignment - Week 2

Numerical Linear Algebra Homework Assignment - Week 2 Numerical Linear Algebra Homework Assignment - Week 2 Đoàn Trần Nguyên Tùng Student ID: 1411352 8th October 2016 Exercise 2.1: Show that if a matrix A is both triangular and unitary, then it is diagonal.

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

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

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

More information

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

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

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

More information

* is a row matrix * An mxn matrix is a square matrix if and only if m=n * A= is a diagonal matrix if = 0 i

* is a row matrix * An mxn matrix is a square matrix if and only if m=n * A= is a diagonal matrix if = 0 i CET MATRICES *A matrix is an order rectangular array of numbers * A matrix having m rows and n columns is called mxn matrix of order * is a column matrix * is a row matrix * An mxn matrix is a square matrix

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

LINEAR SYSTEMS, MATRICES, AND VECTORS

LINEAR SYSTEMS, MATRICES, AND VECTORS ELEMENTARY LINEAR ALGEBRA WORKBOOK CREATED BY SHANNON MARTIN MYERS LINEAR SYSTEMS, MATRICES, AND VECTORS Now that I ve been teaching Linear Algebra for a few years, I thought it would be great to integrate

More information

10-701/ Recitation : Linear Algebra Review (based on notes written by Jing Xiang)

10-701/ Recitation : Linear Algebra Review (based on notes written by Jing Xiang) 10-701/15-781 Recitation : Linear Algebra Review (based on notes written by Jing Xiang) Manojit Nandi February 1, 2014 Outline Linear Algebra General Properties Matrix Operations Inner Products and Orthogonal

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

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

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

More information

1 Multiply Eq. E i by λ 0: (λe i ) (E i ) 2 Multiply Eq. E j by λ and add to Eq. E i : (E i + λe j ) (E i )

1 Multiply Eq. E i by λ 0: (λe i ) (E i ) 2 Multiply Eq. E j by λ and add to Eq. E i : (E i + λe j ) (E i ) Direct Methods for Linear Systems Chapter Direct Methods for Solving Linear Systems Per-Olof Persson persson@berkeleyedu Department of Mathematics University of California, Berkeley Math 18A Numerical

More information