Paul Schrimpf. September 10, 2013

Similar documents
Notes on Row Reduction

System of Linear Equations

Topics. Vectors (column matrices): Vector addition and scalar multiplication The matrix of a linear function y Ax The elements of a matrix A : A ij

Lecture 12: Solving Systems of Linear Equations by Gaussian Elimination

Solutions of Linear system, vector and matrix equation

Matrices and RRE Form

1 Last time: linear systems and row operations

Applied Matrix Algebra Lecture Notes Section 2.2. Gerald Höhn Department of Mathematics, Kansas State University

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 1 x 2. x n 8 (4) 3 4 2

POLI270 - Linear Algebra

ORIE 6300 Mathematical Programming I August 25, Recitation 1

Relationships Between Planes

1.4 Gaussian Elimination Gaussian elimination: an algorithm for finding a (actually the ) reduced row echelon form of a matrix. A row echelon form

SECTION 3.3. PROBLEM 22. The null space of a matrix A is: N(A) = {X : AX = 0}. Here are the calculations of AX for X = a,b,c,d, and e. =

Lecture 1 Systems of Linear Equations and Matrices

1 Determinants. 1.1 Determinant

Lecture 6 & 7. Shuanglin Shao. September 16th and 18th, 2013

Graduate Mathematical Economics Lecture 1

Undergraduate Mathematical Economics Lecture 1

is a 3 4 matrix. It has 3 rows and 4 columns. The first row is the horizontal row [ ]

Chapter 5. Linear Algebra. Sections A linear (algebraic) equation in. unknowns, x 1, x 2,..., x n, is. an equation of the form

Linear Equations in Linear Algebra

Pre-Calculus I. For example, the system. x y 2 z. may be represented by the augmented matrix

1 - Systems of Linear Equations

System of Linear Equations. Slide for MA1203 Business Mathematics II Week 1 & 2

Chapter 5. Linear Algebra. A linear (algebraic) equation in. unknowns, x 1, x 2,..., x n, is. an equation of the form

Chapter 4. Solving Systems of Equations. Chapter 4

Row Space and Column Space of a Matrix

ECON 186 Class Notes: Linear Algebra

System of Linear Equations

Chapter 5. Linear Algebra. Sections A linear (algebraic) equation in. unknowns, x 1, x 2,..., x n, is. an equation of the form

LECTURE 6: VECTOR SPACES II (CHAPTER 3 IN THE BOOK)

Math Final December 2006 C. Robinson

Lecture 2 Systems of Linear Equations and Matrices, Continued

Math "Matrix Approach to Solving Systems" Bibiana Lopez. November Crafton Hills College. (CHC) 6.3 November / 25

Lemma 8: Suppose the N by N matrix A has the following block upper triangular form:

Glossary of Linear Algebra Terms. Prepared by Vince Zaccone For Campus Learning Assistance Services at UCSB

Chapter 1. Vectors, Matrices, and Linear Spaces

7.6 The Inverse of a Square Matrix

Contents. 1 Vectors, Lines and Planes 1. 2 Gaussian Elimination Matrices Vector Spaces and Subspaces 124

Chapter 1: Systems of Linear Equations

Chapter 2. Systems of Equations and Augmented Matrices. Creighton University

Lecture 22: Section 4.7

The matrix will only be consistent if the last entry of row three is 0, meaning 2b 3 + b 2 b 1 = 0.

ANALYTICAL MATHEMATICS FOR APPLICATIONS 2018 LECTURE NOTES 3

Solving Consistent Linear Systems

Math Linear Algebra Final Exam Review Sheet

Finite Math - J-term Section Systems of Linear Equations in Two Variables Example 1. Solve the system

Row Reduction and Echelon Forms

EBG # 3 Using Gaussian Elimination (Echelon Form) Gaussian Elimination: 0s below the main diagonal

Lecture 3: Gaussian Elimination, continued. Lecture 3: Gaussian Elimination, continued

10. Rank-nullity Definition Let A M m,n (F ). The row space of A is the span of the rows. The column space of A is the span of the columns.

Gaussian Elimination without/with Pivoting and Cholesky Decomposition

Solving Linear Systems Using Gaussian Elimination

Review of Matrices and Block Structures

1. Select the unique answer (choice) for each problem. Write only the answer.

0.0.1 Section 1.2: Row Reduction and Echelon Forms Echelon form (or row echelon form): 1. All nonzero rows are above any rows of all zeros.

Math 2174: Practice Midterm 1

Elementary maths for GMT

Department of Aerospace Engineering AE602 Mathematics for Aerospace Engineers Assignment No. 4

MAT Linear Algebra Collection of sample exams

Math 344 Lecture # Linear Systems

MATH 213 Linear Algebra and ODEs Spring 2015 Study Sheet for Midterm Exam. Topics

1. Let m 1 and n 1 be two natural numbers such that m > n. Which of the following is/are true?

Solving Systems of Linear Equations

3.4 Elementary Matrices and Matrix Inverse

MTH 215: Introduction to Linear Algebra

Math 1314 Week #14 Notes

ELE/MCE 503 Linear Algebra Facts Fall 2018

2. Every linear system with the same number of equations as unknowns has a unique solution.

Finite Mathematics Chapter 2. where a, b, c, d, h, and k are real numbers and neither a and b nor c and d are both zero.

Elementary Linear Algebra

Systems of Linear Equations. By: Tri Atmojo Kusmayadi and Mardiyana Mathematics Education Sebelas Maret University

Matrix Algebra. Matrix Algebra. Chapter 8 - S&B

Chapter 7. Linear Algebra: Matrices, Vectors,

3. Vector spaces 3.1 Linear dependence and independence 3.2 Basis and dimension. 5. Extreme points and basic feasible solutions

Notes on singular value decomposition for Math 54. Recall that if A is a symmetric n n matrix, then A has real eigenvalues A = P DP 1 A = P DP T.

Lecture 18: The Rank of a Matrix and Consistency of Linear Systems

TMA Calculus 3. Lecture 21, April 3. Toke Meier Carlsen Norwegian University of Science and Technology Spring 2013

AFFINE AND PROJECTIVE GEOMETRY, E. Rosado & S.L. Rueda 4. BASES AND DIMENSION

Math 240 Calculus III

Linear Systems and Matrices

MA 511, Session 10. The Four Fundamental Subspaces of a Matrix

Matrix Arithmetic. j=1

MATH 315 Linear Algebra Homework #1 Assigned: August 20, 2018

4 Elementary matrices, continued

Chapter Two Elements of Linear Algebra

SYMBOL EXPLANATION EXAMPLE

Problem Sheet 1 with Solutions GRA 6035 Mathematics

The definition of a vector space (V, +, )

2. Linear algebra. matrices and vectors. linear equations. range and nullspace of matrices. function of vectors, gradient and Hessian

18.06 Problem Set 3 - Solutions Due Wednesday, 26 September 2007 at 4 pm in

1. Linear systems of equations. Chapters 7-8: Linear Algebra. Solution(s) of a linear system of equations (continued)

13. Systems of Linear Equations 1

Linear Methods (Math 211) - Lecture 2

EC5555 Economics Masters Refresher Course in Mathematics September 2014

Math Camp Lecture 4: Linear Algebra. Xiao Yu Wang. Aug 2010 MIT. Xiao Yu Wang (MIT) Math Camp /10 1 / 88

Section 9.2: Matrices. Definition: A matrix A consists of a rectangular array of numbers, or elements, arranged in m rows and n columns.

Math 4A Notes. Written by Victoria Kala Last updated June 11, 2017

MATRICES. knowledge on matrices Knowledge on matrix operations. Matrix as a tool of solving linear equations with two or three unknowns.

Transcription:

Systems of UBC Economics 526 September 10, 2013

More cardinality Let A and B be sets, the Cartesion product of A and B is A B := {(a, b) : a A, b B} Question If A and B are countable is A B countable?

More cardinality Theorem If A and B are countable, then so is A B Proof A and B are countable, so we can write A = {a 1, a 2, } and B = {b 1, b 2, } Consider (a 1, b 1 ) (a 1, b 2 ) (a 1, b 3 ) (a 2, b 1 ) (a 2, b 2 ) (a2, b 3 ) (a 3, b 1 ) (a 3, b 2 ) (a 3, b 3 ) Count along the diagonals

More cardinality Question If A 1, A 2, A 3, are each countable is n=1 A n countable?

More cardinality Theorem If {A n } are countable, then so is n=1 A n Proof A n is countable, so we can write A n = {a 1n, a 2n, } Consider a 11 a 12 a 13 a 21 a 22 a 23 a 31 a 32 a 33 Count along the diagonals

1 2 3 4 5

Systems of Example: In general: 5x 1 7x 2 =9 8x 1 + x 2 =0 a 11 x 1 + a 12 x 2 + + a 1n x n =b 1 a 21 x 1 + a 22 x 2 + + a 2n x n =b 2 a m1 x 1 + a m2 x 2 + + a mn x n =b m,

Coefficient matrix Coefficient matrix A a 11 a 1n x 1 = a m1 a mn x n Ax =b b 1 b m Augmented coefficient matrix  a 11 a 1n b 1  = = ( Ab ) a m1 a mn b m

Let s t = Example: Markov model of employment { 1 if employed at time t 0 if unemployed at time t Random process described by P(s t s t 1, s t 2, ) Markovian: P(s t s t 1, s t 2, ) = P(s t s t 1 ) Probability of being employed tomorrow only depends on whether you re employed today and not the more distant past Stationary distribution: q stationary if when P(s t = 1) = q(1) and P(s t = 0) = q(0) today, then also have P(s t+1 = 1) = q(1) and P(s t+1 = 0) = q(0) tomorrow q(s) = P(s s 0 )q(s 0 ) s 0 {0,1}

Example: Markov model of employment Stationary distribution satisfies: q(1) =P(1 1)q(1) + P(1 0)q(0) q(0) =P(0 1)q(1) + P(0 0)q(0) 1 =q(1) + q(0) system of for unknowns q(1) and q(2) Coefficient matrix and augmented coefficient matrix =?

Questions to be answered: Given a system of : 1 Does any solution exist? 2 How many? 3 How can a solution be computed?

Equation/row operations Familiar with solving by: Substitution Elimination Use equation (row) operations that preserve set of 1 Multiply an equation by a non-zero constant, 2 Add a multiple of one equation to another, and 3 Interchange two

Row echelon form Row echelon form: each row begins with more zeros than the row above it or the row is all zeros Examples: ( ) a11 a 12 0 a 22 ( ) a11 a 12 a 13 0 0 a 23 Once a system is in row echelon form it is easy to solve by back substitution

Systematic way to transform system of to row echelon form 1 Identify the first column to contain any non-zero elements, call this column c 2 Interchange rows so that a nonzero entry appears at the top of column c 3 Add a multiple of the first row to each of the rows below so that the entries in column c below the first row are zero 4 Repeat 1-2 on the submatrix consisting of the lower right part of the original matrix below the first row and to the right of column c Stop if this submatrix has no columns or has no rows

: example x 1 + x 2 + 3x 3 = 0 2x 1 + 3x 2 + 7x 3 = 9 3x 1 + 5x 2 + 13x 3 = 1

Transform the following system into row echelon form: x + 2y z =2 4y + z =5 2x 4y + 2z =1

rank of A is the number of nonzero rows in its row echelon form Is rank well-defined? Lemma The rank of a matrix A is always less than or equal to the number of columns of A and less than or equal to the number of rows of A Lemma Let A be a coefficient matrix and  be an augmented coefficient matrix Then ranka rankâ

Theorem ( ) A system of with coefficient matrix A and augmented coefficient matrix  has a solution (perhaps more than one) if and only if ranka = rankâ Proof See notes

Consider the system: 4y + z =5 x + 2y z =2 8y 2z = 10 What if b 3 10?

Multiple means infinite Lemma Suppose x 1 and x 2 are two distinct to the system of Ax = b Then the system of has (uncountably) infinitely many

Solution existence for any b Theorem (Solution existence) A system of with coefficient matrix A will have a solution for any choice of b 1,, b m if and only if ranka is equal to the number of rows of A Corollary For any system of with more than variables, (ie an overdetermined system) there exists a choice of b such that no exist

Uniqueness Theorem (Solution uniqueness) Any system of with coefficient matrix A has at most one solution for any b 1,, b m if and only if ranka equals the number of columns of A Corollary If ranka is less than the number of columns of A then either no exists or multiple exists Corollary A is nonsingular (always has a unique solution) if and only if A has an equal number of columns and rows (A is square) and has rank equal to its number of columns (or rows)

Summary ranka = rankâ ranka < rankâ ranka = columns(a) ranka < n 0 X 1 X X

y 15 10 5 0-5 -10-6 -4-2 0 2 4 6 x z 7 6 5 4 3 2 1 0 6 5 y 4 3 2 1 0-1 -2 0 2 4 6 x 8 10 12 z 30 20 10 0-10 -2010 y 5 0-5 -10-10 -5 0 x 5 10 Systems of Sets of 2x + y = 1 x y z = 0 2x + y + 3z = 1 2x y + z = 2

Definition The set S R n is called a subspace if it is closed under (i) scalar multiplication and (ii) addition in other words, if (i) for every (x 1,, x n ) S and a R, we have (ax 1, ax 2,, ax n ) S, and (ii) for every (x 1,, x n ) S and (y 1,, y n ) S, we have (x 1 + y 1,, x n + y n ) S

Definition A set of vectors in R n, {x j = (x j 1,, xj n)} J j=1, is ly independent if the only solution to is c 1 = c 2 = = c J = 0 J c j x j = 0 j=1 Definition The dimension of a subspace S R n is the cardinality of the largest set of ly independent elements in S

Theorem (Rouché-Capelli) A system of with n variables has a solution if and only if the rank of its coefficient matrix, A, is equal to the rank of its augmented matrix, Â If a solution exists and ranka is equal to its number of columns, the solution is unique If a solution exists and ranka is less than its number of columns, there are infinite In this case the set of is of the form 1 {s + x R n : s S and Ax = b} where S is the subspace of dimension n ranka defined by S = {s R n : As = 0} and x is any single solution to Ax = b 1 A set of this form is called an affine subspace It is a subspace that has been shifted so that it no longer necessarily contains the origin

Example: Markov model of employment Employment s t {u, e} Markovian: P(s t s t 1, s t 2, ) = P(s t s t 1 ) Stationary distribution: (π e, π u ) such that if s t = e with probability π e and u with probability π u, then s t+1 has same distribution, ie P(e e)π e + P(e u)π u =π e P(u e)π e + P(u u)π u =π u

Example: Markov model of employment Stationary distribution is a solution to: Questions: (p ee 1)π e + p eu π u =0 p ue π e + (p uu 1)π e =0 π e + π u =1 1 Does any solution exist? 2 How many exist? 3 How can a solution be computed?