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

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

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

逐題詳解

110 分

Given that \(A\) and \(B\) both are \(5\times5\) matrices, where \(\det(A)=2\) and \(\det(B)=3\). (a) Calculate \(\det(-A^{-1}B^{3})\). (b) Calculate \(\det\bigl((3A)^{T}(2B)^{-1}\bigr)\).

用 \(\det(kM)=k^{n}\det M\)(\(n=5\))、\(\det(XY)=\det X\det Y\)、\(\det M^{T}=\det M\)、\(\det M^{-1}=1/\det M\)

(a) \(\det(-A^{-1}B^{3})=(-1)^{5}\cdot\dfrac1{\det A}\cdot(\det B)^{3}=-\dfrac12\cdot27\)

\(-\dfrac{27}{2}\)

(b) \(\det((3A)^{T})=\det(3A)=3^{5}\cdot2=486\)

\(\det((2B)^{-1})=\dfrac1{2^{5}\cdot3}=\dfrac1{96}\)

\(\dfrac{486}{96}=\dfrac{81}{16}\)

210 分

(a) Given that \(C=\begin{bmatrix}1&1\\1&1\end{bmatrix}\). Find the space of all \(2\times2\) matrices \(E\) such that \(EC=\begin{bmatrix}0&0\\0&0\end{bmatrix}\). (b) Given a \(m\times n\) matrix \(F\). Determine the value of \(\dim(\ker(F))+\dim(\operatorname{im}(F^{T}))\) in terms of \(m\) and \(n\), where \(\dim(\ker(F))\) is the dimension of the kernel of \(F\) and \(\dim(\operatorname{im}(F^{T}))\) is the dimension of the image of \(F^{T}\).

(a) \(E=\begin{bmatrix}a&b\\c&d\end{bmatrix}\),\(EC=\begin{bmatrix}a+b&a+b\\c+d&c+d\end{bmatrix}=0\) → \(b=-a\),\(d=-c\)

\(E=a\begin{bmatrix}1&-1\\0&0\end{bmatrix}+c\begin{bmatrix}0&0\\1&-1\end{bmatrix}\)

\(\Bigl\{\begin{bmatrix}a&-a\\c&-c\end{bmatrix}\Bigr\}=\text{span}\Bigl\{\begin{bmatrix}1&-1\\0&0\end{bmatrix},\begin{bmatrix}0&0\\1&-1\end{bmatrix}\Bigr\}\),維度 2

(b) \(F\) 是 \(m\times n\),\(\ker F\subseteq R^{n}\):rank–nullity \(\dim\ker F=n-\operatorname{rank}F\)

\(\operatorname{im}(F^{T})\) 是 \(F\) 的列空間,\(\dim=\operatorname{rank}F^{T}=\operatorname{rank}F\)

\((n-\operatorname{rank}F)+\operatorname{rank}F=n\)

\(n\)

310 分

Find the orthogonal projection of \((2,0,1,0)\) on to the subspace of \(R^{4}\) spanned by the following three vectors \((-1,-1,1,1),(2,-2,-2,2)\) and \((3,3,3,3)\).

\(\mathbf v_1=(-1,-1,1,1)\),\(\mathbf v_2=(2,-2,-2,2)\),\(\mathbf v_3=(3,3,3,3)\),\(\mathbf x=(2,0,1,0)\)

先看是否兩兩正交:\(\mathbf v_1\cdot\mathbf v_2=-2+2-2+2=0\);\(\mathbf v_1\cdot\mathbf v_3=-3-3+3+3=0\);\(\mathbf v_2\cdot\mathbf v_3=6-6-6+6=0\) → 正交基底,直接逐個投影相加

\(\mathbf x\cdot\mathbf v_1=-1\),\(\mathbf v_1\cdot\mathbf v_1=4\) → \(-\tfrac14\mathbf v_1=(\tfrac14,\tfrac14,-\tfrac14,-\tfrac14)\)

\(\mathbf x\cdot\mathbf v_2=2\),\(\mathbf v_2\cdot\mathbf v_2=16\) → \(\tfrac18\mathbf v_2=(\tfrac14,-\tfrac14,-\tfrac14,\tfrac14)\)

\(\mathbf x\cdot\mathbf v_3=9\),\(\mathbf v_3\cdot\mathbf v_3=36\) → \(\tfrac14\mathbf v_3=(\tfrac34,\tfrac34,\tfrac34,\tfrac34)\)

相加:\(\bigl(\tfrac14+\tfrac14+\tfrac34,\ \tfrac14-\tfrac14+\tfrac34,\ -\tfrac14-\tfrac14+\tfrac34,\ -\tfrac14+\tfrac14+\tfrac34\bigr)\)

驗算:\(\mathbf x-\mathbf p=(\tfrac34,-\tfrac34,\tfrac34,-\tfrac34)\) 與 \(\mathbf v_1,\mathbf v_2,\mathbf v_3\) 的內積都是 0 ✓

\(\Bigl(\dfrac54,\ \dfrac34,\ \dfrac14,\ \dfrac34\Bigr)\)

410 分

Find the kernel and image of the linear transformation \(L\) from \(R^{n\times n}\) to \(R^{n\times n}\), which is expressed as \(L(V)=\dfrac12(V-V^{T})\), where \(V\) is an arbitrary \(n\times n\) matrix.

kernel:\(L(V)=0\) ⇔ \(V=V^{T}\)

kernel = 所有 \(n\times n\) 對稱矩陣,維度 \(\dfrac{n(n+1)}2\)

image:\(L(V)^{T}=\tfrac12(V^{T}-V)=-L(V)\),輸出一定是反對稱(skew-symmetric)矩陣

反過來,任一個反對稱 \(S\)(\(S^{T}=-S\)):\(L(S)=\tfrac12(S-S^{T})=\tfrac12(2S)=S\),所以 \(S\) 在 image 裡

image = 所有 \(n\times n\) 反對稱矩陣,維度 \(\dfrac{n(n-1)}2\)

驗算:\(\dfrac{n(n+1)}2+\dfrac{n(n-1)}2=n^{2}=\dim R^{n\times n}\)(rank–nullity)✓

ker \(L=\{V\mid V^{T}=V\}\)(對稱矩陣);im \(L=\{S\mid S^{T}=-S\}\)(反對稱矩陣)

510 分

Let \(M=\begin{bmatrix}3&0&4\\5&0&0\end{bmatrix}\). (a) Determine whether \(M^{T}M\) is diagonalizable or not. If \(M^{T}M\) is diagonalizable, find a diagonalization for it. (b) Find the singular value decomposition of \(M\).

(a) \(M^{T}M=\begin{bmatrix}3&5\\0&0\\4&0\end{bmatrix}\begin{bmatrix}3&0&4\\5&0&0\end{bmatrix}=\begin{bmatrix}34&0&12\\0&0&0\\12&0&16\end{bmatrix}\) 是實對稱矩陣

實對稱矩陣可正交對角化(spectral theorem) → diagonalizable

非零特徵值與 \(MM^{T}=\begin{bmatrix}25&15\\15&25\end{bmatrix}\) 相同:\(\lambda=40,\ 10\)(\(\lambda^2-50\lambda+400=0\)),另一個是 0

\(\lambda=40\):\(\begin{bmatrix}-6&0&12\\0&-40&0\\12&0&-24\end{bmatrix}\) → \(x_1=2x_3,\ x_2=0\) → \(\dfrac1{\sqrt5}(2,0,1)^{T}\)

\(\lambda=10\):\(\begin{bmatrix}24&0&12\\0&-10&0\\12&0&6\end{bmatrix}\) → \(x_3=-2x_1,\ x_2=0\) → \(\dfrac1{\sqrt5}(1,0,-2)^{T}\)

\(\lambda=0\):\(x_1=x_3=0\) → \((0,1,0)^{T}\)

\(M^{T}M=QDQ^{T}\),\(Q=\begin{bmatrix}\tfrac2{\sqrt5}&\tfrac1{\sqrt5}&0\\0&0&1\\\tfrac1{\sqrt5}&-\tfrac2{\sqrt5}&0\end{bmatrix}\),\(D=\begin{bmatrix}40&0&0\\0&10&0\\0&0&0\end{bmatrix}\)

(b) 奇異值 \(\sigma_1=\sqrt{40}=2\sqrt{10}\),\(\sigma_2=\sqrt{10}\);\(V\) 取上面的 \(Q\)

\(\mathbf u_i=\dfrac{M\mathbf v_i}{\sigma_i}\):\(M\mathbf v_1=\dfrac1{\sqrt5}(10,10)\),除以 \(2\sqrt{10}\) → \(\mathbf u_1=\dfrac1{\sqrt2}(1,1)\)

\(M\mathbf v_2=\dfrac1{\sqrt5}(-5,5)\),除以 \(\sqrt{10}\) → \(\mathbf u_2=\dfrac1{\sqrt2}(-1,1)\)

驗算:\(U\Sigma V^{T}\) 乘回去得 \(\begin{bmatrix}3&0&4\\5&0&0\end{bmatrix}\) ✓

\(M=U\Sigma V^{T}\),\(U=\dfrac1{\sqrt2}\begin{bmatrix}1&-1\\1&1\end{bmatrix}\),\(\Sigma=\begin{bmatrix}2\sqrt{10}&0&0\\0&\sqrt{10}&0\end{bmatrix}\),\(V=Q\)

68 分

Determine whether each of the function \(f(a)=a\ \mathbf{div}\ d\) and \(g(a)=a\ \mathbf{mod}\ d\), where \(d\) is a fixed positive integer and \(d\gt1\), from the set of integers to the set of integers is one-to-one, and determine whether each of these functions is onto.

\(a\ \mathbf{div}\ d=\lfloor a/d\rfloor\),\(a\ \mathbf{mod}\ d=a-d\lfloor a/d\rfloor\in\{0,1,\dots,d-1\}\)

\(f(a)=a\ \mathbf{div}\ d\)

one-to-one:\(f(0)=f(1)=0\)(\(d\gt1\),\(0,1\) 都在 \([0,d)\) 內) → 不是 one-to-one

onto:任一整數 \(k\),\(f(kd)=k\) → 是 onto

\(g(a)=a\ \mathbf{mod}\ d\)

one-to-one:\(g(0)=g(d)=0\) → 不是 one-to-one

onto:值只會在 \(\{0,\dots,d-1\}\),到不了 \(d\) 或負數 → 不是 onto

one-to-oneonto
\(f(a)=a\ \mathbf{div}\ d\)NoYes
\(g(a)=a\ \mathbf{mod}\ d\)NoNo
78 分

Find \(\bigcup_{i=1}^{\infty}A_i\) and \(\bigcap_{i=1}^{\infty}A_i\) if for every positive integer \(i\). (1) \(A_i=\{-i,i\}\). (2) \(A_i=[i,\infty)\), that is, the set of real numbers \(x\) with \(x\ge i\).

(1) \(A_1=\{-1,1\}\),\(A_2=\{-2,2\}\),\(A_3=\{-3,3\}\),……

聯集:每個非零整數 \(k\) 都在 \(A_{|k|}\) 中,0 不在任何一個

交集:\(A_1\cap A_2=\varnothing\)

\(\bigcup A_i=\mathbb Z\setminus\{0\}\)(所有非零整數);\(\bigcap A_i=\varnothing\)

(2) \(A_1=[1,\infty)\supseteq A_2=[2,\infty)\supseteq\cdots\)(遞減)

聯集 = 最大的那個 \(A_1\);交集:任一實數 \(x\) 取整數 \(i\gt x\),\(x\notin A_i\),所以沒有數在所有 \(A_i\) 中

\(\bigcup A_i=[1,\infty)\);\(\bigcap A_i=\varnothing\)

88 分

Fuzzy logic is used in artificial intelligence. In fuzzy logic, a proposition has a truth value that is a number between 0 and 1, inclusive. A proposition with a truth value of 0 is false and one with a truth value of 1 is true. Truth values that are between 0 and 1 indicate varying degrees of the truth. For instance, the truth value 0.8 can be assigned to the statement “Fred is happy,” because Fred is happy most of the time, and the truth value 0.4 can be assigned to the statement “John is happy,” because John is happy slightly less than half the time. The truth value of the conjunction of two propositions in fuzzy logic is the minimum of the truth values of the two propositions. The truth value of the negation of a proposition in fuzzy logic is 1 minus the truth value of the proposition. The truth value of the disjunction of two propositions in fuzzy logic is the maximum of the truth values of the two propositions. We assign the truth value 0.8 to the statement “Fred is happy” and 0.4 to the statement “John is happy.” Use these truth values to answer the following questions.

(1) What is the truth value of the statement “Fred and John are happy?” (2) What is the truth value of the statement “Neither Fred nor John is happy?” (3) What is the truth value of the statement “Fred is happy, or John is not happy?” (4) What is the truth value of the statement “Fred is not happy, or John is happy?”

\(F=0.8\),\(J=0.4\);\(\neg F=0.2\),\(\neg J=0.6\);AND 取 min、OR 取 max、NOT 取 \(1-x\)

(1) \(F\wedge J=\min(0.8,0.4)\)

0.4

(2) 「Neither … nor」= \(\neg F\wedge\neg J=\min(0.2,0.6)\)

0.2

(3) \(F\vee\neg J=\max(0.8,0.6)\)

0.8

(4) \(\neg F\vee J=\max(0.2,0.4)\)

0.4

98 分

Answer “yes” or “no” for the following questions.

(1) Determine whether \(f(x)=\sqrt{x}\) is a function from R to R.

(2) If \(f(S)\) is the smallest integer \(i\) such that the \(i\)th bit of \(S\) is 1 and \(f(S)=0\) when \(S\) is the empty string, the string with no bits. Determine whether \(f\) is a function from the set of all bit strings to the set of integers.

(3) Determine whether \(f(n)=1/(n^2-4)\) is a function from Z to R.

(4) Determine whether \(f(x)=(x^2+1)/(x^2+2)\) is a bijection from R to R.

function from \(A\) to \(B\):\(A\) 裡每個元素都恰好對應到 \(B\) 的一個元素

(1) \(x\lt0\) 時 \(\sqrt x\) 不是實數,定義域 R 裡有些元素沒有對應

No

(2) 空字串有定義(0),但不是空的、全部是 0 的 bit string(例如 000)沒有「第 \(i\) 個 bit 是 1」的 \(i\),\(f(000)\) 沒有定義

No

(3) \(n=2\) 或 \(-2\) 時分母為 0

No

(4) \(f(1)=f(-1)=\tfrac23\),不是 one-to-one;\(f(x)=1-\dfrac1{x^2+2}\in[\tfrac12,1)\),不是 onto

No

106 分

Suppose that the number of bacteria in a colony grows four times every hour. (1) Set up a recurrence relation for the number of bacteria after \(n\) hours have elapsed. (2) If 10 bacteria are used to begin a new colony, how many bacteria will be in the colony in 10 hours?

(1) \(a_n\) = \(n\) 小時後的細菌數,每小時變 4 倍

\(a_n=4a_{n-1}\)

(2) \(a_0=10\) → \(a_n=10\cdot4^{n}\),\(a_{10}=10\cdot4^{10}=10\cdot1{,}048{,}576\)

\(10\cdot4^{10}=10{,}485{,}760\)

116 分

If \(m\) is a positive integer, the integer \(a\) is a quadratic residue of \(m\) if \(\gcd(a,m)=1\) and the congruence \(x^2\equiv a\pmod m\) has a solution. In other words, a quadratic residue of \(m\) is an integer relatively prime to \(m\) that is a perfect square modulo \(m\). If \(a\) is not a quadratic residue of \(m\) and \(\gcd(a,m)=1\), we say that it is a quadratic nonresidue of \(m\). For example, 2 is a quadratic residue of 7 because \(\gcd(2,7)=1\) and \(3^2\equiv2\pmod7\) and 3 is a quadratic nonresidue of 7 because \(\gcd(3,7)=1\) and \(x^2\equiv3\pmod7\) has no solution. Which integers are quadratic residues of 11?

11 是質數,\(\gcd(a,11)=1\) ⇔ \(11\nmid a\)。算 \(x=1,\dots,10\) 的 \(x^2\bmod11\):

\(x\)12345678910
\(x^2\bmod11\)1495335941

\(x\) 與 \(11-x\) 的平方相同,所以只出現 5 個不同的值:1, 3, 4, 5, 9

\(a\equiv1,3,4,5,9\pmod{11}\)(共 5 個剩餘類;其餘 2, 6, 7, 8, 10 是 nonresidue)

126 分

Find the number of solutions of \(e_1+e_2+e_3=17\), where \(e_1,e_2\), and \(e_3\) are nonnegative integers with \(2\le e_1\le5\), \(3\le e_2\le6\), and \(4\le e_3\le7\).

令 \(f_1=e_1-2,\ f_2=e_2-3,\ f_3=e_3-4\):\(0\le f_i\le3\),\(f_1+f_2+f_3=17-9=8\)

inclusion–exclusion:

無上限:\(\dbinom{8+2}{2}=45\)

扣掉某個 \(f_i\ge4\)(令 \(f_i'=f_i-4\),和為 4):\(3\times\dbinom{4+2}{2}=3\times15=45\)

加回兩個都 \(\ge4\)(和為 0):\(3\times1=3\);三個都 \(\ge4\) 要和 ≥ 12,不可能

\(45-45+3=3\)

另一個看法:每個 \(f_i\le3\),最大總和 9,要 8,表示只有一個 \(f_i\) 比上限少 1,3 種:\((e_1,e_2,e_3)=(4,6,7),(5,5,7),(5,6,6)\)

3

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

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

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

其他年度與考科

同一年的其他科

同一科的其他年度

聯絡我們

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

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

william.chou.123123@gmail.com