A service has a universe UUU of exactly 90 accounts. Let AAA contain the 54 accounts with analytics enabled, and let BBB contain the 49 accounts with alerts enabled. Accounts may have both features or neither; no overlap count is supplied. The cardinality ∣S∣|S|∣S∣ means the number of elements in a finite set SSS.
Find the smallest and largest possible numbers of accounts with both features, and the smallest and largest possible numbers with neither feature. Report all four answers as exact integers. Each extreme may occur in a different arrangement of the accounts.
The diagram is schematic; its areas do not specify additional counts.
Unlock full course notes by signing up
Union, intersection and power set of an indexed family
For each i=1,2,3,4,5i = 1, 2, 3, 4, 5i=1,2,3,4,5, let Ai={x∈Z:i≤x≤i+6}A_i = \{x \in \mathbb{Z} : i \le x \le i + 6\}Ai={x∈Z:i≤x≤i+6}. Find the number of elements in ⋃i=15Ai\bigcup_{i=1}^{5} A_i⋃i=15Ai, the number of elements in ⋂i=15Ai\bigcap_{i=1}^{5} A_i⋂i=15Ai, and the number of subsets of ⋂i=15Ai\bigcap_{i=1}^{5} A_i⋂i=15Ai. Give each answer as an exact whole number.
Reading nested permission sets
A permission system stores the set S={∅,{p}}S=\{\varnothing,\{p\}\}S={∅,{p}}, where ppp is a permission label distinct from either listed object. An element is an object belonging directly to a set; a subset is a set whose members all belong to the larger set.
Complete each statement using either element or subset. Each statement has exactly one valid choice.
The set {p}\{p\}{p} is an ________ of SSS.
Counting overlapping Cartesian products
A software test uses identifier sets A={1,2,3,4}A=\{1,2,3,4\}A={1,2,3,4} and B={3,4,5}B=\{3,4,5\}B={3,4,5}. The Cartesian product A×BA\times BA×B consists of ordered pairs (a,b)(a,b)(a,b) with a∈Aa\in Aa∈A and b∈Bb\in Bb∈B; coordinate order matters.
Complete the table with the exact integer number of ordered pairs in each set. In the table, x denotes the Cartesian product symbol ×\times×.
Testing proposed set identities
Let AAA, BBB and CCC be any subsets of a universal set UUU. Which of the following set identities hold for every possible choice of AAA, BBB and CCC? Select all that apply.