CBMS-2019-10
题目来源:[[做题/文字版题库/CBMS/2019#Question 10|2019#Question 10]] 日期:2024-07-26 题目主题:CS-离散数学-图论
Solution
Question 1: Prove that, for any graph , the number of nodes whose degree is odd is always even
To prove this statement, we will use the Handshaking Lemma, which states that the sum of the degrees of all vertices in a graph is equal to twice the number of edges. Mathematically, for a graph with vertices and edges , we have:
where is the degree of vertex .
Now, consider the sum of the degrees of all vertices. Each degree is either even or odd. Let’s denote the number of vertices with odd degree as and the number of vertices with even degree as . Therefore, we have:
Since the sum of the degrees is even (because it equals ), and the sum of an even number of even numbers is even, the sum of an even number of odd numbers is also even. Therefore, the number of odd-degree vertices, , must be even.
Thus, the number of nodes whose degree is odd is always even.
Question 2: Write the adjacency matrix of the following graph, and show that the number of walks of length 2 between nodes 1 and 4 is equal to the -element of
The given graph is:
1 -- 2
| \ |
| \ |
3 -- 4
The adjacency matrix of this graph is:
To find the number of walks of length 2 between nodes 1 and 4, we need to compute the matrix :
The -element of is 3, which means there are 3 walks of length 2 between nodes 1 and 4. The walks are:
Question 3: Prove that, for any simple graph with some adjacency matrix , the number of walks of length between nodes is equal to the element of
We use induction on to prove this statement.
Base case: For , the number of walks of length 1 between nodes and is given by the adjacency matrix . If there is an edge between and , then , otherwise . Hence, the number of walks of length 1 between nodes and is , which is the element of .
Inductive step: Assume the statement is true for , i.e., the number of walks of length between nodes and is the element of . We need to show it is true for .
The number of walks of length from node to node is the sum of the walks of length from to all intermediate nodes and then taking one step from to . Mathematically, this is:
This is precisely the matrix multiplication of and , and the result is the element of .
By induction, the number of walks of length between nodes and is equal to the element of for all .
Question 4: Assume that a simple connected graph has two or more nodes. Prove that has at least two nodes with identical degree
This proof uses the Pigeonhole Principle.
Let be a simple connected graph with nodes where . The degree of a node (vertex) in a simple graph can range from to . In a connected graph with , no node can have degree 0, so the possible degrees range from to .
However, we now have vertices but only different possible degrees. According to the Pigeonhole Principle, if we assign different items (in this case, vertices) into different categories (possible degrees), at least one category must contain more than one item.
Therefore, there must be at least two vertices in the graph that share the same degree.
知识点
重点词汇
- degree 度
- adjacency matrix 邻接矩阵
- walk 步长
- connected 连通
- simple graph 简单图
- pigeonhole principle 鸽巢原理
参考资料
- “Introduction to Graph Theory” by Douglas B. West, Chap. 1 and 2
- “Discrete Mathematics and Its Applications” by Kenneth H. Rosen, Chap. 10