Fin500J Topic 2Fall 2010 Olin Business School1 Fin500J Mathematical Foundations in Finance Topic 2: Matrix Calculus Philip H. Dybvig Reference: Matrix.

Slides:



Advertisements
Similar presentations
Chapter 6 Matrix Algebra.
Advertisements

Fin500J: Mathematical Foundations in Finance
Applied Informatics Štefan BEREŽNÝ
ESSENTIAL CALCULUS CH11 Partial derivatives
Linear Equations in Linear Algebra
Mathematics. Matrices and Determinants-1 Session.
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.
Lesson 4 Review of Vectors and Matrices. Vectors A vector is normally expressed as or in terms of unit vectors likewise.
1 Fin500J Topic 10Fall 2010 Olin Business School Fin500J: Mathematical Foundations in Finance Topic 10: Probability and Statistics Philip H. Dybvig Reference:
Fin500J Topic 7Fall 2010 Olin Business School 1 Fin500J Mathematical Foundations in Finance Topic 7: Numerical Methods for Solving Ordinary Differential.
DEPARTMENT OF MATHEMATI CS [ YEAR OF ESTABLISHMENT – 1997 ] DEPARTMENT OF MATHEMATICS, CVRCE.
ME451 Kinematics and Dynamics of Machine Systems Review of Elements of Calculus – 2.5 Vel. and Acc. of a Point fixed in a Ref Frame – 2.6 Absolute vs.
ME751 Advanced Computational Multibody Dynamics Introduction January 21, 2010 Dan Negrut University of Wisconsin, Madison © Dan Negrut, 2010 ME751, UW-Madison.
: Appendix A: Mathematical Foundations 1 Montri Karnjanadecha ac.th/~montri Principles of.
Compiled By Raj G. Tiwari
Sundermeyer MAR 550 Spring Laboratory in Oceanography: Data and Methods MAR550, Spring 2013 Miles A. Sundermeyer Linear Algebra & Calculus Review.
Little Linear Algebra Contents: Linear vector spaces Matrices Special Matrices Matrix & vector Norms.
CHAPTER 2 MATRIX. CHAPTER OUTLINE 2.1 Introduction 2.2 Types of Matrices 2.3 Determinants 2.4 The Inverse of a Square Matrix 2.5 Types of Solutions to.
Gram-Schmidt Orthogonalization
CHAP 0 MATHEMATICAL PRELIMINARY
Fin500J Topic 6Fall 2010 Olin Business School 1 Fin500J: Mathematical Foundations in Finance Topic 6: Ordinary Differential Equations Philip H. Dybvig.
7.3* The Natural Exponential Function INVERSE FUNCTIONS In this section, we will learn about: The natural exponential function and its properties.
2 2.1 © 2016 Pearson Education, Inc. Matrix Algebra MATRIX OPERATIONS.
Fin500J: Mathematical Foundations in Finance
Fin500J Mathematical Foundations in Finance Topic 1: Matrix Algebra Philip H. Dybvig Reference: Mathematics for Economists, Carl Simon and Lawrence Blume,
Chapter 8 Multivariable Calculus Section 2 Partial Derivatives.
Lecture 7 Matrices CSCI – 1900 Mathematics for Computer Science Fall 2014 Bill Pine.
Section 2.5 Implicit Differentiation
Introduction to Matrices and Vectors Sebastian van Delden USC Upstate
Matrix Differential Calculus By Dr. Md. Nurul Haque Mollah, Professor, Dept. of Statistics, University of Rajshahi, Bangladesh Dr. M. N. H. MOLLAH.
A Review of Some Fundamental Mathematical and Statistical Concepts UnB Mestrado em Ciências Contábeis Prof. Otávio Medeiros, MSc, PhD.
The goal is to give an introduction to the mathematical operations with matrices. A matrix is a 2-dimensional arrangement of (real valued) data. The data.
MathematicalMarketing Slide 3a.1 Mathematical Tools Chapter 3: Mathematical Tools We will be reviewing  Exponents and Logarithms.  Scalar Calculus 
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.
2 2.1 © 2012 Pearson Education, Inc. Matrix Algebra MATRIX OPERATIONS.
Lecture 1: Math Review EEE2108: Optimization 서강대학교 전자공학과 2012 학년도 1 학기.
 In this lesson we will go over how to solve a basic matrix equation such as the following: These are matrices, not variables.
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,
1 Objective To provide background material in support of topics in Digital Image Processing that are based on matrices and/or vectors. Review Matrices.
ME451 Kinematics and Dynamics of Machine Systems Review of Elements of Calculus – 2.5 Vel and Acc of a Point fixed in a Ref Frame – 2.6 Jan. 29, 2009 ©
CALCULUS III CHAPTER 5: Orthogonal curvilinear coordinates
CS 285- Discrete Mathematics Lecture 11. Section 3.8 Matrices Introduction Matrix Arithmetic Transposes and Power of Matrices Zero – One Matrices Boolean.
Introduction Types of Matrices Operations
13.3 Product of a Scalar and a Matrix.  In matrix algebra, a real number is often called a.  To multiply a matrix by a scalar, you multiply each entry.
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.
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.
MTH108 Business Math I Lecture 20.
Matrices and Vector Concepts
MATRICES.
ECE 1304 Introduction to Electrical and Computer Engineering
Linear Algebra review (optional)
張智星 (Roger Jang) 台大資工系 多媒體檢索實驗室
Review of Matrix Operations
Eigenvalues and Eigenvectors
Rigid Body transformation Lecture 1
Basic Matrix Operations
Section 7.4 Matrix Algebra.
Matrix Algebra.
2. Matrix Algebra 2.1 Matrix Operations.
Derivative of scalar forms
Mathematics.
Section 2.4 Matrices.
Matrices and Matrix Operations
Section 11.4 Matrix Algebra
Maths for Signals and Systems Linear Algebra in Engineering Lectures 10-12, Tuesday 1st and Friday 4th November2016 DR TANIA STATHAKI READER (ASSOCIATE.
Linear Algebra review (optional)
Linear Algebra Lecture 11.
Rayat Shikshan Sanstha’s S.M.Joshi College, Hadapsar -28
Chapter 3. Kinematic analysis
Presentation transcript:

Fin500J Topic 2Fall 2010 Olin Business School1 Fin500J Mathematical Foundations in Finance Topic 2: Matrix Calculus Philip H. Dybvig Reference: Matrix Calculus, appendix from Introduction to Finite Element Methods book Slides designed by Yajun Wang

Fin500J Topic 2Fall 2010 Olin Business School2 Outline The Derivatives of Vector Functions The Chain Rule for Vector Functions

Fin500J Topic 2Fall 2010 Olin Business School3 1 The Derivatives of Vector Functions

Fin500J Topic 2Fall 2010 Olin Business School4 1.1 Derivative of Vector with Respect to Vector

Fin500J Topic 2Fall 2010 Olin Business School5 1.2 Derivative of a Scalar with Respect to Vector If y is a scalar 1.3 Derivative of Vector with Respect to Scalar It is also called the gradient of y with respect to a vector variable x, denoted by.

Fin500J Topic 2Fall 2010 Olin Business School6 Example 1 Given and

In Matlab Fin500J Topic 2Fall 2010 Olin Business School7 >> syms x1 x2 x3 real; >> y1=x1^2-x2; >> y2=x3^2+3*x2; >> J = jacobian([y1;y2], [x1 x2 x3]) J = [ 2*x1, -1, 0] [ 0, 3, 2*x3] Note: Matlab defines the derivatives as the transposes of those given in this lecture. >> J' ans = [ 2*x1, 0] [ -1, 3] [ 0, 2*x3] >> syms x1 x2 x3 real; >> y1=x1^2-x2; >> y2=x3^2+3*x2; >> J = jacobian([y1;y2], [x1 x2 x3]) J = [ 2*x1, -1, 0] [ 0, 3, 2*x3] Note: Matlab defines the derivatives as the transposes of those given in this lecture. >> J' ans = [ 2*x1, 0] [ -1, 3] [ 0, 2*x3]

Fin500J Topic 2Fall 2010 Olin Business School8 Some useful vector derivative formulas Homework

Fin500J Topic 2Fall 2010 Olin Business School9 Important Property of Quadratic Form x T Cx Proof: If C is symmetric,

Fin500J Topic 2Fall 2010 Olin Business School10 2 The Chain Rule for Vector Functions Let where z is a function of y, which is in turn a function of x, we can write Each entry of this matrix may be expanded as

Fin500J Topic 2Fall 2010 Olin Business School11 The Chain Rule for Vector Functions (Cont.) Then On transposing both sides, we finally obtain This is the chain rule for vectors (different from the conventional chain rule of calculus, the chain of matrices builds toward the left)

Fin500J Topic 2Fall 2010 Olin Business School12 Example 2 x, y are as in Example 1 and z is a function of y defined as

In Matlab Fin500J Topic 2Fall 2010 Olin Business School13 >> z1=y1^2-2*y2; >> z2=y2^2-y1; >> z3=y1^2+y2^2; >> z4=2*y1+y2; >> Jzx=jacobian([z1; z2; z3; z4],[x1 x2 x3]) Jzx = [ 4*(x1^2-x2)*x1, -2*x1^2+2*x2-6, -4*x3] [ -2*x1, 6*x3^2+18*x2+1, 4*(x3^2+3*x2)*x3] [ 4*(x1^2-x2)*x1, -2*x1^2+20*x2+6*x3^2, 4*(x3^2+3*x2)*x3] [ 4*x1, 1, 2*x3] >> Jzx’ ans = [ 4*(x1^2-x2)*x1, -2*x1, 4*(x1^2-x2)*x1, 4*x1] [ -2*x1^2+2*x2-6, 6*x3^2+18*x2+1, -2*x1^2+20*x2+6*x3^2, 1] [ -4*x3, 4*(x3^2+3*x2)*x3, 4*(x3^2+3*x2)*x3, 2*x3] >> z1=y1^2-2*y2; >> z2=y2^2-y1; >> z3=y1^2+y2^2; >> z4=2*y1+y2; >> Jzx=jacobian([z1; z2; z3; z4],[x1 x2 x3]) Jzx = [ 4*(x1^2-x2)*x1, -2*x1^2+2*x2-6, -4*x3] [ -2*x1, 6*x3^2+18*x2+1, 4*(x3^2+3*x2)*x3] [ 4*(x1^2-x2)*x1, -2*x1^2+20*x2+6*x3^2, 4*(x3^2+3*x2)*x3] [ 4*x1, 1, 2*x3] >> Jzx’ ans = [ 4*(x1^2-x2)*x1, -2*x1, 4*(x1^2-x2)*x1, 4*x1] [ -2*x1^2+2*x2-6, 6*x3^2+18*x2+1, -2*x1^2+20*x2+6*x3^2, 1] [ -4*x3, 4*(x3^2+3*x2)*x3, 4*(x3^2+3*x2)*x3, 2*x3]