免費詳解 / 中央 / 數學 / 103

103 中央資工所考古題解答|數學逐題詳解

103 中央資工所數學考古題的逐題詳解,共 20 題,免費公開。

逐題詳解

15 分

If square matrix \(A=[a_{ij}]\) has eigenvalues \(\lambda_1,\lambda_2,\ldots,\lambda_n\) and corresponding linearly-independent eigenvectors \(\mathbf e_1,\mathbf e_2,\ldots,\mathbf e_m\). Which are correct?

(A) If \(m=n\), \(A\) is diagonalizable.

(B) If \(A\) is diagonalizable, it is possible for \(\lambda_i=\lambda_j,\ i\ne j\).

(C) \(a_{11}+\cdots+a_{nn}=\lambda_1+\cdots+\lambda_n\).

(D) \(\{\mathbf e_1,\mathbf e_2,\ldots,\mathbf e_m\}\) is always a basis of a subspace of \(\mathbb R^n\).

(E) If \(\mathbf e_i=\mathbf a+i\mathbf b\), then \(\mathbf a\) and \(\mathbf b\) are always linearly independent.

(A) \(n\times n\) 有 \(n\) 個 independent eigenvector → diagonalizable → T

(B) \(A=I\) 可對角化,eigenvalue 全是 1 → T

(C) trace \(=\) eigenvalue 的和 → T

(D) independent 的向量組是它自己 span 的 basis,而 span 是 \(\mathbb R^n\) 的 subspace → T

(E) \(\mathbf e=(1+i)\begin{bmatrix}1\\2\end{bmatrix}\),\(\mathbf a=\mathbf b=\begin{bmatrix}1\\2\end{bmatrix}\) 相依;實的 eigenvector(\(\mathbf b=\mathbf 0\))也相依 → F

(A), (B), (C), (D)

25 分

If \(A\) is a \(m\times n\) matrix, \(W\) is the set of all columns of \(A\), and \(W^\perp\) is the orthogonal complement of \(W\), then

(A) \(W\) is always a subspace.

(B) \(W^\perp\) is always a subspace.

(C) \((W^\perp)^\perp=W\).

(D) The intersection of \(W\) and \(W^\perp\) is always not an empty set.

(E) \(\dim W^\perp+\dim(W^\perp)^\perp=n\).

\(W=\{\mathbf a_1,\ldots,\mathbf a_n\}\) 只是 \(n\) 個向量的集合,向量住在 \(\mathbb R^m\)

(A) 集合對加法與純量乘法不封閉(例如 \(\mathbf a_1+\mathbf a_2\) 不一定在 \(W\) 裡) → F

(B) 任何集合的 orthogonal complement 都是 subspace → T

(C) \((W^\perp)^\perp=\operatorname{Span}W\),不等於 \(W\) 本身 → F

(D) \(A=I_2\):\(W=\{\mathbf e_1,\mathbf e_2\}\),\(W^\perp=\{\mathbf 0\}\),\(W\cap W^\perp=\varnothing\) → F

(E) \(W^\perp\) 與 \((W^\perp)^\perp\) 的維度相加是 \(m\)(空間是 \(\mathbb R^m\)),不是 \(n\) → F

(B)

35 分

If inconsistent linear system \(A\mathbf x=\mathbf b\) has a least-square solution \(\hat{\mathbf x}\) and \(A=[\mathbf a_1\ \mathbf a_2\ \cdots\ \mathbf a_n]\), which are correct?

(A) \(\hat{\mathbf x}\) is always existed.

(B) \(\hat{\mathbf x}\) is always unique.

(C) \(A\hat{\mathbf x}\) is always in \(\operatorname{span}\{\mathbf a_1,\mathbf a_2,\ldots,\mathbf a_n\}\).

(D) \(\hat{\mathbf x}=(A^TA)^{-1}A^T\mathbf b\).

(E) \(A\hat{\mathbf x}-\mathbf b\) is orthogonal to rows of \(A\).

normal equation:\(A^TA\hat{\mathbf x}=A^T\mathbf b\)

(A) normal equation 恆有解 → T

(B) \(A\) 的 column 相依時有無窮多組解 → F

(C) \(A\hat{\mathbf x}=\hat x_1\mathbf a_1+\cdots+\hat x_n\mathbf a_n\) → T

(D) 寫出 \((A^TA)^{-1}\) 就是預設 \(A^TA\) 可逆(column 獨立),此時 \(\hat{\mathbf x}=(A^TA)^{-1}A^T\mathbf b\) 是 normal equation 的解 → T

(E) \(A^T(A\hat{\mathbf x}-\mathbf b)=\mathbf 0\),垂直的是 \(A\) 的 column,不是 row → F

(D) 公式的前提是 \(A\) 的 column 獨立(\(A^TA\) 可逆);column 相依時沒有這個公式(此時 (B) 的唯一性也不成立)

(A), (C), (D)

45 分

If \(A\) can be QR factorization, which are correct?

(A) \(A\) is a square matrix.

(B) \(A\) has linearly independent columns.

(C) \(QQ^T=I\), where \(I\) is an identity matrix.

(D) \(Q\) has positive entries on its diagonal.

(E) \(R\) is invertible.

QR factorization 的標準定理:\(m\times n\) 且 column 獨立的 \(A=QR\),\(Q\) 是 \(m\times n\)、column orthonormal,\(R\) 是 \(n\times n\) 上三角、對角線為正

(A) \(m\times n\) 即可,不必方陣 → F

(B) 定理的條件 → T

(C) \(Q^TQ=I\);\(Q\) 不是方陣時 \(QQ^T\ne I\) → F

(D) 「對角線為正」是 \(R\) 的性質,與 \(Q\) 無關 → F

(E) \(R\) 上三角、對角線皆正 → 可逆 → T

(B), (E)

55 分

If \(A\) is a symmetric matrix. Which are correct?

(A) \(A\) is always diagonalizable.

(B) \(A\) has linearly independent eigenvectors.

(C) \(A\) always has real eigenvalues.

(D) The eigenvalues of \(A\) are always positive.

(E) \(A\) can always be spectral decomposed, \(A=\lambda_1\mathbf u_1\mathbf u_1^T+\lambda_2\mathbf u_2\mathbf u_2^T+\cdots+\lambda_n\mathbf u_n\mathbf u_n^T\).

(A)(B) symmetric 可正交對角化,有 \(n\) 個 independent(orthonormal)eigenvector → T

(C) eigenvalue 全是實數 → T

(D) \(-I\) 是 symmetric,eigenvalue 為 \(-1\) → F

(E) \(A=PDP^T\) 展開即得 → T

(A), (B), (C), (E)

65 分

Suppose that \(n\times n\) matrix \(A\) is invertible. Which of the following statements are true?

(A) The row vectors of \(A\) should be linearly independent.

(B) \(\det(A)=0\)

(C) \(A\) does not have eigenvalue 0.

(D) The rank of \(A\) is \(n\).

(E) \(A\mathbf x=\mathbf 0\) has nontrivial solution.

invertible \(\iff\) rank \(=n\) \(\iff\) \(\det\ne0\) \(\iff\) row/column 獨立 \(\iff\) \(A\mathbf x=\mathbf 0\) 只有零解 \(\iff\) 0 不是 eigenvalue

(A) T (B) F(\(\det\ne0\)) (C) T (D) T (E) F(只有 trivial solution)

(A), (C), (D)

75 分

Suppose that \(A\) and \(B\) are two square matrices. Determine which of the following are true.

(A) \(\det(AB)=\det(A)\det(B)\).

(B) \(\det(A)=\det(A^T)\).

(C) \(\det(AB)=\det(BA)\).

(D) \(\det(A^{-1})=1/\det(A)\) if \(A^{-1}\) exists.

(E) \(\det(A^k)=(\det(A))^k\).

(A) product rule → T

(B) \(\det A=\det A^T\) → T

(C) \(\det(AB)=\det A\det B=\det B\det A=\det(BA)\) → T

(D) \(\det A\cdot\det A^{-1}=\det I=1\) → T

(E) product rule 連用 \(k\) 次 → T

(A), (B), (C), (D), (E)

85 分

Determine which of the following statements are true.

(A) \(W=\{(x,y)\mid x+y=1\}\) is a subspace.

(B) \(W=\{(x,y)\mid x\gt3y\}\) is a subspace.

(C) Suppose that \(W_1\) and \(W_2\) are two subspaces. Then \(W_1\cap W_2\) is also a subspace.

(D) Suppose that \(W_1\) and \(W_2\) are two subspaces. Then \(W_1\cup W_2\) is also a subspace.

(E) \(W=\{a_0+a_1x+a_2x^2\mid a_0,a_1,a_2\text{ are scalar, and }a_2\ne0\}\) is a subspace.

(A) \((0,0)\) 不滿足 \(x+y=1\),不含零向量 → F

(B) \((0,0)\) 不滿足 \(x\gt3y\)(\(0\gt0\) 不成立);\((4,1)\) 在裡面但 \(-1\cdot(4,1)\) 不在 → F

(C) 交集含零向量,對加法與純量乘法封閉 → T

(D) \(\operatorname{Span}\{(1,0)\}\cup\operatorname{Span}\{(0,1)\}\):\((1,0)+(0,1)=(1,1)\) 不在聯集裡 → F

(E) 零多項式 \(a_2=0\) 不在裡面(且 \(x^2+(-x^2)=0\)) → F

(C)

95 分

Suppose that \(A=\begin{bmatrix}\cos\theta&-\sin\theta\\ \sin\theta&\cos\theta\end{bmatrix}\) and \(B=\begin{bmatrix}1&0\\0&0\end{bmatrix}\) are the standard matrices of the two transformations, \(T_1\) and \(T_2\), respectively. Which of the following statements are correct?

(A) \(T_1\) is a linear transformation.

(B) \(T_1\) is the transformation that counter-clockwisely rotates each vector through an angle \(\theta\).

(C) \(T_1\) is the transformation that clockwisely rotates each vector through an angle \(\theta\).

(D) \(A^{-1}=\begin{bmatrix}\cos\theta&\sin\theta\\-\sin\theta&\cos\theta\end{bmatrix}\).

(E) \(T_2\) is the transformation that orthogonally projects each vector onto \(x\)-axis.

(A) \(T_1(\mathbf x)=A\mathbf x\) 由矩陣定義 → T

(B) 標準的逆時針旋轉矩陣 → T

(C) 順時針是 \(\theta\to-\theta\),矩陣為 \(\begin{bmatrix}\cos\theta&\sin\theta\\-\sin\theta&\cos\theta\end{bmatrix}\) → F

(D) \(A\) orthogonal,\(A^{-1}=A^T\) → T

(E) \(B\begin{bmatrix}x\\y\end{bmatrix}=\begin{bmatrix}x\\0\end{bmatrix}\) → T

(A), (B), (D), (E)

105 分

Suppose that two \(n\times n\) matrices, \(A\) and \(B\), are orthogonal. Which of the following statements are correct?

(A) \(A^{-1}\) is orthogonal.

(B) \(\det(A)=1\) or \(-1\).

(C) Columns of \(A\) form an orthonormal set in \(\mathbb R^n\) with the Euclidean inner product.

(D) \(AB\) is an orthogonal matrix.

(E) \(A^TABB^T=I\), where \(I\) is an identity matrix.

orthogonal \(\iff\) \(A^TA=AA^T=I\)

(A) \((A^{-1})^TA^{-1}=AA^T=I\) → T

(B) \(\det(A)^2=\det(A^TA)=1\) → T

(C) \(A^TA=I\) 就是 column orthonormal → T

(D) \((AB)^T(AB)=B^TA^TAB=B^TB=I\) → T

(E) \(A^TA=I\)、\(BB^T=I\) → \(I\cdot I=I\) → T

(A), (B), (C), (D), (E)

115 分

Given a function \(f\) from \(A\) to \(B\) and \(f(a)=b\) (where \(a\in A\) and \(b\in B\)), which of the following statements are correct?

(A) \(A\) is the domain of \(f\).

(B) \(B\) is the range of \(f\).

(C) \(f\in B^A\).

(D) \(b\) is the image of \(a\) under \(f\).

(E) \(a\) is the pre-image of \(b\) under \(f\).

(A) \(A\) 是 domain → T

(B) \(B\) 是 codomain;range \(=\{f(x):x\in A\}\subseteq B\),不一定等於 \(B\) → F

(C) \(B^A\) 是從 \(A\) 到 \(B\) 的所有函數所成的集合 → \(f\in B^A\) → T

(D) \(f(a)=b\) 就是「\(b\) 是 \(a\) 的 image」 → T

(E) \(f(a)=b\) 就是「\(a\) 是 \(b\) 的一個 preimage」 → T

(E) 不一定只有 \(a\) 一個元素映到 \(b\),說「a 是 b 的 preimage」成立;(C) 的 \(B^A\) 是標準記號(\(|B^A|=|B|^{|A|}\))

(A), (C), (D), (E)

125 分

Given the following piece of code, which of the following statements are correct?

int Fibonacci(int n)
begin
  if (n == 0) or (n == 1)
    return 1;
  else
    return Fibonacci(n - 1) + Fibonacci(n - 2);
  endif
end

(A) This function computes Fibonacci series.

(B) This is a recursive function.

(C) The growth rate of this function is proportional to the current value of the function.

(D) The time complexity \(T(n)\), where \(n\) is the argument of the function, is also a Fibonacci series.

(E) The time complexity can be reduced if the function is designed to be iterative.

傳回 \(1,1,2,3,5,8,\ldots\) → Fibonacci 數列

(A) \(F(n)=F(n-1)+F(n-2)\) → T

(B) 自己呼叫自己 → T

(C) \(F(n+1)-F(n)=F(n-1)\approx F(n)/\varphi\),成長量與目前的值成正比(指數成長) → T

(D) \(T(n)=T(n-1)+T(n-2)+c\);多了常數 \(c\),\(T(n)+c\) 才是 Fibonacci 遞迴 → F

(E) 迭代版由小到大算,\(O(n)\)(遞迴版是 \(\Theta(\varphi^n)\)) → T

(D) 若放寬成「遞迴式與 Fibonacci 同形(Fibonacci-like)」也可視為 T;嚴格看 \(T(n)\) 的值不是 Fibonacci 數

(A), (B), (C), (E)

135 分

Which of the following statements about basic number theory are correct?

(A) \(a\mid0\) for any \(a\).

(B) If \(a\) and \(b\) are positive integers, then there exist integers \(s\) and \(t\) such that \(\gcd(a,b)=sa+tb\).

(C) If \(m\) is a prime integer, then an inverse of \(a\) modulo \(m\) exists.

(D) To satisfy equations \(x\equiv1\pmod3\), \(x\equiv2\pmod5\), and \(x\equiv3\pmod7\), 52 is the only solution.

(E) If \(p\) is prime and \(a\) is an integer not divisible by \(p\), then \(a^p\equiv a\pmod p\).

(A) \(0=a\cdot0\) → T

(B) Bézout → T

(C) \(a\equiv0\pmod m\) 時沒有 inverse(例 \(3x\equiv1\pmod3\) 無解) → F

(D) CRT 的解是 \(52+105k\)(\(k\in\mathbb Z\)),不是唯一一個整數 → F

(E) \(a^{p-1}\equiv1\),兩邊乘 \(a\) → T

(A), (B), (E)

145 分

There are 80 students in the class, which of the following statements are correct according to the pigeonhole principle?

(A) There is at least one student's birthday in each and every week.

(B) There are at most 2 students whose birthday are in the same week.

(C) There is at least one week in which at least 2 students have birthday.

(D) There are at least seven students who were born with the same astrological sign (星座).

(E) There is at most one astrological sign (星座) to which more than seven students belong.

一年 52(或 53)週、12 個星座

(A) 80 人可以全部同一週生日,不保證每週都有人 → F

(B) 同上,可以有 80 人同一週 → F

(C) \(\lceil80/52\rceil=2\)(53 週也是 2) → T

(D) \(\lceil80/12\rceil=7\) → T

(E) 40 人獅子座、40 人處女座,兩個星座都超過 7 人 → F

(C), (D)

155 分

Which of the following statements about hypercube are correct?

(A) \(Q_0\) has 1 node.

(B) For any integer \(n\gt1\), the hypercube \(Q_n\) is a simple graph consisting of four copies of \(Q_{n-1}\) connected together at corresponding nodes.

(C) \(Q_n\) has \(2^n\) nodes.

(D) The recurrence relation of the number of edges for \(Q_n\), denoted as \(E(n)\), is \(E(n)=2E(n-1)+2^n\).

(E) \(Q_n\) has \(n\cdot2^{n-1}\) edges.

(A) \(Q_0\) 是單一個點 → T

(B) \(Q_n\) 是兩個 \(Q_{n-1}\) 的對應點相連,不是四個 → F

(C) 點 \(=\) 長 \(n\) 的 0/1 字串 → \(2^n\) → T

(D) 兩份 \(Q_{n-1}\) 加 \(2^{n-1}\) 條連線:\(E(n)=2E(n-1)+2^{n-1}\),不是 \(2^n\) → F

(E) \(E(n)=n2^{n-1}\)(每點 degree \(n\),\(n2^n/2\)) → T

(A), (C), (E)

165 分

The worst case time complexity for Euclid's algorithm to find \(\gcd(a,b)\) (\(a,b\in\mathbb Z\)) is (suppose \(n=\max(a,b)\)):

(A) \(\Theta(n)\). (B) \(O(\log n)\). (C) \(\Theta(\log n)\). (D) \(\Theta(n\log n)\). (E) none of the above.

worst case 是相鄰 Fibonacci 數(Lamé):\(\gcd(F_{k+1},F_k)\) 做 \(k-1\) 步,\(F_k\approx\varphi^k\) → \(k=\Theta(\log n)\)

(A)(D) F (B) 上界正確 → T (C) 上下界都是 \(\log n\) → T (E) F

(B), (C)

175 分

Among the following options, which are necessary but not sufficient conditions for the corresponding goals?

(A) "A set of total-order predicates" for "applying mathematical induction proof on those predicates".

(B) Assume \(g,f\) are functions mapping from \(A\) to \(B\) domains, and \(C\) to \(D\), respectively. "\(B,C\) are the same domain" for "\((f\circ g)\) composition is possible".

(C) "existing exponential time algorithm" for "intractable (NP) problems".

(D) "\(X\) is a student and \(X\) is in the class" for "\(X\) is in the class only if \(X\) is a student".

(E) "\(f\) is \(O(g)\)" for "\(f\) is \(\Theta(g)\)".

(A) 做歸納需要 well-ordered,well-ordered 一定 total order,反過來不成立 → 必要、不充分 → T

(B) \(g:A\to B\)、\(f:C\to D\):\(f\circ g\) 只要 \(g\) 的值域落在 \(C\) 內就行,\(B=C\) 是充分、不必要 → F

(C) NP 問題都有 exponential 演算法(\(NP\subseteq EXP\)),但有 exponential 演算法不代表 intractable → 必要、不充分 → T

(D) 「in the class only if student」只要求「在教室的人是學生」,不要求 \(X\) 真的在教室 → F

(E) \(\Theta(g)\Rightarrow O(g)\),反過來不成立 → T

(A), (C), (E)

185 分

To analyze the complexity of the following procedure \(P\), we will use the following assumptions: Suppose \(P\) and \(Q\) are both procedures. \(Q\) takes \(\Theta(\sqrt m)\) time to compute, where \(m\) is the size of input; each statement line in and outside the loop counts 1 step.

Procedure P( array1[a1, a2, ..., an] )
1. if n<5 exit.
2. declare initially new empty array2, array3;
3. call Q(array1);
4. for (i=1 to n) {
5.   if ((i mod 5)=1) { insert a_i into array2; }
6.   if ((i mod 5)=3) { insert a_i into array3; }
   }
7. call P(array2);
8. call P(array3);
9. return();

Suppose \(n\) is a number of power of 5, what can be the time complexity level of the procedure \(P\) in the question above?

(A) \(\Theta(n)\) (B) \(\Theta(\sqrt n\log n)\) (C) \(\Theta(\sqrt n)\) (D) \(O(n^{\log_52})\) (E) \(O(\sqrt n\log n)\)

每行敘述算 1 step(迴圈內的行也只算一次),所以非遞迴部分只剩第 3 行的 \(Q\):\(\Theta(\sqrt n)\)

array2、array3 各拿到 \(i\bmod5=1\)、\(i\bmod5=3\) 的元素,各 \(n/5\) 個

\(T(n)=2T(n/5)+\Theta(\sqrt n)\)

\(n^{\log_52}=n^{0.43\ldots}\lt n^{1/2}\) → Master theorem case 3:\(T(n)=\Theta(\sqrt n)\)(regularity:\(2\sqrt{n/5}\le c\sqrt n\),\(c=2/\sqrt5\lt1\))

(A)(B) F (C) T (D) \(n^{0.43}\) 比 \(\sqrt n\) 小,不是上界 → F (E) \(\Theta(\sqrt n)\) 也是 \(O(\sqrt n\log n)\) → T

若連迴圈的 \(n\) 次迭代都計成步數,則 \(T(n)=2T(n/5)+\Theta(n)=\Theta(n)\);題目的 \(Q\) 成本 \(\sqrt n\) 與 \(2T(n/5)\) 的比較才有意義,故取迴圈不計次的讀法

(C), (E)

195 分

We want to count the number of ways to climb \(n\) stairs if the climbing person can take one stair or two stairs at a time. What of the following can be the recurrence relation for our question? (initial condition: \(a_0=1;\ a_1=1\))

(A) \(a_n=a_{n-1}+1\). (B) \(a_n=a_{n-2}+3\). (C) \(a_n=2a_{n-2}+1\). (D) \(a_n=a_{n-1}+a_{n-2}\). (E) none of the above.

最後一步走 1 階(前面 \(a_{n-1}\) 種)或 2 階(前面 \(a_{n-2}\) 種) → \(a_n=a_{n-1}+a_{n-2}\)

數列 \(1,1,2,3,5,\ldots\);(A) 得 \(a_4=4\ne5\)、(B) 得 \(a_2=4\ne2\)、(C) 得 \(a_2=3\ne2\)

(D)

205 分

To solve the recurrence relation in 19., what can be the generating function \(f(z)\)?

(A) \(f(z)=1/(1-z-z^2)\).

(B) \(f(z)=z/(1-z-z^2)\).

(C) \(f(z)=\dfrac1{\sqrt5}\left(\dfrac1{1-\frac{1+\sqrt5}2z}-\dfrac1{1+\frac{1-\sqrt5}2z}\right)\).

(D) \(f(z)=\dfrac2{1-z}+\dfrac{2-3z}{(1+2z)^2}\).

(E) none of the above.

\(f(z)=\sum a_nz^n\),\(a_n=a_{n-1}+a_{n-2}\)(\(n\ge2\))

\(f-1-z=z(f-1)+z^2f\) → \((1-z-z^2)f=1\) → \(f(z)=\dfrac1{1-z-z^2}\)

(B) \(z/(1-z-z^2)\) 是 \(F_0=0\) 的版本,\(a_0=0\) → F

(C) \(z=0\) 代入得 0,而 \(f(0)=a_0=1\) → F

(D) \(z=0\) 代入得 4,不是 1 → F

(A)

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

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

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

其他年度與考科

同一年的其他科

同一科的其他年度

聯絡我們

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

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

william.chou.123123@gmail.com