Kevin James. MTHSC 3110 Section 2.1 Matrix Operations

Similar documents
ICS 6N Computational Linear Algebra Matrix Algebra

Math 4377/6308 Advanced Linear Algebra

Matrix operations Linear Algebra with Computer Science Application

Matrices: 2.1 Operations with Matrices

Lecture 3: Matrix and Matrix Operations

Fall Inverse of a matrix. Institute: UC San Diego. Authors: Alexander Knop

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.

Mathematics 13: Lecture 10

Matrix Algebra 2.1 MATRIX OPERATIONS Pearson Education, Inc.

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

Chapter 2 Notes, Linear Algebra 5e Lay

Phys 201. Matrices and Determinants

Matrix Arithmetic. j=1

Matrix representation of a linear map

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

Linear Equations in Linear Algebra

Matrix Algebra & Elementary Matrices

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

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

Matrices. Chapter Definitions and Notations

Matrix Multiplication

Linear Algebra and Matrix Inversion

Announcements Monday, October 02

Announcements Wednesday, October 10

Matrix representation of a linear map

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

Elementary maths for GMT

Math 3191 Applied 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

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

Math 1553 Introduction to Linear Algebra

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

I = i 0,

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

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

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

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

Matrices BUSINESS MATHEMATICS

Calculus II - Basic Matrix Operations

1 Matrices and matrix algebra

Elementary Row Operations on Matrices

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

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

Final Project # 5 The Cartan matrix of a Root System

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

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

Lecture 3 Linear Algebra Background

CS 246 Review of Linear Algebra 01/17/19

MATRICES AND MATRIX OPERATIONS

Matrices Gaussian elimination Determinants. Graphics 2009/2010, period 1. Lecture 4: matrices

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

Foundations of Cryptography

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

Basic Linear Algebra in MATLAB

MTH 464: Computational Linear Algebra

. =. a i1 x 1 + a i2 x 2 + a in x n = b i. a 11 a 12 a 1n a 21 a 22 a 1n. i1 a i2 a in

Linear Algebra: Lecture notes from Kolman and Hill 9th edition.

Kevin James. MTHSC 412 Section 3.1 Definition and Examples of Rings

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

Matrices and Vectors

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

MATH 304 Linear Algebra Lecture 8: Vector spaces. Subspaces.

Stage-structured Populations

Kevin James. MTHSC 3110 Section 2.2 Inverses of Matrices

Matrix & Linear Algebra

Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition

M. Matrices and Linear Algebra

Linear Algebra (Review) Volker Tresp 2017

Graduate Mathematical Economics Lecture 1

Undergraduate Mathematical Economics Lecture 1

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

Math 314/814 Topics for first exam

Algorithmic Game Theory and Applications. Lecture 4: 2-player zero-sum games, and the Minimax Theorem

Determinants - Uniqueness and Properties

Linear Algebra (Review) Volker Tresp 2018

The Theory of the Simplex Method. Chapter 5: Hillier and Lieberman Chapter 5: Decision Tools for Agribusiness Dr. Hurley s AGB 328 Course

Basic Concepts in Linear Algebra

Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition

Two matrices of the same size are added by adding their corresponding entries =.

Matrices and Linear Algebra

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

PH1105 Lecture Notes on Linear Algebra.

Review of Basic Concepts in Linear Algebra

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

Chapter 2. Ma 322 Fall Ma 322. Sept 23-27

Review of Linear Algebra

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.

INSTITIÚID TEICNEOLAÍOCHTA CHEATHARLACH INSTITUTE OF TECHNOLOGY CARLOW MATRICES

Linear Algebra Summary. Based on Linear Algebra and its applications by David C. Lay

Things we can already do with matrices. Unit II - Matrix arithmetic. Defining the matrix product. Things that fail in matrix arithmetic

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

Numerical Analysis Lecture Notes

Linear Algebra Tutorial for Math3315/CSE3365 Daniel R. Reynolds

Span & Linear Independence (Pop Quiz)

Lecture Notes in Linear Algebra

Section 12.4 Algebra of Matrices

Mathematics for Graphics and Vision

Instruction: Operations with Matrices ( ) ( ) log 8 log 25 = If the corresponding elements do not equal, then the matrices are not equal.

Matrices and systems of linear equations

Transcription:

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 th column is denoted by a ij, and is called the (i, j)-entry of A. a 11... a 1j... a 1n... a i1... a ij... a in... a m1... a mj... a mn

Notation The columns of A are vectors in R m, and are denoted in the book by a 1, a 2,..., a n and in my notes by a 1, a 2,..., a n. In order to focus attention on the columns we write A = [ a 1 a 2... a n ]

Definition Suppose that A = [ a 1 a 2... a n ] and B = [ b 1 b2... bn ] are both m n matrices. Then we define their sum as A + B = [ a 1 a 2... a n ] + [ b 1 b2... bn ] = [( a 1 + b 1 ) ( a 2 + b 2 )... ( a n + b n )] Alternative Definition Given two m n matrices A and B, we can define their sum C = A + B as the m n matrix whose entries are c ij = a ij + b ij.

Example 1 2 3 1 + 2 4 1 3 2 1 3 4 =

Definition We denote by 0 the matrix all of whose elements are zero. Theorem Let A, B, C be matrices of the same size, and let r, s be scalars. Then 1 A + B = B + A 2 (A + B) + C = A + (B + C) 3 A + 0 = A 4 r(a + B) = ra + rb 5 (r + s)a = ra + sa 6 r(sa) = (rs)a Note This is very similar to the corresponding theorem for vector addition.

Composition of Functions Recall If f and g are functions and the image of g is contained in the domain of f, then we define the composition of f and g by Example f g(x) = f (g(x)) Suppose that f, g : R R are defined by f (y) = y 2 and g(x) = sin(x), then f g(x) = f (g(x)) = (sin(x)) 2

Composition of Linear Transformations Note 1 We will specialize our attention to linear transformations from R n to R m. 2 We have seen that a linear transformation T : R n R m corresponds to multiplying a vector x R n by an m n matrix A. 3 We will consider linear transformations R p U R n T R m, where U : R p R n, and T : R n R m. So, since U( x) is in the domain of T, we can compute T (U( x)).

Fact The composition of two linear transformations is again a linear transformation and thus can be written as multiplication by a matrix.

Matrix Multiplication Suppose that R p U R n T R m. Let B be the n p matrix corresponding to the transformation U. Let A be the m n matrix corresponding to the transformation T. (-i.e. U( x) = B x, and T ( v) = A v). Then we have T U( x) = T (U( x)) = A(B x) = A(x 1 b1 + x 2 b2 + + x p bp ) = Ax 1 b1 + Ax 2 b2 + + Ax p bp = x 1 A b 1 + x 2 A b 2 + + x p A b p = [A b 1 A b 2... A b p ] x Thus, T U( x) = [A b 1 A b 2... A b p ] x.

Matrix Multiplication Defined Definition If A is an m n matrix, and if B = [ b 1, b 2..., b p ] is a n p matrix, then the matrix product AB is the following m p matrix. AB = [A b 1 A b 2... A b p ] Example ( ) 1 2 Let A = and let B = 2 3 ( 3 1 6 7 5 3 ). Compute AB.

Multiplying Matrices Row-Column Rule If A is m n and if B is n p the (i, j)-entry of AB is given by (AB) ij = Note Row i (AB) = Row i (A) B. n a ik b kj k=1

Definition We define the m m identity matrix as 1 0... 0 0 1... 0 I m = [ e 1, e 2,... e m ] =...... 0 0... 1. Theorem With A, B and C appropriately sized matrices and r a scalar 1 (AB)C = A(BC) 2 A(B + C) = AB + AC 3 (B + C)A = BA + CA 4 r(ab) = (ra)b = A(rB) 5 I m A = A = AI n

Properties Not held by Matrix Multiplication Example ( ) 1 2 Let A =. 5 10 ( ) 2 6 Let B =. 1 3 Compute AB, BA, and A 0. Note 1 It is NOT in general true that AB = BA. 2 It is NOT in general true when AC = AB that C = B.

Exponents Definition We define non negative powers of an m m matrix as follows. A 0 = I m, A 1 = A, A n = A n 1 A for n > 1. Example ( 1 2 Let A = 0 1 ). Compute A 3.

The Transpose of a Matrix Definition The transpose of a m n matrix A is the matrix A T having (i, j)-entry a ji. That is, Example For example, A = Note ( 1 2 3 4 5 6 (A T ) ij = a ji. ) has transpose A T = The rows of A become the columns of A T and vice versa. 1 4 2 5 3 6.

Theorem Let A and B be matrices whose sizes are appropriate for the following sums and products to be defined 1 (A T ) T = A 2 (A + B) T = A T + B T. 3 For any scalar r, (ra) T = ra T. 4 (AB) T = B T A T

Example ( ) 1 2 A =, and B = 3 4 AB = ( 7 5 ) 3 9 11 5 ( ) 5 1 1 then 1 2 2 7 9 (AB) T = 5 11 = B T A T 3 5 but A T is 2 2 and B T is 3 2, so A T B T isn t even defined.