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

Slides:



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

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
Discrete Dynamical Fibonacci Edward Early. Fibonacci Numbers F 0 = 0, F 1 = 1, F n = F n-1 +F n-2 for n > 1 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144,
1 Markov Chains (covered in Sections 1.1, 1.6, 6.3, and 9.4)
1. Markov Process 2. States 3. Transition Matrix 4. Stochastic Matrix 5. Distribution Matrix 6. Distribution Matrix for n 7. Interpretation of the Entries.
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.
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.
Some useful linear algebra. Linearly independent vectors span(V): span of vector space V is all linear combinations of vectors v i, i.e.
Page Rank.  Intuition: solve the recursive equation: “a page is important if important pages link to it.”  Maximailly: importance = the principal eigenvector.
Ch 7.3: Systems of Linear Equations, Linear Independence, Eigenvalues
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.
資訊科學數學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.
A vector can be interpreted as a file of data A matrix is a collection of vectors and can be interpreted as a data base The red matrix contain three column.
Boyce/DiPrima 9th ed, Ch 7.3: Systems of Linear Equations, Linear Independence, Eigenvalues Elementary Differential Equations and Boundary Value Problems,
Final Exam Review II Chapters 5-7, 9 Objectives and Examples.
Day 1 Eigenvalues and Eigenvectors
Day 1 Eigenvalues and Eigenvectors
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.
MA Dynamical Systems MODELING CHANGE. Introduction and Historical Context.
AIM: How do we perform basic matrix operations? DO NOW:  Describe the steps for solving a system of Inequalities  How do you know which region is shaded?
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.
5 5.2 © 2012 Pearson Education, Inc. Eigenvalues and Eigenvectors THE CHARACTERISTIC EQUATION.
Class Opener:. Identifying Matrices Student Check:
When data from a table (or tables) needs to be manipulated, easier to deal with info in form of a matrix. Matrices FreshSophJunSen A0342 B0447 C2106 D1322.
Chapter 1 Section 1.3 Consistent Systems of Linear Equations.
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.
Eigenvalues The eigenvalue problem is to determine the nontrivial solutions of the equation Ax= x where A is an n-by-n matrix, x is a length n column.
Linear Equation System Pertemuan 4 Matakuliah: S0262-Analisis Numerik Tahun: 2010.
Review of Matrix Operations Vector: a sequence of elements (the order is important) e.g., x = (2, 1) denotes a vector length = sqrt(2*2+1*1) orientation.
Markov Chains and Absorbing States
Sec 4.1 Matrices.
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.
By Josh Zimmer Department of Mathematics and Computer Science The set ℤ p = {0,1,...,p-1} forms a finite field. There are p ⁴ possible 2×2 matrices in.
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.
§9-3 Matrix Operations. Matrix Notation The matrix has 2 rows and 3 columns.
College Algebra Chapter 6 Matrices and Determinants and Applications
MTH108 Business Math I Lecture 20.
Eigenvalues and Eigenvectors
Matrices and Vector Concepts
Review of Matrix Operations
Industrial Engineering Dep
Eigenvalues and Eigenvectors
Matrices - Addition and Subtraction
Introduction to Matrices
Section 4.1 Eigenvalues and Eigenvectors
Matrix Multiplication
Linear Algebra Lecture 36.
Matrices and Systems of Equations 8.1
Matrix Operations SpringSemester 2017.
Some useful linear algebra
Matrices Elements, Adding and Subtracting
Maths for Signals and Systems Linear Algebra in Engineering Lectures 10-12, Tuesday 1st and Friday 4th November2016 DR TANIA STATHAKI READER (ASSOCIATE.
3.5 Perform Basic Matrix Operations
Linear Algebra Lecture 29.
1.8 Matrices.
Matrix Operations SpringSemester 2017.
1.8 Matrices.
Eigenvalues and Eigenvectors
Linear Algebra: Matrix Eigenvalue Problems – Part 2
Eigenvectors and Eigenvalues
Eigenvalues and Eigenvectors
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 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 1 is an 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 1 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. (working on next slide) [ ]

Short cuts for finding eigenvectors Then use the top row to get the missing middle value. (-0.9)(0.6) + (0.01)(???) + (0.3)(0.7) = 0 ??? = 33 Or the 2 nd row to get the middle value (0.2)(0.6) + (-0.01)(???) + (0.3)(0.7) = 0 ??? = 33

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, waiting times, stochastic process.

Applications of Markov Matrices u k+1 = Au k Suppose we have two cities Suzhou (S) and 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 = 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 = u S u H u H Find the eigenvalues and eigenvectors. [ ] current state next state

Applications of Markov Matrices u k+1 = Au k u s+1 = u S u H u H Find the eigenvalues and eigenvectors. Eigenvalues:λ 1 = 1 and λ 2 = 0.7 (from properties of Markov Matrices and the trace) Eigenvectors: ker (A - I),ker (A - 0.7I) [ ]

Applications of Markov Matrices u k+1 = Au k u s+1 = u S u H u H [ ] eigenvalue 1 eigenvalue 0.7eigenvector This tells us about time and ∞. λ = 1will be a steady state, λ = 0.7will 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) k 2 + c 2 (0.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 [ ]

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

Homework: p ,8,9,13 white book, eigenvalue review worksheet 1-5 "Genius is one per cent inspiration, ninety-nine per cent perspiration. “ Thomas Alva Edison

More Info spring-2010/video-lectures/lecture-24-markov-matrices- fourier-series/ WhatIsDifferenceEquation.htm ffeqs/diffeq2.html

Fibonacci via matrices For More information visit: