Consider the set A of all strings of letters a-f of length 6. A few elements of this set are dcebac, ebaafe, and abeafa. What is the cardinality of each of the following sets? Please indicate which of the principles of multiplication, addition, or inclusion-exclusion you have used in each part. Part A The set A itself Part B The set B a subset of A of strings of length 6 in which no elements are repeated Part C The set C a subset of A of strings which contain the substring fab Part D The set D a subset of A of strings which contain the substring fab or the substring feebb (or both) Part E The set E of strings which contain either the substring fab or the substring baff (or both)
Consider the set A of all strings of letters a-f of length 6. A few elements of this set are dcebac, ebaafe, and abeafa. What is the cardinality of each of the following sets? Please indicate which of the principles of multiplication, addition, or inclusion-exclusion you have used in each part.
Part A
The set A itself
Part B
The set B a subset of A of strings of length 6 in which no elements are repeated
Part C
The set C a subset of A of strings which contain the substring fab
Part D
The set D a subset of A of strings which contain the substring fab or the substring feebb (or both)
Part E
The set E of strings which contain either the substring fab or the substring baff (or both)
Trending now
This is a popular solution!
Step by step
Solved in 6 steps with 6 images