Math 360 Linear Algebra Fall Class Notes. a a a a a a. a a a

Similar documents
Elementary Row Operations on Matrices

MATRICES. a m,1 a m,n A =

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

Matrices and Linear Algebra

Matrix Arithmetic. j=1

Linear Algebra and Matrix Inversion

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

7.6 The Inverse of a Square Matrix

Chapter 2 Notes, Linear Algebra 5e Lay

[ Here 21 is the dot product of (3, 1, 2, 5) with (2, 3, 1, 2), and 31 is the dot product of

Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition

Matrices. Math 240 Calculus III. Wednesday, July 10, Summer 2013, Session II. Matrices. Math 240. Definitions and Notation.

Linear Algebra V = T = ( 4 3 ).

Elementary maths for GMT

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

Chapter 1 Matrices and Systems of Equations

Lesson U2.1 Study Guide

Phys 201. Matrices and Determinants

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

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

Review of Basic Concepts in Linear Algebra

Chapter 3: Theory Review: Solutions Math 308 F Spring 2015

Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition

CLASS 12 ALGEBRA OF MATRICES

Knowledge Discovery and Data Mining 1 (VO) ( )

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 1 x 2. x n 8 (4) 3 4 2

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.

Matrices. In this chapter: matrices, determinants. inverse matrix

MA 138 Calculus 2 with Life Science Applications Matrices (Section 9.2)

A FIRST COURSE IN LINEAR ALGEBRA. An Open Text by Ken Kuttler. Matrix Arithmetic

What is the Matrix? Linear control of finite-dimensional spaces. November 28, 2010

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

A primer on matrices

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.

Basic Concepts in Linear Algebra

POLI270 - Linear Algebra

Matrix Algebra. Matrix Algebra. Chapter 8 - S&B

Think about systems of linear equations, their solutions, and how they might be represented with matrices.

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

1 Matrices and matrix algebra

Matrices. Chapter Definitions and Notations

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

Review of Linear Algebra

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

. a m1 a mn. a 1 a 2 a = a n

Matrices and systems of linear equations

NOTES on LINEAR ALGEBRA 1

MATH Mathematics for Agriculture II

ICS 6N Computational Linear Algebra Matrix Algebra

Lecture Notes in Linear Algebra

MATH2210 Notebook 2 Spring 2018

Matrix representation of a linear map

Prepared by: M. S. KumarSwamy, TGT(Maths) Page

Introduction to Determinants

Chapter 2: Matrices and Linear Systems

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

Materials engineering Collage \\ Ceramic & construction materials department Numerical Analysis \\Third stage by \\ Dalya Hekmat

Review of linear algebra

Matrix Multiplication

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

Matrix representation of a linear map

Matrix Algebra 2.1 MATRIX OPERATIONS Pearson Education, Inc.

Chapter 4 - MATRIX ALGEBRA. ... a 2j... a 2n. a i1 a i2... a ij... a in

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

PH1105 Lecture Notes on Linear Algebra.

Matrix operations Linear Algebra with Computer Science Application

TOPIC III LINEAR ALGEBRA

Matrices and Vectors

MATRICES The numbers or letters in any given matrix are called its entries or elements

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

LS.1 Review of Linear Algebra

MATRICES AND MATRIX OPERATIONS

ENGI 9420 Lecture Notes 2 - Matrix Algebra Page Matrix operations can render the solution of a linear system much more efficient.

Matrix & Linear Algebra

MAT 2037 LINEAR ALGEBRA I web:

Topic 1: Matrix diagonalization

CS100: DISCRETE STRUCTURES. Lecture 3 Matrices Ch 3 Pages:

Systems of Linear Equations. By: Tri Atmojo Kusmayadi and Mardiyana Mathematics Education Sebelas Maret University

Chapter 2. Matrix Arithmetic. Chapter 2

Multiplying matrices by diagonal matrices is faster than usual matrix multiplication.

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

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

* 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

a11 a A = : a 21 a 22

Introduction. Vectors and Matrices. Vectors [1] Vectors [2]

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

Chapter 7. Linear Algebra: Matrices, Vectors,

Lecture 7: Vectors and Matrices II Introduction to Matrices (See Sections, 3.3, 3.6, 3.7 and 3.9 in Boas)

Linear Algebra March 16, 2019

REPLACE ONE ROW BY ADDING THE SCALAR MULTIPLE OF ANOTHER ROW

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 )

Mathematics 13: Lecture 10

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

Introduction to Matrices and Linear Systems Ch. 3

Homework 1 Elena Davidson (B) (C) (D) (E) (F) (G) (H) (I)

Systems of Linear Equations and Matrices

CHAPTER 6. Direct Methods for Solving Linear Systems

Math Linear Algebra Final Exam Review Sheet

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

Transcription:

Math 360 Linear Algebra Fall 2008 9-10-08 Class Notes Matrices As we have already seen, a matrix is a rectangular array of numbers. If a matrix A has m columns and n rows, we say that its dimensions are m n (or that it is an m n matrix). An arbitrary m n matrix would be represented as follows: or simply, A a a a a a a a a a 11 12 1n 21 22 2n = m1 m2 mn A= a ij. Of course, if the matrix is named M or B (or whatever), then the entries names change too. Notice that an n -dimensional vector is simply an 1 n matrix. Definition: wo m n matrices A and B are equal if every entry is the same (i.e. a = b for all i and j ). if ij ij Matrices are a very fundamental tool in mathematics. o be able to effectively utilize them, we need to be adept at matrix arithmetic. We have three operations we can perform using matrices: scalar multiplication, matrix addition, and matrix multiplication. Scalar multiplication and matrix addition work exactly the same as they did for vectors (not surprisingly). Note that to add two matrices, they must have the same dimensions. Matrix multiplication is a different story. o multiply two matrices together, we re need to recall the dot product of y1 y 2 x1 x2 xn = xy 1 1+ x2y2+ + xnyn. yn two vectors. he dot product [ ]

Note that the dot product of two vectors is a scalar (indeed it is sometimes called the scalar product). Also note that in order to be able to get the dot product, the number of columns in the first vector must equal the number of rows in the second vector. his is true when we multiply arbitrary matrices as well. Given two matrices A and B, in order for them to be multiply-able the number of columns in A must equal the number of rows in B. So let s say that A is an m n matrix and B is an n k matrix. Notice that those interior dimensions (the columns of A and the rows of B) match. o compute the product AB, we form the m k matrix obtained by computing the dot product of each row of A with each column of B. Let s do an example. Example 1: Multiply 1 0 1. 0 8 4 I picked a couple of nice, big matrices so we would be able to see what s going on. First of all note that we CAN multiply these together because the first matrix is 2 4 and the second is 4 3. (his seems like a good time to mention the apparent fact that matrix multiplication is NO commutative. Notice that the dimensions would not work for us to switch the order of these two matrices.) he product of these two matrices will be a 2 3 matrix. 1 0 1 _ = 0 8 4 _ o fill in each blank, we need to compute the dot product of the corresponding row and column of the given matrices. For example, to fill in the blank in the 1 st row, 1 st column, we take the dot product of the 1 st row and 1 st column of the two matrices. so we have, 2 1+ 5 6+ 1 0 + ( 2) 5= 22,

1 0 1 22 = 0 8 4 _. Let s pick another entry to compute. How do we calculate the entry in the 1 st row, 3 rd column? hat s right. You find the dot product of the 1 st row and the 3 rd column of the two given matrices. 2 ( 1) + 5 2+ 1 4 + ( 2) 1= 10. Continuing in this fashion, we get the product, 1 0 1 22 1 10 = 0 8 4 51 0 3. Example 2: Multiply 1 2 5 3 3 4 2 1. 2 2 2 2 Must be the same Product will be this Since the interior dimensions match (both are 2), we can multiply these together. he product will also be a 2 2 matrix. By taking the dot product of each row of the first matrix with each column of the second, we get the product 1 2 5 3 9 5 3 4 = 2 1 21 13.

It is interesting to note that with these two particular matrices, you COULD reverse the order and still be able to multiply them. In that case, we would get, 5 3 1 2 14 22 2 1 = 3 4 5 8. Clearly, as mentioned above, matrix multiplication is not commutative. Example 3: Write the matrix equation equations. 3 1 2 x1 5 2 2 1 x = 4 2 8 0 3 x3 3 as a system of 3x1 + x2 2x3 If we multiply out the left-hand side we get 2x1 + 2x2+ x 3. Since matrices 8x1 + 3x3 are equal when all entries are equal, the matrix equation turns into the system of equations, 3x + x 2x = 5 1 2 3 2x + 2x + x = 4 1 2 3 8x + 3x = 3 1 3 Definition: he n n identity matrix I is the matrix with 1 s down the main 1 0 0 0 1 diagonal and 0 s elsewhere. So I =. An n n matrix A is 0 1 invertible (or nonsingular) if there exists a matrix B such that AB= BA= I. In this case, B is called the (multiplicative) inverse of A. If there is no such matrix, A is called singular.

heorem 1: Let α, β be scalars and let AB,,and C be matrices. hen each of the following statements are true whenever the operations are defined (i.e. when the dimensions match). (a) A+ B= B+ A (matrix addition is commutative) (b) A+ ( B+ C) = ( A+ B) + C (matrix addition is associative) (c) ABC ( ) = ( ABC ) (matrix multiplication is associative) (d) AB ( + C) = AB+ AC and ( A+ BC ) = AC+ BC (distributivity) (e) ( αβ ) A= α( βa) (f) α( AB) = ( αab ) = A( αb) (g) ( α+ β )A= αa+ βa and α( A+ B) = αa+ αb (distributivity) Definition: Let matrix A x ij A= a be an m n matrix. he transpose of A is the n m ij = where xij = aji. (In other words, to form the transpose, you interchange rows and columns). A matrix A is symmetric if A= A. Example 4: Find the transpose of each matrix. 2 4 (a) A= 5 1 (b) 3 2 1 B= 0 6 5 4 5 2 (a) A 2 5 = 4 1 (so A is not symmetric) (b) 3 0 4 B= 2 6 5 1 5 2 (so B is symmetric) heorem 2: here four basic rules involving transposes. (a) ( A ) = A (b) ( αa) = αa (c) ( A+ B) = A + B (d) ( AB) = B A

Homework 1. For each problem compute (if possible) A+ 3B, B A, and AB. If something is impossible to compute, explain why. (a) (c) 3 1 A= 0 2, 1 2 B= 12 3 (b) 5 0 2 A= 1 1 7, 2 4 6 B= 1 3 5 0 3 7 1 6 1 A=, B= 2 3 8 2 4 0 2. Let A= 1 1 2 2 1 1 2 2. Compute 2 A and 3 A. What do you think n A will be? 3. Find two 2 2 matrices A and B such that 0 0 AB= 0 0. 4. Find nonzero matrices A, B, and C for which AC= BC and A B. 5. Explain why each of the following arithmetic rules will not work in general when the real numbers a and b are replaced by n n matrices A and B. 2 2 2 2 2 (a) ( a+ b) = a + 2ab+ b (b) ( a+ b)( a b) = a b 1 1 6. he matrix M = 1 1 has the property that 0 0 2 M = 0 0. Is it possible for a nonzero symmetric B matrix to have this property? Explain your answer. 7. A matrix A is skew-symmetric if A = A. Show that if a matrix is skewsymmetric then all its diagonal entries must be 0.