Fin500J Mathematical Foundations in Finance Topic 1: Matrix Algebra Philip H. Dybvig Reference: Mathematics for Economists, Carl Simon and Lawrence Blume,

Slides:



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

Chapter Matrices Matrix Arithmetic
Applied Informatics Štefan BEREŽNÝ
Matrices & Systems of Linear Equations
Chapter 2 Basic Linear Algebra
Matrices and Systems of Equations
Ch 7.2: Review of Matrices For theoretical and computation reasons, we review results of matrix theory in this section and the next. A matrix A is an m.
MOHAMMAD IMRAN DEPARTMENT OF APPLIED SCIENCES JAHANGIRABAD EDUCATIONAL GROUP OF INSTITUTES.
Part 3 Chapter 8 Linear Algebraic Equations and Matrices PowerPoints organized by Dr. Michael R. Gustafson II, Duke University All images copyright © The.
Matrices MSU CSE 260.
Chapter 5 Determinants.
Lecture 7: Matrix-Vector Product; Matrix of a Linear Transformation; Matrix-Matrix Product Sections 2.1, 2.2.1,
Arithmetic Operations on Matrices. 1. Definition of Matrix 2. Column, Row and Square Matrix 3. Addition and Subtraction of Matrices 4. Multiplying Row.
3.8 Matrices.
Chapter 7 Matrix Mathematics Matrix Operations Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Elementary Linear Algebra Howard Anton Copyright © 2010 by John Wiley & Sons, Inc. All rights reserved. Chapter 1.
Elementary Linear Algebra Howard Anton Copyright © 2010 by John Wiley & Sons, Inc. All rights reserved. Chapter 1.
Compiled By Raj G. Tiwari
1 資訊科學數學 14 : Determinants & Inverses 陳光琦助理教授 (Kuang-Chi Chen)
ECON 1150 Matrix Operations Special Matrices
 Row and Reduced Row Echelon  Elementary Matrices.
Matrix Inversion.
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.
Matrix Algebra. Quick Review Quick Review Solutions.
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.
8.1 Matrices & Systems of Equations
Lecture 28: Mathematical Insight and Engineering.
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.
Algebra 3: Section 5.5 Objectives of this Section Find the Sum and Difference of Two Matrices Find Scalar Multiples of a Matrix Find the Product of Two.
Matrices. Definitions  A matrix is an m x n array of scalars, arranged conceptually as m rows and n columns.  m is referred to as the row dimension.
Chapter 6 Systems of Linear Equations and Matrices Sections 6.3 – 6.5.
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.
Slide Copyright © 2009 Pearson Education, Inc. 7.3 Matrices.
Matrices Section 2.6. Section Summary Definition of a Matrix Matrix Arithmetic Transposes and Powers of Arithmetic Zero-One matrices.
Matrices: Simplifying Algebraic Expressions Combining Like Terms & Distributive Property.
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.
Copyright © Cengage Learning. All rights reserved. 2 SYSTEMS OF LINEAR EQUATIONS AND MATRICES.
Algebra Matrix Operations. Definition Matrix-A rectangular arrangement of numbers in rows and columns Dimensions- number of rows then columns Entries-
Matrices Digital Lesson. Copyright © by Houghton Mifflin Company, Inc. All rights reserved. 2 A matrix is a rectangular array of real numbers. Each entry.
Matrices and Determinants
Linear Algebra Chapter 2 Matrices.
Matrices and Matrix Operations. Matrices An m×n matrix A is a rectangular array of mn real numbers arranged in m horizontal rows and n vertical columns.
STROUD Worked examples and exercises are in the text Programme 5: Matrices MATRICES PROGRAMME 5.
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.
STROUD Worked examples and exercises are in the text PROGRAMME 5 MATRICES.
2 - 1 Chapter 2A Matrices 2A.1 Definition, and Operations of Matrices: 1 Sums and Scalar Products; 2 Matrix Multiplication 2A.2 Properties of Matrix Operations;
Linear Algebra Engineering Mathematics-I. Linear Systems in Two Unknowns Engineering Mathematics-I.
Matrix Algebra Definitions Operations Matrix algebra is a means of making calculations upon arrays of numbers (or data). Most data sets are matrix-type.
Matrices. Variety of engineering problems lead to the need to solve systems of linear equations matrixcolumn vectors.
CS 285- Discrete Mathematics Lecture 11. Section 3.8 Matrices Introduction Matrix Arithmetic Transposes and Power of Matrices Zero – One Matrices Boolean.
A very brief introduction to Matrix (Section 2.7) Definitions Some properties Basic matrix operations Zero-One (Boolean) matrices.
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.
Matrices. Matrix A matrix is an ordered rectangular array of numbers. The entry in the i th row and j th column is denoted by a ij. Ex. 4 Columns 3 Rows.
CHAPTER 7 Determinant s. Outline - Permutation - Definition of the Determinant - Properties of Determinants - Evaluation of Determinants by Elementary.
MTH108 Business Math I Lecture 20.
Linear Algebraic Equations and Matrices
nhaa/imk/sem /eqt101/rk12/32
CHAPTER 2 MATRICES Determinant Inverse.
Linear Algebraic Equations and Matrices
Matrix Operations SpringSemester 2017.
Section 7.4 Matrix Algebra.
7.3 Matrices.
DETERMINANT MATRIX YULVI ZAIKA.
Matrix Operations SpringSemester 2017.
3.5 Perform Basic Matrix Operations Algebra II.
Presentation transcript:

Fin500J Mathematical Foundations in Finance Topic 1: Matrix Algebra Philip H. Dybvig Reference: Mathematics for Economists, Carl Simon and Lawrence Blume, Chapter 8 Chapter 9 and Chapter 16 Slides designed by Yajun Wang 1 Fall 2010 Olin Business School Fin500J Topic 1

Outline Definition of a Matrix Operations of Matrices Determinants Inverse of a Matrix Linear System Matrix Definiteness Fall 2010 Olin Business School2Fin500J Topic 1

Matrix (Basic Definitions) An k × n matrix A is a rectangular array of numbers with k rows and n columns. (Rows are horizontal and columns are vertical.) The numbers k and n are the dimensions of A. The numbers in the matrix are called its entries. The entry in row i and column j is called a ij. 3Fall 2010 Olin Business SchoolFin500J Topic 1

Operations with Matrices (Sum, Difference) Sum, Difference If A and B have the same dimensions, then their sum, A + B, is obtained by adding corresponding entries. In symbols, (A + B) ij = a ij + b ij. If A and B have the same dimensions, then their difference, A − B, is obtained by subtracting corresponding entries. In symbols, (A - B) ij = a ij - b ij. Example: 4Fall 2010 Olin Business SchoolFin500J Topic 1

Operations with Matrices (Scalar Multiple) Scalar Multiple If A is a matrix and r is a number (sometimes called a scalar in this context), then the scalar multiple, rA, is obtained by multiplying every entry in A by r. In symbols, (rA) ij = ra ij. Example: 5Fall 2010 Olin Business SchoolFin500J Topic 1

Operations with Matrices (Product) Product If A has dimensions k × m and B has dimensions m × n, then the product AB is defined, and has dimensions k × n. The entry (AB) ij is obtained by multiplying row i of A by column j of B, which is done by multiplying corresponding entries together and then adding the results i.e., 6Fall 2010 Olin Business SchoolFin500J Topic 1

Laws of Matrix Algebra The matrix addition, subtraction, scalar multiplication and matrix multiplication, have the following properties. Fall 2010 Olin Business School7Fin500J Topic 1

Operations with Matrices (Transpose) Transpose The transpose, A T, of a matrix A is the matrix obtained from A by writing its rows as columns. If A is an k×n matrix and B = A T then B is the n×k matrix with b ij = a ji. If A T =A, then A is symmetric. Example: 8Fall 2010 Olin Business SchoolFin500J Topic 1

Determinants Determinant is a scalar Defined for a square matrix Is the sum of selected products of the elements of the matrix, each product being multiplied by +1 or -1 9Fall 2010 Olin Business School M ij =det(A ij ), A ij is the (n-1)×(n-1) submatrix obtained by deleting row i and column j from A. Fin500J Topic 1

Determinants The determinant of a 3 ×3 matrix is Example 10 The determinant of a 2 ×2 matrix A is In Matlab: det(A) = det(A) Fall 2010 Olin Business SchoolFin500J Topic 1

Inverse of a Matrix Definition. If A is a square matrix, i.e., A has dimensions n×n. Matrix A is nonsingular or invertible if there exists a matrix B such that AB=BA=I n. For example.  Common notation for the inverse of a matrix A is A -1  If A is an invertible matrix, then (A T ) -1 = (A -1 ) T  The inverse matrix A -1 is unique when it exists.  If A is invertible, A -1 is also invertible  A is the inverse matrix of A -1. (A -1 ) -1 =A. In Matlab: A -1 = inv(A) Matrix division: A/B = AB -1 11Fall 2010 Olin Business SchoolFin500J Topic 1

Calculation of Inversion using Determinants Def: For any n×n matrix A, let C ij denote the (i,j) th cofactor of A, that is, (-1) i+j times the determinant of the submatrix obtained by deleting row i and column j form A, i.e., C ij = (-1) i+j M ij. The n×n matrix whose (i,j)th entry is C ji, the (j,i)th cofactor of A is called the adjoint of A and is written adj A. thus 12 Fall 2010 Olin Business SchoolFin500J Topic 1

Calculation of Inversion using Determinants thus Example: find the inverse of the matrix Solve: 13 Using Determinants to find the inverse of a matrix can be very complicated. Gaussian elimination is more efficient for high dimension matrix. 13Fall 2010 Olin Business SchoolFin500J Topic 1

Calculation of Inversion using Gaussian Elimination 14 Elementary row operations: o Interchange two rows of a matrix o Change a row by adding to it a multiple of another row o Multiply each element in a row by the same nonzero number To calculate the inverse of matrix A, we apply the elementary row operations on the augmented matrix [A I] and reduce this matrix to the form of [I B] The right half of this augmented matrix B is the inverse of A 14 Fall 2010 Olin Business School Fin500J Topic 1

Calculation of inversion using Gaussian elimination I is the identity matrix, and use Gaussian elimination to obtain a matrix of the form The matrix 15Fall 2010 Olin Business School is then the matrix inverse of A Fin500J Topic 1

Example The matrix 16 is then the matrix inverse of A (ii)+(-12) ×(i), (iii)+(-3) ×(i), (iii)+(ii) ×(1/10) 16 Fall 2010 Olin Business School Fin500J Topic 1

The system of linear equations 17Fall 2010 Olin Business School Systems of Equations in Matrix Form can be rewritten as the matrix equation Ax=b, where If an n ×n matrix A is invertible, then it is nonsingular, and the unique solution to the system of linear equations Ax=b is x=A -1 b. Fin500J Topic 1

Example: solve the linear system 18Fall 2010 Olin Business School In Matlab >>x=inv(A)*b or >> x=A\b b Fin500J Topic 1

19Fall 2010 Olin Business School Matrix Operations in Matlab >> A=[2 3; 1 1; 1 0] A = >> B1=[1 1; 0 1; 2 4] B1 = >> B2=[1 1 1; 1 0 2] B2 = >> A=[2 3; 1 1; 1 0] A = >> B1=[1 1; 0 1; 2 4] B1 = >> B2=[1 1 1; 1 0 2] B2 = >> A+B1 ans = >> A-B1 ans = >> A*B2 ans = >> A+B1 ans = >> A-B1 ans = >> A*B2 ans = Sum Difference Product Fin500J Topic 1

20Fall 2010 Olin Business School Matrix Operations in Matlab >> C=[1 1 1; ; 3 4 1] C = >> C=[1 1 1; ; 3 4 1] C = >> C' ans = >> det(C) ans = 35 >> inv(C) ans = >> C' ans = >> det(C) ans = 35 >> inv(C) ans = transpose determinant inverse Fin500J Topic 1

Positive Definite Matrix Fall 2010 Olin Business School21Fin500J Topic 1

Negative Definite, Positive Semidefinite, Negative Semidefinite, Indefinite Matrix Fall 2010 Olin Business School22 Let A be an N×N symmetric matrix, then A is negative definite if and only if v T Av <0 for all v≠0 in R N positive semidefinite if and only if v T Av ≥0 for all v≠0, in R N negative semidefinite if and only if v T Av ≤0 for all v≠0, in R N indefinite if and only if v T Av >0 for some v in R N and <0 for other v in R N Fin500J Topic 1