Docsity

Exploring Students' Transportation Preferences with Markov Chains - Prof. D. Lackey, Study notes of Mathematics

Toggle sidebar
bg1
Math 166 Lecture Notes M.1
Section M.1 Markov Chains
Exploring a problem using tree diagrams
Example 1:
At a university it is estimated that at the present time, 60% of the commuter students
drive to school and the other 40% take the bus. The university is upgrading the bus
system and expects bus usage to increase in the next 6 months. It is projected that 20%
of the current car drivers will switch to using the bus and 90% of the current bus users will
continue to use the bus. What will the bus and car usage look like in 6 months?
If the trend continues, what will the usage look like in 12 months?
If the trend continues, what will the usage look like in 18 months?
If the trend continues, what will the usage look like in 24 months?
D
0
B
0
pf3
pf4

Partial preview of the text

Download Exploring Students' Transportation Preferences with Markov Chains - Prof. D. Lackey and more Study notes Mathematics in PDF only on Docsity!

Math 166 Lecture Notes M.

Section M.1 Markov Chains

Exploring a problem using tree diagrams

Example 1:

At a university it is estimated that at the present time, 60% of the commuter students

drive to school and the other 40% take the bus. The university is upgrading the bus

system and expects bus usage to increase in the next 6 months. It is projected that 20%

of the current car drivers will switch to using the bus and 90% of the current bus users will

continue to use the bus. What will the bus and car usage look like in 6 months?

If the trend continues, what will the usage look like in 12 months?

If the trend continues, what will the usage look like in 18 months?

If the trend continues, what will the usage look like in 24 months?

D 0

B 0

A Markov Chain is a process in which the probability associated with the outcomes at any

stage of the process depend only on the outcomes of the preceding stage.

The outcome at any stage in a Markov process is called the state of the experiment.

The outcome at the current stage is called the current state.

Transition Probabilities are the probabilities associated with the transition from one state

to the next in a Markov process. We give them a matrix representation:

T =

1,1 1,2 1,

2,1 2,2 2,

3,1 3,2 3,

a a a

a a a

a a a

, where i j,

a represents the conditional probability P(state i | state j)

The initial-state distributions, and all subsequent current-state distributions are also given

a matrix (or vector) representation:

X n

=

1

2

3

p

p

p

.

The transition matrix and the current state matrix are used to find the NEXT state.

Doing this repeatedly creates a chain process.

1 0

X =T⋅X

2 1

X =T⋅X

3 2

X =T⋅X

4 3

X =T⋅X

…etc.

By applying a little algebra, and substitution, we can see that

0

4

0

1

2

4 3

T X

T T T T X

T T T X

T T X

X T X

and in general, we should be able to see that

0

m

m

X =T X

Example 2:

A town has three pizza places, A, B, and C. If a customer ordered from A, then the next

time he/she orders a pizza there is a 50% chance he/she will order from A again, 30%

from B, and 20% from C. If a customer ordered from B, then the next time he/she

ordered a pizza there is a 40% chance he/she will order from A, 20% from B again, and

40% from C. If a customer ordered from C, then the next time he/she orders a pizza

there is a 25% chance he/she will order from A, 50% from B, and 25% from C again.

At the start of the year, 30% of the customers order from A, 50% from B, and 20% from

C. If customers order pizza once per week, find the distribution of customers among the

three places after 1, 2, and 6 weeks.

Give the transition matrix. Give the initial-stage vector.

Compute the distribution vector after 1 week.

Compute the distribution vector after 2 weeks.

Compute the distribution vector after 6 weeks.

Compute the distribution vector after 1 year.