東京大学 新領域創成科学研究科 メディカル情報生命専攻 2017年8月実施 問題10
Author
Description
Answer the following questions regarding graphs.
(1) Prove that the sum of the vertex degrees of an undirected graph is equal to the number of edges times two.
(2) Prove the following proposition: If a graph
(3) Given an undirected graph

(4) Assume that
回答以下关于图的问题。
(1) 证明无向图的顶点度数之和等于边数的两倍。
(2) 证明以下命题:如果图
(3) 给定一个无向图

(4) 假设图
Kai
(1)
In an undirected graph
where
(2)
A tree is a connected acyclic graph. For a graph
- It is connected.
- It contains no cycles.
- The number of edges
.
To prove this, we use induction on the number of vertices
Base Case: For
Inductive Step: Assume the statement is true for a tree with
Hence, by induction, the proposition is proved.
(3)
To find the minimum spanning tree, we can use Kruskal's algorithm or Prim's algorithm. Here, we will use Kruskal's algorithm.
-
Sort the edges by weight:
- A-C (2)
- B-D (4)
- D-E (4)
- A-B (5)
- B-C (7)
- B-E (8)
- C-E (9)
-
Select edges in order of weight, ensuring no cycles are formed:
- A-C (2)
- B-D (4)
- D-E (4)
- A-B (5)
Thus, the minimum spanning tree includes edges A-C, B-D, D-E, and A-B.
(4)
Given two different spanning trees
In this cycle, there must be at least one edge
Therefore,
Knowledge
图论 最小生成树 Kruskal算法 数学归纳法
重点词汇
- vertex 顶点
- edge 边
- degree 度
- spanning tree 生成树
- minimum spanning tree 最小生成树
- cycle 环
参考资料
- "Introduction to Graph Theory" by Douglas B. West, Chapter 1
- "Graph Theory with Applications" by Bondy and Murty, Section 2.1