Properties of Matrix Arithmetic

Similar documents
A primer on matrices

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

Matrices. Chapter Definitions and Notations

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

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

1 Matrices and matrix algebra

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

Phys 201. Matrices and Determinants

10: Representation of point group part-1 matrix algebra CHEMISTRY. PAPER No.13 Applications of group Theory

A Review of Matrix Analysis

Matrix Basic Concepts

Arrays: Vectors and Matrices

Matrix Dimensions(orders)

A Multiplicative Operation on Matrices with Entries in an Arbitrary Abelian Group

v = ( 2)

Image Registration Lecture 2: Vectors and Matrices

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

Groups. s t or s t or even st rather than f(s,t).

Lesson U2.1 Study Guide

Matrices and Vectors

1. Introduction to commutative rings and fields

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

Elementary Linear Algebra

Math 123, Week 2: Matrix Operations, Inverses

7.3. Determinants. Introduction. Prerequisites. Learning Outcomes

An Introduction To Linear Algebra. Kuttler

Determinant: 3.2 Evaluation of Determinant with Elementary

Numerical Analysis Lecture Notes

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

Elementary Row Operations on Matrices

Determinants - Uniqueness and Properties

Review: Linear and Vector Algebra

Elementary Matrices. which is obtained by multiplying the first row of I 3 by -1, and

Notes on vectors and matrices

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

The matrix will only be consistent if the last entry of row three is 0, meaning 2b 3 + b 2 b 1 = 0.

Introduction to Determinants

CHAPTER 1 MATRICES SECTION 1.1 MATRIX ALGEBRA. matrices Configurations like π 6 1/2

Elementary maths for GMT

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

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

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

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

A primer on matrices

A = 3 B = A 1 1 matrix is the same as a number or scalar, 3 = [3].

25. Strassen s Fast Multiplication of Matrices Algorithm and Spreadsheet Matrix Multiplications

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

A VERY BRIEF LINEAR ALGEBRA REVIEW for MAP 5485 Introduction to Mathematical Biophysics Fall 2010

1. Introduction to commutative rings and fields

Linear Algebra Section 2.6 : LU Decomposition Section 2.7 : Permutations and transposes Wednesday, February 13th Math 301 Week #4

Chapter 2 Notes, Linear Algebra 5e Lay

Math 4377/6308 Advanced Linear Algebra

Lecture 03 Positive Semidefinite (PSD) and Positive Definite (PD) Matrices and their Properties

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

Matrices: 2.1 Operations with Matrices

Rings If R is a commutative ring, a zero divisor is a nonzero element x such that xy = 0 for some nonzero element y R.

Example: 2x y + 3z = 1 5y 6z = 0 x + 4z = 7. Definition: Elementary Row Operations. Example: Type I swap rows 1 and 3

Appendix 2: Linear Algebra

The Matrix Algebra of Sample Statistics

Linear Algebra, Vectors and Matrices

DS-GA 1002 Lecture notes 0 Fall Linear Algebra. These notes provide a review of basic concepts in linear algebra.

Determinant: 3.3 Properties of Determinants

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

Pre-Calculus I. For example, the system. x y 2 z. may be represented by the augmented matrix

CS 246 Review of Linear Algebra 01/17/19

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

n n

MATH 308 LINEAR ALGEBRA NOTES

Linear Algebra Tutorial for Math3315/CSE3365 Daniel R. Reynolds

8-15. Stop by or call (630)

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

Section Summary. Sequences. Recurrence Relations. Summations Special Integer Sequences (optional)

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

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

7.6 The Inverse of a Square Matrix

UNIT 16 Algebra: Linear Equations Activities

Matrix notation. A nm : n m : size of the matrix. m : no of columns, n: no of rows. Row matrix n=1 [b 1, b 2, b 3,. b m ] Column matrix m=1

Relationships Between Planes

CLASS 12 ALGEBRA OF MATRICES

Math 31 Lesson Plan. Day 5: Intro to Groups. Elizabeth Gillaspy. September 28, 2011

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

MITOCW watch?v=ztnnigvy5iq

Adding and Subtracting Terms

Definition 2.3. We define addition and multiplication of matrices as follows.

LS.1 Review of Linear Algebra

The Laplace Expansion Theorem: Computing the Determinants and Inverses of Matrices

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

Introduction to Matrices

Review of linear algebra

POLI270 - Linear Algebra

MATH 320, WEEK 7: Matrices, Matrix Operations

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

Lesson 6: Algebra. Chapter 2, Video 1: "Variables"

Matrix representation of a linear map

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

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.

Appendix A: Matrices

Matrix Multiplication

CHAPTER 8: MATRICES and DETERMINANTS

Math 309 Notes and Homework for Days 4-6

Transcription:

Properties of Matrix Arithmetic I've given examples which illustrate how you can do arithmetic with matrices. Now I'll give precise definitions of the various matrix operations. This will allow me to prove some useful properties of these operations. If A is a matrix, the element in the row and column will be denoted. (Sometimes I'll switch to lower-case letters and use instead of ). Thus, is the entry of. is the entry of. is the entry of. Remark. To avoid confusion, use a comma between the indices where appropriate. " " clearly means the entry in row 2, column 4. However, for the entry in row 13, column 6, write " ", not " ". Here are the formal definitions of the matrix operations. When I write something like "for all i and j", you should take this to mean "for all i such that, where m is the number of rows, and for all j such that, where n is the number of columns". Definition. ( Equality) Let A and B be matrices. Then have the same dimensions and for all i and j. if and only if A and B This definition says that two matrices are equal if they have the same dimensions and corresponding entries are equal. Definition. ( Sums and Differences) Let A and B be matrices. If A and B have the same dimensions, then the sum and the difference are defined, and their entries are given by This definition says that if two matrices have the same dimensions, you can add or subtract them by adding or subtracting corresponding entries. Definition. The zero matrix 0 is the matrix whose entry is given by

Proposition. Let A, B, and C be matrices, and let 0 denote the zero matrix. Then: (a) ( Associativity of Addition) (b) ( Commutativity of Addition) (c) ( Identity for Addition) Proof. Each of the properties is a matrix equation. The definition of matrix equality says that I can prove that two matrices are equal by proving that their corresponding entries are equal. I'll follow this strategy in each of the proofs that follows. (a) To prove that entries are equal:, I have to show that their corresponding (Do you understand what this says? is the entry of, while is the entry of.) Since this is the first proof of this kind that I've done, I'll show the justification for each step. "Associativity" refers to associativity of addition for numbers. Therefore, equal. (b) To prove that equal:, because their corresponding elements are, I have to show that their corresponding entries are

By definition of matrix addition, "Commutativity" refers to commutativity of addition of numbers. Therefore, (c) To prove that, I have to show that their corresponding entries are equal: By definition of matrix addition and the zero matrix, "Arithmetic" refers to the fact that if x is a number, then. Therefore,. In part (b), I showed that addition is commutative. Therefore, Remark. You can see that the idea in many of these proofs for matrices is to reduce the proof to a known property of numbers (such as associativity or commutativity) by looking at the entries of the matrices. Since most of these proofs are fairly simple, I won't write out all of them, and I won't do them in step-by-step detail like the ones above. You should try working through some of them yourself to ensure that you get the idea. Definition. ( Multiplication by Numbers) If A is a matrix and k is a number, then the matrix having the same dimensions as A, and whose entries are given by is (It's considered ugly to write a number on the right side of a matrix if you want to multiply. For the record, I'll define to be the same as.) This definition says that to multiply a matrix by a number, multiply each entry by the number.

Definition. If A is a matrix, then is the matrix having the same dimensions as A, and whose entries are given by Proposition. Let A and B be matrices with the same dimensions, and let k be a number. Then: (a) and. (b). (c). (d). (e). Note that in (b), the 0 on the left is the number 0, while the 0 on the right is the zero matrix. Proof. I'll prove (a) by way of example and leave the proofs of the other parts to you. First, I want to show that entries are equal, i.e.. I have to show that corresponding I apply the definitions of matrix addition and multiplication of a matrix by a number: Therefore,, so. Next, I want to show that place of "+".. I just repeat the last proof with "-" in I have to show that corresponding entries are equal, i.e. I apply the definitions of matrix subtraction and multiplication of a matrix by a number:

Therefore,, so. Suppose A and B are matrices with compatible dimensions for multiplication. Where does the entry of come from? It comes from multiplying the row of A with the column of B: Corresponding elements are multiplied, and then the products are summed. In equation form, this means that the entry of the product is Definition. ( Multiplication) Let A be an matrix and let B be an matrix. The product is the matrix whose entry is given by It's often useful to have a symbol which you can use to compare two quantities i and j --- specifically, a symbol which equals 1 when and equals 0 when. Definition. The identity matrix (or just I, if there's no risk of confusion) is the matrix whose entry is given by Proposition. (a) ( Associativity of Matrix Multiplication) If A, B, and C are matrices which are compatible for multiplication, then

(b) ( Distributivity of Multiplication over Addition) If A, B, C, D, E, and F are matrices compatible for addition and multiplication, then (c) If j and k are numbers and A and B are matrices which are compatible for multiplication, then (d) ( Identity for Multiplication) If A is an matrix, then The "compatible for addition" and "compatible for multiplication" assumptions mean that the matrices should have dimensions which make the operations in the equations legal --- but otherwise, there are no restrictions on what the dimensions can be. Proof. I'll prove (a) and part of (d) by way of example, and leave the proofs of the other parts to you. Before starting, I should say that this proof is rather technical, but try to follow along as best you can. I'll use i, j, k, and l as subscripts. Suppose that A is an matrix, B is an matrix, and C is a matrix. I want to prove that. I have to show that corresponding entries are equal, i.e. By definition of matrix multiplication, If you stare at those two terrible double sums for a while, you can see that they involve the same A, B, and C terms, and they involve the same summations --- but in different orders. I'm allowed to convert one into the other by interchanging the order of summation, and using the distributive law:

Therefore,, and so. Wow! Next, I'll prove the second part of (d), namely that corresponding entries are equal:. As usual, I must show that By definition of matrix multiplication and the identity matrix, Using the lemma I proved on the Kronecker delta, I get Thus,, and so. Definition. Let A be an matrix. The transpose of A is the matrix whose entry is given by Proposition. Let A and B be matrices of the same dimension, and let k be a number. Then: (a). (b). (c). Proof. I'll prove (b) by way of example and leave the proofs of the other parts for you. I want to show that equal:. I have to show the corresponding entries are

Now Thus,, so. Proposition. Suppose A and B are matrices which are compatible for multiplication. Then Proof. I'll derive this using the matrix multiplication formula. Let denote the entry of, and likewise for B and. Then The product on the right is the entry of, while is the entry of. Therefore,, since their corresponding entries are equal. Definition. (a) A matrix X is symmetric if. (b) A matrix X is skew symmetric if. Remarks. Both definitions imply that X is a square matrix. In terms of elements, X is symmetric if X is skew symmetric if

Example. A symmetric matrix is symmetric across its main diagonal (the diagonal running from northwest to southeast). For example, is symmetric. Here's a skew symmetric matrix: Entries which are symmetrically located across the main diagonals are negatives of one another. The entries on the main diagonal must be 0, since they must be equal to their negatives. The next result is pretty easy, but it illustrates how you can use the definitions of symmetry and skew symmetry in writing proofs. Notice that I'm not writing out the entries of the matrices! Proposition. (a) The sum of symmetric matrices is symmetric. (b) The sum of skew symmetric matrices is skew symmetric. Proof. (a) Let A and B be symmetric. I must show that is symmetric. Now The first equality follows from a property I proved for transposes. The second equality follows from the fact that A is symmetric (so ) and B is symmetric (so ). Since, it follows that is symmetric. (b) Let A and B be skew symmetric, so and. I must show that is skew symmetric. Now Therefore, is skew symmetric.