JUST THE MATHS UNIT NUMBER 9.3. MATRICES 3 (Matrix inversion & simultaneous equations) A.J.Hobson

Similar documents
JUST THE MATHS SLIDES NUMBER 9.3. MATRICES 3 (Matrix inversion & simultaneous equations) A.J.Hobson

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

Introduction to Determinants

Introduction to Matrices

JUST THE MATHS UNIT NUMBER 7.2. DETERMINANTS 2 (Consistency and third order determinants) A.J.Hobson

Chapter 3. Determinants and Eigenvalues

JUST THE MATHS UNIT NUMBER 6.1. COMPLEX NUMBERS 1 (Definitions and algebra) A.J.Hobson

JUST THE MATHS UNIT NUMBER 1.6. ALGEBRA 6 (Formulae and algebraic equations) A.J.Hobson

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

3 Matrix Algebra. 3.1 Operations on matrices

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

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

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

SCHOOL OF BUSINESS, ECONOMICS AND MANAGEMENT BUSINESS MATHEMATICS / MATHEMATICAL ANALYSIS

a11 a A = : a 21 a 22

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

1111: Linear Algebra I

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

8-15. Stop by or call (630)

M. Matrices and Linear Algebra

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

A Review of Matrix Analysis

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

1 Determinants. 1.1 Determinant

Linear Algebra: Lecture Notes. Dr Rachel Quinlan School of Mathematics, Statistics and Applied Mathematics NUI Galway

Methods for Solving Linear Systems Part 2

JUST THE MATHS UNIT NUMBER 9.9. MATRICES 9 (Modal & spectral matrices) A.J.Hobson

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

Linear Systems and Matrices

ECON 186 Class Notes: Linear Algebra

8 Square matrices continued: Determinants

MAC Module 2 Systems of Linear Equations and Matrices II. Learning Objectives. Upon completing this module, you should be able to :

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

Elementary Matrices. MATH 322, Linear Algebra I. J. Robert Buchanan. Spring Department of Mathematics

Class VIII Chapter 1 Rational Numbers Maths. Exercise 1.1

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.

MATRICES AND MATRIX OPERATIONS

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

Introduction to Matrices

7.3. Determinants. Introduction. Prerequisites. Learning Outcomes

Linear Algebra March 16, 2019

Elementary maths for GMT

Algebra & Trig. I. For example, the system. x y 2 z. may be represented by the augmented matrix

ENGI 9420 Lecture Notes 2 - Matrix Algebra Page Matrix operations can render the solution of a linear system much more efficient.

JUST THE MATHS UNIT NUMBER 1.5. ALGEBRA 5 (Manipulation of algebraic expressions) A.J.Hobson

18.02 Multivariable Calculus Fall 2007

Lecture Notes in Linear Algebra

Properties of the Determinant Function

Ca Foscari University of Venice - Department of Management - A.A Luciano Battaia. December 14, 2017

(17) (18)

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

Chapter 2:Determinants. Section 2.1: Determinants by cofactor expansion

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

The Matrix Algebra of Sample Statistics

Determinants Chapter 3 of Lay

22.3. Repeated Eigenvalues and Symmetric Matrices. Introduction. Prerequisites. Learning Outcomes

Things we can already do with matrices. Unit II - Matrix arithmetic. Defining the matrix product. Things that fail in matrix arithmetic

JUST THE MATHS UNIT NUMBER ALGEBRA 10 (Inequalities 1) A.J.Hobson

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

Repeated Eigenvalues and Symmetric Matrices

Lesson 3. Inverse of Matrices by Determinants and Gauss-Jordan Method

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

Some Notes on Linear Algebra

MATH 2050 Assignment 8 Fall [10] 1. Find the determinant by reducing to triangular form for the following matrices.

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

Lectures on Linear Algebra for IT

CHAPTER 1 REVIEW Section 1 - Algebraic Expressions

Chapter 2. Matrix Arithmetic. Chapter 2

Matrix operations Linear Algebra with Computer Science Application

[Disclaimer: This is not a complete list of everything you need to know, just some of the topics that gave people difficulty.]

DETERMINANTS. , x 2 = a 11b 2 a 21 b 1

Math Linear Algebra Final Exam Review Sheet

Chapter 4 Systems of Linear Equations; Matrices

Formula for the inverse matrix. Cramer s rule. Review: 3 3 determinants can be computed expanding by any row or column

Components and change of basis

Fundamentals of Engineering Analysis (650163)

MATH2210 Notebook 2 Spring 2018

Rigid Geometric Transformations

UNIT 1 DETERMINANTS 1.0 INTRODUCTION 1.1 OBJECTIVES. Structure

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

MAC Module 3 Determinants. Learning Objectives. Upon completing this module, you should be able to:

Multi-Step Equations and Inequalities

Linear Algebra: Lecture notes from Kolman and Hill 9th edition.

We use the overhead arrow to denote a column vector, i.e., a number with a direction. For example, in three-space, we write

Elementary Linear Algebra

Chapter 2 Notes, Linear Algebra 5e Lay

MATH ALGEBRA AND FUNCTIONS

Graduate Mathematical Economics Lecture 1

A First Course in Linear Algebra

REVIEW Chapter 1 The Real Number System

OR MSc Maths Revision Course

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

A matrix over a field F is a rectangular array of elements from F. The symbol

Algebraic Expressions

Topic 4: Matrices Reading: Jacques: Chapter 7, Section

Determinants - Uniqueness and Properties

Math 4A Notes. Written by Victoria Kala Last updated June 11, 2017

UNIT 3 MATRICES - II

Linear Algebra. James Je Heon Kim

Mathematics. EC / EE / IN / ME / CE. for

Transcription:

JUST THE MATHS UNIT NUMBER 93 MATRICES 3 (Matrix inversion & simultaneous equations) by AJHobson 931 Introduction 932 Matrix representation of simultaneous linear equations 933 The definition of a multiplicative inverse 934 The formula for a multiplicative inverse 935 Exercises 936 Answers to exercises

UNIT 93 - MATRICES 3 MATRIX INVERSION AND SIMULTANEOUS LINEAR EQUATIONS 931 INTRODUCTION In Matrix Algebra, there is no such thing as division in the usual sense of this word since we would effectively be dividing by a table of numbers with the headings of the table removed However, we may discuss an equivalent operation called inversion which is roughly similar to the process in elementary arithmetic where division by a value, a, is the same as multiplication by 1 a For example, consider the solution of a single linear equation in one variable, x, namely mx = k, for which the solution is obviously x = k m An apparently over-detailed solution may be set out as follows: (a) Pre-multiply both sides of the given equation by m 1, giving m 1 (mx) = m 1 k (b) Use the Associative Law of Multiplication in elementary arithmetic to rearrange this as (m 1 m)x = m 1 k (c) Use the property that m 1 m = 1 to conclude that 1x = m 1 k (d) Use the fact that the number 1 is the multiplicative identity in elementary arithmetic to conclude that x = m 1 k We shall see later how an almost identical sequence of steps, with matrices instead of numbers, can be used to solve a set of simultaneous linear equations with what is called the multiplicative inverse of a matrix Matrix inversion is a concept which is developed from the rules for matrix multiplication 1

932 MATRIX REPRESENTATION OF SIMULTANEOUS LINEAR EQUATIONS In this section, we consider the matrix equivalent of three simultaneous linear equations in three unknowns; this case is neither too trivial, nor too difficult to follow Let the equations have the form: a 1 x + b 1 y + c 1 z = k 1, a 2 x + b 2 y + c 2 z = k 2, a 3 x + b 3 y + c 3 z = k 3 Then, from the properties of matrix equality and matrix multiplication, these can be written as one matrix equation, namely a 1 b 1 c 1 x k 1 a 2 b 2 c 2 y = k 2, a 3 b 3 c 3 z k 3 which will be written for short in the form MX = K Note: If we could find a matrix, say N, such that NM = I, we could pre-multiply the above statement by it to give N(MX) = NK That is, In other words, Hence, (NM)X = NK IX = NK X = NK Clearly N exhibits a similar behaviour to the number m 1 encountered earlier and, for this reason, a better notation for N would be M 1 This is what we shall use in the work which follows 2

933 THE DEFINITION OF A MULTIPLICATIVE INVERSE The multiplicative inverse of a square matrix, M, is another matrix, denoted by M 1, which has the property M 1 M = I Notes: (i) It is certainly possible for the product of two matrices to be an identity matrix, as illustrated, for example, in the exercises on matrix products in Unit 92 (ii) It is usually acceptable to call M 1 the inverse of M rather than the multiplicative inverse, unless we wish to distinguish this kind of inverse from the additive inverse defined in Unit 91 (iii) It can be shown that, when M 1 M = I, it is also true that MM 1 = I, even though matrices do not normally commute in multiplication (iv) It is easily shown that a square matrix cannot have more than one inverse; for, suppose a matrix A had two inverses, B and C Then, C = CI = C(AB) = (CA)B = IB = B, which means that C and B are the same matrix 934 THE FORMULA FOR A MULTIPLICATIVE INVERSE So far, we have established the fact that a set of simultaneous linear equations is expressible in the form MX = K and their solution is expressible in the form X = M 1 K We therefore need to establish a method for determining the inverse, M 1, in order to solve the equations for the values of the variables involved Development of this method will be dependent on the result known as Cramer s Rule for solving simultaneous equations by determinants (see Units 72 and 73) 3

(a) The inverse of a 2 x 2 matrix Taking and [ ] a1 b M = 1 a 2 b 2 [ ] P Q M 1 =, R S we require that [ ] [ ] a1 b 1 P Q = a 2 b 2 R S Hence, a 1 P + b 1 R = 1, a 2 P + b 2 R = 0, a 1 Q + b 1 S = 0, a 2 Q + b 2 S = 1 [ ] 1 0 0 1 It is easily verified that these equations are satisfied by the solution where P = b 2 M Q = b 1 M R = a 2 M M = a 1 b 1 a 2 b 2 and is called the determinant of the matrix M S = a 1 M, Summary The formula for the inverse of a 2 x 2 matrix is given by M 1 = 1 M [ b2 b 1 a 2 a 1 in which we interchange the diagonal elements of M and reverse the sign of the other two elements ], 4

EXAMPLES 1 Write down the inverse of the matrix Solution Since M = 41, we have Check M 1 M = 1 41 [ ] 7 3 2 5 M = M 1 = 1 41 [ ] 5 3 2 7 [ ] 7 3 2 5 [ ] 5 3 = 1 [ ] 41 0 = 2 7 41 0 41 2 Use matrices to solve the simultaneous linear equations [ ] 1 0 0 1 3x + y = 1, x 2y = 5 Solution The equations can be written in the form MX = K, where M = [ ] [ ] 3 1 x, X = 1 2 y and K = [ 1 5 ] Initially, we must check that M is non-singluar by evaluating its determinant: M = 3 1 ] = 6 1 = 7 1 2 The inverse matrix is now given by M 1 = 1 7 [ ] 2 1 1 3 Thus, the solution of the simultaneous equations is given by That is, [ ] x = 1 y 7 [ ] [ ] 2 1 1 = 1 1 3 5 7 x = 1 and y = 2 [ ] [ ] 7 1 = 14 2 5

Note: Example 2 should be regarded as a model solution to this type of problem but the student should not expect every exercise to yield whole number answers (b) The inverse of a 3 x 3 Matrix The most convenient version of Cramer s rule to use here may be stated as follows: The simultaneous linear equations a 1 x + b 1 y + c 1 z = k 1, a 2 x + b 2 y + c 2 z = k 2, a 3 x + b 3 y + c 3 z = k 3 have the solution x k 1 b 1 c 1 k 2 b 2 c 2 k 3 b 3 c 3 = y a 1 k 1 c 1 a 2 k 2 c 2 a 3 k 3 c 3 = z a 1 b 1 k 1 a 2 b 2 k 2 a 3 b 3 k 3 = 1 a 1 b 1 c 1 a 2 b 2 c 2 a 3 b 3 c 3 METHOD (i) We observe, first, that the last determinant in the Cramer s Rule formula contains the same arrangement of numbers as the matrix M; as in (a), we call it the determinant of the matrix M and we denote it by M In this determinant, we let the symbols A 1, A 2, A 3, B 1, B 2, B 3, C 1, C 2 and C 3 denote the cofactors (or signed minors ) of the elements a 1, a 2, a 3, b 1, b 2, b 3, c 1, c 2 and c 3 respectively (ii) We now observe that, for each of the elements k 1, k 2 and k 3 in the first three determinants of Cramer s Rule, the cofactor is the same as the cofactor of one of the elements in the final determinant M (iii) Expanding each of the first three determinants in Cramer s Rule along the column of k-values, the solutions for x, y and z can be written as follows: x = 1 M (k 1A 1 + k 2 A 2 + k 3 A 3 ) ; 6

y = 1 M (k 1B 1 + k 2 B 2 + k 3 B 3 ) ; z = 1 M (k 1C 1 + k 2 C 2 + k 3 C 3 ) ; or, in matrix format, x y = 1 A 1 A 2 A 3 k 1 B 1 B 2 B 3 k 2 z M C 1 C 2 C 3 k 3 Comparing this statement with the statement X = M 1 K, we conclude that M 1 = 1 M A 1 A 2 A 3 B 1 B 2 B 3 C 1 C 2 C 3 Summary Since it is known that Cramer s Rule is applicable to any number of equations in the same number of unknowns, similar working would occur for larger or smaller systems of equations In general, the inverse of a square matrix is the transpose of the matrix of cofactors times the reciprocal of the determinant of the matrix Notes: (i) If it should happen that M = 0, then the matrix M does not have an inverse and is said to be singular In all other cases, it is said to be non-singular (ii) The transpose of the matrix of cofactors is called the adjoint of M, denoted by AdjM There is always an adjoint though not always an inverse; but, when the inverse does exist, we can say that M 1 = 1 M AdjM (iii) The inverse of a matrix of order 2 2 fits the above scheme also The cofactor of each element will be a single number associated with a place-sign according to the following pattern: + + 7

Hence, if then, M 1 = [ a1 b M = 1 a 2 b 2 1 a 1 b 2 a 2 b 1 ], [ b2 b 1 a 2 a 1 ] As before, we see that the matrix part of the result can be obtained by interchanging the diagonal elements of M and reversing the signs of the other two elements EXAMPLE Use matrices to solve the simultaneous linear equations 3x + y z = 1, x 2y + z = 0, 2x + 2y + z = 13 Solution The equations can be written in the form MX = K, where 3 1 1 x 1 M = 1 2 1 X = y and K = 0 2 2 1 z 13 Initially, we must check that M is non-singluar by evaluating its determinant: 3 1 1 M = 1 2 1 = 3( 2 2) 1(1 2) + ( 1)(2 + 4) = 17 2 2 1 If C denotes the matrix of cofactors, then -4 1 6 C = 3 5 4-1 4-7 8

Notes: (i) The framed elements indicate those for which the place sign is positive and hence no changes of sign are required to convert the minor of the corresponding elements of M into their cofactor It is a good idea to work these out first (ii) The remaining four elements are those for which the place sign is negative and so the cofactor is minus the value of the minor in these cases If these, too, are worked out together, there is less scope for making mistakes (iii) It is important to remember that, in finding the elements of C, we do not multiply the cofactors of the elements in M by the elements themselves The transpose of C now provides the adjoint matrix and hence the inverse as follows: M 1 = 1 M AdjM = 1 17 CT = 1 4 3 1 1 5 4 17 6 4 7 Thus, the solution of the simultaneous equations is given by x y = 1 4 3 1 1 1 5 4 0 = 1 17 1 51 = 3 z 17 6 4 7 13 17 85 5 That is, x = 1 y = 3 and z = 5 Note: Once again, the example should be regarded as a model solution to this type of problem but the student should not expect every exercise to yield whole number answers 935 EXERCISES 1 Determine, where possible, the multiplicative inverses of the following matrices: [ ] [ ] [ ] 1 5 2 1 1 2 (a) ; (b) ; (c) ; 7 9 6 3 1 2 1 4 2 6 3 1 11 3 5 (d) 3 2 7 ; (e) 0 5 2 ; (f) 6 2 2 1 0 5 1 1 4 10 3 4 9

2 Use a matrix inverse method to solve the following sets of simultaneous linear equations: (a) 4x 3y = 9, 3x 2y = 7; (b) x + 2y = 2, 5x 4y = 3; (c) 3x + 2y + z = 3, 5x + 4y + 3z = 3, 6x + y + z = 5; (d) x + 2y + 2z = 0, 2x + 5y + 4z = 2, x y 6z = 4; (e) 3x + 2y 2z = 16, 4x + 3y + 3z = 2 2x y + z = 1; (f) 2(i 3 i 2 ) + 5(i 3 i 1 ) = 4, (i 2 i 3 ) + 2i 2 + (i 2 i 1 ) = 0, 5(i 1 i 3 ) + 2(i 1 i 2 ) + i 2 = 1 10

4 0 1 1 2 1 3 If A = 2 1 3 and C = 3 1 4, 1 2 5 0 5 2 determine a matrix, B, such that AB = C 936 ANSWERS TO EXERCISES 1 (a) 1 26 (d) 1 46 [ ] [ ] 9 5 2 2 ; (b) No Inverse, (c) 7 1 1 ; 4 1 1 10 20 24 22 11 11 8 7 13 ; (e) 1 121 2 23 12 ; (f) There is no inverse 2 4 14 5 3 30 2 (a) x = 3 and y = 1; (b) x = 1 13 and y = ; (c) x = 1, y = 1 and z = 2; 7 14 (d) x = 3, y = 2 and z = 5; (e) x = 2, y = 3 and z = 7; 2 4 2 2 3 (f) i 1 = 11 6, i 2 = 1 and i 3 = 13 6 B = 1 11 2 1 1 2 1 13 21 10 3 1 4 = 1 17 15 21 76 55 77 41 3 8 4 0 5 2 41 27 22 43 11