Matrices and vectors

Similar documents
(3) If you replace row i of A by its sum with a multiple of another row, then the determinant is unchanged! Expand across the i th row:

CHAPTER I: Vector Spaces

Inverse Matrix. A meaning that matrix B is an inverse of matrix A.

Theorem: Let A n n. In this case that A does reduce to I, we search for A 1 as the solution matrix X to the matrix equation A X = I i.e.

a for a 1 1 matrix. a b a b 2 2 matrix: We define det ad bc 3 3 matrix: We define a a a a a a a a a a a a a a a a a a

SNAP Centre Workshop. Basic Algebraic Manipulation

B = B is a 3 4 matrix; b 32 = 3 and b 2 4 = 3. Scalar Multiplication

(3) If you replace row i of A by its sum with a multiple of another row, then the determinant is unchanged! Expand across the i th row:

a for a 1 1 matrix. a b a b 2 2 matrix: We define det ad bc 3 3 matrix: We define a a a a a a a a a a a a a a a a a a

6.3 Testing Series With Positive Terms

Matrix Algebra 2.2 THE INVERSE OF A MATRIX Pearson Education, Inc.

Chapter Unary Matrix Operations

Chimica Inorganica 3

(I.C) Matrix algebra

Mon Feb matrix inverses. Announcements: Warm-up Exercise:

Chapter 1 Simple Linear Regression (part 6: matrix version)

Chapter 9 - CD companion 1. A Generic Implementation; The Common-Merge Amplifier. 1 τ is. ω ch. τ io

Determinants of order 2 and 3 were defined in Chapter 2 by the formulae (5.1)

SECTION 1.5 : SUMMATION NOTATION + WORK WITH SEQUENCES

Chapter 6: Determinants and the Inverse Matrix 1

CALCULATION OF FIBONACCI VECTORS

NAME: ALGEBRA 350 BLOCK 7. Simplifying Radicals Packet PART 1: ROOTS

Eigenvalues and Eigenvectors

Principle Of Superposition

Example 1.1 Use an augmented matrix to mimic the elimination method for solving the following linear system of equations.

SEQUENCES AND SERIES

Course : Algebraic Combinatorics

Vector Spaces and Vector Subspaces. Remarks. Euclidean Space

Some examples of vector spaces

The Jordan Normal Form: A General Approach to Solving Homogeneous Linear Systems. Mike Raugh. March 20, 2005

, then cv V. Differential Equations Elements of Lineaer Algebra Name: Consider the differential equation. and y2 cos( kx)

SOME TRIBONACCI IDENTITIES

TEACHER CERTIFICATION STUDY GUIDE

CHAPTER 5. Theory and Solution Using Matrix Techniques

Chapter 0. Review of set theory. 0.1 Sets

Chapter Vectors

NUMERICAL METHODS COURSEWORK INFORMAL NOTES ON NUMERICAL INTEGRATION COURSEWORK

Recurrence Relations

LINEAR ALGEBRA. Paul Dawkins

CALCULATING FIBONACCI VECTORS

Statistics 511 Additional Materials

Why learn matrix algebra? Vectors & Matrices with statistical applications. Brief history of linear algebra

CHAPTER 10 INFINITE SEQUENCES AND SERIES

RADICAL EXPRESSION. If a and x are real numbers and n is a positive integer, then x is an. n th root theorems: Example 1 Simplify

Stochastic Matrices in a Finite Field

The Binomial Theorem

Zeros of Polynomials

SEQUENCE AND SERIES NCERT

Representations of State Vectors and Operators

In the preceding Chapters, the mathematical ideas underpinning the quantum theory have been

MAT 271 Project: Partial Fractions for certain rational functions

Complex Analysis Spring 2001 Homework I Solution

THE ASYMPTOTIC COMPLEXITY OF MATRIX REDUCTION OVER FINITE FIELDS

On Nonsingularity of Saddle Point Matrices. with Vectors of Ones

Linear Regression Demystified

Kinetics of Complex Reactions

PAijpam.eu ON TENSOR PRODUCT DECOMPOSITION

REVISION SHEET FP1 (MEI) ALGEBRA. Identities In mathematics, an identity is a statement which is true for all values of the variables it contains.

Proof of Fermat s Last Theorem by Algebra Identities and Linear Algebra

C. Complex Numbers. x 6x + 2 = 0. This equation was known to have three real roots, given by simple combinations of the expressions

The Growth of Functions. Theoretical Supplement

SEQUENCES AND SERIES

September 2012 C1 Note. C1 Notes (Edexcel) Copyright - For AS, A2 notes and IGCSE / GCSE worksheets 1

subcaptionfont+=small,labelformat=parens,labelsep=space,skip=6pt,list=0,hypcap=0 subcaption ALGEBRAIC COMBINATORICS LECTURE 8 TUESDAY, 2/16/2016

Addition: Property Name Property Description Examples. a+b = b+a. a+(b+c) = (a+b)+c

APPENDIX F Complex Numbers

Mathematical Induction

10.2 Infinite Series Contemporary Calculus 1

REVISION SHEET FP1 (MEI) ALGEBRA. Identities In mathematics, an identity is a statement which is true for all values of the variables it contains.

AH Checklist (Unit 3) AH Checklist (Unit 3) Matrices

The Riemann Zeta Function

Section 6.4: Series. Section 6.4 Series 413

Session 5. (1) Principal component analysis and Karhunen-Loève transformation

Estimation of a population proportion March 23,

Section 1.1. Calculus: Areas And Tangents. Difference Equations to Differential Equations

Sigma notation. 2.1 Introduction

Analysis of Experimental Measurements

( ) ( ) ( ) notation: [ ]

Intensive Algorithms Lecture 11. DFT and DP. Lecturer: Daniel A. Spielman February 20, f(n) O(g(n) log c g(n)).

You may work in pairs or purely individually for this assignment.

6. Kalman filter implementation for linear algebraic equations. Karhunen-Loeve decomposition

MT5821 Advanced Combinatorics

Mathematics Review for MS Finance Students Lecture Notes

R is a scalar defined as follows:

MT5821 Advanced Combinatorics

PROPERTIES OF THE POSITIVE INTEGERS

LESSON 2: SIMPLIFYING RADICALS

4.3 Growth Rates of Solutions to Recurrences

w (1) ˆx w (1) x (1) /ρ and w (2) ˆx w (2) x (2) /ρ.

Once we have a sequence of numbers, the next thing to do is to sum them up. Given a sequence (a n ) n=1

Chapter 6: Numerical Series

Algorithms and Data Structures 2014 Exercises and Solutions Week 13

2 Geometric interpretation of complex numbers

Sequences. Notation. Convergence of a Sequence

AP Calculus Chapter 9: Infinite Series

4. Determinants. det : { square matrices } F less important in mordern & practical applications but in theory

Optimization Methods: Linear Programming Applications Assignment Problem 1. Module 4 Lecture Notes 3. Assignment Problem

Discrete-Time Systems, LTI Systems, and Discrete-Time Convolution

End-of-Year Contest. ERHS Math Club. May 5, 2009

Properties and Tests of Zeros of Polynomial Functions

Transcription:

Oe Matrices ad vectors This book takes for grated that readers have some previous kowledge of the calculus of real fuctios of oe real variable It would be helpful to also have some kowledge of liear algebra However, for those whose kowledge may be rusty from log disuse or raw with recet acquisitio, sectios o the ecessary material from these subjects have bee icluded where appropriate Although these revisio sectios (marked with the symbol are as self-cotaied as possible, they are ot suitable for those who have o acquaitace with the topics covered The material i the revisio sectios is surveyed rather tha explaied It is suggested that readers who feel fairly cofidet of their mastery of this surveyed material sca through the revisio sectios quickly to check that the otatio ad techiques are all familiar before goig o Probably, however, there will be few readers who do ot fid somethig here ad there i the revisio sectios which merits their close attetio The curret chapter is cocered with the fudametal techiques from liear algebra which we shall be usig This will be particularly useful for those who may be studyig liear algebra cocurretly with the preset text Algebraists are sometimes eglectful of the geometric implicatios of their results Sice we shall be makig much use of geometrical argumets, particular attetio should therefore be paid to 13 owards, i which the geometric relevace of various vector otios is explaied This material will be required i Chapter 3 Those who are ot very cofidet of their liear algebra may prefer leavig 110 util Chapter 5 11 Matrices A matrix is a rectagular array of umbers a otatio which eables calculatios to be carried out i a systematic maer We eclose the array i brackets as i the examples below: 0 1 3 2 B ( 1 2 A matrix with m rows ad colums is called a m matrix Thus A isa3 2 matrix ad B isa2 3 matrix 1 wwwcambridgeorg

Chapter 1 Matrices ad vectors See Chapter 13 A geeral m matrix may be expressed as c 11 c 12 c 1 c 21 c 22 c 2 C c m1 c m2 c m where the first umber i each subscript is the row ad the secod umber i the subscript is the colum For example, c 21 is the etry i the secod row ad the first colum of the matrix C Similarly, the etry i the third row ad the first colum of the precedig matrix A ca be deoted by a 31 : colum 1 0 1 a 31 3 row 3 3 2 We call the etries of a matrix scalars Sometimes it is useful to allow the scalars to be complex umbers but our scalars will always be real umbers We deote the set of real umbers by R Scalar multiplicatio Oe ca do a certai amout of algebra with matrices ad uder this ad the ext few headigs we shall describe the mechaics of some of the operatios which are possible The first operatio we shall cosider is called scalar multiplicatio IfA is a m matrix ad c is a scalar, the ca is the m matrix obtaied by multiplyig each etry of A by c For example, Similarly, 2 2 0 1 3 2 ( 1 5B 5 2 Matrix additio ad subtractio 2 4 2 1 2 1 2 3 2 2 ( 5 0 5 10 5 0 8 2 0 2 6 4 If C ad D are two m matrices, the C + D is the m matrix obtaied by addig correspodig etries of C ad D Similarly, C D is the m matrix obtaied by subtractig correspodig etries For example, if the C 1 2 3 1 4 C + D ad D 1 + 2 1 + + 5 2 1 3 3 1+ 4 4 3 1+ 2 0+ 1 5 1 3 4 3 3 0 5 3 0 5 1 3 1 2 wwwcambridgeorg

11 Matrices ad C D 1 2 1 5 2 + 1 3+ 3 1 4 4 + 3 1 2 0 1 1 2 5 1 6 3 7 1 1 Note that C + C 1 + 1 1 + 0 2 2 3+ 3 1+ 1 4 + + + 0 2 2 0 4 6 2 8 2 0 2C ad that C C 1 1 1 + 0 2 + 2 3 3 1 1 4 0 0 0 0 0 0 0 0 0 0 The fial matrix is called the 3 3 zero matrix We usually deote ay zero matrix by 0 This is a little aughty because of the possibility of cofusio with other zero matrices or with the scalar 0 However, it has the advatage that we ca the write C C 0 for ay matrix C Note that it makes o sese to try to add or subtract two matrices which are ot of the same shape Thus, for example, A + B 0 1 3 2 is a etirely meaigless expressio + ( 1 2 Matrix multiplicatio If A is a m matrix ad B is a p matrix, m a 11 a 12 a 1 a 21 a 22 a 2 B p b 11 b 12 b 1p b 21 b 22 b 2p a m1 a m2 a m b 1 b 2 b p the A ad B ca be multiplied to give a m p matrix AB: A B AB To work out the etry c jk of AB which appears i its jth row ad kth colum, we require the jth row of A ad the kth colum of B as illustrated below 3 wwwcambridgeorg

Chapter 1 Matrices ad vectors p b 1k b 2k p m a j1 a j2 a j m c jk b k The etry c jk is the give by c jk a j1 b 1k + a j2 b 2k + a j3 b 3k + +a j b k Example 1 We calculate the product AB of the matrices ( 0 1 2 B Sice A isa2 3 matrix ad B isa3 2 matrix, their product AB isa2 2 matrix: ( ( 0 1 2 AB a b c d To calculate c, we require the secod row of A ad the first colum of B These are idicated i the matrices below: 0 1 2 a b c d We obtai Similarly, c 2 1 + 0 2 + 1 0 2 + 0 + 0 2 Thus a 0 1 + 1 2 + 2 0 0 + 2 + 0 2 b 0 0 + 1 1 + 2 2 0 + 1 + 4 5 d 2 0 + 0 1 + 1 2 0 + 0 + 2 2 AB ( 0 1 2 ( 2 5 2 2 Note agai that it makes o sese to try to calculate AB uless the umber of colums i A is the same as the umber of rows i B Thus, for example, it makes o sese to write 0 1 2 3 4 wwwcambridgeorg

11 Matrices Idetity matrices A matrix is called a square matrix for obvious reasos Thus, for example, 1 2 3 3 1 2 2 3 1 is a square matrix The mai diagoal of a square matrix is idicated by the shaded etries i the matrix below: a 11 a 12 a 1 a 21 a 22 a 2 a 1 a 2 a Note that a idetity matrix must be square Just as a zero matrix behaves like the umber 0, so a idetity matrix behaves like the umber 1 The idetity matrix is the matrix whose mai diagoal etries are all 1 ad whose other etries are all 0 For coveiece, we usually deote a idetity matrix of ay order by I The 3 3 idetity matrix is I 0 0 0 0 1 Geerally, if I is the idetity matrix ad A is a m matrix, B is a p matrix, the AI A ad IB B Example 2 (i (ii ( 0 1 2 0 0 0 0 1 0 0 0 0 1 ( 0 1 2 There is some risk of cofusig this otatio with Determiats the modulus or absolute value of a real umber I fact, the With each square matrix there is associated a scalar called the determiat of the determiat of a square matrix may be positive or matrix We shall deote the determiat of the square matrix A by det(aorby A egative A1 1 matrix (a is just a scalar, ad det( a 5 wwwcambridgeorg

Chapter 1 Matrices ad vectors The determiat of the 2 2 matrix ( a b c d is give by det( a c b d ad bc To calculate the determiat for larger matrices we eed the cocepts of a mior ad a cofactor The mior M correspodig to a etry a i a square matrix A is the determiat of the matrix obtaied from A by deletig the row ad the colum cotaiig a I the case of a 3 3 matrix a 11 a 12 a 13 a 21 a 22 a 23 a 31 c 32 a 33 we calculate the mior M 23 correspodig to the etry a 23 by deletig the secod row ad the third colum of A as below: a 11 a 12 a 13 a 21 a 22 a 23 a 31 c 32 a 33 The mior M 23 is the the determiat of what remais ie M 23 a 11 a 12 a 31 a 32 a 11a 32 a 12 a 31 If we alter the sig of the mior M of a geeral matrix accordig to its associated positio i the checkerboard patter illustrated below, + + + + + + + + the result is called the cofactor correspodig to the etry a I the case of a 3 3 matrix A, the cofactor correspodig to the etry a 23 is equal to M 23, sice there is a mius sig,, i the secod row ad the third colum of the checkerboard patter: colum 3 + + row 2 + + + 6 wwwcambridgeorg

11 Matrices The determiat of a matrix A is calculated by multiplyig each etry of oe row (or oe colum by its correspodig cofactor ad addig the results The value of det(a is the same whichever row or colum is used Example 3 The determiat of the 1 1 matrix (3 is simply det( 3 The determiat of the 2 2 matrix ( 1 2 3 4 is det( 1 2 3 4 1 4 2 3 4 6 2 We fid the determiat of the 3 3 matrix 1 2 3 3 1 2 2 3 1 i two ways: first usig row 1 ad the usig colum 2 The etries of row 1 are a 11 1 a 12 2 a 13 3 We first fid their correspodig miors, M 11 1 2 3 1 1 6 5 M 12 3 2 1 M 13 3 1 2 3 ad the alter the sigs accordig to the checkerboard patter + + + + + 7 to obtai the correspodig cofactors, +M 11 5 M 12 ( 1 1 +M 13 7 The det( a 11 (M 11 + a 12 ( M 12 + a 13 (M 13 1( 5 + 2(1 + 3(7 5 + 2 + 21 18 We calculate the determiat agai, this time usig colum 2: a 12 2 a 22 1 a 32 3 7 wwwcambridgeorg

Chapter 1 Matrices ad vectors The correspodig cofactors are M 12 3 2 1 + M 22 1 3 M 32 1 3 3 2 (2 9 7 Thus 5 det( a 12 ( M 12 + a 22 (M 22 + a 32 ( M 32 2(1 + 1( 5 + 3(7 2 5 + 21 18 A ivertible matrix is also called osigular If A is a matrix, the A 1 is a matrix as well (otherwise the equatio would make o sese Iverse matrices We have dealt with matrix additio, subtractio ad multiplicatio ad foud that these operatios oly make sese i certai restricted circumstaces The circumstaces uder which it is possible to divide by a matrix are eve more restricted We say that a square matrix A is ivertible if there is aother matrix B such that AB B I I fact, if A is ivertible there is precisely oe such matrix B which we call the iverse matrix to A ad write B A 1 Thus a ivertible matrix A has a iverse matrix A 1 which satisfies It ca be show that AA 1 A 1 I A is ivertible if ad oly if det(a 0 If A is ot square or if A is square but its determiat is zero (ie A is ot ivertible, the A does ot have a iverse i the above sese Alterative otatios for the traspose are A ad A t Traspose matrices I describig how to calculate the iverse of a ivertible matrix, we shall eed the idea of a traspose matrix This is also useful i other coectios If A is a m matrix, the its traspose A T is the m matrix whose first row is the first colum of A, whose secod row is the secod colum of A, whose third row is the third colum of A ad so o m a 11 a 12 a 1 a 21 a 22 a 2 a m1 a m2 a m A T m a 11 a 21 a m1 a 12 a 22 a m2 a 1 a 2 a m 8 wwwcambridgeorg

11 Matrices A importat special case occurs whe A is a square matrix for which A T Such a matrix is called symmetric (about the mai diagoal Example 4 (i If 0 1 3 2, the A T ( 4 0 3 1 1 2 Note that (ii If (A T T 1 3 5 3 2 0 5 0 4 ( 4 0 3 1 1 2, the A T Thus A T ad so A is symmetric T 1 3 5 3 2 0 5 0 4 0 1 3 2 A The cofactor method for A 1 The iverse of a ivertible matrix A ca be calculated from its determiat ad its cofactors I the case of 1 1 ad 2 2 matrices, oe might as well lear the resultig iverse matrix by heart A1 1 ivertible matrix (a is just a ozero scalar ad ( 1 A 1 provided a 0 a A2 2 ivertible matrix ( a b c d is oe for which det( ad bc 0 Its iverse is give by ( A 1 1 d b ad bc c a The formulas ca easily be cofirmed by checkig that AA 1 ad A 1 A actually are equal to I For example i the 2 2 case ( ( A 1 1 d b a b ad bc c a c d ( ( 1 da bc 0 I ad bc 0 bc + ad 0 1 The cofactor method gives a expressio for the iverse of a ivertible matrix A i terms of its cofactors 9 wwwcambridgeorg

Chapter 1 Matrices ad vectors I the case of a ivertible 3 3 matrix for which det(a 0 a 11 a 12 a 13 a 21 a 22 a 23 a 31 a 32 a 33 the iverse is give by A 1 1 det( A +M 11 M 12 +M 13 M 21 +M 22 M 23 +M 31 M 32 +M 33 For a geeral ivertible matrix a 11 a 12 a 1 a 21 a 22 a 2 a 1 a 2 a we have +M 11 M 12 ( 1 1 M 1 A 1 1 M 21 +M 22 ( 1 M 2 det( A ( 1 1 M 1 ( 1 M 2 +M Thus, each etry of A is replaced by the correspodig mior ad the sig is the altered accordig to the checkerboard patter to obtai the correspodig cofactor The iverse matrix A 1 is the obtaied by multiplyig the traspose of the result by the scalar (det(a 1 T T Example 5 We calculate the iverses of the ivertible matrices of Example 3 (i (3, det( 3 0 A 1 ( 1 3 ( 1 2 (ii, det( 2 0 3 4 A 1 1 ( ( 4 2 2 3 1 1 2 3 (iii 3 1 2 2 3 1 3 2 1 2, det( 18 0 We begi by replacig each etry of A by the correspodig mior ad obtai 5 1 7 7 5 1 1 7 5 10 wwwcambridgeorg