LINEAR MODELS AND MATRIX ALGEBRA

Slides:



Advertisements
Similar presentations
4.1 Introduction to Matrices
Advertisements

Chapter Matrices Matrix Arithmetic
3_3 An Useful Overview of Matrix Algebra
MF-852 Financial Econometrics
Maths for Computer Graphics
Matrices and Systems of Equations
Economics 2301 Matrices Lecture 13.
Chapter 2 Section 3 Arithmetic Operations on Matrices.
Boot Camp in Linear Algebra Joel Barajas Karla L Caballero University of California Silicon Valley Center October 8th, 2008.
Part 3 Chapter 8 Linear Algebraic Equations and Matrices PowerPoints organized by Dr. Michael R. Gustafson II, Duke University All images copyright © The.
Matrix Definition A Matrix is an ordered set of numbers, variables or parameters. An example of a matrix can be represented by: The matrix is an ordered.
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.
CE 311 K - Introduction to Computer Methods Daene C. McKinney
1 Operations with Matrice 2 Properties of Matrix Operations
1 Chapter 3 Matrix Algebra with MATLAB Basic matrix definitions and operations were covered in Chapter 2. We will now consider how these operations are.
1 Chapter 2 Matrices Matrices provide an orderly way of arranging values or functions to enhance the analysis of systems in a systematic manner. Their.
Chapter 7 Matrix Mathematics Matrix Operations Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
1.3 Matrices and Matrix Operations.
1 1.1 © 2012 Pearson Education, Inc. Linear Equations in Linear Algebra SYSTEMS OF LINEAR EQUATIONS.
Compiled By Raj G. Tiwari
Chapter 2 Solving Linear Systems Matrix Definitions –Matrix--- Rectangular array/ block of numbers. –The size/order/dimension of a matrix: (The numbers.
ECON 1150 Matrix Operations Special Matrices
Matrices Square is Good! Copyright © 2014 Curt Hill.
Barnett/Ziegler/Byleen Finite Mathematics 11e1 Review for Chapter 4 Important Terms, Symbols, Concepts 4.1. Systems of Linear Equations in Two Variables.
Systems of Linear Equation and Matrices
Statistics and Linear Algebra (the real thing). Vector A vector is a rectangular arrangement of number in several rows and one column. A vector is denoted.
1.3 Matrices and Matrix Operations. Definition A matrix is a rectangular array of numbers. The numbers in the array are called the entries in the matrix.
Matrices. A matrix, A, is a rectangular collection of numbers. A matrix with “m” rows and “n” columns is said to have order m x n. Each entry, or element,
8.1 Matrices & Systems of Equations
Matrices Addition & Subtraction Scalar Multiplication & Multiplication Determinants Inverses Solving Systems – 2x2 & 3x3 Cramer’s Rule.
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.
10.4 Matrix Algebra 1.Matrix Notation 2.Sum/Difference of 2 matrices 3.Scalar multiple 4.Product of 2 matrices 5.Identity Matrix 6.Inverse of a matrix.
Unit 3: Matrices.
Linear Algebra 1.Basic concepts 2.Matrix operations.
Linear algebra: matrix Eigen-value Problems Eng. Hassan S. Migdadi Part 1.
Chapter 6 Systems of Linear Equations and Matrices Sections 6.3 – 6.5.
Relations, Functions, and Matrices Mathematical Structures for Computer Science Chapter 4 Copyright © 2006 W.H. Freeman & Co.MSCS Slides Relations, Functions.
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.
Matrices Section 2.6. Section Summary Definition of a Matrix Matrix Arithmetic Transposes and Powers of Arithmetic Zero-One matrices.
CALCULUS – III Matrix Operation by Dr. Eman Saad & Dr. Shorouk Ossama.
Chiang & Wainwright Mathematical Economics
3.4 Solution by Matrices. What is a Matrix? matrix A matrix is a rectangular array of numbers.
Chapter 1 Section 1.5 Matrix Operations. Matrices A matrix (despite the glamour of the movie) is a collection of numbers arranged in a rectangle or an.
TH EDITION LIAL HORNSBY SCHNEIDER COLLEGE ALGEBRA.
Matrices and Determinants
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.
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,
LINEAR MODELS AND MATRIX ALGEBRA - Part 2 Chapter 4 Alpha Chiang, Fundamental Methods of Mathematical Economics 3 rd edition.
Unit 3: Matrices. Matrix: A rectangular arrangement of data into rows and columns, identified by capital letters. Matrix Dimensions: Number of rows, m,
Matrices. Matrix - a rectangular array of variables or constants in horizontal rows and vertical columns enclosed in brackets. Element - each value in.
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. Introduction Matrix algebra has several uses in economics as well as other fields of study. One important application of Matrices is that it.
Matrices. Variety of engineering problems lead to the need to solve systems of linear equations matrixcolumn vectors.
A rectangular array of numeric or algebraic quantities subject to mathematical operations. The regular formation of elements into columns and rows.
10.4 Matrix Algebra. 1. Matrix Notation A matrix is an array of numbers. Definition Definition: The Dimension of a matrix is m x n “m by n” where m =
A very brief introduction to Matrix (Section 2.7) Definitions Some properties Basic matrix operations Zero-One (Boolean) matrices.
Linear Algebra by Dr. Shorouk Ossama.
MTH108 Business Math I Lecture 20.
MATRICES.
Section 7.4 Matrix Algebra.
LINEAR MODELS AND MATRIX ALGEBRA
MATRICES MATRIX OPERATIONS.
Unit 3: Matrices
Matrices and Matrix Operations
Matrix Algebra.
Presentation transcript:

LINEAR MODELS AND MATRIX ALGEBRA Chapter 4 Alpha Chiang, Fundamental Methods of Mathematical Economics 3rd edition

Why Matrix Algebra As more and more commodities are included in models, solution formulas become cumbersome. Matrix algebra enables to do us many things: provides a compact way of writing an equation system leads to a way of testing the existence of a solution by evaluation of a determinant gives a method of finding solution (if it exists)

Catch Catch: matrix algebra is only applicable to linear equation systems. However, some transformation can be done to obtain a linear relation. y = axb log y = log a + b log x

Matrices and Vectors Example of a system of linear equations: c1P1 + c2P2 = -c0 1P1 + 2P2 = -0 In general, a11 x1 + a12 x2 +…+ a1nXn = d1 a21 x1 + a22 x2 +…+ a2nXn = d2 ……………………………… am1 x1 + am2 x2 +…+ amnXn = dm coefficients aij variables x1, …,xn constants d1, …,dm

Matrices as Arrays

Example: 6x1 + 3x2+ x3 = 22 x1 + 4x2+-2x3 =12 4x1 - x2 + 5x3 = 10

Definition of Matrix A matrix is defined as a rectangular array of numbers, parameters, or variables. Members of the array are termed elements of the matrix. Coefficient matrix: A=[aij]

Matrix Dimensions Dimension of a matrix = number of rows x number of columns, m x n m rows n columns Note: row number always precedes the column number. this is in line with way the two subscripts are in aij are ordered. Special case: m = n, a square matrix

Vectors as Special Matrices one column : column vector one row: row vector usually distinguished from a column vector by the use of a primed symbol: Note that a vector is merely an ordered n-tuple and as such it may be interpreted as a point in an n-dimensional space.

Matrix Notation Ax = d Questions: How do we multiply A and x? What is the meaning of equality?

Example Qd = Qs Qd = a - bP Q s= -c + dP can be rewritten as 1Qd + bP = a 0 +1Qs +-dP = -c

In matrix form… Constant vector Coefficient matrix Variable vector

Matrix Operations Addition and Subtraction: matrices must have the same dimensions Example 1: Example 2:

Matrix addition and subtraction In general Note that the sum matrix must have the same dimension as the component matrices.

Matrix subtraction Subtraction Example

Scalar Multiplication To multiply a matrix by a number – by a scalar – is to multiply every element of that matrix by the given scalar. Note that the rationale for the name scalar is that it scales up or down the matrix by a certain multiple. It can also be a negative number.

Matrix Multiplication Given 2 matrices A and B, we want to find the product AB. The conformability condition for multiplication is that the column dimension of A (the lead matrix) must be equal to the row dimension of B ( the lag matrix). BA is not defined since the conformability condition for multiplication is not satisfied.

Matrix Multiplication In general, if A is of dimension m x n and B is of dimension p x q, the matrix product AB will be defined only if n = p. If defined the product matrix AB will have the dimension m x q, the same number of rows as the lead matrix A and the same number of columns as the lag matrix B.

Matrix Multiplication Exact Procedure

Matrix multiplication Example : 2x2, 2x2, 2x2

Matrix multiplication Example: 3x2, 2x1, 3x1

Matrix multiplication Example: 3x3, 3x3, 3x3 Note, the last matrix is a square matrix with 1s in its principal diagonal and 0s everywhere else, is known as identity matrix

Matrix multiplication from 4.4, p56 The product on the right is a column vector

Matrix multiplication When we write Ax= d, we have

Simple national income model Example : Simple national income model with two endogenous variables, Y and C Y = C + Io + Go C = a + bY can be rearranged into the standard format Y – C = Io – Go -bY + C = a

Simple national income model Coefficient matrix, vector of variables, vector of constants To express it in terms of Ax=d,

Simple national income model Thus, the matrix notation Ax=d would give us The equation Ax=d precisely represents the original equation system.

Digression on  notation: Subcripted symbols helps in designating the locations of parameters and variables but also lends itself to a flexible shorthand for denoting sums of terms, such as those which arise during the process of matrix multiplication. j: summation index xj: summand

Digression on  notation:

Digression on  notation: The application of  notation can be readily extended to cases in which the x term is prefixed with a coefficient or in which each term in the sum is raised to some integer power. general polynomial function

Digression on  notation: Applying to each element of the product matrix C=AB

Digression on  notation: Extending to an m x n matrix, A=[aik] and an n x p matrix B=[bkj], we may now write the elements of the m x p matrix AB=C=[cij] as or more generally,