Day 3 Markov Chains For some interesting demonstrations of this topic visit: 2005/Tools/index.htm.

Slides:



Advertisements
Similar presentations
Chapter 6 Matrix Algebra.
Advertisements

Chapter day 4 Differential equations. The number of rabbits in a population increases at a rate that is proportional to the number of rabbits present.
BAI CM20144 Applications I: Mathematics for Applications Mark Wood
3D Geometry for Computer Graphics
Last lecture summary.
Ch 7.7: Fundamental Matrices
MARKOV CHAIN EXAMPLE Personnel Modeling. DYNAMICS Grades N1..N4 Personnel exhibit one of the following behaviors: –get promoted –quit, causing a vacancy.
Chapter 6 Eigenvalues and Eigenvectors
Matrices, Digraphs, Markov Chains & Their Use by Google Leslie Hogben Iowa State University and American Institute of Mathematics Leslie Hogben Iowa State.
1 Markov Chains (covered in Sections 1.1, 1.6, 6.3, and 9.4)
What is the probability that the great-grandchild of middle class parents will be middle class? Markov chains can be used to answer these types of problems.
Matrix Multiplication To Multiply matrix A by matrix B: Multiply corresponding entries and then add the resulting products (1)(-1)+ (2)(3) Multiply each.
Eigenvalues and Eigenvectors
1 Markov Chains Tom Finke. 2 Overview Outline of presentation The Markov chain model –Description and solution of simplest chain –Study of steady state.
Finite Mathematics & Its Applications, 10/e by Goldstein/Schneider/SiegelCopyright © 2010 Pearson Education, Inc. 1 of 60 Chapter 8 Markov Processes.
Tutorial 10 Iterative Methods and Matrix Norms. 2 In an iterative process, the k+1 step is defined via: Iterative processes Eigenvector decomposition.
5 5.1 © 2012 Pearson Education, Inc. Eigenvalues and Eigenvectors EIGENVECTORS AND EIGENVALUES.
線性代數 LINEAR ALGEBRA 2005 Spring 教師及助教資料 o 教師:李程輝  Office : ED 828 ext o 助教:葉易霖 林怡文  Lab: ED 823 ext
Wednesday, July 15, 2015 EQ: What are the similarities and differences between matrices and real numbers ? Warm Up Evaluate each expression for a = -5,
資訊科學數學11 : Linear Equation and Matrices
Arithmetic Operations on Matrices. 1. Definition of Matrix 2. Column, Row and Square Matrix 3. Addition and Subtraction of Matrices 4. Multiplying Row.
: Appendix A: Mathematical Foundations 1 Montri Karnjanadecha ac.th/~montri Principles of.
Eigenvectors and Eigenvalues
Final Exam Review II Chapters 5-7, 9 Objectives and Examples.
ECON 1150 Matrix Operations Special Matrices
Barnett/Ziegler/Byleen Finite Mathematics 11e1 Review for Chapter 4 Important Terms, Symbols, Concepts 4.1. Systems of Linear Equations in Two Variables.
Day 1 Eigenvalues and Eigenvectors
Day 1 Eigenvalues and Eigenvectors
Review of Matrices Or A Fast Introduction.
Matrix Algebra and Applications
Day 4 Differential Equations (option chapter). The number of rabbits in a population increases at a rate that is proportional to the number of rabbits.
Monte Carlo Methods Versatile methods for analyzing the behavior of some activity, plan or process that involves uncertainty.
Computing Eigen Information for Small Matrices The eigen equation can be rearranged as follows: Ax = x  Ax = I n x  Ax - I n x = 0  (A - I n )x = 0.
Day 3 Markov Chains For some interesting demonstrations of this topic visit: 2005/Tools/index.htm.
Class Opener:. Identifying Matrices Student Check:
1 Sample Geometry and Random Sampling Shyh-Kang Jeng Department of Electrical Engineering/ Graduate Institute of Communication/ Graduate Institute of Networking.
Day 2 Eigenvectors neither stretched nor compressed, its eigenvalue is 1. All vectors with the same vertical direction—i.e., parallel to this vector—are.
Chapter 6 Systems of Linear Equations and Matrices Sections 6.3 – 6.5.
Properties of Addition Day 1. Properties Today you are going to learn three properties of addition. Properties of addition are rules that you follow when.
Algebra Matrix Operations. Definition Matrix-A rectangular arrangement of numbers in rows and columns Dimensions- number of rows then columns Entries-
SHOP ATVRADIO DAY 153 DAY 278 DAY 345 SHOP BTVRADIO DAY 194 DAY 285 DAY 363 TOTALTVRADIO DAY 1147 DAY DAY 3108 This can be written in matrix form.
5 5.1 © 2016 Pearson Education, Ltd. Eigenvalues and Eigenvectors EIGENVECTORS AND EIGENVALUES.
Goldstein/Schnieder/Lay: Finite Math & Its Applications, 9e 1 of 60 Chapter 8 Markov Processes.
2.3 MODELING REAL WORLD DATA WITH MATRICES By the end of the section students will be able to add, subtract, and multiply matrices of various sizes. Students.
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.
Review of Eigenvectors and Eigenvalues from CliffsNotes Online mining-the-Eigenvectors-of-a- Matrix.topicArticleId-20807,articleId-
MTH108 Business Math I Lecture 20.
Eigenvalues and Eigenvectors
Matrices and Vector Concepts
Review of Matrix Operations
Eigenvalues and Eigenvectors
What we’re learning today:
Section 4.1 Eigenvalues and Eigenvectors
Matrix Multiplication
Linear Algebra Lecture 36.
Matrix Operations SpringSemester 2017.
2. Matrix Algebra 2.1 Matrix Operations.
Chapter 4 Systems of Linear Equations; Matrices
Objectives Multiply two matrices.
Maths for Signals and Systems Linear Algebra in Engineering Lectures 10-12, Tuesday 1st and Friday 4th November2016 DR TANIA STATHAKI READER (ASSOCIATE.
ENM 500 Linear Algebra Review
EIGENVECTORS AND EIGENVALUES
1.8 Matrices.
Matrix Operations SpringSemester 2017.
Eigenvalues and Eigenvectors
1.8 Matrices.
Linear Algebra: Matrix Eigenvalue Problems – Part 2
Eigenvectors and Eigenvalues
Eigenvalues and Eigenvectors
Ax = b Methods for Solution of the System of Equations (ReCap):
Presentation transcript:

Day 3 Markov Chains For some interesting demonstrations of this topic visit: /Tools/index.htm

Equations of the form: are called discrete equations because they only model the system at whole number time increments Difference equation is an equation involving differences. We can see difference equation from at least three points of views: as sequence of number, discrete dynamical system and iterated function. It is the same thing but we look at different angle.

Difference Equations vs Differential Equations Dynamical system come with many different names. Our particular interesting dynamical system is for the system whose state depends on the input history. In discrete time system, we call such system difference equation (equivalent to differential equation in continuous time).

Markov Matrices A = Properties of Markov Matrices All entries are 0 All Columns add up to one Note: the powers of the matrix will maintain these properties Each column is representing probabilities [ ] Consider the matrix

Markov Matrices A = is a eigenvalue of all Markov Matrices Why? Subtract 1 down each entry in the diagonal. Each column will then add to zero which means that the rows are dependent. Which means that the matrix is singular [ ]

Markov Matrices A = One eigenvalue is one all other eigenvalues have an absolute value 1 We are interested in raising A to some powers If 1 is an eigenvector and all other vectors are less than 1 then the steady state is the eigenvector Note: this requires n independent vectors [ ]

Short cuts for finding eigenvectors A-I = det(A -1I) To find the eigenvector that corresponds to λ=1 Use to get the last row to be zero. Then use the top row to get the missing middle value. [ ]

Applications of Markov Matrices Markov Matrices are used to when the probability of an event depends on its current state. For this model, the probability of an event must remain constant over time. The total population is not changing over time Markov matrices have applications in Electrical engineering

Applications of Markov Matrices u k+1 = Au k Suppose we have two cities Suzhou (S) an Hangzhou (H) with initial condition at k=0, S = 0 and H = 1000 We would like to describe movement in population between these two cities. u s+1 =. 9.2 u S u H u H Population of Suzhou and Hongzhou at time t+1 Column 1:.9 of the people in S stay there and.1 move to H Column 2:.8 of the people in H stay there are and.2 move to S [ ] Population of S and H at time t

Applications of Markov Matrices u k+1 = Au k. u s+1 =. 9.2 u S u H u H Find the eigenvalues and eigenvectors [ ]

Applications of Markov Matrices u k+1 = Au k. u s +1 =. 9.2 u S u H u H eigenvalues 1 and.7 (from properties of Markov Matrices and the trace) Eigenvectors Ker (A-I), Ker (A-.7I) A-I Ker= A-.7I =.2.2 Ker= [ ]

Applications u k+1 = Au k u s+1 =. 9.2 u S u H u H eigenvalue 1 eigenvector eigenvalue.7 eigenvector This tells us about time and λ=1 will be a steady state, λ=.7 will disappear as t The eigenvector tells us that we need a ratio of 2:1 The total population is still 1000 so the final population will be 1000 (2/3) and 1000 (1/3) [ ]

Applications u s+1 =. 9.2 u S u H u H To find the amounts after a finite number of steps A k u 0 = c 1 (1) 2 + c 2 (.7) k Use the initial condition to solve for constants 0 = c c 2 -1 c 1 =1000/ c 2 = 2000/3 [ ] Initial condition at k=0, S = 0 and H = 1000 [ ] k

Steady state for Markov Matrices Every Markov chain will be a steady state. The steady state will be the eigenvector for the eigenvalue λ=1

Applications of Markov matrices Airlines - Markov matrices are used in creating networks for airlines to determine routes of planes. The sum of the probabilities is 1 in each column because all planes in a given location go somewhere (includes possibly not moving) Airlines want to create flight plans so they do not end up with too many planes in one part of the world and not enough in another.

More applications of Markov Game theory – looking setting house rules for casinos ensuring casinos come out ahead Economics- Economic mobility over generations h345LAApplications/MarkovProcesses.htm l

Homework (diff 3): review worksheet ,8,9,13 eigenvalue review worksheet 1-5 "Genius is one per cent inspiration, ninety-nine per cent perspiration. Thomas Alva Edison

renceEquation/WhatIsDifferenceEquation.htm erials/linalg/diffeqs/diffeq2.html Fibonacci via matrices For More information visit: