ECON 213 Elements of Mathematics for Economists

Slides:



Advertisements
Similar presentations
Elementary Linear Algebra Anton & Rorres, 9th Edition
Advertisements

Matrices and Determinants
Finding the Inverse of a Matrix
Copyright © Cengage Learning. All rights reserved. 7.6 The Inverse of a Square Matrix.
Compiled By Raj G. Tiwari
3.5 Solution by Determinants. The Determinant of a Matrix The determinant of a matrix A is denoted by |A|. Determinants exist only for square matrices.
Cramer's Rule Gabriel Cramer was a Swiss mathematician ( )
Spring 2013 Solving a System of Linear Equations Matrix inverse Simultaneous equations Cramer’s rule Second-order Conditions Lecture 7.
Chapter 2 Solving Linear Systems Matrix Definitions –Matrix--- Rectangular array/ block of numbers. –The size/order/dimension of a matrix: (The numbers.
Systems and Matrices (Chapter5)
 Row and Reduced Row Echelon  Elementary Matrices.
Needs Work Need to add –HW Quizzes Chapter 13 Matrices and Determinants.
Chapter 7 Notes Honors Pre-Calculus. 7.1/7.2 Solving Systems Methods to solve: EXAMPLES: Possible intersections: 1 point, 2 points, none Elimination,
Chapter 4 Matrices By: Matt Raimondi.
Matrices & Determinants Chapter: 1 Matrices & Determinants.
1 © 2010 Pearson Education, Inc. All rights reserved © 2010 Pearson Education, Inc. All rights reserved Chapter 9 Matrices and Determinants.
WEEK 8 SYSTEMS OF EQUATIONS DETERMINANTS AND CRAMER’S RULE.
Overview Definitions Basic matrix operations (+, -, x) Determinants and inverses.
8.1 Matrices & Systems of Equations
Matrices Addition & Subtraction Scalar Multiplication & Multiplication Determinants Inverses Solving Systems – 2x2 & 3x3 Cramer’s Rule.
Ch X 2 Matrices, Determinants, and Inverses.
Copyright © 2013, 2009, 2005 Pearson Education, Inc. 1 5 Systems and Matrices Copyright © 2013, 2009, 2005 Pearson Education, Inc.
1 C ollege A lgebra Systems and Matrices (Chapter5) 1.
Matrices CHAPTER 8.1 ~ 8.8. Ch _2 Contents  8.1 Matrix Algebra 8.1 Matrix Algebra  8.2 Systems of Linear Algebra Equations 8.2 Systems of Linear.
1. Inverse of A 2. Inverse of a 2x2 Matrix 3. Matrix With No Inverse 4. Solving a Matrix Equation 1.
Chapter 3 Determinants Linear Algebra. Ch03_2 3.1 Introduction to Determinants Definition The determinant of a 2  2 matrix A is denoted |A| and is given.
Chapter 6 Systems of Linear Equations and Matrices Sections 6.3 – 6.5.
ME 142 Engineering Computation I Matrix Operations in Excel.
Copyright © 2007 Pearson Education, Inc. Slide 7-1.
Chapter 2 Determinants. With each square matrix it is possible to associate a real number called the determinant of the matrix. The value of this number.
TH EDITION LIAL HORNSBY SCHNEIDER COLLEGE ALGEBRA.
Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall Chapter 5 More Work with Matrices
2.5 – Determinants and Multiplicative Inverses of Matrices.
LEARNING OUTCOMES At the end of this topic, student should be able to :  D efination of matrix  Identify the different types of matrices such as rectangular,
Section 2.1 Determinants by Cofactor Expansion. THE DETERMINANT Recall from algebra, that the function f (x) = x 2 is a function from the real numbers.
If A and B are both m × n matrices then the sum of A and B, denoted A + B, is a matrix obtained by adding corresponding elements of A and B. add these.
Matrices, Vectors, Determinants.
Matrices Introduction.
College Algebra Chapter 6 Matrices and Determinants and Applications
MAT 322: LINEAR ALGEBRA.
Determinants.
Matrices and Vector Concepts
Chapter 4 Systems of Linear Equations; Matrices
LINEAR ALGEBRA.
ECE 3301 General Electrical Engineering
Chapter 7 Matrix Mathematics
ECON 213 Elements of Mathematics for Economists
Finding the Inverse of a Matrix
ECON 213 ELEMENTS OF MATHS FOR ECONOMISTS
Chapter 5 Systems and Matricies. Chapter 5 Systems and Matricies.
4.3 Determinants & Cramer’s Rule
Chapter 2 Determinants by Cofactor Expansion
Matrix Algebra.
DETERMINANT MATRIX YULVI ZAIKA.
Chapter 7: Matrices and Systems of Equations and Inequalities
Unit 3: Matrices
Dr Huw Owens Room B44 Sackville Street Building Telephone Number 65891
Matrices Introduction.
Matrices.
3.8 Use Inverse Matrices to Solve Linear Systems
Chapter 7: Matrices and Systems of Equations and Inequalities
Matrix Algebra.
Cramer's Rule Gabriel Cramer was a Swiss mathematician ( )
4.3 Determinants and Cramer’s Rule
3.7 Evaluate Determinants & Apply Cramer’s Rule
College Algebra Chapter 6 Matrices and Determinants and Applications
Rayat Shikshan Sanstha’s S.M.Joshi College, Hadapsar -28
Cramer's Rule Gabriel Cramer was a Swiss mathematician ( )
Chapter 2 Determinants.
Presentation transcript:

ECON 213 Elements of Mathematics for Economists Session 5: Introduction to Matrix Algebra- Part Two Lecturer: Dr. Monica Lambon-Quayefio, Dept. of Economics Contact Information: mplambon-quayefio@ug.edu.gh

Session Overview This session continues the study of matrix algebra, specifically focusing on how to find the solution to a system of equations using the inverse and determinants of matrices. In this session we consider the fundamentally important concept of inverse of a square matrix and its main properties in solving systems of linear equations. This session also discusses the application of the Cramer’s rule in solving a system of n linear equations and n unknowns. Objectives: Understand and be able to determine the determinant of 2 X 2 matrix Understand and determine the matrix of co-factors of a 3X3 matrix Determine the inverse of square matrices Understand the properties of the inverse matrix Understand how the Cramer’s Rule works Apply the Cramer’s rule in solving systems of equations.

Session Outline The key topics to be covered in the session are as follows: Matrix Inverses Determinants: 2x2 and 3x3 matrices Cramer’s Rule and its Application

Reading List Sydsaeter, K. and P. Hammond, Essential Mathematics for Economic Analysis, 2nd Edition, Prentice Hall, 2006- Chapter 16 Dowling, E. T., “Introduction to Mathematical Economics”, 3rdEdition, Shaum’s Outline Series, McGraw-Hill Inc., 2001.- Chapter 11 Chiang, A. C., “Fundamental Methods of Mathematical Economics”, McGraw Hill Book Co., New York, 1984.- Chapter 5

Topic One matrix inverse

Inverse: Multiplicative Identity The multiplicative identity for real numbers is 1. The property is written as: a x 1 = 1 x a = a In terms of matrices, we need a matrix that can be multiplied by a matrix (A) and give a product which is the same matrix (A) This matrix exists and it is called the identity matrix. It is named I and it comes in different sizes It is a square matrix with all 1’s on the main diagonal and all other elements are 0

Examples of Identity The following gives the Identity matrices of a 2x2 matrix, a 3x 3 matrix and a 4x4 matrix respectively:

Given the matrix A below multiply AI

The identity Matrix for Multiplication Let A be a square matrix with n rows and n columns. Let I be a square matrix with the same dimensions with 1’s on the main diagonal and 0’s elsewhere Then AI = IA = A

The multiplicative Inverse For every non-zero real number a, there is a real number 1/a such that a(1/a)=1 In terms of matrices, the product of a square matrix and its inverse is I

The inverse of a Matrix Let A be a square matrix with n rows and n columns In terms of matrices, the product of a square matrix and its inverse is I

The inverse of a Matrix Inverses have the following properties: Let A be a square matrix with n rows and n columns. If there is an n x n matrix B such that AB = I and BA = I , then A and B are inverses of one another. The inverse of a matrix A is denoted by A-1. Inverses have the following properties:

Inverse of a Matrix To show that matrices are inverses of one another, show that the multiplication of the matrices is commutative and the results is the identity matrix. Example: Show that A and B are inverses of each other.

Finding the Inverse of a Matrix: Method 1 Use the equation AB = I Write and Solve the equation

Multiply the two matrices to get the matrix below Use matrix equality to equate corresponding elements Solve by substitution / elimination to obtain the elements of the inverse matrix.

So the inverse of A is We can check this my multiplying A x A-1

Properties of Inverses

Topic Two determinants

Determinants Each matrix can be assigned a real number called the determinant of the matrix. It is denoted by the symbol means the determinant of A

The determinant of a 2 x 2 matrix is found as follows: Find the determinant of the matrix

Find the determinant of the matrix If the determinant of a matrix is 0, the matrix does not have an inverse. The matrix is then said to be invertible

Method 2: Using determinants to find Inverse of Matrix

is called the adjoint of the original matrix It is found by found by switching the entries on the main diagonal and changing the signs of the entries on the other diagonal.

Properties of Determinants Determinants have several mathematical properties which are useful in matrix manipulations. 1 |A|=|A'|. 2. If a row or column of A = 0, then |A|= 0. 3. If every value in a row or column is multiplied by k, then |A| = k|A|. 4. If two rows (or columns) are interchanged the sign, but not value, of |A| changes. 5. If two rows or columns are identical, |A| = 0. 6. If two rows or columns are linear combination of each other, |A| = 0 7. |A| remains unchanged if each element of a row or each element multiplied by a constant, is added to any other row. 8. |AB| = |A| |B| 9. Det of a diagonal matrix = product of the diagonal elements

Find the multiplicative inverse of: First find the determinant Next, find the adjoint and then use the formula for finding the inverse.

Practice Questions on Inverses. Find the inverses of the matrices below using determinants.

Determinant of a 3 x 3 Matrix One way to find the determinant of a 3 x 3 is the formula below:

Example Find the determinant of the matrix below using the formula

Minor of a matrix A minor |Mij| is the determinant of the sub-matrix formed by deleting the 𝑖 𝑡ℎ row and 𝑗 𝑡ℎ column of the matrix. Matrix A is given below as: Write out all the 9 minors associated with this matrix.

Cofactor of a matrix A cofactor |Cij| is a minor with a prescribed sign. The rule for the sign of a cofactor is |Cij|= (−1) 𝑖+𝑗 |Mij| For example: |C11|= (−1) 1+1 |M11| No need to calculate each sign. Just note this:

Inverse of a 3x3 matrix The inverse of a 3x3 matrix is determined by using the formula below: B-1 = 1 |B| (matrix of co-factors)T

M11 = C11 = 2 |M11| = 2 1 2 4 3 2 4 3 Calculate the inverse of B = FINDING THE INVERSE OF A 3X3 MATRIX 1 2 4 3 M11 = 2 4 3 Calculate the inverse of B = Find the co-factors: C11 = 2 |M11| = 2

Calculate the inverse of B = 1 2 4 3 M12 = 1 2 4 C12 = 0 |M12| = 0

M13 = C13 = -1 |M13| = -1 2 1 4 3 1 2 2 3 Calculate the inverse of B = Find the co-factors: 1 2 M13 = C13 = -1 |M13| = -1 2 3

M21 = |M21| = 1 C21 = -1 1 2 4 3 1 4 3 Calculate the inverse of B = Find the co-factors: C21 = -1 |M21| = 1

|M22| = 2 M22 = C22 = 2 1 2 4 3 1 4 2 Calculate the inverse of B = Find the co-factors: C22 = 2 |M22| = 2

M23 = C23 = -1 |M23| = 1 1 2 4 3 1 3 2 Calculate the inverse of B = Find the co-factors: C23 = -1 |M23| = 1

M31 = |M31| = 0 C31 = 0 1 2 4 3 1 2 Calculate the inverse of B = Find the co-factors: C31 = 0 |M31| = 0

M32 = |M32| = 1 C32 = -1 1 2 4 3 1 2 Calculate the inverse of B = Find the co-factors: C32 = -1 |M32| = 1

M33 = C33 = 1 |M33| = 1 1 2 4 3 1 2 Calculate the inverse of B = First find the co-factors: C33 = 1 |M33| = 1

|B| = 1x |M11| -1x |M12| + 1x |M13| = 2 – 0 + (-1) = 1 1 2 4 3 Calculate the inverse of B = 1 2 4 3 Next the determinant: use the top row: |B| = 1x |M11| -1x |M12| + 1x |M13| = 2 – 0 + (-1) = 1

Using the formula, B-1 = (matrix of co-factors)T 1 |B| = (matrix of co-factors)T 1

Using the formula, B-1 = (matrix of co-factors)T 1 |B| 2 -1 1 T = 1

Using the formula, B-1 = (matrix of co-factors)T 1 |B| 2 -1 1 =

cramer’s rule and its application Topic Three cramer’s rule and its application

Systems of Equations Matrices can be used to find the solutions of systems of equations. First, the system of equations must be put in the matrix form Consider a system of equations with two unknowns, 𝑥 1 and 𝑥 2 . a 𝑥 1 + b 𝑥 2 = e c 𝑥 1 + d 𝑥 2 = f

This can be represented in matrix form as follows: Ax=B where the Matrix A is called the matrix of coefficients written as A= x= 𝑥 1 𝑥 2 C= 𝑒 𝑓 Cramer’s rule is a method that uses determinants to solve a system of equations. This method was named after the Swiss mathematician Gabriel Cramer (1704-1752)

ax + by = e In general the solution to the system is (x,y) cx + dy = f e b f d x= a b c d where a b c d = 0 and a e c f If we let A be the coefficient matrix of the linear system, notice this is just det A. y= a b c d

Example Solve the following system of equations using Cramer’s rule: 8x+5y=2 2x-4y=-10 Solution: The coefficient matrix is and its determinant is so and

The solution to the system of equations is (-1,2)

Cramer’s Rule for 3x3 Matrix Let A be the coefficient matrix of this linear system: If det A is not 0, then the system has exactly one solution. The solution is:

Lets solve this system equations by Cramer’s rule 2x – 3y + z = 5 x + 2y + z = -1 x – 3y + 2z = 1 Need to find the determinants of

Find the determinant of the Coefficient Matrix We will use this for the denominators in the all the fractions.

Solving for x Replace the x column with the answers. So

Solving for y Replace the y column with the answers. So

Solving for z Replace the z column with the answers. So

Session Problem Sets Use Cramer’s rule to solve the unknowns in the system of linear equations given below A) 2 𝑥 1 + 4 𝑥 2 - 3 𝑥 3 =12 3 𝑥 1 - 5 𝑥 2 +2 𝑥 3 =13 - 𝑥 1 +3 𝑥 2 + 2 𝑥 3 = 17 B) 11 𝑝 1 - 𝑝 2 - 𝑝 3 =31 - 𝑝 1 +6 𝑝 2 -2 𝑝 3 = 26 - 𝑝 1 -2 𝑝 2 + 7 𝑝 3 = 24 C)

References XXXXXXXXXXXXXXXXXXXXXXXXXX