- Information
- AI Chat
Was this document helpful?
Math127121 assignment 6solutions
Course: Discrete Mathematics (Mathematics 1271)
23 Documents
Students shared 23 documents in this course
University: Lakehead University
Was this document helpful?
Math 1271 Assignment 6
Solutions
1. Licence plates for a certain province have four letters followed by three digits.
How many such plates are possible?
Solution: This is selection with replacement, so we have 264= 456976 ways to
choose the letters, and 103= 1000 ways to choose the digits. Thus there are
456976 ×1000 = 456976000 possible plates.
2. Three dice are rolled. How many outcomes are in the sample space of this
experiment? What is the event that the sum of the numbers rolled is ten?
Solution: This is a selection with replacement, so we have 63= 216 elements in the
sample space. Describe an outcome as an ordered triple (x, y, z),where xis the num-
ber on the first die, ythe number on the second, and zthe number on the third. then
the event that the sum rolled is ten is: {(6,3,1),(6,1,3),(6,2,2),(5,4,1),(5,1,4),
(5,3,2),(5,2,3),(4,5,1),(4,1,5),(4,4,2),(4,2,4),(4,3,3),(3,6,1),(3,1,6),(3,5,2),
(3,2,5),(3,4,3),(3,3,4),(2,6,2),(2,2,6),(2,5,3),(2,3,5),(2,4,4),(1,6,3),(1,3,6),
(1,5,4),(1,4,5)}.
3. How many even positive integers between 100 and 999 inclusive are not divisible
by either 5 or 3?
Solution: Let S={100,101,102,· · · ,999}, A ={x∈S|x is divisible by 2},
B={x∈S|x is divisible by 5},and C={x∈S|x is divisible by 3}.We are
looking for |A\(B∪C)|.We have A\(B∪C) = A\((A∩B)∪(A∩C)),so |A\(B∪
C)|=|A| − |((A∩B)∪(A∩C))|,and |((A∩B)∪(A∩C))|=|A∩B|+|A∩
C| − |A∩B∩C|(by the inclusion/exclusion principle). From the definitions,
A∩B={x∈S|x is divisible by 10}, A ∩C={x∈S|x is divisible by 6},and
A∩B∩C={x∈S|x is divisible by 30}.The smallest multiple of 30 in Sis 120.
We have 999 −120 = 879,and 879 = 30 ×29 + 9,so |A∩B∩C|= 1 + 29 = 30.
Doing similar calculations for the other sets, we get |A∩B|= 90,|A∩C|= 150,
and |A|= 450,so |A\(B∪C)|=|A| − |((A∩B)∪(A∩C))|=|A| − (|A∩B|+|A∩
C| − |A∩B∩C|) = 450 −(90 + 150 −30) = 240.
4. Of 100 personal computer users surveyed, 32 use brand A, 31 use brand B, and
30 use brand C. Twelve use both A and B, fifteen use A and C, and sixteen use B
and C. Six use all three. How many use exactly one of A, B, or C? How many only
use brands other than A, B, or C?
Solution: Let Udenote the set of all our 100 users, and let Adenote the set of
those who use brand A, and similarly for Band C. We have |A| = 32,|B| = 31,
|C| = 30,|A ∩ B| = 12,|A ∩ C| = 15,|B ∩ C| = 16,and |A ∩ B ∩ C| = 6.From this
we get |A ∪ B ∪ C| =|A| +|B| +|C| − |A ∩ B| − |A ∩ C| − |B ∩ C| +|A ∩ B ∩ C| =
32 + 31 + 30 −12 −15 −16 + 6 = 56.The set of users who use exactly one of
A,B,Cis (A ∪ B ∪ C)\((A ∩ B)∪(A ∩ C)∪(A ∩ C)).Using inclusion/exclusion,
|(A ∩ B)∪(A ∩ C)∪(A ∩ C)|=|A ∩ B| +|A ∩ C| +|B ∩ C| − |A ∩ B ∩ C| − |A ∩
B ∩ C| − |A ∩ B ∩ C| +|A ∩ B ∩ C| = 12 + 15 + 16 −6−6−6 + 6 = 31,so the
number of users who use exactly one of A,B, or C, is 56 −31 = 25.The set of
1