Linear Algebra: Matrices

Similar documents
1 Introduction to Matrices

Lecture 2 Matrix Operations

December 4, 2013 MATH 171 BASIC LINEAR ALGEBRA B. KITCHENS

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 2. x n. a 11 a 12 a 1n b 1 a 21 a 22 a 2n b 2 a 31 a 32 a 3n b 3. a m1 a m2 a mn b m

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS

Chapter 7. Matrices. Definition. An m n matrix is an array of numbers set out in m rows and n columns. Examples. (

13 MATH FACTS a = The elements of a vector have a graphical interpretation, which is particularly easy to see in two or three dimensions.

Matrix Algebra. Some Basic Matrix Laws. Before reading the text or the following notes glance at the following list of basic matrix algebra laws.

MATH 304 Linear Algebra Lecture 18: Rank and nullity of a matrix.

Solution to Homework 2

Introduction to Matrices for Engineers

MAT188H1S Lec0101 Burbulla

Linear Algebra Review. Vectors

Section 5.3. Section 5.3. u m ] l jj. = l jj u j + + l mj u m. v j = [ u 1 u j. l mj

Linear Algebra Notes for Marsden and Tromba Vector Calculus

Orthogonal Diagonalization of Symmetric Matrices

Similar matrices and Jordan form

Matrix Differentiation

9 MATRICES AND TRANSFORMATIONS

Math 312 Homework 1 Solutions

Inner products on R n, and more

T ( a i x i ) = a i T (x i ).

Similarity and Diagonalization. Similar Matrices

Introduction to Matrix Algebra

Eigenvalues, Eigenvectors, Matrix Factoring, and Principal Components

Recall that two vectors in are perpendicular or orthogonal provided that their dot

Linear Algebra: Determinants, Inverses, Rank

Using row reduction to calculate the inverse and the determinant of a square matrix

a 11 x 1 + a 12 x a 1n x n = b 1 a 21 x 1 + a 22 x a 2n x n = b 2.

Lecture notes on linear algebra

NOTES ON LINEAR TRANSFORMATIONS

Solving Linear Systems, Continued and The Inverse of a Matrix

Applied Linear Algebra I Review page 1

Elementary Matrices and The LU Factorization

Introduction to Matrix Algebra

Linearly Independent Sets and Linearly Dependent Sets

Math 115A HW4 Solutions University of California, Los Angeles. 5 2i 6 + 4i. (5 2i)7i (6 + 4i)( 3 + i) = 35i + 14 ( 22 6i) = i.

Lecture 4: Partitioned Matrices and Determinants

Data Mining: Algorithms and Applications Matrix Math Review

Brief Introduction to Vectors and Matrices

8 Square matrices continued: Determinants

Section Inner Products and Norms

Notes on Determinant

SYSTEMS OF EQUATIONS AND MATRICES WITH THE TI-89. by Joseph Collison

The Singular Value Decomposition in Symmetric (Löwdin) Orthogonalization and Data Compression

MATH 304 Linear Algebra Lecture 9: Subspaces of vector spaces (continued). Span. Spanning set.

Notes on Symmetric Matrices

Chapter 6. Orthogonality

160 CHAPTER 4. VECTOR SPACES

Boolean Algebra Part 1

Matrix Representations of Linear Transformations and Changes of Coordinates

Mathematics Course 111: Algebra I Part IV: Vector Spaces

Systems of Linear Equations

The Characteristic Polynomial

26. Determinants I. 1. Prehistory

Name: Section Registered In:

DATA ANALYSIS II. Matrix Algorithms

Linear Algebra Notes

MAT 200, Midterm Exam Solution. a. (5 points) Compute the determinant of the matrix A =

A linear combination is a sum of scalars times quantities. Such expressions arise quite frequently and have the form

Linear Maps. Isaiah Lankham, Bruno Nachtergaele, Anne Schilling (February 5, 2007)

LINEAR ALGEBRA. September 23, 2010

A =

4: EIGENVALUES, EIGENVECTORS, DIAGONALIZATION

GENERATING SETS KEITH CONRAD

Matrices and Linear Algebra

Lecture Notes 2: Matrices as Systems of Linear Equations

An Introduction to Hill Ciphers Using Linear Algebra

Linear Algebra Done Wrong. Sergei Treil. Department of Mathematics, Brown University

October 3rd, Linear Algebra & Properties of the Covariance Matrix

Typical Linear Equation Set and Corresponding Matrices

v w is orthogonal to both v and w. the three vectors v, w and v w form a right-handed set of vectors.

MATH 423 Linear Algebra II Lecture 38: Generalized eigenvectors. Jordan canonical form (continued).

1 VECTOR SPACES AND SUBSPACES

Lecture 5: Singular Value Decomposition SVD (1)

COMMUTATIVE RINGS. Definition: A domain is a commutative ring R that satisfies the cancellation law for multiplication:

5. Orthogonal matrices

[1] Diagonal factorization

University of Lille I PC first year list of exercises n 7. Review

Chapter Two: Matrix Algebra and its Applications 1 CHAPTER TWO. Matrix Algebra and its applications

Lecture 1: Systems of Linear Equations

F Matrix Calculus F 1

A Primer on Index Notation

Arkansas Tech University MATH 4033: Elementary Modern Algebra Dr. Marcel B. Finan

These axioms must hold for all vectors ū, v, and w in V and all scalars c and d.

SF2940: Probability theory Lecture 8: Multivariate Normal Distribution

Finite dimensional C -algebras

7.4. The Inverse of a Matrix. Introduction. Prerequisites. Learning Style. Learning Outcomes

Solving Systems of Linear Equations

Matrix Algebra in R A Minimal Introduction

Row Echelon Form and Reduced Row Echelon Form

GCE Mathematics (6360) Further Pure unit 4 (MFP4) Textbook

The Determinant: a Means to Calculate Volume

= = 3 4, Now assume that P (k) is true for some fixed k 2. This means that

1 Sets and Set Notation.

RESULTANT AND DISCRIMINANT OF POLYNOMIALS

SF2940: Probability theory Lecture 8: Multivariate Normal Distribution

( ) which must be a vector

CS3220 Lecture Notes: QR factorization and orthogonal transformations

CITY UNIVERSITY LONDON. BEng Degree in Computer Systems Engineering Part II BSc Degree in Computer Systems Engineering Part III PART 2 EXAMINATION

Transcription:

Linear Algebra: Matrices

1. Matrix Algebra 1 An m n matrix is a rectangular array of numbers a ij ; i = 1; 2; :::; m; j = 1; 2; :::; n: 0 1 a 11 a 12 a 1n A mn = (a ij ) = B a 21 a 22 a 2n C @...... A : a m1 a m2 a mn The vector A i = (a i1 ; a i2 ; :::; a in ) 2 < n is called the i-th row vector of A mn : The vector A j = 0 B @ is called the j-th column vector of A mn : a 1j a 2j. a mj The matrix A mn has m row vectors A 1 ; A 2 ; :::; A m and n column vectors A 1 ; A 2 ; :::; A n : 1 C A

An mn matrix can be interpreted as an ordered set of m row vectors (A 1 ; A 2 ; :::; A m ) ; or as an ordered set of n column vectors A 1 ; A 2 ; :::; A n : ) The operations on matrices follow from the operations on vectors. Matrix Operations: Equality of Matrices: Two m n matrices A and B are equal (written A = B) if a ij = b ij ; i = 1; 2; :::; m; j = 1; 2; :::; n: Addition of Matrices: If A and B are m n matrices, their sum, A + B; is an m n matrix, (a ij + b ij ) : Multiplication of a Matrix by a Scalar: If A is an m n matrix, and is a scalar, their product, A; is an m n matrix (a ij ) : 2

Matrix Multiplication: Let A be an m n matrix, and B an n r matrix. Then B can be premultiplied by A; or A can be postmultiplied by B: The matrix product, AB; is an m r matrix n P given by a ik b kj ; i = 1; 2; :::; m; j = 1; 2; :::; r: k=1 Properties of Matrix Operations: Commutative Law for Addition: A + B = B + A; Associative Law for Addition: (A + B) + C = A + (B + C) ; Associative Law for Multiplication: (AB) C = A (BC) = ABC; Distributive Laws: A (B + C) = AB + AC; (B + C) A = BA + CA: Words of Caution: Some results which are true for real numbers are not necessarily true for matrices. AB is not necessarily equal to BA: #1. Give an example. 3

4 AB = 0 is possible with neither A nor B being the null matrix. #2. Give an example. CD = CE with C not a null matrix is possible without D and E being equal. #3. Give an example. Transpose of a Matrix: If A is an m n matrix, then the n m matrix B dened by b ij = a ji ; i = 1; 2; :::; n; j = 1; 2; :::; m is called the transpose of A; and is denoted by A T : Properties of Transpose: A T T = A; (A + B) T = A T + B T ; (AB) T = B T A T :

5 Some Special Matrices: Square Matrix: An m n matrix is a square matrix if m = n: Symmetric Matrix: An n n matrix is symmetric if a ij = a ji for i 6= j: Diagonal Matrix: An n n matrix is a diagonal matrix if a ij = 0 for i 6= j: Identity Matrix: An n n matrix is an identity matrix (denoted by I n or I) if a ii = 1 for i = 1; 2; :::; n; a ij = 0 for i 6= j: Null Matrix: An m n matrix is a null matrix (denoted by 0) if a ij = 0; i = 1; 2; :::; n; j = 1; 2; :::; m: Properties of Identity Matrix and Null Matrices: A + 0 = A = 0 + A 0A = 0 = A0 IA = A = AI

6 2. Rank of a Matrix Let A be an m n matrix. Consider the set of row vectors: fa 1 ; A 2 ; :::; A m g : Row rank of A = rank fa 1 ; A 2 ; :::; A m g : Consider the set of column vectors: A 1 ; A 2 ; :::; A n : Column rank of A = rank A 1 ; A 2 ; :::; A n : Theorem 1 (Rank Theorem): For any m n matrix A; row rank of A = column rank of A. Proof: See Gale (1960). In view of the Rank Theorem, simply refer to the rank of A (denoted by rank (A)). Non-Singular Matrix: If A is an n n matrix, then A is called non-singular if rank (A) = n: A is called singular if rank (A) < n:

7 3. Inverse of a Matrix Let A be an n n matrix. If B is an n n matrix such that AB = I; and BA = I; then A is invertible and B is called the inverse of A (denoted by A 1 ). Properties of Inverse: A 1 1 = A; (AB) 1 = B 1 A 1 ; A T 1 = A 1 T :

8 Relationship between Invertible and Non-Singular Matrices: If A is an n n matrix which is invertible, then A is non-singular. - Proof: To be discussed in class. - Hints: 1. Method of contradiction: Assume that A is invertible, but singular, and then show that there will be a contradiction. 2. Use the implication of the denition of `singularity' of A working through the linear dependence/independence of the column/row vectors of A: If A is an n n matrix which is non-singular, then A is invertible. - Proof: To be discussed in class. - Hints: Step 1: A is non-singular ) rank (A) = n ) column vectors of A; A 1 ; A 2 ; :::; A n ; are linearly independent.

) A 1 ; A 2 ; :::; A n is a basis of < n so that any vector in < n can be expressed as a linear combination of A 1 ; A 2 ; :::; A n (by the Basis Theorem). Observe that the column vectors of I (the identity matrix) are the unit vectors in < n : Think about how you can construct a matrix B with column vectors B 1 ; B 2 ; :::; B n such that AB = I. Step 2: Same as Step 1 for the row vectors of A; (A 1 ; A 2 ; :::; A n ) : Think about how you can construct a matrix C with row vectors (C 1 ; C 2 ; :::; C n ) such that CA = I: Step 3: Summarizing, you have constructed matrices B and C such that AB = I and CA = I: Now show that B = C: 9

10 References Must read the following sections from the textbook: Sections 8.1 8.2 (pages 153 162). This material on matrix algebra can be found in standard texts like 1. Hohn, Franz E., Elementary Matrix Algebra, New Delhi: Amerind, 1971 (chapters 1, 6), 2. Hadley, G., Linear Algebra, Massachusetts: Addison-Wesley, 1964 (chapter 3). A good discussion on the rank of a matrix is in 3. Gale, David, The Theory of Linear Economic Models, New York: McGraw-Hill, 1960 (chapter 2). A proof of the rank theorem can be found here. You will also nd a good exposition of matrix algebra in 4. Dorfman, Robert, Paul A. Samuelson and Robert M. Solow, Linear Programming and Economic Analysis, New York: McGraw-Hill, 1958 (Appendix B).