SlideShare une entreprise Scribd logo
1  sur  17
Learning Intention and Success
Criteria
 Learning Intention: Students will know what a state
matrix is, and will be able to use transition matrices
and state matrices to model a change in states over
time.
 Success criteria: Students can create a recurrence
relation involving a transition matrix, and use the
recurrence relation and general formula to determine
the state after a particular time period and in the long
term.
Example Revisited
 This week, there were 150 people who ate at Mia’s Pizza
and 50 people who ate at Dan’s Dumplings. Research
has shown that each week, 20% of people who ate at
Mia’s will switch to Dan’s, and 30% of people who ate
at Dan’s will switch to Mia’s.
 How many people will eat at Mia’s and at Dan’s next
week?
Converting to Matrices
0.8 × 150 + 0.3 × 50 = 135
0.2 × 150 + 0.7 × 50 = 65
 Convert this to a matrix equation
0.8 0.3
0.2 0.7
×
150
50
=
135
65
The Matrix Equation
0.8 0.3
0.2 0.7
×
150
50
=
135
65
 In this lesson, we will be focusing on the column
matrices, called the State Matrices
Transition Matrix State Matrices
State Matrix
 It is a column matrix
 One row for each possible state
 Tells us the number or percentage of the population in
each state at one moment in time.
 Denoted 𝑆 𝑛, representing the state at time 𝑠.
Initial State Matrix (𝑆0):
 Tells us the number or percentage of the population in
each state at the beginning.
 The initial conditions
Calculating State Matrices
 As seen in our example,
𝑆1 = 𝑇 × 𝑆0
135
65
=
0.8 0.3
0.2 0.7
×
150
50
 How many customers will eat at Dan’s and at Mia’s in
the following week?
 Calculate 𝑆2

127.5
72.5
=
0.8 0.3
0.2 0.7
×
135
65
Transition Matrices and Recurrence
Relations
 In general, 𝑆 𝑛+1 = 𝑇 × 𝑆 𝑛 or 𝑆 𝑛 = 𝑇 × 𝑆 𝑛−1.
 This is a recurrence relation, like the previous unit
 𝑆 𝑛 = 𝑇 × 𝑆 𝑛−1, 𝑆0 = …
 Each state is found from the previous state, and there
is an initial state matrix.
Example
 For the pizza example, we have
𝑆 𝑛+1 =
0.8 0.3
0.2 0.7
× 𝑆 𝑛, 𝑆0 =
150
50
𝑆1 =
0.8 0.3
0.2 0.7
× 𝑆0
=
0.8 0.3
0.2 0.7
×
150
50
=
135
65
𝑆2 =
0.8 0.3
0.2 0.7
× 𝑆1
=
0.8 0.3
0.2 0.7
×
135
65
=
127.5
72.5
General Rule
Use the recursive formula to generate a general rule for
𝑆 𝑛.
𝑆1 = 𝑇 × 𝑆0
𝑆2 = 𝑇 × 𝑆1
= 𝑇 × 𝑇 × 𝑆0
= 𝑇2 × 𝑆0
𝑆3 = 𝑇 × 𝑆2
= 𝑇 × 𝑇 × 𝑇 × 𝑆0
= 𝑇3
× 𝑆0
In general, 𝑆 𝑛 = 𝑇 𝑛
× 𝑆0
Example
 Calculate the number of people expected at Mia’s and
at Dan’s after:
 4 weeks?
 20 weeks?
 21 weeks?
 Round to the nearest whole number.
Example
 Calculate the number of people expected at Mia’s and
at Dan’s after:
 4 weeks?
 Round to the nearest whole number.
𝑆4 =
0.8 0.3
0.2 0.7
4
×
150
50
=
121.875
78.125
122 at Mia’s, 78 at Dan’s
Example
 Calculate the number of people expected at Mia’s and
at Dan’s after:
 20 weeks?
 Round to the nearest whole number.
𝑆20 =
0.8 0.3
0.2 0.7
20
×
150
50
=
120.00002861
79.9999713898
120 at Mia’s, 80 at Dan’s
Example
 Calculate the number of people expected at Mia’s and
at Dan’s after:
 20 weeks?
 Round to the nearest whole number.
𝑆21 =
0.8 0.3
0.2 0.7
21
×
150
50
=
120.000014305
79.999985649
120 at Mia’s, 80 at Dan’s
An Interesting Pattern
 Notice that 𝑆20 = 𝑆21. If we try 𝑆50, 𝑆75, 𝑆100, we get the
same value
120
80
.
 This is called the steady state solution.
 This occurs when, in the long run, the state matrix will
be the same.
 To determine the steady state solution, use a high
value of 𝑛 and calculate 𝑆 𝑛. (Your CAS can handle 𝑆100
easily)
Example
 Consider the car buying example from the previous lesson.
In the long term, what percentage of people will buy
Holdens? Initially, there is an equal number of drivers for
all three companies.
𝑇 =
𝑓𝑟𝑜𝑚
𝐻𝑜𝑙𝑑 𝐻𝑜𝑛 𝑉𝑊
0.65 0.08 0.02
0.33 0.85 0.06
0.02 0.07 0.92
𝐻𝑜𝑙𝑑
𝐻𝑜𝑛
𝑉𝑊
𝑡𝑜
Example
0.65 0.08 0.02
0.33 0.85 0.06
0.02 0.07 0.92
20
×
100/3
100/3
100/3
=
In the long term, 12.7% of people drive Holdens, 44.9% of
people drive Hondas and 42.4% of people drive Volkswagens.
The long term steady state solution does not depend on the
initial population distribution, just on the total population.

Contenu connexe

Similaire à Lesson 9 b state matrices and recurrence relations

Role of regression in statistics (2)
Role of regression in statistics (2)Role of regression in statistics (2)
Role of regression in statistics (2)Nadeem Uddin
 
Single linear regression
Single linear regressionSingle linear regression
Single linear regressionKen Plummer
 
L1 updated introduction.pptx
L1 updated introduction.pptxL1 updated introduction.pptx
L1 updated introduction.pptxMesfinTadesse8
 
6.1 using mathematics
6.1 using mathematics6.1 using mathematics
6.1 using mathematicsmrrayner
 
Gmat quant topic 2 statistics solutions
Gmat quant topic 2 statistics solutionsGmat quant topic 2 statistics solutions
Gmat quant topic 2 statistics solutionsRushabh Vora
 
Mth 245 lesson 17 notes sampling distributions sam
Mth 245 lesson 17 notes  sampling distributions  samMth 245 lesson 17 notes  sampling distributions  sam
Mth 245 lesson 17 notes sampling distributions samjack60216
 
(7) Lesson 2.3
(7) Lesson 2.3(7) Lesson 2.3
(7) Lesson 2.3wzuri
 

Similaire à Lesson 9 b state matrices and recurrence relations (8)

Role of regression in statistics (2)
Role of regression in statistics (2)Role of regression in statistics (2)
Role of regression in statistics (2)
 
Single linear regression
Single linear regressionSingle linear regression
Single linear regression
 
L1 updated introduction.pptx
L1 updated introduction.pptxL1 updated introduction.pptx
L1 updated introduction.pptx
 
6.1 using mathematics
6.1 using mathematics6.1 using mathematics
6.1 using mathematics
 
2- Introduction to Modeling.pdf
2- Introduction to Modeling.pdf2- Introduction to Modeling.pdf
2- Introduction to Modeling.pdf
 
Gmat quant topic 2 statistics solutions
Gmat quant topic 2 statistics solutionsGmat quant topic 2 statistics solutions
Gmat quant topic 2 statistics solutions
 
Mth 245 lesson 17 notes sampling distributions sam
Mth 245 lesson 17 notes  sampling distributions  samMth 245 lesson 17 notes  sampling distributions  sam
Mth 245 lesson 17 notes sampling distributions sam
 
(7) Lesson 2.3
(7) Lesson 2.3(7) Lesson 2.3
(7) Lesson 2.3
 

Plus de Jonathan Templin

Lesson 9 c transition part 3
Lesson 9 c   transition part 3Lesson 9 c   transition part 3
Lesson 9 c transition part 3Jonathan Templin
 
Lesson 8 communication matrices
Lesson 8   communication matricesLesson 8   communication matrices
Lesson 8 communication matricesJonathan Templin
 
Lesson 5 b solving matrix equations
Lesson 5 b   solving matrix equationsLesson 5 b   solving matrix equations
Lesson 5 b solving matrix equationsJonathan Templin
 
Lesson 7 dominance matrices
Lesson 7   dominance matricesLesson 7   dominance matrices
Lesson 7 dominance matricesJonathan Templin
 
Lesson 4 b special matrix multiplication
Lesson 4 b  special matrix multiplicationLesson 4 b  special matrix multiplication
Lesson 4 b special matrix multiplicationJonathan Templin
 
Lesson 4a - permutation matrices
Lesson 4a - permutation matricesLesson 4a - permutation matrices
Lesson 4a - permutation matricesJonathan Templin
 
Lesson 3 - matrix multiplication
Lesson 3 - matrix multiplicationLesson 3 - matrix multiplication
Lesson 3 - matrix multiplicationJonathan Templin
 
Lesson 2b - scalar multiplication
Lesson 2b - scalar multiplicationLesson 2b - scalar multiplication
Lesson 2b - scalar multiplicationJonathan Templin
 
Lesson 1B - Graphs and equality
Lesson 1B -  Graphs and equalityLesson 1B -  Graphs and equality
Lesson 1B - Graphs and equalityJonathan Templin
 
Lesson 1 - Introduction to Matrices
Lesson 1 - Introduction to MatricesLesson 1 - Introduction to Matrices
Lesson 1 - Introduction to MatricesJonathan Templin
 

Plus de Jonathan Templin (12)

Lesson 9 c transition part 3
Lesson 9 c   transition part 3Lesson 9 c   transition part 3
Lesson 9 c transition part 3
 
Lesson 6 simultaneous
Lesson 6   simultaneousLesson 6   simultaneous
Lesson 6 simultaneous
 
Lesson 8 communication matrices
Lesson 8   communication matricesLesson 8   communication matrices
Lesson 8 communication matrices
 
Lesson 5 b solving matrix equations
Lesson 5 b   solving matrix equationsLesson 5 b   solving matrix equations
Lesson 5 b solving matrix equations
 
Lesson 7 dominance matrices
Lesson 7   dominance matricesLesson 7   dominance matrices
Lesson 7 dominance matrices
 
Lesson 5 a matrix inverse
Lesson 5 a   matrix inverseLesson 5 a   matrix inverse
Lesson 5 a matrix inverse
 
Lesson 4 b special matrix multiplication
Lesson 4 b  special matrix multiplicationLesson 4 b  special matrix multiplication
Lesson 4 b special matrix multiplication
 
Lesson 4a - permutation matrices
Lesson 4a - permutation matricesLesson 4a - permutation matrices
Lesson 4a - permutation matrices
 
Lesson 3 - matrix multiplication
Lesson 3 - matrix multiplicationLesson 3 - matrix multiplication
Lesson 3 - matrix multiplication
 
Lesson 2b - scalar multiplication
Lesson 2b - scalar multiplicationLesson 2b - scalar multiplication
Lesson 2b - scalar multiplication
 
Lesson 1B - Graphs and equality
Lesson 1B -  Graphs and equalityLesson 1B -  Graphs and equality
Lesson 1B - Graphs and equality
 
Lesson 1 - Introduction to Matrices
Lesson 1 - Introduction to MatricesLesson 1 - Introduction to Matrices
Lesson 1 - Introduction to Matrices
 

Dernier

HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...Nguyen Thanh Tu Collection
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptxiammrhaywood
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxCarlos105
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxlancelewisportillo
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfPatidar M
 
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptxMusic 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptxleah joy valeriano
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)cama23
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfErwinPantujan2
 

Dernier (20)

HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
HỌC TỐT TIẾNG ANH 11 THEO CHƯƠNG TRÌNH GLOBAL SUCCESS ĐÁP ÁN CHI TIẾT - CẢ NĂ...
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdf
 
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptxMusic 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
Music 9 - 4th quarter - Vocal Music of the Romantic Period.pptx
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
 

Lesson 9 b state matrices and recurrence relations

  • 1.
  • 2. Learning Intention and Success Criteria  Learning Intention: Students will know what a state matrix is, and will be able to use transition matrices and state matrices to model a change in states over time.  Success criteria: Students can create a recurrence relation involving a transition matrix, and use the recurrence relation and general formula to determine the state after a particular time period and in the long term.
  • 3. Example Revisited  This week, there were 150 people who ate at Mia’s Pizza and 50 people who ate at Dan’s Dumplings. Research has shown that each week, 20% of people who ate at Mia’s will switch to Dan’s, and 30% of people who ate at Dan’s will switch to Mia’s.  How many people will eat at Mia’s and at Dan’s next week?
  • 4. Converting to Matrices 0.8 × 150 + 0.3 × 50 = 135 0.2 × 150 + 0.7 × 50 = 65  Convert this to a matrix equation 0.8 0.3 0.2 0.7 × 150 50 = 135 65
  • 5. The Matrix Equation 0.8 0.3 0.2 0.7 × 150 50 = 135 65  In this lesson, we will be focusing on the column matrices, called the State Matrices Transition Matrix State Matrices
  • 6. State Matrix  It is a column matrix  One row for each possible state  Tells us the number or percentage of the population in each state at one moment in time.  Denoted 𝑆 𝑛, representing the state at time 𝑠. Initial State Matrix (𝑆0):  Tells us the number or percentage of the population in each state at the beginning.  The initial conditions
  • 7. Calculating State Matrices  As seen in our example, 𝑆1 = 𝑇 × 𝑆0 135 65 = 0.8 0.3 0.2 0.7 × 150 50  How many customers will eat at Dan’s and at Mia’s in the following week?  Calculate 𝑆2  127.5 72.5 = 0.8 0.3 0.2 0.7 × 135 65
  • 8. Transition Matrices and Recurrence Relations  In general, 𝑆 𝑛+1 = 𝑇 × 𝑆 𝑛 or 𝑆 𝑛 = 𝑇 × 𝑆 𝑛−1.  This is a recurrence relation, like the previous unit  𝑆 𝑛 = 𝑇 × 𝑆 𝑛−1, 𝑆0 = …  Each state is found from the previous state, and there is an initial state matrix.
  • 9. Example  For the pizza example, we have 𝑆 𝑛+1 = 0.8 0.3 0.2 0.7 × 𝑆 𝑛, 𝑆0 = 150 50 𝑆1 = 0.8 0.3 0.2 0.7 × 𝑆0 = 0.8 0.3 0.2 0.7 × 150 50 = 135 65 𝑆2 = 0.8 0.3 0.2 0.7 × 𝑆1 = 0.8 0.3 0.2 0.7 × 135 65 = 127.5 72.5
  • 10. General Rule Use the recursive formula to generate a general rule for 𝑆 𝑛. 𝑆1 = 𝑇 × 𝑆0 𝑆2 = 𝑇 × 𝑆1 = 𝑇 × 𝑇 × 𝑆0 = 𝑇2 × 𝑆0 𝑆3 = 𝑇 × 𝑆2 = 𝑇 × 𝑇 × 𝑇 × 𝑆0 = 𝑇3 × 𝑆0 In general, 𝑆 𝑛 = 𝑇 𝑛 × 𝑆0
  • 11. Example  Calculate the number of people expected at Mia’s and at Dan’s after:  4 weeks?  20 weeks?  21 weeks?  Round to the nearest whole number.
  • 12. Example  Calculate the number of people expected at Mia’s and at Dan’s after:  4 weeks?  Round to the nearest whole number. 𝑆4 = 0.8 0.3 0.2 0.7 4 × 150 50 = 121.875 78.125 122 at Mia’s, 78 at Dan’s
  • 13. Example  Calculate the number of people expected at Mia’s and at Dan’s after:  20 weeks?  Round to the nearest whole number. 𝑆20 = 0.8 0.3 0.2 0.7 20 × 150 50 = 120.00002861 79.9999713898 120 at Mia’s, 80 at Dan’s
  • 14. Example  Calculate the number of people expected at Mia’s and at Dan’s after:  20 weeks?  Round to the nearest whole number. 𝑆21 = 0.8 0.3 0.2 0.7 21 × 150 50 = 120.000014305 79.999985649 120 at Mia’s, 80 at Dan’s
  • 15. An Interesting Pattern  Notice that 𝑆20 = 𝑆21. If we try 𝑆50, 𝑆75, 𝑆100, we get the same value 120 80 .  This is called the steady state solution.  This occurs when, in the long run, the state matrix will be the same.  To determine the steady state solution, use a high value of 𝑛 and calculate 𝑆 𝑛. (Your CAS can handle 𝑆100 easily)
  • 16. Example  Consider the car buying example from the previous lesson. In the long term, what percentage of people will buy Holdens? Initially, there is an equal number of drivers for all three companies. 𝑇 = 𝑓𝑟𝑜𝑚 𝐻𝑜𝑙𝑑 𝐻𝑜𝑛 𝑉𝑊 0.65 0.08 0.02 0.33 0.85 0.06 0.02 0.07 0.92 𝐻𝑜𝑙𝑑 𝐻𝑜𝑛 𝑉𝑊 𝑡𝑜
  • 17. Example 0.65 0.08 0.02 0.33 0.85 0.06 0.02 0.07 0.92 20 × 100/3 100/3 100/3 = In the long term, 12.7% of people drive Holdens, 44.9% of people drive Hondas and 42.4% of people drive Volkswagens. The long term steady state solution does not depend on the initial population distribution, just on the total population.