Matrices and their operations No. 1

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

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

Phys 201. Matrices and Determinants

Appendix A: Matrices

MTH 35, SPRING 2017 NIKOS APOSTOLAKIS

Matrix operations Linear Algebra with Computer Science Application

Matrices. Chapter What is a Matrix? We review the basic matrix operations. An array of numbers a a 1n A = a m1...

Linear Algebra M1 - FIB. Contents: 5. Matrices, systems of linear equations and determinants 6. Vector space 7. Linear maps 8.

Chapter 5: Matrices. Daniel Chan. Semester UNSW. Daniel Chan (UNSW) Chapter 5: Matrices Semester / 33

CLASS 12 ALGEBRA OF MATRICES

Applied Matrix Algebra Lecture Notes Section 2.2. Gerald Höhn Department of Mathematics, Kansas State University

JUST THE MATHS UNIT NUMBER 9.8. MATRICES 8 (Characteristic properties) & (Similarity transformations) A.J.Hobson

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

DM559 Linear and Integer Programming. Lecture 3 Matrix Operations. Marco Chiarandini

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

Prelims Linear Algebra I Michaelmas Term 2014

Massachusetts Institute of Technology Department of Economics Statistics. Lecture Notes on Matrix Algebra

Math 4377/6308 Advanced Linear Algebra

Linear Equations in Linear Algebra

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.

1 The Basics: Vectors, Matrices, Matrix Operations

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

Lemma 8: Suppose the N by N matrix A has the following block upper triangular form:

Math Camp Lecture 4: Linear Algebra. Xiao Yu Wang. Aug 2010 MIT. Xiao Yu Wang (MIT) Math Camp /10 1 / 88

Matrix Algebra 2.1 MATRIX OPERATIONS Pearson Education, Inc.

UNIT 1 DETERMINANTS 1.0 INTRODUCTION 1.1 OBJECTIVES. Structure

MATRICES AND MATRIX OPERATIONS

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

ICS 6N Computational Linear Algebra Matrix Algebra

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

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

Matrices: 2.1 Operations with Matrices

Evaluating Determinants by Row Reduction

Matrix Representation

William Stallings Copyright 2010

2.1 Matrices. 3 5 Solve for the variables in the following matrix equation.

Linear Algebra and Matrix Inversion

Elementary maths for GMT

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.

Quantum Computing Lecture 2. Review of Linear Algebra

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

Graduate Mathematical Economics Lecture 1

Introduction to Matrices

Undergraduate Mathematical Economics Lecture 1

Matrix Arithmetic. j=1

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

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

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

Extra Problems: Chapter 1

Announcements Wednesday, October 10

CS 246 Review of Linear Algebra 01/17/19

Unit 3: Matrices. Juan Luis Melero and Eduardo Eyras. September 2018

LA lecture 4: linear eq. systems, (inverses,) determinants

Assignment 2 (Sol.) Introduction to Machine Learning Prof. B. Ravindran

Matrix-Matrix Multiplication

POLI270 - Linear Algebra

3. Vector spaces 3.1 Linear dependence and independence 3.2 Basis and dimension. 5. Extreme points and basic feasible solutions

3 Matrix Algebra. 3.1 Operations on matrices

Numerical Linear Algebra Homework Assignment - Week 2

Computational modeling

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

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

Lecture 3 Linear Algebra Background

ENGR-1100 Introduction to Engineering Analysis. Lecture 21

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

Kevin James. MTHSC 3110 Section 2.1 Matrix Operations

Linear Algebra Tutorial for Math3315/CSE3365 Daniel R. Reynolds

MAC Learning Objectives. Learning Objectives (Cont.) Module 10 System of Equations and Inequalities II

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

Linear Equations and Matrix

Exercise Set Suppose that A, B, C, D, and E are matrices with the following sizes: A B C D E

Linear Algebra Review

Offline Exercises for Linear Algebra XM511 Lectures 1 12

CHAPTER 8: Matrices and Determinants

Chapter 3. Linear and Nonlinear Systems

Solutions to Exam I MATH 304, section 6

Introduction to Matrix Algebra

Review : Powers of a matrix

Math Linear Algebra Final Exam Review Sheet

Vectors and Matrices

Topic 7 - Matrix Approach to Simple Linear Regression. Outline. Matrix. Matrix. Review of Matrices. Regression model in matrix form

Announcements Monday, October 02

Jim Lambers MAT 610 Summer Session Lecture 1 Notes

Systems of Linear Equations and Matrices

L. Vandenberghe EE133A (Spring 2017) 3. Matrices. notation and terminology. matrix operations. linear and affine functions.

Systems of Linear Equations and Matrices

Chap 3. Linear Algebra

ECON 186 Class Notes: Linear Algebra

Section 12.4 Algebra of Matrices

Matrix & Linear Algebra

For comments, corrections, etc Please contact Ahnaf Abbas: Sharjah Institute of Technology. Matrices Handout #8.

MTH 464: Computational Linear Algebra

Matrix Operations: Determinant

Digital Workbook for GRA 6035 Mathematics

ORIE 6300 Mathematical Programming I August 25, Recitation 1

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

Chapter 5 Matrix Approach to Simple Linear Regression

Math 3191 Applied Linear Algebra

7.6 The Inverse of a Square Matrix

22m:033 Notes: 3.1 Introduction to Determinants

Transcription:

Matrices and their operations No. 1 Multiplication of 2 2 Matrices Nobuyuki TOSE October 11, 2016

Review 1: 2 2 Matrices 2 2 matrices A ( a 1 a 2 ) ( a1 a 2 ) ( ) a11 a 12 a 21 a 22 A 2 2 matrix is given in the following ways. (i) Combining two column vectors a 1, a 2 R 2 (ii) Combining two row vectors a 1 and a 2 (iii) Giving 2 2 components. NB a ij is used for the component of the ith row and of the jth column.

Review 2 Multiplication of 2-dim. vectors to 2 2 matrices A ( ) x y x a 1 + y a 2 ( ) a11 x + y a 21 ( ) x a 1 y ( ) x a 2 y ( a12 a 22 ) ( ) xa11 + ya 12 xa 21 + ya 22 Here we use the multiplication of a row vector and a column vector defined by ( ) x (α β) αx + βy y

Review 3: Multiplication of two 2 2 matrices Take another 2 2 matrix B ( b 1 b2 ) ( b1 b 2 ). Then ( AB (A b 1 A a b 2 ) 1 b1 a 2 b1 ) a 1 b2 a 2 b2

Linear Map defined by using A A Map defined by A Given a 2 2 matrix we can define a map A ( a 1 a 2 ) ( a1 a 2 ) ( ) a11 a 12, a 21 a 22 F A : R 2 R 2 ( ) ( ) s s A s a t t 1 + t a 2

Linearity of F A Linearity of F A F A satisfies the following basic properties called Linearity. (i) F A ( x + y) F A ( x) + F A ( y) (ii) F A (λ x) λf A ( x) (iii) F A (λ x + µ y) λf A ( x) + µf A ( y) These three propeties are identical to the following. (i) A( x + y) A x + A y (ii) A(λ x) λ(a x) (iii) A(λ x + µ y) λ(a x) + µ(a y) Moreover remark that (iii) can be easily derived from (i) and (ii). In fact A(λ x + µ y) A(λ x) + A(µ y) λ(a x) + µ(a y)

Proof Proof for (i) LHS A (( x1 x 2 ) + ( y1 y 2 (x 1 + y 1 ) a 1 + (x 2 + y 2 ) a 2 )) ( ) x1 + y A 1 x 2 + y 2 Proof for (ii) x 1 a 1 + y 1 a 1 + x 2 a 2 + y 2 a 2 (x 1 a 1 + x 2 a 2 ) + (y 1 a 1 + y 2 a 2 ) ( ) ( ) x1 y1 A + A RHS x 2 y 2 ( ) λx1 LHS A λx 2 (λx 1 ) a 1 + (λx 2 ) a 2 λ(x 1 a 1 ) + λ(x 2 a 2 ) λ(x 1 a 1 + x 2 a 2 ) RHS

Associativity Thanks to the Linearity, we can prove the following theorem about Associativity. Theorem: Associativity Given 2 2 matrices A and B. Then we have for x R 2. In fact, (AB) x A(B x) RHS A(x 1 b1 + x 2 b2 ) x 1 (A b 1 ) + x 2 (A b 2 ) ( ) (A b 1 A x1 b 2 ) (AB) x LHS x 2

Associativity 2 Theorem: Associativity Given 2 2 matrices A, B and C. Then (AB)C A(BC)

Scalar Multiplication to Matirces Scalar Multiplication to 2 2 Matrices Given a 2 2 matix A ( a 1 a 2 ) ( a1 a 2 ) ( ) a11 a 12, a 21 a 22 we define a scalar multiplication by λ to A as follows: ( ) ( ) λa1 λa11 λa λa (λ a 1 λ a 2 ) 12 λa 2 λa 21 λa 22

Scalar Multiplication to Matirces Theorem (i) (λa) x λ(a x) A(λ x) (ii) (λa)b λ(ab) A(λB) The proof for (i) is given as follows: (λa) x (λ a 1 λ a 2 ) x (λx 1 ) a 1 + (λx 2 ) a 2 λ(x 1 a 1 ) + λ(x 2 a 2 ) λ(x 1 a 1 + x 2 a 2 ) λ(a x) Moreover the property (ii) is derived easily from (i).

Other Basic Properties of Scalar Multiplication Theorem (iii) (λ + µ)a λa + µa (iv) (λµ)a λ (µa) (v) 1A A and 0A O 2 These properties can derived from the following corresponding properties for vectors. It is necessary to define the addition of matrices to understand (iii), and we put it off for a couple of weeks. (iii) (λ + µ) a λ a + µ a (iv) (λµ) a λ(µ a) (v) 1 a a and 0 a 0

Special Matrices O 2 Zero Matrix O 2 ( 0 0) ( ) 0 0 0 0 is called the zero matrix. It satisfies the identity O 2 X O 2 follows from and XO 2 O 2 from O 2 x ( 0 0) X 0 ( x 1 x 2 ) O 2 X XO 2 O 2 ( x1 x 2 ) x 1 0 + x 2 0 0 ( ) 0 0 x 0 1 + 0 x 2 0

Special Matrices 2 I 2 Identity Matrix I 2 ( e 1 e 2 ) ( ) 1 0 0 1 is called the Identity Matrix. It enjoys for a 2 2 matrix X, the identity XI 2 I 2 X X It follows from the identities that ( a b) e 1 1 a + 0 b a, ( a b) e 2 0 a + 1 b b XI 2 ( x 1 x 2 )( e 1 e 2 ) ( x 1 x 2 ) X Moreover I 2 X X from ( ) x ( e 1 e 2 ) x e y 1 + y e 2 x ( ) 1 + y 0 ( ) 0 1 ( ) x y

Inverse matrix We have the identity ( ) ( ) ( ) ( ) a b d b d b a b c d c a c a c d ( ad bc 0 ) 0 ad bc Cofactor Matrix ( ) a b For A, its cofactor matrix is defeined by c d Then we have the identity ( ) d b à c a Aà ÃA A I 2

Inverse Matrix 2 Assume that A 0. Then multiply by 1 A and get A 1 A Ã 1 A Ã A I 2 Inverse Matrix In case A 0, the Inverse Matrix of A is defined by A 1 1 ( ) A Ã 1 d b ad bc c a

Regularity of Matrices, Uniqueness of Inverse Regularity of Matrices A 2 2 matrix A is called regular if there exists another 2 2 matrix X satisfying AX XA I 2 In this situation X is called the inverse of A. (i) If A 0, A is regular. (ii) (Uniqueness of the inverse) Assume AX XA I 2, AY YA I 2 Then X Y. In fact, from AX I 2 multiplied by Y from the left follows Y (AX ) YI 2 Y On the other hand, Y (AX ) (YA)X I 2 X X. Accordingly X Y.

In case A 0 Theorem A ( ) a b Let A a 2 2 matrix with A 0. Then there exists c d v 0 satisfying A v 0. ( ) ( ) a b d c d c ( a b c d ) ( ) b a ( ) 0 0 ( ) ( ) d d (i) In case d 0 or c 0, 0 AND A c c ( ) ( ) b b (ii) In case b 0 or c 0, 0 AND A a a (iii) Not (i) AND Not (ii). Then A O 2. 0. 0.

Equivalent conditions for regularity If A is regular, then A v 0 implies v 0. In fact by multiplying A 1 to A v 0 to get A 1 A v A 1 0 namely v I 2 v 0 Thus it follows from Theorem A that if A 0 then A is not regular. Theorem B The following (i), (ii) and (iii) are equivalent for a 2 2 matrix A. (i) A is regular. (ii) A v 0 v 0 (iii) A 0.

Proof for Theorem B (i) (iii) The contraposition Not (iii) Not (i) is already shown. (i) (ii) Already shown. (iii) (i) Already shown. The contraposition Not (iii) Not (ii) is given in Theorem A.

Addition of two 2 2 Matrices Definition Given two 2 2 matrices and A ( a 1 a 2 ) B ( b 1 b2 ) ( a1 a 2 ( b1 b 2 ) ( ) a11 a 12 a 21 a 22 ) ( ) b11 b 12 b 21 b 22 Then the 2 2 matrixa + B is defined by ( ) ( ) A + B ( a 1 + b 1 a 2 + a1 + b b 2 ) 1 a11 + b 11 a 12 + b 12 a 2 + b 2 a 21 + b 21 a 22 + b 22

Basic Properties (1) Basic Properties (1) (i) (A + B) + C A + (B + C) (ii) A + O 2 O 2 + A A (iii) A + B B + A (iv) λ(a + B) λa + λb (v) (λ + µ)a λa + µa (i) follows from ( a + b) + c a + ( b + c). (ii) follows from a + 0 0 + a a. (iii) follows from a + b b + a. (v) follows from (λ + µ) a λ a + µ a. (iv) is proved as follows. LHS λ( a 1 + b 1 a 2 + b 2 ) (λ( a 1 + b 1 ) λ( a 2 + b 2 )) (λ a 1 + λ b 1 λ a 2 + λ b 2 ) (λ a 1 λ a 2 ) + (λ b 1 λ b 2 ) RHS

Basic Properties (2) Basic Properties (2) (vi) A(B + C) AB + AC (vii) (B + C)A BA + CA (vi) follows from A( b + c) A b + A c. In fact LHS A( b 1 + c 1 b2 + c 2 ) (A( b 1 + c 1 ) A( b 2 + c 2 )) (A b 1 + A c 1 A b 2 + A c 2 ) (A b 1 A b 2 ) + (A c 1 A c 2 ) RHS (vii) follows from the identity (B + C) a B a + C a which is derived as follows. ( ) LHS ( b 1 + c 1 a1 b2 + c 2 ) a 1 ( b 1 + c 1 ) + a 2 ( b 2 + c 2 ) a 2 (a 1 b1 + a 2 b2 ) + (a 1 c 1 + a 2 c 2 ) RHS