免費詳解 / 交大 / 數學 / 105

105 交大資工所考古題解答|數學逐題詳解

105 交大資工所數學考古題的逐題詳解,共 13 題,免費公開。

逐題詳解

16 分(各 2)

Determine and explain whether each of the following sets is a subspace of \(\mathbf R^{2\times2}\). a. (2 points) The set of all 2×2 triangular matrices. b. (2 points) The set of all 2×2 lower triangular matrices. c. (2 points) The set of all 2×2 orthogonal matrices.

a triangular 沒指定上或下,upper 與 lower 都算在內,加法不封閉:\(\begin{bmatrix}0&1\\0&0\end{bmatrix}+\begin{bmatrix}0&0\\1&0\end{bmatrix}=\begin{bmatrix}0&1\\1&0\end{bmatrix}\) 上下都有非零元,不是 triangular

a 不是 subspace

b 條件是 \(a_{12}=0\) 一條線性等式;零矩陣滿足,相加、乘常數後 \((1,2)\) 位置仍是 0(維度 3)

b 是 subspace

c orthogonal 要 \(A^TA=I\),零矩陣不屬於這個集合(也不封閉於加法:\(I+I=2I\) 不是 orthogonal)

c 不是 subspace

24 分(各 2)

Let \(\{\mathbf x_1,\mathbf x_2,\mathbf x_3\}\) be linearly independent (LID) vectors in \(\mathbf R^n\). Determine and explain whether each of the following vector sets is LID. a. (2 points) \(\mathbf y_1=\mathbf x_1+\mathbf x_2,\ \mathbf y_2=\mathbf x_2+\mathbf x_3\), and \(\mathbf y_3=\mathbf x_3+\mathbf x_1\). b. (2 points) \(\mathbf z_1=\mathbf x_2-\mathbf x_1,\ \mathbf z_2=\mathbf x_3-\mathbf x_2\), and \(\mathbf z_3=\mathbf x_3-\mathbf x_1\).

寫成 \([\mathbf y_1\ \mathbf y_2\ \mathbf y_3]=[\mathbf x_1\ \mathbf x_2\ \mathbf x_3]C\),\(\{\mathbf x_i\}\) LID,新組是否 LID 只看 \(C\) 是否 nonsingular

a \(C=\begin{bmatrix}1&0&1\\1&1&0\\0&1&1\end{bmatrix}\),\(\det C=2\ne0\)

a LID

b \(\mathbf z_1+\mathbf z_2=(\mathbf x_2-\mathbf x_1)+(\mathbf x_3-\mathbf x_2)=\mathbf x_3-\mathbf x_1=\mathbf z_3\),即 \(\mathbf z_1+\mathbf z_2-\mathbf z_3=\mathbf 0\)

b 不是 LID(linearly dependent)

33 分

Let \(\mathbf v_1=(2,6)^T\), \(\mathbf v_2=(1,4)^T\), and \(S=\begin{bmatrix}4&1\\2&1\end{bmatrix}\). Find vectors \(\mathbf u_1\) and \(\mathbf u_2\) so that \(S\) will be the transition matrix from the ordered basis \(\{\mathbf u_1,\mathbf u_2\}\) to the ordered basis \(\{\mathbf v_1,\mathbf v_2\}\).

transition matrix \(S\) 從 \(\{\mathbf u\}\) 到 \(\{\mathbf v\}\):\([\mathbf x]_V=S\,[\mathbf x]_U\)

代 \(\mathbf x=\mathbf u_1\)(在 \(U\) 下座標 \((1,0)^T\)):\([\mathbf u_1]_V=S\) 的第 1 欄 \((4,2)^T\);\(\mathbf u_2\) 對應第 2 欄 \((1,1)^T\)

\(\mathbf u_1=4\mathbf v_1+2\mathbf v_2=4\begin{bmatrix}2\\6\end{bmatrix}+2\begin{bmatrix}1\\4\end{bmatrix}=\begin{bmatrix}10\\32\end{bmatrix}\)

\(\mathbf u_2=\mathbf v_1+\mathbf v_2=\begin{bmatrix}3\\10\end{bmatrix}\)

照 \([\mathbf x]_V=S[\mathbf x]_U\) 的定義;若教科書寫成 \([\mathbf v_1\ \mathbf v_2]\) = \([\mathbf u_1\ \mathbf u_2]S\),則 \(\mathbf u_1=(0,-1)^T,\ \mathbf u_2=(1,5)^T\)

\(\mathbf u_1=(10,32)^T,\ \mathbf u_2=(3,10)^T\)

46 分

Please find a basis for the column space and a basis for the null space of \(A=\begin{bmatrix}1&3&-2&1\\2&1&3&2\\3&4&5&6\end{bmatrix}\).

列運算:\(R_2-2R_1\)、\(R_3-3R_1\),再 \(R_3-R_2\)

\(A\to\begin{bmatrix}1&3&-2&1\\0&-5&7&0\\0&0&4&3\end{bmatrix}\),pivot 在第 1、2、3 欄,\(\operatorname{rank}=3\)

column space 基底:取 \(A\) 原來的 pivot 欄

\(\left\{\begin{bmatrix}1\\2\\3\end{bmatrix},\begin{bmatrix}3\\1\\4\end{bmatrix},\begin{bmatrix}-2\\3\\5\end{bmatrix}\right\}\)

null space:nullity \(=4-3=1\);\(x_4\) 為自由變數,令 \(x_4=20\)

第 3 列 \(4x_3+3x_4=0\) → \(x_3=-15\);第 2 列 \(-5x_2+7x_3=0\) → \(x_2=-21\);第 1 列 \(x_1=-3x_2+2x_3-x_4=63-30-20=13\)

\(N(A)=\operatorname{span}\left\{(13,-21,-15,20)^T\right\}\)

驗:\(A(13,-21,-15,20)^T\) 三列分別 \(13-63+30+20=0\)、\(26-21-45+40=0\)、\(39-84-75+120=0\)

56 分

Three persons, TC, CC, and YJ, have their own gold. They always divide their own gold into two equal parts and donate to others every day. TC, for example, has 12-kilograms gold today and donate 6 kilograms to CC and the other 6 kilograms to YJ. If TC has 6 kilograms, CC has 1 kilogram, and YJ has 2 kilograms at first, how many kilograms of gold do CC and YJ have after 365 days?

每人把自己的金子對分、各送另外兩人一半,隔天手上的量只來自別人:\(\mathbf x_{k+1}=A\mathbf x_k\),\(A=\begin{bmatrix}0&\tfrac12&\tfrac12\\\tfrac12&0&\tfrac12\\\tfrac12&\tfrac12&0\end{bmatrix}\)

總量 \(6+1+2=9\) 不變,\(A\mathbf x=\tfrac12(9\cdot\mathbf 1-\mathbf x)\)。令 \(\mathbf x_k=3\cdot\mathbf 1+\mathbf d_k\):

\(\mathbf x_{k+1}=\tfrac12(9\cdot\mathbf 1-3\cdot\mathbf 1-\mathbf d_k)=3\cdot\mathbf 1-\tfrac12\mathbf d_k\) → \(\mathbf d_{k+1}=-\tfrac12\mathbf d_k\)

\(\mathbf d_0=(6,1,2)^T-(3,3,3)^T=(3,-2,-1)^T\),\(\mathbf d_{365}=\left(-\tfrac12\right)^{365}\mathbf d_0=-\left(\tfrac12\right)^{365}(3,-2,-1)^T\)

\(\mathbf x_{365}=\begin{bmatrix}3-3\left(\tfrac12\right)^{365}\\3+2\left(\tfrac12\right)^{365}\\3+\left(\tfrac12\right)^{365}\end{bmatrix}\)

CC:\(3+\left(\tfrac12\right)^{364}\) kg;YJ:\(3+\left(\tfrac12\right)^{365}\) kg(都極接近 3 kg)

610 分(各 1)

Answer true (T) or false (F) to each of the following statements.

a. The linear transformation \(T(f)=f'\) from \(P_n\) to \(P_n\) has rank \(n\) for all positive integers \(n\). b. For an \(m\times n\) matrix \(A\), \(m\gt n\), the nullity of \(A^T\) must be larger than the nullity of \(A\). c. If \(U\), \(V\), and \(W\) are subspaces of \(\mathbf R^3\), \(U\perp V\), and \(V\perp W\), then \(U\perp W\). d. For any matrix \(A\), the eigenvalues of \(A^TA\) are always nonnegative. e. There exist orthogonal \(2\times2\) matrices \(A\) and \(B\) such that \(A+B\) is orthogonal as well. f. If \(AA^T=A^2\) for a \(2\times2\) matrix \(A\), then \(A\) must be symmetric. g. If the eigenvalues of a matrix are not distinct, then this matrix is not diagonalizable. h. For a Hermitian matrix, its eigenvectors belonging to distinct eigenvalues are not only linearly independent but also orthogonal. i. An orthogonally diagonalizable matrix is always symmetric. j. Any two matrices with the same trace are similar.

a 這份考卷的題目出自 Leon 的 Linear Algebra with Applications(第 3 題就是該書的習題),書中 \(P_n\) 是 degree \(\lt n\) 的多項式,\(\dim P_n=n\);\(\ker T\) 是常數多項式,\(\dim\ker=1\),rank \(=n-1\ne n\) → F

若照另一種常見寫法把 \(P_n\) 當成 degree \(\le n\)(\(\dim=n+1\)),rank 是 \(n\),此時為 T。題目沒有定義 \(P_n\),這裡照出題來源的定義答 F

b \(\operatorname{nullity}(A)=n-r\),\(\operatorname{nullity}(A^T)=m-r\),\(m\gt n\) → T

c \(V=\operatorname{span}\{\mathbf e_3\}\),\(U=W=\operatorname{span}\{\mathbf e_1\}\):\(U\perp V,\ V\perp W\),但 \(U,W\) 同一條線,不垂直 → F

d \(\mathbf x^TA^TA\mathbf x=\|A\mathbf x\|^2\ge0\),\(A^TA\) positive semidefinite → T

e 旋轉矩陣都是 orthogonal:\(I+R(120^\circ)=\begin{bmatrix}\tfrac12&-\tfrac{\sqrt3}2\\\tfrac{\sqrt3}2&\tfrac12\end{bmatrix}=R(60^\circ)\) 仍是 orthogonal → T

f \(A=\begin{bmatrix}a&b\\c&d\end{bmatrix}\),比較 \(AA^T=A^2\) 的 \((1,1)\):\(a^2+b^2=a^2+bc\) → \(b^2=bc\);\((2,2)\):\(c^2+d^2=bc+d^2\) → \(c^2=bc\)

\(b^2=c^2=bc\) → \((b-c)^2=b^2+c^2-2bc=0\) → \(b=c\),\(A\) symmetric → T

g \(I\) 的 eigenvalue 全是 1,已經是對角矩陣 → F

h \(A\mathbf u=\lambda\mathbf u,\ A\mathbf v=\mu\mathbf v,\ \lambda\ne\mu\)(Hermitian 的 eigenvalue 是實數):\(\lambda\langle\mathbf u,\mathbf v\rangle=\langle A\mathbf u,\mathbf v\rangle=\langle\mathbf u,A\mathbf v\rangle=\mu\langle\mathbf u,\mathbf v\rangle\) → \(\langle\mathbf u,\mathbf v\rangle=0\),正交就 LID → T

i \(A=QDQ^T\),\(Q^TQ=I\) → \(A^T=QD^TQ^T=QDQ^T=A\) → T(實矩陣)

j \(\begin{bmatrix}0&1\\0&0\end{bmatrix}\) 與零矩陣 trace 都是 0,但 rank 不同,similar 保 rank → F

a F b T c F d T e T f T g F h T i T j F

710 分((a) 6、(b) 4)

Consider a matrix \(A=\begin{bmatrix}a&b\\0&c\end{bmatrix}\), \(a\ne c\). a. (6 points) Factor the matrix \(A\) into \(XDX^{-1}\) where \(D\) is diagonal. b. (4 points) Calculate \(e^A\).

a \(\det(A-xI)=(a-x)(c-x)\),eigenvalue \(a,\ c\);\(a\ne c\) 保證可對角化

\(\lambda=a\):\(A-aI=\begin{bmatrix}0&b\\0&c-a\end{bmatrix}\),eigenvector 取 \((1,0)^T\)

\(\lambda=c\):\(A-cI=\begin{bmatrix}a-c&b\\0&0\end{bmatrix}\),\((a-c)x+by=0\),取 \((b,\ c-a)^T\)

\(X=\begin{bmatrix}1&b\\0&c-a\end{bmatrix},\quad D=\begin{bmatrix}a&0\\0&c\end{bmatrix}\)

b \(X^{-1}=\begin{bmatrix}1&\dfrac{-b}{c-a}\\0&\dfrac1{c-a}\end{bmatrix}\),\(e^A=Xe^DX^{-1}\)

\(e^A=\begin{bmatrix}1&b\\0&c-a\end{bmatrix}\begin{bmatrix}e^a&0\\0&e^c\end{bmatrix}\begin{bmatrix}1&\frac{-b}{c-a}\\0&\frac1{c-a}\end{bmatrix}\)

\(e^A=\begin{bmatrix}e^a&\dfrac{b\,(e^c-e^a)}{c-a}\\0&e^c\end{bmatrix}\)

驗:\(c\to a\) 時 \(\frac{e^c-e^a}{c-a}\to e^a\),與 Jordan block 的 \(e^A\) 一致

85 分

Prove that the inverse of a symmetric invertible matrix is also symmetric.

\(AA^{-1}=I\),兩邊取 transpose:\((A^{-1})^TA^T=I\) → \((A^{-1})^T\) 是 \(A^T\) 的逆矩陣,即 \((A^{-1})^T=(A^T)^{-1}\)

\(A\) symmetric,\(A^T=A\):\((A^{-1})^T=(A^T)^{-1}=A^{-1}\)

\(A^{-1}\) 等於自己的 transpose,symmetric,得證

99 分(各 3)

In the following questions, just give the answer, do not give any explanation.

a. (3 points) Determine whether the following proposition is a tautology: \(((p\to\neg q)\wedge q)\to\neg p\)

b. (3 points) Suppose \(g:A\to B\) and \(f:B\to C\), where \(f\circ g\) is 1-1. Determine which of the following statements is correct: (1) if \(g\) is 1-1, then \(f\) is 1-1; (2) if \(f\) is 1-1, then \(g\) is 1-1; (3) both of (1) and (2) are correct; (4) both of (1) and (2) are incorrect.

c. (3 points) Suppose \(f:\mathbf R\to\mathbf R\) and \(g:\mathbf R\to\mathbf R\) where \(g(x)=2x+1\) and \(g\circ f(x)=2x+11\). Find the rule for \(f\).

a 前提 \((p\to\neg q)\wedge q\) 為真 → \(q\) 真、\(\neg q\) 假;要 \(p\to\neg q\) 為真只剩 \(p\) 假 → \(\neg p\) 真,前提真時結論必真

a 是 tautology

b \(f\circ g\) 1-1 本身就迫使 \(g\) 1-1:\(g(x)=g(y)\) → \(f(g(x))=f(g(y))\) → \(x=y\);所以 (2) 的結論恆成立

(1) 不成立:\(A=\{1\},\ B=\{1,2\},\ C=\{1\}\),\(g(1)=1\),\(f(1)=f(2)=1\);\(f\circ g\) 與 \(g\) 都 1-1,\(f\) 不是

b (2)

c \(g(f(x))=2f(x)+1=2x+11\)

c \(f(x)=x+5\)

1015 分(各 5)

In the following questions, just give the answer, do not give any explanation.

a. (5 points) Find \(11^{121}\bmod13\). b. (5 points) Find all solutions of the system of congruences \(x\equiv4\pmod6\) and \(x\equiv13\pmod{15}\). c. (5 points) Determine a rule for generating the terms of the sequence that begins 1, 3, 4, 8, 15, 27, 50, 92, …, and find the next three terms of the sequence.

a 13 是質數,Fermat:\(11^{12}\equiv1\pmod{13}\);\(121=12\cdot10+1\) → \(11^{121}\equiv11\)

a 11

b \(x\equiv4\pmod6\):\(x\equiv0\pmod2,\ x\equiv1\pmod3\);\(x\equiv13\pmod{15}\):\(x\equiv1\pmod3,\ x\equiv3\pmod5\);mod 3 都要求 \(\equiv1\),相容,解存在,模 \(\operatorname{lcm}(6,15)=30\)

\(x\equiv4\pmod6\) 的候選 \(4,10,16,22,28\) 中檢查 mod 15:只有 \(28\equiv13\)

b \(x\equiv28\pmod{30}\)

c \(8=1+3+4\)、\(15=3+4+8\)、\(27=4+8+15\)、\(50=8+15+27\)、\(92=15+27+50\) → 每一項是前三項的和

\(a_n=a_{n-1}+a_{n-2}+a_{n-3}\ (n\ge4),\ a_1=1,\ a_2=3,\ a_3=4\);後三項:\(92+50+27=169\),\(169+92+50=311\),\(311+169+92=572\)

c \(a_n=a_{n-1}+a_{n-2}+a_{n-3}\),下三項 169, 311, 572

115 分

Please use a combinatorial argument to prove the equality \(\dbinom nr=\sum_{j=r}^n\dbinom{j-1}{r-1}\) by considering the \(r\)-combination of the set \(\{1,2,\ldots,n\}\).

數 \(\{1,\ldots,n\}\) 的 \(r\)-combination(\(r\) 個元素的子集)的個數

左邊:\(\binom nr\) 就是全部的個數

右邊:依「最大元素」分堆。最大元素是 \(j\) 時,其餘 \(r-1\) 個元素都取自 \(\{1,\ldots,j-1\}\),共 \(\binom{j-1}{r-1}\) 種;\(j\) 至少要是 \(r\)(前面得有 \(r-1\) 個位置),至多是 \(n\)

每個 \(r\)-combination 的最大元素唯一,所以各堆互斥而且窮盡,加起來就是全部

\(\dbinom nr=\sum_{j=r}^n\dbinom{j-1}{r-1}\),得證

129 分(a 3、b 1、c 5)

Please answer the following questions based on the two graphs below.

(Graph (I):\(2\to3,\ 2\to5,\ 3\to5,\ 3\to8,\ 5\to8,\ 5\to13,\ 8\to13,\ 8\to21,\ 13\to21\);Graph (II):\(a\to d,\ a\to e,\ d\to c,\ d\to e,\ e\to c,\ e\to f,\ c\to b,\ c\to f,\ f\to b\))

23581321  abcdef

(I)               (II)

Graph (I) is part of the relation in the Fibonacci sequence. Let \(R\) denote the relation represented by Graph (I).

a. (3 points) Are Graph (I) and Graph (II) isomorphic? If your answer is NO, please give your reasons; otherwise, please show the correspondence between the two vertex sets.

b. (1 points) Is Graph (II) planar?

c. (5 points) Please give the 0-1 matrix of the composite relation \(R^4\) under the vertex ordering 2,3,5,8,13,21. What is the meaning of the \((1,6)\) entry in the matrix.

a 先用 out-degree、in-degree 釘點

Graph (I)outinGraph (II)outin
220a20
321d21
1312f12
2102b02
5、822e、c22

2↔a(唯一 in 0)、21↔b(唯一 out 0);3 的出邊是 5、8,d 的出邊是 e、c;8 的出邊指向 13 與 21(對應 f 與 b),(II) 中出邊指向 f 與 b 的是 c,所以 8↔c、5↔e

\(2\mapsto a,\ 3\mapsto d,\ 5\mapsto e,\ 8\mapsto c,\ 13\mapsto f,\ 21\mapsto b\)

逐條對照:2→3 ↔ a→d;2→5 ↔ a→e;3→5 ↔ d→e;3→8 ↔ d→c;5→8 ↔ e→c;5→13 ↔ e→f;8→13 ↔ c→f;8→21 ↔ c→b;13→21 ↔ f→b,九條全部對上

a 同構,對應如上

b Graph (I) 可以畫成沒有任何邊相交,(II) 與它同構,planarity 相同

b planar

c 以 2,3,5,8,13,21 為第 1–6 個位置,\(R\) 的 \((i,j)=1\) ⇔ \(j-i\in\{1,2\}\)

\(R^4\) 的 \((i,j)=1\) ⇔ 有長度恰為 4 的路徑:\(j-i\) 要寫成四個 1 或 2 的和,值落在 4–8;六個點內 \(j-i\le5\),所以只有 \(j-i=4\)(四步全是 1)與 \(j-i=5\)(三個 1、一個 2)

\(R^4=\begin{bmatrix}0&0&0&0&1&1\\0&0&0&0&0&1\\0&0&0&0&0&0\\0&0&0&0&0&0\\0&0&0&0&0&0\\0&0&0&0&0&0\end{bmatrix}\)

\((1,6)=1\):從 2 到 21 存在一條長度恰為 4 的 path,例如 \(2\to5\to8\to13\to21\)

1312 分(a 2、b 3、c 5、d 2)

Solve the linear recurrence relation \(a_n=2a_{n-1}-a_{n-2}+6n-8\) with \(a_0=5\) and \(a_1=10\) by the following steps. a. (2 points) Find the characteristic equation of the associated homogeneous recurrence relation \(a_n=2a_{n-1}-a_{n-2}\). b. (3 points) Find the solutions \(a_n^{(h)}\) of the associated homogeneous recurrence relation. c. (5 points) Find a particular solution \(a_n^{(p)}\) of the nonhomogeneous recurrence relation \(a_n=2a_{n-1}-a_{n-2}+6n-8\). d. (2 points) Use the initial condition \(a_0=5\) and \(a_1=10\) to find the solution.

a

\(x^2-2x+1=0\)

b \((x-1)^2=0\),\(x=1\) 是二重根

\(a_n^{(h)}=C_1+C_2\,n\)

c 右式 \(6n-8\) 是一次多項式,而 1 已是二重根,猜測式要再乘 \(n^2\):\(a_n^{(p)}=n^2(d_0+d_1n)=d_0n^2+d_1n^3\)

\(f(n)-2f(n-1)+f(n-2)\):\(n^2\) 得 2;\(n^3\) 得 \(6n-6\)

\(2d_0+d_1(6n-6)=6n-8\) → \(d_1=1\),\(2d_0-6=-8\) → \(d_0=-1\)

\(a_n^{(p)}=n^3-n^2\)

d \(a_n=C_1+C_2n+n^3-n^2\);\(a_0=5\):\(C_1=5\);\(a_1=10\):\(5+C_2+1-1=10\) → \(C_2=5\)

\(a_n=n^3-n^2+5n+5\)

驗:\(a_2=19=2\cdot10-5+12-8\);\(a_3=2\cdot19-10+18-8=38=27-9+15+5\)

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

國立陽明交通大學 109–115 的詳解收錄在付費版;106–115 全年度完整詳解共 579 頁,逐題推導。

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

其他年度與考科

同一年的其他科

同一科的其他年度

聯絡我們

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

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

william.chou.123123@gmail.com