indicates a directed edge from node to node A of rooted at is defined as a subgraph of such that the undirected version of is a tree, and contains a directed path from to every other vertex in The number of such directed spanning trees rooted at vertex is __________________.
View worked solution
Answer: 24
A directed spanning tree (or arborescence) rooted at vertex is a subgraph where every vertex has exactly one incoming edge, and there is a directed path from to every other vertex.
From the given adjacency matrix , a directed edge exists from to if and only if . Excluding self-loops, a directed edge exists only when . This means edges always go from a higher-numbered vertex to a lower-numbered vertex, which naturally prevents any cycles.
To construct a directed spanning tree rooted at , we must choose exactly one incoming edge (parent) for each vertex from the set of vertices :
- Vertex 4: Parent must be in choice.
- Vertex 3: Parent can be in choices.
- Vertex 2: Parent can be in choices.
- Vertex 1: Parent can be in choices.
Since these choices are independent and always guarantee a path from the root to all other vertices, the total number of directed spanning trees is:
Free practice · Your answers on this page are not saved.
