跳到主要内容

東京大学 新領域創成科学研究科 メディカル情報生命専攻 2019年8月実施 問題9

Author

zephyr

Description

Answer the following problems about undirected graphs.

(1) Prove that the sum of degrees of all vertices of an undirected graph is even.

(2) Chemical formula C5H12C_5H_{12} corresponds to several structural isomers. Show all isomers as graphs. The following graph represents CH4CH_4.

	H
|
H - C - H
|
H

(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 pp. Find the probability of the network being functional as a function of pp.

O
|\
| \
| \
O---O

回答以下关于无向图的问题。

(1) 证明无向图中所有顶点度数之和是偶数。

(2) 化学式 C5H12C_5H_{12} 对应于几种结构异构体。将所有异构体表示为图。以下图表示 CH4CH_4

	H
|
H - C - H
|
H

(3) 三台服务器按下图连接。当图是连通时,网络是功能性的。每条边以概率 pp 独立断开。找到网络作为 pp 的函数是功能性的概率。

O
|\
| \
| \
O---O

题目描述

回答下列无向图问题:

  1. 证明无向图全部顶点的度数之和为偶数。
  2. 化学式 C5H12C_5H_{12} 有若干结构异构体;仿照上文以图表示 CH4CH_4 的方式,画出 C5H12C_5H_{12} 的全部结构异构体。
  3. 三台服务器按上图构成三角形网络;网络恰在对应图连通时正常工作。每条边相互独立地以概率 pp 断开,求网络正常工作的概率关于 pp 的表达式。

考点

  • 无向图度数:利用每条边对两个端点的度数各贡献一次,证明度数和为边数的两倍。
  • 分子结构的图表示:在满足碳四价、氢一价和总分子式 C5H12C_5H_{12} 的条件下,按非同构碳骨架枚举全部结构。
  • 图网络可靠性:对三角形的三条边独立失效,按保留至少两条边或其补事件计算连通概率。

Kai

(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 G=(V,E)G = (V, E) be an undirected graph where VV is the set of vertices and EE is the set of edges.

Sum of degrees=vVdeg(v)\text{Sum of degrees} = \sum_{v \in V} \deg(v)

Each edge eEe \in E 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 E\left| E \right| denote the number of edges.

vVdeg(v)=2E\sum_{v \in V} \deg(v) = 2 \left| E \right|

Since E\left| E \right| is an integer, 2E2 \left| E \right| is even. Hence, the sum of the degrees of all vertices in an undirected graph is even.

(2)

Chemical formula C5H12C_5H_{12} corresponds to several structural isomers. Show all isomers as graphs.

The structural isomers of pentane (C5H12C_5H_{12}) 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.

  1. n-Pentane:

    H   H   H   H   H
    | | | | |
    H - C - C - C - C - C - H
    | | | | |
    H H H H H
  2. Isopentane (2-Methylbutane):

        H   H   H
    | | |
    C - C - C - C - H
    | | |
    H H C
    | |
    H H
  3. Neopentane (2,2-Dimethylpropane):

            H   H
    | |
    H - C - C - H
    | |
    H - C - C - H
    | |
    H H

(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 pp. Find the probability of the network being functional as a function of pp.

The graph of the network is a triangle:

O
|\
| \
| \
O---O

To find the probability that the network is functional (connected), we need to consider the cases where the graph remains connected.

  1. All edges are connected:
P(All edges connected)=(1p)3P(\text{All edges connected}) = (1 - p)^3
  1. Exactly one edge fails:

The network remains connected if exactly one edge fails because the remaining two edges still connect all vertices.

P(Exactly one edge fails)=(31)p(1p)2=3p(1p)2P(\text{Exactly one edge fails}) = \binom{3}{1} p (1 - p)^2 = 3p(1 - p)^2
  1. 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:

P(Network functional)=(1p)3+3p(1p)2=4p39p2+6p+1=2p33p2+1P(\text{Network functional}) = (1 - p)^3 + 3p(1 - p)^2 = 4p^3 - 9 p^2 +6p +1 = 2p^3 - 3p^2 + 1

Knowledge

图论 化学异构体 概率论

重点词汇

  • graph 图
  • isomer 异构体
  • probability 概率

参考资料

  1. "Introduction to Graph Theory" by Douglas B. West
  2. "Principles of Mathematical Chemistry" by Eugene S. Gladyshev