2024-2025学年下学期期末
2024-2025学年下学期期末试卷(A)
一、Logic, Sets, Functions and Relations(5 questions, 30 points)
-
(4 points)判断下列各对公式是否等值,若等值,请给出证明,若不成立,请给出反例。
(a) ,
(b) ,
-
(4 points)试用一阶谓词逻辑描述下列命题结构(要求使用全总个体域)。
(a) 并不是所有的北京人都去过颐和园(要求:只能使用存在量词)。
(b) 不存在比一切实数都大的实数。
-
(8 points)设 为集合, 且 ,若 ,问:
(a) 是偏序集吗?若是,回答下列问题:
(b) 偏序集 是否有最大元?
(c) 偏序集 是否有最小元?
(d) 偏序集 中极大元和极小元的一般形式是什么?并说明理由。
说明: 代表集合 的幂集。
-
(8 points)设 是一个二元关系。令
证明:若 是等价关系,则 也是等价关系。
-
(6 points)证明:有限集 与可列集 的笛卡尔积 是可列集。
二、Counting(6 questions, 45 points)
-
(6 points)Answer following questions:
(a) Suppose that is a set with elements. How many ordered pairs are there such that , and ?
(b) What is the coefficient of in the expansion of ?
-
(6 points)按要求完成下列题目:
(a) 在边长为 1 的正三角形中任选 5 点,证明存在两点,其距离不超过 。
(b) 在边长为 1 的正三角形中任选 10 点,证明存在两点,其距离不超过 。
(c) 在边长为 1 的正三角形中任选 个点,证明存在两点,其距离不超过 。
-
(11 points)Find the number of integer solutions for each of the following problems:
(a) with .
(b) with .
(c) with .
(d) with .
-
(8 points)在下图所示的地图中,起点为 ,终点为 ,且只能向上移动,或者向右移动。其中 、、、、、、、。

(a) 计算从起点 到终点 的路径数目。(说明:每一条路径都会包含向右移动 10 次,且向上移动 5 次。)
(b) 计算不能经过 的路径数目。
-
(8 points)用红、蓝、白三种颜色对 的方格涂色,每个方格只能涂一种颜色,如果要求涂成红色的两个方格不能相邻,问有多少种方法?
要求:请用构造递推关系的方法完成此题。
-
(6 points)准备一个果篮,水果可选自苹果、橙子、香蕉和梨,其中要求苹果的个数是偶数,橙子的个数是 5 的倍数,至多有 4 个香蕉,至多有一个梨。 是满足上述条件的果篮数目,其中 表示果篮中水果的总个数。
(1)给出 的生成函数。
(2)从这个生成函数出发求 的公式。
三、Graphs(6 questions, 25 points)
-
(4 points)下列图分别有多少个顶点和边?并说明对于哪些 值来说,下列图是二分图?
(a)
(b)
-
(5 points)证明:在一个连通的平面图中,若每个面(包括外部区域)都被三条边围成,则该图的边数 与顶点数 满足关系式 。
-
(4 points)请判断下面两图是否同构?构造一个同构或者给出不存在同构的证明。

-
(2 points)请写出上题中的图 的割点和割边。
-
(5 points)Determine whether the given graph has an Euler circuit. Construct such a circuit when it exists. If no Euler circuit exists, determine whether the graph has an Euler path and construct such a path if it exists.

-
(5 points)Prove the following graph is nonplanar(非平面图).
