A survey of 1000 students shows that 565 have PC compatible desktop computers,
515 have Macintosh desktop computers, and 151 have laptop computers. 51 have all three,
124 have both PC and laptop computers, 212 have at least two of the three, and twice
as many own both PC and laptop as those who have both Macintosh desktop and laptop.
A person is selected at random from this population.
What is the probability he or she has at least one of these types of computer? What
is the probability the person selected has only a laptop?
SOLUTION
Let A=A= the event of owning a PC desktop, B=B= the event of owning a Macintosh
desktop, and C=C= the event of owning a laptop. We utilize a minterm map for
three variables to help determine minterm patterns. For example,
the event AC=M5⋁M7AC=M5⋁M7 so that P(AC)=p(5)+p(7)=p(5,7)P(AC)=p(5)+p(7)=p(5,7).
The data, expressed in terms of minterm probabilities, are:
P(A)=p(4,5,6,7)=0.565P(A)=p(4,5,6,7)=0.565, hence P(Ac)=p(0,1,2,3)=0.435P(Ac)=p(0,1,2,3)=0.435
P(B)=p(2,3,6,7)=0.515P(B)=p(2,3,6,7)=0.515, hence P(Bc)=p(0,1,4,5)=0.485P(Bc)=p(0,1,4,5)=0.485
P(C)=p(1,3,5,7)=0.151P(C)=p(1,3,5,7)=0.151, hence P(Cc)=p(0,2,4,6)=0.849P(Cc)=p(0,2,4,6)=0.849
P(ABC)=p(7)=0.051P(AC)=p(5,7)=0.124P(ABC)=p(7)=0.051P(AC)=p(5,7)=0.124
P(AB∪AC∪BC)=p(3,5,6,7)=0.212P(AB∪AC∪BC)=p(3,5,6,7)=0.212
P(AC)=p(5,7)=2p(3,7)=2P(BC)P(AC)=p(5,7)=2p(3,7)=2P(BC)
We use the patterns displayed in the minterm map to aid in an algebraic solution for
the various minterm probabilities.
p(5)=p(5,7)-p(7)=0.124-0.051=0.073p(5)=p(5,7)-p(7)=0.124-0.051=0.073
p(1,3)=P(AcC)=0.151-0.124=0.027P(ACc)=p(4,6)=0.565-0.124=0.441p(1,3)=P(AcC)=0.151-0.124=0.027P(ACc)=p(4,6)=0.565-0.124=0.441
p(3,7)=P(BC)=0.124/2=0.062p(3,7)=P(BC)=0.124/2=0.062
p(3)=0.062-0.051=0.011p(3)=0.062-0.051=0.011
p(6)=p(3,4,6,7)-p(3)-p(5,7)=0.212-0.011-0.124=0.077p(6)=p(3,4,6,7)-p(3)-p(5,7)=0.212-0.011-0.124=0.077
p(4)=P(A)-p(6)-p(5,7)=0.565-0.077-0.1124=0.364p(4)=P(A)-p(6)-p(5,7)=0.565-0.077-0.1124=0.364
p(1)=p(1,3)-p(3)=0.027-0.11=0.016p(1)=p(1,3)-p(3)=0.027-0.11=0.016
p(2)=P(B)-p(3,7)-p(6)=0.515-0.062-0.077=0.376p(2)=P(B)-p(3,7)-p(6)=0.515-0.062-0.077=0.376
p(0)=P(Cc)-p(4,6)-p(2)=0.849-0.441-0.376=0.032p(0)=P(Cc)-p(4,6)-p(2)=0.849-0.441-0.376=0.032
We have determined the minterm probabilities, which are displayed
on the minterm map Figure 4. We may now compute the probability of any
Boolean combination of the generating events A,B,CA,B,C. Thus,
P
(
A
∪
B
∪
C
)
=
1
-
P
(
A
c
B
c
C
c
)
=
1
-
p
(
0
)
=
0
.
968
and
P
(
A
c
B
c
C
)
=
p
(
1
)
=
0
.
016
P
(
A
∪
B
∪
C
)
=
1
-
P
(
A
c
B
c
C
c
)
=
1
-
p
(
0
)
=
0
.
968
and
P
(
A
c
B
c
C
)
=
p
(
1
)
=
0
.
016
(6)