Economics 2301 Matrices Lecture 12. Inner Product Let a' be a row vector and b a column vector, both being n-tuples, that is vectors having n elements:

Slides:



Advertisements
Similar presentations
Matrix.
Advertisements

Chapter Matrices Matrix Arithmetic
Applied Informatics Štefan BEREŽNÝ
Matrix Algebra Matrix algebra is a means of expressing large numbers of calculations made upon ordered sets of numbers. Often referred to as Linear Algebra.
Matrix Algebra Matrix algebra is a means of expressing large numbers of calculations made upon ordered sets of numbers. Often referred to as Linear Algebra.
Matrix Definition: An array of numbers in m rows and n colums is called an mxn matrix A square matrix of order n, is an (nxn) matrix.
Section 3.1 The Determinant of a Matrix. Determinants are computed only on square matrices. Notation: det(A) or |A| For 1 x 1 matrices: det( [k] ) = k.
Mathematics. Matrices and Determinants-1 Session.
Autar Kaw Humberto Isaza Transforming Numerical Methods Education for STEM Undergraduates.
Economics 2301 Lecture 11 Matrix Algebra. Acknowledgement Much of the material on these slides was taken from Krishnan Namboodiri's book, MATRIX ALGEBRA:
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 12 System of Linear Equations.
1 Neural Nets Applications Vectors and Matrices. 2/27 Outline 1. Definition of Vectors 2. Operations on Vectors 3. Linear Dependence of Vectors 4. Definition.
Economics 2301 Matrices Lecture 13.
4.III. Other Formulas 4.III.1. Laplace’s Expansion Definition 1.2:Minor & Cofactor For any n  n matrix T, the (n  1)  (n  1) matrix formed by deleting.
Linear Equations in Linear Algebra
6 6.1 © 2012 Pearson Education, Inc. Orthogonality and Least Squares INNER PRODUCT, LENGTH, AND ORTHOGONALITY.
Matrices and Determinants
Determinants King Saud University. The inverse of a 2 x 2 matrix Recall that earlier we noticed that for a 2x2 matrix,
Chapter 5 Determinants.
Lecture 7: Matrix-Vector Product; Matrix of a Linear Transformation; Matrix-Matrix Product Sections 2.1, 2.2.1,
MATRICES. Matrices A matrix is a rectangular array of objects (usually numbers) arranged in m horizontal rows and n vertical columns. A matrix with m.
3.8 Matrices.
Compiled By Raj G. Tiwari
Spring 2013 Solving a System of Linear Equations Matrix inverse Simultaneous equations Cramer’s rule Second-order Conditions Lecture 7.
 Row and Reduced Row Echelon  Elementary Matrices.
Chapter 2 Determinants. The Determinant Function –The 2  2 matrix is invertible if ad-bc  0. The expression ad- bc occurs so frequently that it has.
A rectangular array of numbers (we will concentrate on real numbers). A nxm matrix has ‘n’ rows and ‘m’ columns What is a matrix? First column First row.
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.
Determinants. If is a square matrix of order 1, then |A| = | a 11 | = a 11 If is a square matrix of order 2, then |A| = = a 11 a 22 – a 21 a 12.
WEEK 8 SYSTEMS OF EQUATIONS DETERMINANTS AND CRAMER’S RULE.
Fin500J Mathematical Foundations in Finance Topic 1: Matrix Algebra Philip H. Dybvig Reference: Mathematics for Economists, Carl Simon and Lawrence Blume,
8.1 Matrices & Systems of Equations
Lecture 7 Matrices CSCI – 1900 Mathematics for Computer Science Fall 2014 Bill Pine.
Company LOGO Chapter 1: Matrix, Determinant, System of linear equations Module 1: Matrix Natural Science Department Example 1: The following rectangular.
Mathematics.
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.
Elementary Linear Algebra Anton & Rorres, 9 th Edition Lecture Set – 02 Chapter 2: Determinants.
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.
2009/9 1 Matrices(§3.8)  A matrix is a rectangular array of objects (usually numbers).  An m  n (“m by n”) matrix has exactly m horizontal rows, and.
Prepared by Deluar Jahan Moloy Lecturer Northern University Bangladesh
ES 240: Scientific and Engineering Computation. Chapter 8 Chapter 8: Linear Algebraic Equations and Matrices Uchechukwu Ofoegbu Temple University.
Meeting 18 Matrix Operations. Matrix If A is an m x n matrix - that is, a matrix with m rows and n columns – then the scalar entry in the i th row and.
College Algebra Sixth Edition James Stewart Lothar Redlin Saleem Watson.
1.3 Matrices and Matrix Operations. A matrix is a rectangular array of numbers. The numbers in the arry are called the Entries in the matrix. The size.
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.
Multiplying Matrices Lesson 4.2. Definition of Multiplying Matrices The product of two matrices A and B is defined provided the number of columns in A.
Matrices and Determinants
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.
Matrix Algebra Definitions Operations Matrix algebra is a means of making calculations upon arrays of numbers (or data). Most data sets are matrix-type.
= y1y1 y2y2 y3y y 1 = = 14 xxx Calculate y 1 : ROW 1 Matrix-Vector multiplication.
Vectors, Matrices and their Products Hung-yi Lee.
MATRICES A rectangular arrangement of elements is called matrix. Types of matrices: Null matrix: A matrix whose all elements are zero is called a null.
2.1 Matrix Operations 2. Matrix Algebra. j -th column i -th row Diagonal entries Diagonal matrix : a square matrix whose nondiagonal entries are zero.
Slide INTRODUCTION TO DETERMINANTS Determinants 3.1.
CHAPTER 7 Determinant s. Outline - Permutation - Definition of the Determinant - Properties of Determinants - Evaluation of Determinants by Elementary.
Linear Algebra by Dr. Shorouk Ossama.
Sec 3.6 Determinants 2x2 matrix Evaluate the determinant of.
nhaa/imk/sem /eqt101/rk12/32
CHAPTER 2 MATRICES Determinant Inverse.
Determinants by Dr. Shorouk Ossama.
DETERMINANTS A determinant is a number associated to a square matrix. Determinants are possible only for square matrices.
Chapter 2 Determinants by Cofactor Expansion
DETERMINANT MATRIX YULVI ZAIKA.
2. Matrix Algebra 2.1 Matrix Operations.
Matrices Introduction.
Chapter 2 Determinants.
Presentation transcript:

Economics 2301 Matrices Lecture 12

Inner Product Let a' be a row vector and b a column vector, both being n-tuples, that is vectors having n elements: then the product a' times b is defined to be the scalar a 1 b a n b n. This product is denoted a'b or. It is sometimes called the inner product or dot product of a' and b.

Transpose  We say that [ 2 3] and are transposes of each other. More generally,  is the transpose of.  The usual notation for the transpose of a is a' or a T.  It is easy to see that the transpose of a transpose of a vector is the original vector. In symbols, (a')'=a.

Transpose of a matrix If A is an nXm matrix, the the mXn matrix A' obtained by interchanging the rows and columns of A is called the transpose of A. For example, and are transposes of each other.

1 st Key Inner Product Sum of Squares where and

2 nd Key Inner Product Sum of Cross Products whereand

Matrix-Vector Multiplication Let A be a matrix and v a column vector such that the number of columns of A equals the number of elements in v. Then the product A times v, written Av, is a column vector c whose i th element is equal to the inner product of the i th row of A with v.

Example of Matrix-vector multiplication the first element of c is The fourth element is

Example continued

Matrix Multiplication We define an operation that produces a matrix C by concatenating horizontally a given matrix A times the successive columns of another matrix B. We define such a concatenation involving A and B the product A times B, usually denoted AB. The operation that produces such a concatenation is called matrix-matrix multiplication or simply matrix multiplication. Using the matrices introduced above, we say that AB=C stipulating that, as mentioned above, AB means the horizontal concatenation in which A times the first column of B is followed on the right by A times the second column of B. Notice that this operation (i.e., matrix multiplication as defined above) applies only if the number of columns in the left-factor (A in our example) equals the number of rows in the right-fact (B in the example).

Matrix Multiplication Example EF = FE=

Alternative Definition of Matrix Multiplication An alternative way of defining matrix multiplication is the following: Given A nXm = ((a ij )) and B mXp =((b ij )), the product AB is an (nXp) matrix whose (i,j) element equals the inner product of the i th row of A with the j th column of B.

Example

Determinant a) Let us stipulate that the determinant of a (1x1) matrix is the numerical value of the sole element of the matrix. b) For a 2x2 matrix A (given below), we will define the determinant of A, noted det(A) or |A|, to be ad-bc.

Cofactor The cofactor of the (i,j) element of A may be defined as (-1) i+j times the determinant of the submatrix formed by omitting the i th row and the j th column of A. We can put these cofactors in a matrix we call the cofactor matrix. Let W be the cofactor matrix of our 2x2 matrix A.

Determinant Continued It is possible to define the determinant of a (3x3) matrix in terms of determinants of (2x2) matrices as the weighted sum of the elements of any row or column of the given (3x3) matrix, using as weights the respective cofactors – the cofactor of the (i,j) element of the (3x3) matrix being (-1) i+j times the determinant of the (2x2) submatrix formed by omitting the i th row and the j th column of the original matrix. This definition is readily generalizable. Let The cofactor matrix for F, G, is

Determinant Continued We can get the determinant of F by expanding on the first row We also get the same value for the determinant of F if we expand on the first column of F. Prove for yourself that you get the same value for the determinant of F if you expand on any other row or column.

General Rule for Determinant Minor: Let A be an nxn matrix. Let M ij be the (n-1)x(n-1) matrix obtained by deleting the i th row and the j th column of A. The determinant of that matrix, denoted |M ij |, is called the minor of a ij. Cofactor: Let A be an nxn matrix. The cofactor C ij is a minor multiplied by (-1) (i+j). That is, C ij =(-1) (i+j) |M ij | Laplace Expansion: The general rule for finding the determinant of an nxn matrix A, with the representative element a ij and the set of cofactors C ij, through a Laplace expansion along its i th row, is The same determinant can be evaluated by a Laplace expansion along the j th column of the matrix, which give us