免費詳解 / 台大 / 數學 / 102

102 台大資工所考古題解答|數學逐題詳解

102 台大資工所數學考古題的逐題詳解,共 12 題,免費公開。

逐題詳解

110%

Is the following argument correct or wrong? Why?

Suppose that \(\Re\) is a binary relation on a non-empty set \(A\). If \(\Re\) is symmetric and transitive, then \(\Re\) is reflexive.

Proof. Let \((x,y)\in\Re\). By the symmetric property, we have \((y,x)\in\Re\). Then, with \((x,y),(y,x)\in\Re\), it follows by the transitive property that we have \((x,x)\in\Re\). As a consequence, \(\Re\) is reflexive.

證明只對「有出現在某個 pair 裡的 \(x\)」得到 \((x,x)\)

reflexive 要的是每個 \(x\in A\) 都有 \((x,x)\);沒有 pair 以 \(x\) 開頭時,證明用不上

反例:\(A=\{1,2\}\),\(\Re=\{(2,2)\}\)

symmetric:\((2,2)\) 反過來還是 \((2,2)\) ✓

transitive:只有 \((2,2),(2,2)\to(2,2)\) ✓

reflexive:\((1,1)\notin\Re\) ✗

\(\Re=\emptyset\) 也是反例(\(A\) 非空)

錯。只證了出現在某個 pair 裡的元素;\(A=\{1,2\}\)、\(\Re=\{(2,2)\}\) 是 symmetric+transitive 但不 reflexive

210%

Consider ternary strings with symbols 0, 1, 2 used. For \(n\ge1\), let \(a_n\) count the number of ternary strings of length \(n\), where there are no consecutive 1's and no consecutive 2's. Show that \(a_n\) can be expressed recursively as \(2a_{n-1}+a_{n-2}\).

合法字串(不含 11、22)依結尾分類,看最後一個符號:

結尾 0:前面 \(n-1\) 個隨便一個合法字串 → \(a_{n-1}\)

結尾 1:前面 \(n-1\) 個合法,且不能以 1 結尾 → 以 0 或 2 結尾

結尾 2:前面 \(n-1\) 個合法,且不能以 2 結尾 → 以 0 或 1 結尾

令 \(x_n,y_n,z_n\) 為以 0、1、2 結尾的個數:

\(x_n=a_{n-1}\),\(y_n=a_{n-1}-y_{n-1}\),\(z_n=a_{n-1}-z_{n-1}\)

\(y_{n-1}+z_{n-1}=a_{n-1}-x_{n-1}=a_{n-1}-a_{n-2}\)

\(a_n=x_n+y_n+z_n=3a_{n-1}-(y_{n-1}+z_{n-1})=3a_{n-1}-(a_{n-1}-a_{n-2})\)

\(a_n=2a_{n-1}+a_{n-2}\) 得證

\(a_0=1,\ a_1=3\);\(a_2=7\)(\(9-\)「11」「22」)、\(a_3=17\)

310%

Suppose that \(G\) is an undirected simple graph of \(n\) vertices.

(a) Find the number of spanning subgraphs of \(G\) that are also induced subgraphs of \(G\).

(b) If every induced subgraph of \(G\) is connected, then find the number of edges in \(G\).

(a)

spanning → 頂點集就是 \(V(G)\)

induced → 頂點集固定後,邊要「全部」保留,所以只能是 \(G\) 本身

\(1\)

(b)

任選兩點 \(u,v\),由它們誘導的子圖 \(G[\{u,v\}]\) 要 connected → \(uv\in E\)

→ 任兩點都相鄰,\(G=K_n\)

\(\dbinom n2=\dfrac{n(n-1)}2\)

410%

If \(G\) is an undirected simple graph, then there are two vertices in \(G\) having equal degree. Why?

simple graph,\(n\) 個點,degree 只能是 \(0,1,\ldots,n-1\)

degree \(0\) 與 degree \(n-1\) 不能同時出現(\(n-1\) 的點連到所有人,包含那個 degree 0 的點)

→ 實際出現的 degree 值至多 \(n-1\) 種

\(n\) 個點放進至多 \(n-1\) 個值 → 鴿籠原理,必有兩點 degree 相同 得證

假設 \(n\ge2\);\(n=1\) 只有一個點,沒有「兩個點」

510%

Suppose that \(G\) is a group, and \(H,K\) are two subgroups of \(G\). Prove that if \(\gcd(|H|,|K|)=1\), then \(H\cap K=\{e\}\), where \(e\) is the identity of \(G\).

\(H\cap K\) 是 \(H\) 的 subgroup,也是 \(K\) 的 subgroup

Lagrange:\(|H\cap K|\ \big|\ |H|\),且 \(|H\cap K|\ \big|\ |K|\)

→ \(|H\cap K|\) 整除 \(\gcd(|H|,|K|)=1\) → \(|H\cap K|=1\)

\(e\in H\cap K\),所以 \(H\cap K=\{e\}\) 得證

65%

If \(\lambda_1,\lambda_2,\lambda_3,\lambda_4\) are eigenvalues of matrix \(A\):

\(A=\begin{bmatrix}1&2&3&4\\8&7&6&5\\1&4&5&8\\2&3&6&7\end{bmatrix}\)

Then \(\lambda_1\lambda_2+\lambda_1\lambda_3+\lambda_1\lambda_4+\lambda_2\lambda_3+\lambda_2\lambda_4+\lambda_3\lambda_4=\)______.

所求 \(=e_2=\) characteristic polynomial \(\lambda^4-e_1\lambda^3+e_2\lambda^2-\cdots\) 的 \(\lambda^2\) 係數

\(e_2=\dfrac{(\sum\lambda_i)^2-\sum\lambda_i^2}{2}=\dfrac{(\operatorname{tr}A)^2-\operatorname{tr}(A^2)}2\)

\(\operatorname{tr}A=1+7+5+7=20\)

\(\operatorname{tr}(A^2)=\sum_{i,j}a_{ij}a_{ji}=\sum a_{ii}^2+2\sum_{i\lt j}a_{ij}a_{ji}\)

\(\sum a_{ii}^2=1+49+25+49=124\)

\(\sum_{i\lt j}a_{ij}a_{ji}\) 逐對:

\((1,2)\!:2\cdot8=16\) \((1,3)\!:3\cdot1=3\) \((1,4)\!:4\cdot2=8\) \((2,3)\!:6\cdot4=24\) \((2,4)\!:5\cdot3=15\) \((3,4)\!:8\cdot6=48\) → \(114\)

\(\operatorname{tr}(A^2)=124+2\cdot114=352\)

特徵多項式 \(\lambda^4-20\lambda^3+24\lambda^2+72\lambda\),\(\lambda^2\) 係數 24

\(\dfrac{20^2-352}{2}=24\)

75%

If \(A=S\Lambda S^{-1}\), then the eigenvalue matrix and eigenvector matrix of \(B=\begin{bmatrix}3A&0\\0&2A\end{bmatrix}\) are ______ and ______, respectively.

\(3A=S(3\Lambda)S^{-1}\),\(2A=S(2\Lambda)S^{-1}\)

\(B=\begin{bmatrix}S&0\\0&S\end{bmatrix}\begin{bmatrix}3\Lambda&0\\0&2\Lambda\end{bmatrix}\begin{bmatrix}S&0\\0&S\end{bmatrix}^{-1}\)

eigenvalue matrix \(\begin{bmatrix}3\Lambda&0\\0&2\Lambda\end{bmatrix}\);eigenvector matrix \(\begin{bmatrix}S&0\\0&S\end{bmatrix}\)

810%

Define \(T(A)=\dfrac{A+A^T}{2}\) where \(A\) is an \(n\times n\) matrix. Then

(a) \(\ker(T)=\)______ (5%).

(b) (nullity(\(T\)), rank(\(T\)))=(______,______) (5%).

(a) \(T(A)=0\iff A+A^T=0\iff A^T=-A\)

\(\ker T=\{A:\ A^T=-A\}\) (所有 skew-symmetric 矩陣)

(b) skew-symmetric:對角線全 0,對角線上方 \(\tfrac{n(n-1)}2\) 個元素自由,下方由它們決定

nullity \(=\tfrac{n(n-1)}2\);rank-nullity:rank \(=n^2-\tfrac{n(n-1)}2=\tfrac{n(n+1)}2\)

image 是 symmetric 矩陣空間,維度 \(\tfrac{n(n+1)}2\),兩邊吻合;\(n=3\):rank \(=6\)、nullity \(=3\)

\(\Big(\dfrac{n(n-1)}2,\ \dfrac{n(n+1)}2\Big)\)

910%

Suppose that \(p_k(x)\) is a polynomial of order \(k\) with leading coefficients \(a_k\), \(k=0,\ldots,n-1\). That is, \(p_k(x)=a_kx^k+a_{k-1}x^{k-1}+\cdots+a_1x+a_0\), \(k=0,\ldots,n-1\). Then

\(\begin{vmatrix}p_0(x_1)&p_0(x_2)&\cdots&p_0(x_n)\\p_1(x_1)&\vdots&&\vdots\\\vdots&\vdots&\ddots&\vdots\\p_{n-1}(x_1)&p_{n-1}(x_2)&\cdots&p_{n-1}(x_n)\end{vmatrix}=\)______

每個 \(p_k\) 用 \(1,x,\ldots,x^{n-1}\) 展開:第 \(k\) 列 \(=\sum_j c_{kj}\,(x_1^j,\ldots,x_n^j)\)

矩陣 \(=C\cdot V\),\(V=\big[x_i^{\,j}\big]_{j,i}\) 是 Vandermonde,\(C=[c_{kj}]\)

\(p_k\) 只到 \(x^k\) → \(C\) 是下三角,對角線 \(c_{kk}=a_k\) → \(\det C=\prod_{k=0}^{n-1}a_k\)

\(\det V=\prod_{1\le i\lt j\le n}(x_j-x_i)\)

驗 \(n=3\):\(a_0a_1a_2(x_2-x_1)(x_3-x_1)(x_3-x_2)\)

\(\displaystyle\Big(\prod_{k=0}^{n-1}a_k\Big)\prod_{1\le i\lt j\le n}(x_j-x_i)\)

1010%

Let a sequence \(B_k\) with \(B_0=0\), \(B_1=\tfrac12\) and \(B_{k+2}=\dfrac{B_{k+1}+B_k}{2}\), \(k=0,1,2,\ldots\) Please find the general expression for \(B_k=\)______ (7%) and \(\lim_{k\to\infty}B_k=\)______ (3%).

\(2r^2-r-1=0\) → \((2r+1)(r-1)=0\) → \(r=1,\ -\tfrac12\)

\(B_k=c_1+c_2\big(-\tfrac12\big)^k\)

\(B_0=c_1+c_2=0\),\(B_1=c_1-\tfrac12c_2=\tfrac12\) → \(c_2=-\tfrac13,\ c_1=\tfrac13\)

驗 \(B_2=\tfrac{1/2+0}2=\tfrac14\);公式 \(\tfrac13\big(1-\tfrac14\big)=\tfrac14\) ✓

\(B_k=\dfrac13\Big(1-\big(-\tfrac12\big)^k\Big)\)

\(\big|-\tfrac12\big|\lt1\) → \(\big(-\tfrac12\big)^k\to0\)

\(\lim_{k\to\infty}B_k=\dfrac13\)

115%

[True or false] Credits will be given only if all the answers are correct.

Let \(W_1\) and \(W_2\) be subspaces of a vector space \(V\) over \(\mathbb R\).

(a) \(W_1\cap W_2\) is a subspace of \(V\).

(b) \(W_1\cup W_2\) is a subspace of \(V\).

(c) \((V-W_1)\cap W_2\) is a subspace of \(V\).

(d) \(V-W_1\) is a subspace of \(V\).

(e) If \(W_1\perp W_2\) then \(W_1=(W_2)^{\perp}\).

(a) 含 0、加法與純量乘法都封閉 → T

(b) \(V=\mathbb R^2\),\(W_1\)=x 軸、\(W_2\)=y 軸:\((1,0)+(0,1)=(1,1)\notin W_1\cup W_2\) → F

(c) \(0\in W_1\),所以 \(0\notin V-W_1\),沒有零向量 → F

(d) 同上,\(0\notin V-W_1\) → F

(e) \(W_1\perp W_2\) 只保證 \(W_1\subseteq W_2^{\perp}\);\(V=\mathbb R^3\),\(W_1=\{0\}\)、\(W_2\)=x 軸,\(W_2^\perp\)=yz 平面 \(\ne W_1\) → F

(a) T (b) F (c) F (d) F (e) F

125%

Suppose that \(A,B\in M_{n\times n}\).

(a) \(A\) and \(A^T\) have the same eigenvalues.

(b) If \(A\) is diagonalizable, so is its transpose \(A^T\).

(c) \(AB\) and \(BA\) have the same eigenvalues.

(d) If \(\alpha\) is an eigenvalue of \(A\) and \(\beta\) is an eigenvalue of \(B\), then \(\alpha\beta\) must be the eigenvalue of \(AB\).

(e) If \(A\) and \(B\) are both diagonalizable, so is \(A-B\).

(a) \(\det(A^T-\lambda I)=\det\big((A-\lambda I)^T\big)=\det(A-\lambda I)\),特徵多項式相同 → T

(b) \(A=PDP^{-1}\Rightarrow A^T=(P^{-1})^TD\,P^T\) → T

(c) \(\det(\lambda I-AB)=\det(\lambda I-BA)\)(\(AB\)、\(BA\) 特徵多項式相同) → T

(d) \(A=\begin{bmatrix}1&0\\0&0\end{bmatrix}\),\(B=\begin{bmatrix}0&0\\0&1\end{bmatrix}\):\(\alpha=\beta=1\),但 \(AB=0\),\(\alpha\beta=1\) 不是它的 eigenvalue → F

(e) \(A=\begin{bmatrix}1&1\\0&0\end{bmatrix}\)(eigenvalue 1, 0,可對角化)、\(B=\begin{bmatrix}1&0\\0&0\end{bmatrix}\)

\(A-B=\begin{bmatrix}0&1\\0&0\end{bmatrix}\) 是非零 nilpotent,不可對角化 → F

(a) T (b) T (c) T (d) F (e) F

109–115 的詳解也是這樣寫的。

國立臺灣大學 109–115 的詳解收錄在付費版;106–115 全年度完整詳解共 367 頁,逐題推導。

購買 · NT$ 850 看台大其他免費詳解

其他年度與考科

同一年的其他科

同一科的其他年度

聯絡我們

題目有錯、詳解看不懂,都歡迎來信

想許願補哪一份、對購買有疑問也可以,收到後會盡快回覆。

william.chou.123123@gmail.com