CBMS-2020-09
题目来源:[[做题/文字版题库/CBMS/2020#Question 9|2020#Question 9]] 日期:2024-07-23 题目主题:CS-离散数学-无向图
解题思路
这三个问题涉及无向图的性质、化学结构异构体的图表示、以及概率计算。
- 第一个问题考察无向图顶点度数之和的性质。
- 第二个问题涉及化学分子异构体的图表示。
- 第三个问题涉及图的连通性和概率计算。
Solution
Problem 1
Prove that the sum of degrees of all vertices of an undirected graph is even.
In an undirected graph, each edge contributes 2 to the sum of the degrees of the vertices because each edge is incident to two vertices. Let be an undirected graph where is the set of vertices and is the set of edges.
Each edge connects two vertices and contributes 1 to the degree of each vertex it connects. Therefore, each edge contributes exactly 2 to the sum of degrees. Let denote the number of edges.
Since is an integer, is even. Hence, the sum of the degrees of all vertices in an undirected graph is even.
Problem 2
Chemical formula corresponds to several structural isomers. Show all isomers as graphs.
The structural isomers of pentane () can be represented as graphs where each vertex represents a carbon atom, and each edge represents a bond between carbon atoms. The hydrogen atoms are implied but not shown in the graphs for simplicity.
-
n-Pentane:
-
Isopentane (2-Methylbutane):
-
Neopentane (2,2-Dimethylpropane):
Problem 3
Three servers are connected as in the graph below. The network is functional when the graph is connected. Each edge disconnects independently with probability . Find the probability of the network being functional as a function of .
The graph of the network is a triangle:
To find the probability that the network is functional (connected), we need to consider the cases where the graph remains connected.
- All edges are connected:
- Exactly one edge fails:
The network remains connected if exactly one edge fails because the remaining two edges still connect all vertices.
- More than one edge fails:
If two or three edges fail, the network becomes disconnected. The probability of these events does not need to be computed explicitly since they are complementary to the first two cases.
The total probability of the network being functional is the sum of the probabilities of the above two cases:
知识点
重点词汇
- graph 图
- isomer 异构体
- probability 概率
参考资料
- “Introduction to Graph Theory” by Douglas B. West
- “Principles of Mathematical Chemistry” by Eugene S. Gladyshev