免費詳解 / 中正 / 數學 / 104

104 中正資工所考古題解答|數學逐題詳解

104 中正資工所數學考古題的逐題詳解,共 11 題,免費公開。

逐題詳解

110%

Find the determinant of the matrix \(A=\begin{bmatrix}3&5&-2&6\\1&2&-1&1\\2&4&1&5\\3&7&5&3\end{bmatrix}\).

第 2 列第一個數是 1,交換 \(R_1,R_2\)(變號):

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

\(R_2-3R_1,\ R_3-2R_1,\ R_4-3R_1\):

\(\det A=-\det\begin{bmatrix}1&2&-1&1\\0&-1&1&3\\0&0&3&3\\0&1&8&0\end{bmatrix}=-\det\begin{bmatrix}-1&1&3\\0&3&3\\1&8&0\end{bmatrix}\)

\(R_3+R_1\):\(\det\begin{bmatrix}-1&1&3\\0&3&3\\0&9&3\end{bmatrix}=-1\cdot(3\cdot3-3\cdot9)=18\)

\(\det A=-18\)

\(\det A=-18\)

210%

Solve the given matrix equation for \(X\): \(\begin{bmatrix}1&2&3\\3&7&6\\1&0&8\end{bmatrix}X=\begin{bmatrix}1&4\\0&-1\\-3&6\end{bmatrix}\).

左邊係數矩陣 \(B\) 的 \(\det B=-1\ne0\),可逆;對 \([B\mid C]\) 做列運算:

\(\left[\begin{array}{ccc|cc}1&2&3&1&4\\3&7&6&0&-1\\1&0&8&-3&6\end{array}\right]\xrightarrow[R_3-R_1]{R_2-3R_1}\left[\begin{array}{ccc|cc}1&2&3&1&4\\0&1&-3&-3&-13\\0&-2&5&-4&2\end{array}\right]\)

\(R_3+2R_2\),再乘 \(-1\):\(\left[\begin{array}{ccc|cc}1&2&3&1&4\\0&1&-3&-3&-13\\0&0&1&10&24\end{array}\right]\)

\(R_2+3R_3,\ R_1-3R_3\):\(\left[\begin{array}{ccc|cc}1&2&0&-29&-68\\0&1&0&27&59\\0&0&1&10&24\end{array}\right]\) 再 \(R_1-2R_2\):第 1 列 \(=(1,0,0\mid-83,-186)\)

驗算第 1 行:\(1(-83)+2(27)+3(10)=1\)、\(3(-83)+7(27)+6(10)=0\)、\(1(-83)+0+8(10)=-3\),與 \(C\) 第 1 行 \((1,0,-3)\) 一致

\(X=\begin{bmatrix}-83&-186\\27&59\\10&24\end{bmatrix}\)

310%

Find a basis for and the dimension of the solution space of the homogeneous system:

\(2x_1+2x_2-x_3\ \ \ \ \ \ \ \ \ \ +x_5=0\);\(-x_1-x_2+2x_3-3x_4+x_5=0\);\(x_1+x_2-2x_3\ \ \ \ \ \ \ \ \ \ -x_5=0\);\(x_3+x_4+x_5=0\)

係數矩陣 \(\begin{bmatrix}2&2&-1&0&1\\-1&-1&2&-3&1\\1&1&-2&0&-1\\0&0&1&1&1\end{bmatrix}\),用第 3 列(首項為 1)當 pivot:

\(R_1-2R_3\):\((0,0,3,0,3)\);\(R_2+R_3\):\((0,0,0,-3,0)\);\(R_4\) 不動 \((0,0,1,1,1)\)

前兩個分別除以 3、\(-3\):\((0,0,1,0,1)\)、\((0,0,0,1,0)\);\(R_4\) 減掉這兩列變成 0

\(R_3\) 加上 2 倍 \((0,0,1,0,1)\):\((1,1,0,0,1)\)

\(\begin{bmatrix}1&1&0&0&1\\0&0&1&0&1\\0&0&0&1&0\\0&0&0&0&0\end{bmatrix}\)

pivot 在 \(x_1,x_3,x_4\),free variable \(x_2=s,\ x_5=t\):\(x_1=-s-t,\ x_3=-t,\ x_4=0\)

\(\mathbf x=s\begin{bmatrix}-1\\1\\0\\0\\0\end{bmatrix}+t\begin{bmatrix}-1\\0\\-1\\0\\1\end{bmatrix}\)

rank 3、5 個未知數,維度 \(5-3=2\)

dimension = 2,basis:\(\{(-1,1,0,0,0),\ (-1,0,-1,0,1)\}\)

410%

Find the eigenvalues and corresponding eigenvectors of the matrix \(A=\begin{bmatrix}5&4&2\\4&5&2\\2&2&2\end{bmatrix}\).

\(\det(A-\lambda I)=-(\lambda-1)^2(\lambda-10)\)

用 trace 驗:\(1+1+10=12=5+5+2\);\(\det A=10\) 也對得上

\(\lambda=1\):\(A-I=\begin{bmatrix}4&4&2\\4&4&2\\2&2&1\end{bmatrix}\),三列都是 \(2x_1+2x_2+x_3=0\),解空間二維:\(\mathbf x=s\begin{bmatrix}-1\\1\\0\end{bmatrix}+t\begin{bmatrix}-1\\0\\2\end{bmatrix}\)

\(\lambda=10\):\(A-10I=\begin{bmatrix}-5&4&2\\4&-5&2\\2&2&-8\end{bmatrix}\),前兩列相減得 \(x_1=x_2\),代入第 3 列得 \(x_3=x_1/2\),取 \((2,2,1)\)

對稱矩陣不同 eigenvalue 的 eigenvector 互相垂直:\((2,2,1)\cdot(-1,1,0)=0\)、\((2,2,1)\cdot(-1,0,2)=0\)

\(\lambda=1\)(重根):\((-1,1,0)\)、\((-1,0,2)\) 的非零線性組合;\(\lambda=10\):\((2,2,1)\) 的非零倍數

510%

If \(A\) is a symmetric \(n\times n\) matrix and \(\mathbf x\) is an \(n\times1\) column vector of variables, prove that \(\mathbf x^TA\mathbf x\) is positive definite if and only if all eigenvalues of \(A\) are positive.

\(A\) 對稱,可 orthogonally diagonalize:\(A=Q\Lambda Q^T\),\(Q\) 為 orthogonal,\(\Lambda=\operatorname{diag}(\lambda_1,\dots,\lambda_n)\)

令 \(\mathbf y=Q^T\mathbf x\):\(\mathbf x^TA\mathbf x=\mathbf y^T\Lambda\mathbf y=\sum_{i=1}^n\lambda_iy_i^2\)

(\(\Leftarrow\)) 所有 \(\lambda_i>0\):任取 \(\mathbf x\ne\mathbf 0\),\(Q^T\) 可逆,\(\mathbf y\ne\mathbf 0\),至少一個 \(y_i\ne0\),\(\sum\lambda_iy_i^2>0\) → 正定

(\(\Rightarrow\)) \(\mathbf x^TA\mathbf x\) 正定:取 \(\lambda_i\) 對應的單位 eigenvector \(\mathbf v_i\ne\mathbf 0\),

\(0\lt\mathbf v_i^TA\mathbf v_i=\mathbf v_i^T(\lambda_i\mathbf v_i)=\lambda_i\|\mathbf v_i\|^2=\lambda_i\)

每個 eigenvalue 都是正的 得證

65%

If we take all people as the universe, write the proposition in symbols using predicates and quantifiers (Universal Quantifier or Existential Quantifier) of the sentence: "Everyone who visited France stayed in Paris."

\(F(x)\):\(x\) visited France;\(P(x)\):\(x\) stayed in Paris;論域=所有人

\(\forall x\,\bigl(F(x)\rightarrow P(x)\bigr)\)

「每個去過法國的人」是全稱量詞配條件句;寫成 \(\forall x\,(F(x)\wedge P(x))\) 會變成「每個人都去過法國而且待過巴黎」

714%

a) (7%) Draw the graph represented by the incident matrix \(G\). b) (7%) Use depth-first-search to produce a spanning tree of the graph in a). Choose the first vertex in the matrix as the root of the tree.

\(G=\begin{bmatrix}1&1&0&0&0&0&0&0&0&0&0&0\\1&0&1&0&0&0&0&0&0&0&0&0\\0&1&1&1&0&0&0&0&0&0&0&0\\0&0&0&1&1&1&0&0&0&0&0&0\\0&0&0&0&1&0&1&1&0&0&0&0\\0&0&0&0&0&1&1&0&1&0&0&0\\0&0&0&0&0&0&0&0&1&1&0&1\\0&0&0&0&0&0&0&1&0&1&1&0\\0&0&0&0&0&0&0&0&0&0&1&0\\0&0&0&0&0&0&0&0&0&0&0&1\end{bmatrix}\)

a) 10 列 × 12 行:列 = 頂點 \(v_1\sim v_{10}\),行 = 邊 \(e_1\sim e_{12}\),每行恰有兩個 1,就是該邊的兩個端點:

邊e1e2e3e4e5e6e7e8e9e10e11e12
端點1–21–32–33–44–54–65–65–86–77–88–97–10

12345678910e1e2e3e4e5e6e7e8e9e10e11e12

圖中的數字 \(i\) 代表 \(v_i\)

b) 從 \(v_1\) 出發,每次走編號最小的未拜訪鄰居:

目前未拜訪的鄰居動作
\(v_1\)\(v_2,v_3\)走 \(e_1\)(\(v_1\to v_2\))
\(v_2\)\(v_3\)走 \(e_3\)
\(v_3\)\(v_4\)走 \(e_4\)
\(v_4\)\(v_5,v_6\)走 \(e_5\)(\(v_4\to v_5\))
\(v_5\)\(v_6,v_8\)走 \(e_7\)(\(v_5\to v_6\))
\(v_6\)\(v_7\)走 \(e_9\)
\(v_7\)\(v_8,v_{10}\)走 \(e_{10}\)(\(v_7\to v_8\))
\(v_8\)\(v_9\)走 \(e_{11}\)
\(v_9\)無退回 \(v_8\)、再退回 \(v_7\)
\(v_7\)\(v_{10}\)走 \(e_{12}\)

12345678910e1e2e3e4e5e6e7e8e9e10e11e12

spanning tree(root \(v_1\),紅線):\(e_1,e_3,e_4,e_5,e_7,e_9,e_{10},e_{11},e_{12}\),共 9 條 = \(10-1\)

12345678109

DFS 選鄰居的順序不同,樹就不同;本題沒規定,取編號小的先走

86%

Determine whether the following graph has an Euler circuit. Construct such a circuit when one exists. If no Euler circuit exists, give your reason.

abcdihgef

連通圖有 Euler circuit ⟺ 每個點的 degree 都是偶數

邊(共 19 條):ab、ac、ai、ah、bc、bh、bi、cd、cg、ce、ci、de、dg、dh、ih、hg、he、gf、ef

頂點abcdefghi
degree446442464

全部是偶數,圖也連通 → 有 Euler circuit。一條:

\(a\to b\to c\to d\to e\to f\to g\to h\to e\to c\to g\to d\to h\to i\to c\to a\to h\to b\to i\to a\)

19 條邊每條剛好一次,回到起點 \(a\);邊數與 degree 總和 \(4+4+6+4+4+2+4+6+4=38=2\times19\) 一致

有 Euler circuit(所有 degree 皆偶數)

95%

Show that at least four of any 22 days must fall on the same day of the week.

鴿籠:22 天(鴿子)放進 7 個星期幾(籠子),至少有一個星期幾分到 \(\lceil22/7\rceil=4\) 天

反證:若每個星期幾最多 3 天,總共最多 \(7\times3=21\lt22\) 天,矛盾 得證

1010%

If \(a\) and \(b\) are integers and \(m\) is a positive integer, then \(a\) is congruent to \(b\) modulo \(m\) if \(m\) divides \(a-b\). We use the notation \(a\equiv b\pmod m\) to indicate that \(a\) is congruent to \(b\) modulo \(m\).

(a) (5%) Find an inverse of 4 modulo 9, i.e., find all integers \(x\) such that \(4x\equiv1\pmod9\). (b) (5%) Find all integers \(y\) that satisfy the congruence \(4y\equiv5\pmod9\).

(a) \(\gcd(4,9)=1\),inverse 存在且在 mod 9 下唯一。\(4\cdot7=28=3\cdot9+1\) → \(4\cdot7\equiv1\)

\(x\equiv7\pmod9\),即 \(x=7+9k,\ k\in\mathbb Z\)

(b) 兩邊乘 4 的 inverse 7:\(y\equiv7\cdot5=35\equiv8\pmod9\)

驗算:\(4\cdot8=32=27+5\)

(a) \(x=7+9k\) (b) \(y=8+9k\),\(k\in\mathbb Z\)

1110%

Find the solution to the recurrence relation \(a_n=7a_{n-1}-10a_{n-2}\) for \(n>1\) with initial conditions \(a_0=2,\ a_1=1\).

characteristic equation \(r^2-7r+10=(r-2)(r-5)=0\),\(a_n=\alpha2^n+\beta5^n\)

\(\alpha+\beta=2\),\(2\alpha+5\beta=1\) → \(\beta=-1,\ \alpha=3\)

驗算:\(a_2=7\cdot1-10\cdot2=-13\),公式 \(3\cdot4-25=-13\)

\(a_n=3\cdot2^n-5^n\)

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

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

購買 · NT$ 850 看中正其他免費詳解

其他年度與考科

同一年的其他科

同一科的其他年度

聯絡我們

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

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

william.chou.123123@gmail.com