If denotes the empty set, then the cardinality of is ______________.
View worked solution
Answer: 5040
To find the cardinality of , we need to determine the number of valid Breadth-First Search (BFS) orderings of the graph starting from the vertex .
1. Structure of the Graph
The vertex set is the power set of :
The total number of vertices is .
An edge exists between two distinct vertices and if and only if or .
2. Neighbors of the Start Vertex
For any non-empty set , the empty set is a proper subset of (i.e., ).
Therefore, the vertex is adjacent to every other vertex in the graph. The degree of is:
3. BFS Traversal from
In a BFS starting from :
- The start vertex is visited first (at level 0).
- All remaining vertices are direct neighbors of and are at distance (level 1).
- Since all vertices in the graph are at distance from , the BFS will visit first, followed by all neighbors in some permutation.
Since the neighbors of a vertex can be visited in any arbitrary order during BFS, any permutation of these vertices yields a valid BFS ordering.
4. Calculation
The number of possible BFS orderings is the number of permutations of the neighbor vertices:
Thus, the cardinality of is 5040.
Free practice · Your answers on this page are not saved.
