2.8 Problem Set 2 - 8
2.8 Problem Set 2 - 8
Problem Set 2 – 8
Text: E. K. Bowen, G. D. Prichett & J. C. Saber
Solutions: Muhammad Shamim
Lotus Microsoft
Lotus 0.6 0.4
Microsoft 0.5 0.5
Solution: (a) 60% of customers who last purchased Lotus will purchase
Lotus again, and 40% will switch to Microsoft.
261
Bowen, Prichett & Saber’s Mathematics Manual
= 0.33 0.225 0.22 0.225
= 0.555 0.445 [Ans.]
0.6 0.4
v1 v 2 v1 v 2
0.5 0.5
0.6 v1 0.5v 2 0.4v1 0.5v 2 v1 v 2
0.6 v1 0.5v 2 v1
0.4 v1 0.5v 2 v 2
0.4 v1 0.5v 2 0
0.4v1 0.5v 2 0
Of course the ultimate system is
0.4v1 0.5v 2 0.......................(1)
v1 v 2 1.......................(2)
262
Systems of Linear Equations & Matrices (Problem Set 2 – 8)
0.3 0.7
v1 v 2 v1 v 2
0.1 0.9
0.3 v1 0.1v 2 0.7 v1 0.9v 2 v1 v 2
0.3v1 0.1v 2 v1
0.7 v1 0.9 v 2 v 2
0.7 v1 0.1v 2 0
0.7 v1 0.1v 2 0
Of course the ultimate system is
0.7 v1 0.1v 2 0.......................(1)
v1 v 2 1.......................(2)
263
Bowen, Prichett & Saber’s Mathematics Manual
0.8v2 = 0.7
v2 = 0.7/0.8
v2 = 7/8
(2) v1 + v2 = 1
v1 + 7/8 = 1
v1 = 1 – 7/8
v1 = 1/8
264
Systems of Linear Equations & Matrices (Problem Set 2 – 8)
(b) This is an absorbing chain. The steady state is 100% users. So the
state vector = 1 0 . [Ans.]
[The state vector = 0.63994 0.36006 (Ans.)]
(b) Same to Problem 2(b)
[The steady state vector = 0.9900 0.0100 (Ans.)]
[The state vector = 0.8519 0.1481 (Ans.)]
[The steady state vector = 0.99992 0.00008 (Ans.)]
265
Bowen, Prichett & Saber’s Mathematics Manual
6. Florida Power and Light researched homeowners’ preferences of
heating. It found that of the people who have oil heat, 60 percent stay
with oil heat, 30 percent change to gas heat, and the rest change to
electric heat. Of the homeowners with gas heat, 80 percent stay with
gas heat, 15 percent change to electric heat, and 5 percent change to
oil heat. Of the homeowners with electric heat, 75 percent stay with
electric heat and 25 percent change to gas heat. Currently, 45 percent
of the homes in Miami are heated by oil, 40 percent by gas, and 15
percent by electricity.
Solution:
(a) The state vector
0.60 0.30 0.10
=
0.45 0. 40 0.15 0. 05 0. 80 0.15
0 0.25 0.75
= .27 .02 0 .135 .32 .0375 .045 0.06 0.1125
= .29 .4925 .2175 [Ans.]
The steady state vector = (v1, v2, v3) = (0.0704, 0.5634, 0.3662) [Ans.]
266
Systems of Linear Equations & Matrices (Problem Set 2 – 8)
7. The mayor of San Francisco has obtained data on the people’s
tendencies for renting an apartment, buying a condominium, or
buying a home. Of the people who rent, 40 percent continue to rent,
25 percent move to a condominium, and the rest buy homes. Of the
people who own condominium, 60 percent stay in a condominium and
the rest buy homes. Of the people who own homes, 80 percent stay in
a home and the rest split evenly between rental property and a
condominium. Currently, 55 percent of the people in San Francisco
rent, 15 percent own a condominium, and 30 percent own a home.
Solution:
(a) The state vector
0.40 0.25 0.35 0.40 0.25 0.35
= 0.55 0.15 0.30 0 0.60 0.40 0 0.60 0.40
0.10 0.10 0.80 0.10 0.10 0.80
= 0.10959 0.23288 0.65753
= 10.959% 23.288% 65.753% [Ans.]
Solution: (a) We can arrange the given information under the following
vector matrix:
0.85
= 0.85 0.10 0.05 0.35
0.30
= 0.7225 0.035 0.015
= 0.7725
= 77.25% [Ans.]
0.10
= 0.35 0.40 0.25 0.40
0.30
268
Systems of Linear Equations & Matrices (Problem Set 2 – 8)
= 0.035 0.160 0.075
= 0.27
= 27% [Ans.]
0.05
= 0. 30 0 .30 0 .40 0 .25
0.40
= 0.015 0.075 0.160
= 0.25
= 25% [Ans.]
= 0.7319 0.2245 0.1915
= 73.19% 22.45% 19.15 % [Ans.]
9. In the current presidential election year, the Democratic party
chairperson in Illinois has done an analysis of the voting preferences
of the state’s residents. The data indicate that every year 25 percent
of the registered Democrats change to Republican and 5 percent
change to independent. Also, 30 percent of the registered Republicans
change to Democrat and 10 percent change to independent, while 45
percent of the registered independents change to Democrat and 15
percent change to Republican.
(a) In the gubernatorial election two years from now, what
percentage of each party will remain unchanged?
(b) In the presidential election four years from now, what
percentage of each party will remain unchanged?
Solution: (a) We can arrange the given information under the following
vector matrix:
269
Bowen, Prichett & Saber’s Mathematics Manual
Democrats Re publicans Independents
Democrats 0.70 0.25 0.05
Re publicans 0.30 0.60 0.10
Independents
0.45 0.15 0.40
So the percentage of the Democrats
0.70
= 0.70 0.25 0.05 0.30
0.45
= 0.490 0.075 0.0225
= 0.5875
= 58.75% [Ans.]
0.25
= 0.30 0.60 0.01 0.60
0.15
= 0.075 0.360 0.015
= 0.45
= 45% [Ans.]
0.05
= 0.45 0.15 0.40 0.10
0.40
= 0.0225 0.015 0.160
= 0.1975
= 19.75% [Ans.]
270
Systems of Linear Equations & Matrices (Problem Set 2 – 8)
(b) The percentage of three parties
= 0.53299 0.37733 0.11239
= 53.299% 37.733% 11.239 % [Ans.]
1 0
Solution: The new state vector = a b
0 1
= a 0 0 b
= a b [Ans.]
Interpretation: The new state vector is the original (a b) because the
ones in the transition matrix mean that all in state #1 remain in #1 and
all in state #2 remain in #2.
272