330 likes | 513 Views
MAT 2401 Linear Algebra. 2.1 Operations with Matrices. http://myhome.spu.edu/lauw. Today. WebAssign 2.1 Written HW Again, today may be longer. It is more efficient to bundle together some materials from 2.2. Next class session will be shorter. Preview.
E N D
MAT 2401Linear Algebra 2.1 Operations with Matrices http://myhome.spu.edu/lauw
Today • WebAssign 2.1 • Written HW • Again, today may be longer. It is more efficient to bundle together some materials from 2.2. • Next class session will be shorter.
Preview • Look at the algebraic operations of matrices • “term-by-term” operations • Matrix Addition and Subtraction • Scalar Multiplication • Non-“term-by-term” operations • Matrix Multiplication
Matrix • If a matrix has m rows and n columns, then the size (dimension) of the matrix is said to be mxn.
Notations • Matrix
Notations • Matrix
Special Cases • Row Vector • Column Vector
Matrix Addition and Subtraction • Let A = [aij] and B = [bij] be mxn matrices • Sum: A + B = [aij+bij] • Difference: A-B = [aij-bij] • (Term-by term operations)
Scalar Multiplication Let A = [aij] be a mxn matrix and c a scalar. • Scalar Product: cA=[caij]
Matrix Multiplication • Define multiplications between 2 matrices • Not “term-by-term” operations
Motivation • The LHS of the linear equation consists of two pieces of information: • coefficients: 2, -3, and 4 • variables: x, y, and z
Motivation • Since both the coefficients and variables can be represented by vectors with the same “length”, it make sense to consider the LHS as a “product” of the corresponding vectors.
Interesting Facts • The product of mxp and pxn matrices is a mxn matrix. • In general, AB and BA are not the same even if both products are defined. • AB=0 does not necessary imply A=0 or B=0. • Square matrix with 1 in the diagonal and 0 elsewhere behaves like multiplicative identity.
Identity Matrix nxn Square Matrix
Zero Matrix mxn Matrix with all zero entries
Remark It would be nice if “division” can be defined such that: (2.3) Inverse