跳到主要内容

2025-2026学年下学期期末

2025-2026学年下学期期末试卷——张民​

说明​

根据“张民老师班”目录中的试卷照片整理。照片包含第 1—4 页,其中第 3、4 页各有两张重复照片;第 5 页缺失,第 14 题配图及第 15 题缺失。保留原卷中英文题面、题号和分值,照片中的手写作答与批改未作为参考答案收录;配图中无法与印刷线条分离的笔迹暂保留。

一、Logic, Sets, Functions and Relations(4 questions, 30 points)​

  1. (6 points)Show the following statement.

    Premises: (∃x)A(x)→(∀x)((B(x)∨A(x))→C(x))(\exists x)A(x)\to(\forall x)((B(x)\lor A(x))\to C(x)); (∃x)A(x)(\exists x)A(x)

    Conclusion: (∃x)C(x)(\exists x)C(x)


  2. (8 points)回答下列问题:

    (a) 请建立 [0,1][0,1] 到 [−1,1][-1,1] 的双射;

    (b) 请建立 [0,1][0,1] 到 (0,1](0,1] 的双射。


  3. (6 points)考虑偏序集 (S,≤)(S,\leq),其中 S={1,2,…,n}S=\{1,2,\ldots,n\},≤\leq 为通常的大小关系(全序)。设 A⊆SA\subseteq S,定义 AA 的上闭包

    ↑A={x∈S:∃a∈A, a≤x},\uparrow A=\{x\in S:\exists a\in A,\ a\leq x\},

    下闭包

    ↓A={x∈S:∃a∈A, x≤a}.\downarrow A=\{x\in S:\exists a\in A,\ x\leq a\}.

    对 S={1,2,3,4,5}S=\{1,2,3,4,5\} 和 A={2,4}A=\{2,4\},计算 ↑A\uparrow A、↓A\downarrow A、↑A∩↓A\uparrow A\cap\downarrow A 的值。


  4. (10 points)设 f:A→Bf:A\to B 是一个从集合 AA 到集合 BB 的函数。在集合 AA 上定义关系 RfR_f 如下:

    Rf={(x,y)∈A×A∣f(x)=f(y)}.R_f=\{(x,y)\in A\times A\mid f(x)=f(y)\}.

    (1)(6 points)证明:RfR_f 是 AA 上的等价关系。

    (2)(4 points)证明:对任意 b∈ran⁡(f)b\in\operatorname{ran}(f),原像集 f−1({b})f^{-1}(\{b\}) 是 RfR_f 的一个等价类。

    注:ran⁡(f)\operatorname{ran}(f) 表示函数 ff 的值域。


二、Counting(6 questions, 45 points)​

  1. (9 points)Answer following questions:

    (a) Suppose S={1,2,…,n}S=\{1,2,\ldots,n\}. How many ordered triples (A,B,C)(A,B,C) are there such that A⊆B⊆C⊆SA\subseteq B\subseteq C\subseteq S?

    (b) Suppose nn is a positive integer. How many functions are there from the set {1,2,…,n}\{1,2,\ldots,n\} to the set {1,2,3}\{1,2,3\} that are onto?

    (c) Find the largest coefficient in the expansion of (x+3)5(x+3)^5.


  2. (5 points)在一个边长为 2 的正方形内部任意放置 10 个点。请证明:必定存在至少两个点,它们之间的距离不超过 232\dfrac23\sqrt2。


  3. (9 points)Find the generating function for the sequence {pn}\{p_n\}, where pnp_n denotes the number of non-negative integer solutions to each of the following equations:

    (a) x1+x2+⋯+xk=nx_1+x_2+\cdots+x_k=n, where 0≤xi≤30\leq x_i\leq3, i=1,2,…,ki=1,2,\ldots,k.

    (b) x1+2x2+⋯+kxk=nx_1+2x_2+\cdots+kx_k=n.

    (c) x1+x2+⋯+xk=nx_1+x_2+\cdots+x_k=n, where x1≥x2≥⋯≥xk≥0x_1\geq x_2\geq\cdots\geq x_k\geq0.


  4. (6 points)A matrix is “good” if in each row there are no repeated elements, and in each column there are no repeated elements. How many “good” matrices are there with 2 rows and 5 columns, where all of their elements are from {1,2,3,4,5}\{1,2,3,4,5\}?


  5. (8 points)Let Sn={1,2,…,n}S_n=\{1,2,\ldots,n\} and let ana_n denote the number of non-empty subsets of SnS_n that contain no two consecutive integers.

    (a) Find a recurrence relation for ana_n and give the initial condition.

    (b) Solve the recurrence relation.


  6. (8 points)Consider the linear nonhomogeneous recurrence relation:

    an−5an−1+6an−2=F(n).a_n-5a_{n-1}+6a_{n-2}=F(n).

    State the form of a particular solution for each of the following cases:

    (a) F(n)=3n+2nF(n)=3^n+2^n

    (b) F(n)=n23nF(n)=n^2 3^n

    (c) F(n)=7nF(n)=7^n

    (d) F(n)=(n3+1)2nF(n)=(n^3+1)2^n


三、Graphs(5 questions, 25 points)​

  1. (7 points)The complete m-partite graph Kn1,n2,…,nmK_{n_1,n_2,\ldots,n_m} has vertices partitioned into mm subsets of n1,n2,…,nmn_1,n_2,\ldots,n_m elements each, and vertices are adjacent if and only if they are in different subsets in the partition.

    (a)(1 points)What is the chromatic number of Kn1,n2,…,nmK_{n_1,n_2,\ldots,n_m}?

    (b)(2 points)Please draw K1,2,2K_{1,2,2}. How many vertices and edges does it have?

    (c)(4 points)Does K3,2,2,4K_{3,2,2,4} have Euler Parth or Euler Circuit? Please explain.


  2. (7 points)请回答下列问题:

    (a)(4 points)设 GG 是 nn 个顶点的简单图,且 GG 与它的补图 G‾\overline G 同构。证明 n(n−1)n(n-1) 必须能被 4 整除。

    注:对于简单图 G=(V,E)G=(V,E),其补图为 G‾=(V,E‾)\overline G=(V,\overline E),其中 E‾\overline E 包含所有在 GG 中不存在的边(即完全图 KnK_n 减去 GG 的边)。

    (b)(3 points)判断下列两个图 GG 和 HH 是否同构。请说明你的理由。

    张民班第12题第b小题图


  3. (6 points)Please answer the questions considering the graph given below:

    张民班第13题图

    (a)(4 points)Please list all the cut vertices and cut edges;

    (b)(2 points)Does the given graph have a Hamilton circuit or Hamilton path? If yes, please provide one. Otherwise, please explain.


  4. (5 points)判断下图是否是平面图。如果是,请画出其平面表示,如果不是,请说明原因。

    配图缺失(第 5 页缺失)。


  5. 缺失(第 5 页缺失)。