Matrices. Background mathematics review

Similar documents
Chapter 2. Linear Algebra. rather simple and learning them will eventually allow us to explain the strange results of

Phys 201. Matrices and Determinants

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

Matrix Basic Concepts

1 Matrices and matrix algebra

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

Matrices BUSINESS MATHEMATICS

Lecture 3: Matrix and Matrix Operations

Matrices. Chapter Definitions and Notations

Matrix Algebra: Definitions and Basic Operations

Linear Algebra V = T = ( 4 3 ).

Calculus II - Basic Matrix Operations

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

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

MATH Mathematics for Agriculture II

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

CLASS 12 ALGEBRA OF MATRICES

Elementary Row Operations on Matrices

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

Chapter 7. Linear Algebra: Matrices, Vectors,

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

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

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

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

Elementary maths for GMT

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

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.

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

Stage-structured Populations

Lecture 3 Linear Algebra Background

Linear Algebra. The analysis of many models in the social sciences reduces to the study of systems of equations.

A primer on matrices

Introduction to Matrix Algebra

Arrays: Vectors and Matrices

Mathematical Foundations of Quantum Mechanics

Matrices: 2.1 Operations with Matrices

4-1 Matrices and Data

II. The Machinery of Quantum Mechanics

MATH2210 Notebook 2 Spring 2018

Vectors and Matrices

SAMPLE OF THE STUDY MATERIAL PART OF CHAPTER 1 Introduction to Linear Algebra

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

SAMPLE OF THE STUDY MATERIAL PART OF CHAPTER 1 Introduction to Linear Algebra

Basic Concepts in Linear Algebra

Review of linear algebra

Section 5.5: Matrices and Matrix Operations

Notes on vectors and matrices

Fundamentals of Engineering Analysis (650163)

Definition of Equality of Matrices. Example 1: Equality of Matrices. Consider the four matrices

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

A Review of Matrix Analysis

Review of Basic Concepts in Linear Algebra

Section 12.4 Algebra of Matrices

Quantum Computing Lecture 2. Review of Linear Algebra

4016 MATHEMATICS TOPIC 1: NUMBERS AND ALGEBRA SUB-TOPIC 1.11 MATRICES

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

Introduction to Quantitative Techniques for MSc Programmes SCHOOL OF ECONOMICS, MATHEMATICS AND STATISTICS MALET STREET LONDON WC1E 7HX

Image Registration Lecture 2: Vectors and Matrices

Notation, Matrices, and Matrix Mathematics

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

Symmetric and anti symmetric matrices

Factorizing Algebraic Expressions

Introduction to Matrices

Chapter 2. Matrix Arithmetic. Chapter 2

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

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

Chapter. Algebra techniques. Syllabus Content A Basic Mathematics 10% Basic algebraic techniques and the solution of equations.

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

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

MATRICES. knowledge on matrices Knowledge on matrix operations. Matrix as a tool of solving linear equations with two or three unknowns.

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

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 MATRIX OPERATIONS

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

Linear Algebra review Powers of a diagonalizable matrix Spectral decomposition

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

Outline 1. Real and complex p orbitals (and for any l > 0 orbital) 2. Dirac Notation :Symbolic vs shorthand Hilbert Space Vectors,

M. Matrices and Linear Algebra

Matrix Algebra: Vectors

Matrix Algebra 2.1 MATRIX OPERATIONS Pearson Education, Inc.

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

Review of Vectors and Matrices

Basic Math Review for CS4830

Matrices and Vectors

Matrices A brief introduction

Lecture Notes in Linear Algebra

8.4. Systems of Equations in Three Variables. Identifying Solutions 2/20/2018. Example. Identifying Solutions. Solving Systems in Three Variables

MATH 320, WEEK 7: Matrices, Matrix Operations

Matrix Multiplication

,, rectilinear,, spherical,, cylindrical. (6.1)

Order of Operations. Real numbers

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

CS123 INTRODUCTION TO COMPUTER GRAPHICS. Linear Algebra 1/33

Matrices and Determinants

Chapter 2 Notes, Linear Algebra 5e Lay

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

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

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Chemistry 5.76 Revised February, 1982 NOTES ON MATRIX METHODS

Getting Started with Communications Engineering. Rows first, columns second. Remember that. R then C. 1

Linear Equations in Linear Algebra

Transcription:

Matrices Background mathematics review David Miller

Matrices Matrix notation Background mathematics review David Miller

Matrix notation A matrix is, first of all, a rectangular array of numbers An M N matrix has M rows (here 2) Rows are horizontal N columns (here 3) Columns are vertical The array is enclosed in square brackets Aˆ 2 1 3 6 5 4 This is a 23 rectangular matrix

Symbol for a matrix As a symbol for a matrix we could just use a capital letter, like A Here, we need to distinguish matrices and other linear operators from numbers and simple variables so we put a hat over a symbol  representing a matrix which distinguishes a matrix symbol when we write it by hand Aˆ 2 1 3 6 5 4

Rectangular and square matrices Because all matrices are, by definition, rectangular when we say a matrix is rectangular we almost always mean it is not a square matrix one with equal numbers of rows and columns Bˆ 1.5 0.5i 0.5i 1.5 This is a 2 2 square matrix

Rectangular and square matrices The numbers or elements in a matrix can be real, imaginary, or complex The elements are indexed in rowcolumn order B 12 is the element (value -0.5i) in the first row and second column We often use the same letter, here B, for the matrix and for its elements or the lower case version, e.g., b 12 Bˆ 1.5 0.5i 0.5i 1.5 This is a 2 2 square matrix

Diagonal elements The leading diagonal of a matrix or just the diagonal is the diagonal from top left to bottom right Elements on the diagonal here those with value 1.5 are called diagonal elements Elements not on the diagonal here those with value 0.5i and -0.5i are called off-diagonal elements Bˆ 1.5 0.5i 0.5i 1.5 This is a 2 2 square matrix

Vectors In the matrix algebra version of vectors which are matrices of size 1 in one of their directions we must specify whether a vector is a row vector a matrix with one row or a column vector a matrix with one column c 4, 2,5,7 2 3i 52i d 4 i 76i

Transpose An important manipulation for matrices and vectors is the transpose denoted by a superscript T a reflection about a diagonal line from top left to bottom right for a matrix Algebraically ˆT A Aˆ mn nm Aˆ 2 1 3 6 5 4 2 6 ˆ T A 1 5 3 4

Transpose An important manipulation for matrices and vectors is the transpose denoted by a superscript T a reflection about a diagonal line from top left to bottom right for a matrix Algebraically ˆT B Bˆ mn nm Bˆ Bˆ T 1.5 0.5i 0.5i 1.5 1.5 0.5i 0.5i 1.5

Transpose An important manipulation for matrices and vectors is the transpose denoted by a superscript T a reflection about a diagonal line from top left to bottom right for a matrix or at 45 for a vector c T c 4, 2,5,7 4 2 5 7

Transpose An important manipulation for matrices and vectors is the transpose denoted by a superscript T a reflection about a diagonal line from top left to bottom right for a matrix or at 45 for a vector d 2 3i 52i 4 i 76i T d [2 3i 52i 4 i 7 6 i]

Hermitian transpose or adjoint Another common manipulation is the Hermitian adjoint, Hermitian transpose, or conjugate transpose denoted by a superscript pronounced dagger a reflection about a diagonal line from top left to bottom right for a matrix or at 45 for a vector and taking the complex conjugate of all the elements Dˆ 1.5 0.5i 0.3i 1.5 ˆ 1.5 0.3i D 0.5i 1.5 Dˆ mn Dˆnm

Hermitian transpose or adjoint 2 3i Another common manipulation is the 52i d Hermitian adjoint, Hermitian 4 i transpose, or conjugate transpose 76i denoted by a superscript pronounced dagger d 23i 52i 4i 76i a reflection about a diagonal line from top left to bottom right for a matrix or at 45 for a vector and taking the complex conjugate of all the elements

Hermitian matrix A matrix is said to be Hermitian if it is equal to its own Hermitian adjoint i.e., Bˆ Bˆ or, element by element B ˆ B ˆ nm nm Bˆ 1.5 0.5i 0.5i 1.5 ˆ 1.5 0.5i B 0.5i 1.5 Bˆ

Matrices Matrix algebra Background mathematics review David Miller

Adding and subtracting matrices If two matrices are the same size i.e., the same numbers of rows and columns we can add or subtract them by adding or subtracting the individual matrix elements one by one Fˆ 1 i 2 1 3i Kˆ Fˆ Gˆ Gˆ 5 4i 6 7 8i

Adding and subtracting matrices If two matrices are the same size i.e., the same numbers of rows and columns we can add or subtract them by adding or subtracting the individual matrix elements one by one Fˆ 1 i 2 1 3i Gˆ 5 4i 6 7 8i Kˆ Fˆ Gˆ 15 i4i 26 173i8i

Adding and subtracting matrices If two matrices are the same size i.e., the same numbers of rows and columns we can add or subtract them by adding or subtracting the individual matrix elements one by one Fˆ 1 i 2 1 3i Gˆ 5 4i 6 7 8i Kˆ Fˆ Gˆ 15 i4i 2 6 1 7 3i 8i 6 5i 4 85i

Multiplying a vector by a matrix Suppose we want to multiply a column vector by a matrix The number of rows in the vector must match the number of columns in the matrix This is generally true for matrix-matrix multiplication The number of rows in the matrix on the right must match the number of columns in the matrix on the left matrix 1 2 3 4 5 6 vector 7 8 9

Multiplying a vector by a matrix First we put the vector sideways on top of the matrix then multiply element by element and add to get the first element of the resulting vector Move down and repeat for the next row 50 50 122 matrix 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 1 2 3 7 8 9 4 5 6 vector 7 8 9 1 7 28 39 50 4 7 58 69 122

Multiplying a vector by a matrix First we put the vector sideways on top of the matrix then multiply element by element and add to get the first element of the resulting vector Move down and repeat for the next row We can also write this multiplication with a sum over the repeated index matrix 1 2 3 4 5 6 50 122 = vector 7 8 9 1 2 3 4 5 6 d  c d A c m mn n n 7 8 9

Multiplying a matrix by a matrix To multiply a matrix by a matrix repeat this operation for each column of the matrix on the right working from left to right Write down the resulting columns in the resulting matrix also working from left to right Summation notation sums over the repeated index 7 1 50 14 1 2 3 8 2 122 32 4 5 6 9 3 ˆR ˆB Â Rmp Bmn Anp n

Vector vector products An inner product of a row and a column vector collapses two vectors to a number analogous to geometrical vector dot product An outer product of a column and a row vector generates a square matrix 4 32 1 2 3 5 6 f c d f cndn n 4 8 12 4 5 10 15 5 1 2 3 6 12 18 6 ˆF d c F d c mp m p

Matrix algebra properties Matrix algebra, like normal algebra is associative and has distributive properties but matrix multiplication is not in general commutative as is easily proved by example CB ˆ ˆ A ˆ Cˆ BA ˆˆ ˆ ˆ Aˆ B Cˆ AB ˆ AC ˆ ˆ BA ˆˆ AB ˆ ˆ in general 1 25 6 19 22 3 4 7 8 43 50 5 61 2 23 34 7 8 3 4 31 46

Multiplying a matrix by a number Multiplying a matrix by a number means we multiply every element of the matrix by that number Also, we can take out a common factor from every element multiplying the matrix by that factor Such results are easily proved in summation notation e.g., for matrix vector multiplication where B mn = A mn 1 2 2 4 2 3 4 6 8 2 4 1 2 2 6 8 3 4 d A c A c m mn n mn n n n n A c B c mn n mn n n

Multiplying a matrix by a number Since number multiplication is commutative we can move simple factors around arbitrarily in matrix products e.g., for a number and a vector c ABc ˆ ˆ AˆBc ˆ AB ˆ ˆc This result is also easily proved using summation notation

Hermitian adjoint of a product The Hermitian adjoint of a product is the reversed product of the Hermitian adjoints ˆ ˆ ˆ ˆ AB B A We can prove this using summation notation Suppose Rˆ AB ˆ ˆ so that Rmp AmnBnp and so ˆ ˆ ˆ * AB ( R ) pm Rmp ( AmnBnp ) A n n mnbnp pm ( Aˆ ) ( Bˆ ) ( Bˆ ) ( Aˆ ) Bˆ Aˆ n nm pn n pn nm pm n

Inverse of a matrix For ordinary algebra, the reciprocal or inverse of a number or variable x is which has the obvious property 1 For a matrix, if it has an inverse it has the property where Î is called the identity matrix which is the diagonal matrix with 1 for all diagonal elements and zeros for all other elements 1/ x 1 x x  1 or x x Aˆ Aˆ Iˆ x 1 1

Identity matrix For example, the 3x3 identity matrix is The identity matrix in a given multiplication has to be the right size so we do not typically bother to state the size of the identity matrix For any matrix  we can write AI ˆˆ IA ˆˆ Aˆ Like the number 1 in ordinary algebra the identity matrix is almost trivial but is very important 1 0 0 Iˆ 0 1 0 0 0 1