문제출처
광주과학기술원(GIST) 최정옥 교수님의 “그래프 이론” 수업, 2024년 가을학기 중 Homework 4
Solution
1. Let's consider a graph such that , where is the number of edges in , and is the number of vertices in .
2. Suppose that has connected components . Each is a connected subgraph. If is not a tree, then must have a cycle.
3. A key property of a tree is that . To add a cycle to a tree, we need at least one additional edge. Thus, for each , we have .
4. The total number of edges is the sum of the edges in each connected component:
5. Since for each , we have:
6. The total number of vertices is the sum of the vertices in each connected component:
7. Combining these results, we get:
8. Thus, .
9. This contradicts the assumption that . Hence, at least one connected component must be a tree.