108 年 國立臺灣大學生物機電系碩士班丙組《線性代數(C)》

📄 試題原卷 免費註冊後即可對照原始考卷 PDF免費註冊

第 1 題

Suppose T is a function of transformation.
(a) What is the definition of linear transformation?
(b) Suppose T is defined as:

T(x1x2x3)=(2x1+x3x12+3x22)T \begin{pmatrix} x_1 \\ x_2 \\ x_3 \end{pmatrix} = \begin{pmatrix} 2x_1+x_3 \\ x_1^2 + 3x_2^2 \end{pmatrix}

Is T linear? If it is linear, find its matrix. If it is not linear, give an example that shows why not.

登入後即可作答並保存紀錄。

這一題的完整詳解

核心觀念

本題考查「線性轉換」的定義與判斷方法。

若 T:V→WT:V\to W 為函數,則 TT 是線性轉換,必須同時滿足:

  1. 可加性

    T(u+v)=T(u)+T(v)T(\mathbf{u}+\mathbf{v})=T(\mathbf{u})+T(\mathbf{v})

  2. 齊次性

    T(cu)=cT(u)T(c\mathbf{u})=cT(\mathbf{u})

其中 u,v∈V\mathbf{u},\mathbf{v}\in V,cc 為純量。

線性轉換通常可表示為矩陣乘法:

T(x)=AxT(\mathbf{x})=A\mathbf{x}

因此各分量只能是輸入變數的一次式,不能出現平方、乘積、三角函數等非線性項。


解題方法

題目給定

T(x1x2x3)=(2x1+x3x12+3x22)T\begin{pmatrix}x_1\\x_2\\x_3\end{pmatrix} = \begin{pmatrix} 2x_1+x_3\\ x_1^2+3x_2^2 \end{pmatrix}

可由兩種方式判斷:

  • 觀察輸出是否含有非一次項;
  • 找一組向量與純量,直接檢驗齊次性或可加性。

由於第二個分量含有 x12x_1^2 與 x22x_2^2,已經不是輸入變數的一次式,因此可預期 TT 不是線性轉換。以下用反例完整驗證。


(a) 線性轉換的定義

TT 是線性轉換,若對任意向量 u,v\mathbf{u},\mathbf{v} 與任意純量 cc,皆滿足:

T(u+v)=T(u)+T(v)T(\mathbf{u}+\mathbf{v})=T(\mathbf{u})+T(\mathbf{v})

以及

T(cu)=cT(u)T(c\mathbf{u})=cT(\mathbf{u})

也可合併寫成:

T(cu+dv)=cT(u)+dT(v)T(c\mathbf{u}+d\mathbf{v}) = cT(\mathbf{u})+dT(\mathbf{v})

其中 c,dc,d 為任意純量。


(b) 判斷 TT 是否為線性轉換

取向量

u=(010)\mathbf{u} = \begin{pmatrix} 0\\1\\0 \end{pmatrix}

先計算 T(u)T(\mathbf{u}):

T(u)=T(010)=(2(0)+002+3(1)2)=(03)T(\mathbf{u}) = T\begin{pmatrix}0\\1\\0\end{pmatrix} = \begin{pmatrix} 2(0)+0\\ 0^2+3(1)^2 \end{pmatrix} = \begin{pmatrix} 0\\3 \end{pmatrix}

取純量 c=2c=2,則

🔒

後續完整解題步驟與【答案】

免費註冊,享三天全站完整詳解閱覽。

免費註冊

第 2 題

Let A denote a rotation matrix:

A=[cos⁡θ−sin⁡θsin⁡θcos⁡θ]=[3/2−1/21/23/2]A = \begin{bmatrix} \cos\theta & -\sin\theta \\ \sin\theta & \cos\theta \end{bmatrix} = \begin{bmatrix} \sqrt{3}/2 & -1/2 \\ 1/2 & \sqrt{3}/2 \end{bmatrix}

(a) Find the angle of θ\theta.
(b) Find the characteristic polynomial of A, and use it to find all eigenvalues of A or to show that none exist.
(c) Compute A2011A^{2011}.

登入後即可作答並保存紀錄。

這一題的完整詳解

這題考察旋轉矩陣的性質、特徵多項式、特徵值以及矩陣的冪次計算。

首先,我們給定的矩陣是:

A=[cos⁡θ−sin⁡θsin⁡θcos⁡θ]=[3/2−1/21/23/2]A = \begin{bmatrix} \cos\theta & -\sin\theta \\ \sin\theta & \cos\theta \end{bmatrix} = \begin{bmatrix} \sqrt{3}/2 & -1/2 \\ 1/2 & \sqrt{3}/2 \end{bmatrix}

(a) 找出角度 θ\theta:
比較矩陣中的對應元素,我們可以得到:
cos⁡θ=32\cos\theta = \frac{\sqrt{3}}{2}
sin⁡θ=12\sin\theta = \frac{1}{2}
這個角度 θ\theta 滿足 0≤θ<2π0 \le \theta < 2\pi 的話,是 θ=π6\theta = \frac{\pi}{6} (或 30 度)。

【答案】
θ=π6\theta = \frac{\pi}{6}

(b) 求特徵多項式與特徵值:
特徵多項式 p(λ)=det⁡(A−λI)p(\lambda) = \det(A - \lambda I)。

A−λI=[cos⁡θ−λ−sin⁡θsin⁡θcos⁡θ−λ]A - \lambda I = \begin{bmatrix} \cos\theta - \lambda & -\sin\theta \\ \sin\theta & \cos\theta - \lambda \end{bmatrix} det⁡(A−λI)=(cos⁡θ−λ)(cos⁡θ−λ)−(−sin⁡θ)(sin⁡θ)=(cos⁡θ−λ)2+sin⁡2θ=cos⁡2θ−2λcos⁡θ+λ2+sin⁡2θ=λ2−2λcos⁡θ+1\det(A - \lambda I) = (\cos\theta - \lambda)(\cos\theta - \lambda) - (-\sin\theta)(\sin\theta) = (\cos\theta - \lambda)^2 + \sin^2\theta = \cos^2\theta - 2\lambda\cos\theta + \lambda^2 + \sin^2\theta = \lambda^2 - 2\lambda\cos\theta + 1

將 θ=π6\theta = \frac{\pi}{6} 代入,cos⁡θ=32\cos\theta = \frac{\sqrt{3}}{2}:
p(λ)=λ2−2λ(32)+1=λ2−3λ+1p(\lambda) = \lambda^2 - 2\lambda\left(\frac{\sqrt{3}}{2}\right) + 1 = \lambda^2 - \sqrt{3}\lambda + 1

接著,我們找出特徵值,即 p(λ)=0p(\lambda) = 0 的根。
λ2−3λ+1=0\lambda^2 - \sqrt{3}\lambda + 1 = 0
使用二次公式 λ=−b±b2−4ac2a\lambda = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}:
λ=3±(−3)2−4(1)(1)2(1)\lambda = \frac{\sqrt{3} \pm \sqrt{(-\sqrt{3})^2 - 4(1)(1)}}{2(1)}
λ=3±3−42\lambda = \frac{\sqrt{3} \pm \sqrt{3 - 4}}{2}
λ=3±−12\lambda = \frac{\sqrt{3} \pm \sqrt{-1}}{2}
λ=3±i2\lambda = \frac{\sqrt{3} \pm i}{2}

所以,特徵值為 λ1=32+12i\lambda_1 = \frac{\sqrt{3}}{2} + \frac{1}{2}i 和 λ2=32−12i\lambda_2 = \frac{\sqrt{3}}{2} - \frac{1}{2}i。

🔒

後續完整解題步驟與【答案】

免費註冊,享三天全站完整詳解閱覽。

免費註冊

第 3 題

Let A be the following matrix:

A=[300041025]A = \begin{bmatrix} 3 & 0 & 0 \\ 0 & 4 & 1 \\ 0 & 2 & 5 \end{bmatrix}

(a) Find the eigenvalues of A.
(b) Find bases for the eigenspaces of A.
(c) Write down an invertible matrix P and a diagonal matrix D such that A=PDP−1A = PDP^{-1}.

登入後即可作答並保存紀錄。

這一題的完整詳解

這題是關於矩陣的特徵值、特徵向量以及矩陣的對角化。

給定的矩陣為:

A=[300041025]A = \begin{bmatrix} 3 & 0 & 0 \\ 0 & 4 & 1 \\ 0 & 2 & 5 \end{bmatrix}

(a) 求特徵值:
特徵值是滿足 det⁡(A−λI)=0\det(A - \lambda I) = 0 的 λ\lambda 值。

A−λI=[3−λ0004−λ1025−λ]A - \lambda I = \begin{bmatrix} 3-\lambda & 0 & 0 \\ 0 & 4-\lambda & 1 \\ 0 & 2 & 5-\lambda \end{bmatrix}

計算行列式:
det⁡(A−λI)=(3−λ)det⁡[4−λ125−λ]−0+0\det(A - \lambda I) = (3-\lambda) \det \begin{bmatrix} 4-\lambda & 1 \\ 2 & 5-\lambda \end{bmatrix} - 0 + 0
=(3−λ)[(4−λ)(5−λ)−(1)(2)]= (3-\lambda) [ (4-\lambda)(5-\lambda) - (1)(2) ]
=(3−λ)[20−4λ−5λ+λ2−2]= (3-\lambda) [ 20 - 4\lambda - 5\lambda + \lambda^2 - 2 ]
=(3−λ)[λ2−9λ+18]= (3-\lambda) [ \lambda^2 - 9\lambda + 18 ]
令 det⁡(A−λI)=0\det(A - \lambda I) = 0,則:
3−λ=0  ⟹  λ1=33-\lambda = 0 \implies \lambda_1 = 3
或
λ2−9λ+18=0\lambda^2 - 9\lambda + 18 = 0
因式分解:(λ−3)(λ−6)=0(\lambda - 3)(\lambda - 6) = 0
所以,λ2=3\lambda_2 = 3 且 λ3=6\lambda_3 = 6。

特徵值為 λ1=3\lambda_1 = 3(代數重數為 2)和 λ2=6\lambda_2 = 6(代數重數為 1)。

【答案】
特徵值為 3 和 6。

(b) 求特徵向量空間的基底:
對於特徵值 λ=3\lambda = 3:
我們需要解 (A−3I)v=0(A - 3I)\mathbf{v} = \mathbf{0}。

A−3I=[3−30004−31025−3]=[000011022]A - 3I = \begin{bmatrix} 3-3 & 0 & 0 \\ 0 & 4-3 & 1 \\ 0 & 2 & 5-3 \end{bmatrix} = \begin{bmatrix} 0 & 0 & 0 \\ 0 & 1 & 1 \\ 0 & 2 & 2 \end{bmatrix}

令 v=(v1v2v3)\mathbf{v} = \begin{pmatrix} v_1 \\ v_2 \\ v_3 \end{pmatrix}。
方程組為:
0v1+0v2+0v3=00v_1 + 0v_2 + 0v_3 = 0 (此方程無用)
0v1+1v2+1v3=0  ⟹  v2+v3=0  ⟹  v2=−v30v_1 + 1v_2 + 1v_3 = 0 \implies v_2 + v_3 = 0 \implies v_2 = -v_3
0v1+2v2+2v3=0  ⟹  2v2+2v3=0  ⟹  v2=−v30v_1 + 2v_2 + 2v_3 = 0 \implies 2v_2 + 2v_3 = 0 \implies v_2 = -v_3
v1v_1 是自由變數。令 v1=sv_1 = s。
令 v3=tv_3 = t,則 v2=−tv_2 = -t。
所以,特徵向量形式為 v=(s−tt)=s(100)+t(0−11)\mathbf{v} = \begin{pmatrix} s \\ -t \\ t \end{pmatrix} = s \begin{pmatrix} 1 \\ 0 \\ 0 \end{pmatrix} + t \begin{pmatrix} 0 \\ -1 \\ 1 \end{pmatrix}。
特徵向量空間 E3E_3 的基底為 {(100),(0−11)}\left\{ \begin{pmatrix} 1 \\ 0 \\ 0 \end{pmatrix}, \begin{pmatrix} 0 \\ -1 \\ 1 \end{pmatrix} \right\}。

🔒

後續完整解題步驟與【答案】

免費註冊,享三天全站完整詳解閱覽。

免費註冊

第 4 題

Let A be the following matrix:

A=[013002000]A = \begin{bmatrix} 0 & 1 & 3 \\ 0 & 0 & 2 \\ 0 & 0 & 0 \end{bmatrix}

Find the exponential matrix eAe^A.

登入後即可作答並保存紀錄。

這一題的完整詳解

這題考驗計算矩陣指數 eAe^A 的能力。對於一般的矩陣 A,計算 eAe^A 可以透過定義 ∑k=0∞Akk!\sum_{k=0}^{\infty} \frac{A^k}{k!} 來進行,但這通常很複雜。然而,如果矩陣 A 具有某些特殊結構,計算會簡化。

給定的矩陣是:

A=[013002000]A = \begin{bmatrix} 0 & 1 & 3 \\ 0 & 0 & 2 \\ 0 & 0 & 0 \end{bmatrix}

我們首先計算 A 的高次冪:
A2=A⋅A=[013002000][013002000]=[002000000]A^2 = A \cdot A = \begin{bmatrix} 0 & 1 & 3 \\ 0 & 0 & 2 \\ 0 & 0 & 0 \end{bmatrix} \begin{bmatrix} 0 & 1 & 3 \\ 0 & 0 & 2 \\ 0 & 0 & 0 \end{bmatrix} = \begin{bmatrix} 0 & 0 & 2 \\ 0 & 0 & 0 \\ 0 & 0 & 0 \end{bmatrix}
A3=A2⋅A=[002000000][013002000]=[000000000]A^3 = A^2 \cdot A = \begin{bmatrix} 0 & 0 & 2 \\ 0 & 0 & 0 \\ 0 & 0 & 0 \end{bmatrix} \begin{bmatrix} 0 & 1 & 3 \\ 0 & 0 & 2 \\ 0 & 0 & 0 \end{bmatrix} = \begin{bmatrix} 0 & 0 & 0 \\ 0 & 0 & 0 \\ 0 & 0 & 0 \end{bmatrix}
由於 A3=0A^3 = \mathbf{0} (零矩陣),所有更高次冪 AkA^k (對於 k≥3k \ge 3) 也都是零矩陣。
這種矩陣稱為冪零矩陣 (nilpotent matrix)。

矩陣指數的定義是:
eA=∑k=0∞Akk!=I+A+A22!+A33!+…e^A = \sum_{k=0}^{\infty} \frac{A^k}{k!} = I + A + \frac{A^2}{2!} + \frac{A^3}{3!} + \dots
由於 Ak=0A^k = \mathbf{0} 對於 k≥3k \ge 3,級數只剩下前幾項:

🔒

後續完整解題步驟與【答案】

免費註冊,享三天全站完整詳解閱覽。

免費註冊

第 5 題

Consider an n×nn \times n matrix A with real entries, which satisfies A2=−IA^2 = -I, where I is the identity matrix.
(a) What are the eigenvalues of A?
(b) Give an example of such 4×44 \times 4 matrix A.
(c) Does there exist such a matrix for n=3n = 3?
(d) Can A be symmetric? Why?

登入後即可作答並保存紀錄。

這一題的完整詳解

核心觀念

本題考查以下觀念:

  • 特徵值的定義:若存在非零向量 v\mathbf v 使得 Av=λvA\mathbf v=\lambda\mathbf v,則 λ\lambda 為 AA 的特徵值。
  • 矩陣多項式與特徵值的關係:若 Av=λvA\mathbf v=\lambda\mathbf v,則 A2v=λ2vA^2\mathbf v=\lambda^2\mathbf v。
  • 實矩陣的非實特徵值必成共軛對出現。
  • 實對稱矩陣的所有特徵值皆為實數。
  • 行列式性質:det⁡(A2)=det⁡(A)2\det(A^2)=\det(A)^2。

已知

A2=−I.A^2=-I.

這表示 AA 滿足多項式

x2+1=0.x^2+1=0.

因此,AA 的特徵值必須是此多項式的根。

解題方法與各小題分析

(a)求 AA 的特徵值

設 λ\lambda 為 AA 的特徵值,v≠0\mathbf v\ne \mathbf 0 為對應特徵向量,則

Av=λv.A\mathbf v=\lambda\mathbf v.

兩邊再乘以 AA:

A2v=A(λv)=λAv=λ2v.A^2\mathbf v=A(\lambda\mathbf v) =\lambda A\mathbf v =\lambda^2\mathbf v.

另一方面,由 A2=−IA^2=-I 可得

A2v=−Iv=−v.A^2\mathbf v=-I\mathbf v=-\mathbf v.

所以

λ2v=−v.\lambda^2\mathbf v=-\mathbf v.

因為 v≠0\mathbf v\ne\mathbf 0,因此

λ2=−1.\lambda^2=-1.

故

λ=±i.\lambda=\pm i.

所以 AA 在複數域上的特徵值只有 ii 與 −i-i。若限定在實數域,則 AA 沒有實特徵值。


(b)給出一個 4×44\times 4 矩陣範例

考慮

J=(0−110).J= \begin{pmatrix} 0&-1\\ 1&0 \end{pmatrix}.

直接計算得

J2=(0−110)(0−110)=(−100−1)=−I2.J^2= \begin{pmatrix} 0&-1\\ 1&0 \end{pmatrix} \begin{pmatrix} 0&-1\\ 1&0 \end{pmatrix} = \begin{pmatrix} -1&0\\ 0&-1 \end{pmatrix} =-I_2.

將兩個 JJ 放在對角線上,令

A=(0−1001000000−10010).A= \begin{pmatrix} 0&-1&0&0\\ 1&0&0&0\\ 0&0&0&-1\\ 0&0&1&0 \end{pmatrix}.

此矩陣可寫成區塊對角矩陣

A=(J00J).A= \begin{pmatrix} J&0\\ 0&J \end{pmatrix}.

因此

A2=(J200J2)=(−I200−I2)=−I4.A^2= \begin{pmatrix} J^2&0\\ 0&J^2 \end{pmatrix} = \begin{pmatrix} -I_2&0\\ 0&-I_2 \end{pmatrix} =-I_4.

所以這確實是一個符合條件的 4×44\times4 實矩陣。


🔒

後續完整解題步驟與【答案】

免費註冊,享三天全站完整詳解閱覽。

免費註冊

第 6 題

Consider a 4×44 \times 4 square matrix A

A=[387456589238488455677382440982654651892564786442]A = \begin{bmatrix} 387 & 456 & 589 & 238 \\ 488 & 455 & 677 & 382 \\ 440 & 982 & 654 & 651 \\ 892 & 564 & 786 & 442 \end{bmatrix}

Calculate the sum of the eigenvalues of A.

登入後即可作答並保存紀錄。

這一題的完整詳解

這題考驗對矩陣特徵值與跡 (Trace) 之間關係的理解。

給定的 4×44 \times 4 矩陣為:

A=[387456589238488455677382440982654651892564786442]A = \begin{bmatrix} 387 & 456 & 589 & 238 \\ 488 & 455 & 677 & 382 \\ 440 & 982 & 654 & 651 \\ 892 & 564 & 786 & 442 \end{bmatrix}

一個重要性質是:一個矩陣的特徵值之和等於該矩陣的跡 (Trace)。
跡 (Trace) 定義為矩陣對角線上元素的總和。

🔒

後續完整解題步驟與【答案】

免費註冊,享三天全站完整詳解閱覽。

免費註冊

第 7 題

Let D denote the differential operator; that is, D(f(t))=df/dtD(f(t)) = df/dt. Each of the following sets is a basis of a vector space V of functions. Find the matrix representing D in each of the following basis.
(a) {1,t,sin⁡3t,cos⁡3t}\{1, t, \sin 3t, \cos 3t\}
(b) {e5t,te5t,t2e5t}\{e^{5t}, te^{5t}, t^2e^{5t}\}

登入後即可作答並保存紀錄。

這一題的完整詳解

這題考驗將微分運算子表示成矩陣形式的能力。關鍵在於理解矩陣的列向量如何由基底向量經過運算子轉換後,再以該基底的線性組合來表示。

給定微分運算子 D(f(t))=dfdtD(f(t)) = \frac{df}{dt}。

(a) 基底為 Ba={1,t,sin⁡3t,cos⁡3t}B_a = \{1, t, \sin 3t, \cos 3t\}。
我們需要計算 D 對基底中每個向量的作用,並將結果表示為該基底的線性組合。

  1. 作用在 11 上:
    D(1)=ddt(1)=0D(1) = \frac{d}{dt}(1) = 0
    將 00 表示為基底 BaB_a 的線性組合:0⋅1+0⋅t+0⋅sin⁡3t+0⋅cos⁡3t0 \cdot 1 + 0 \cdot t + 0 \cdot \sin 3t + 0 \cdot \cos 3t。
    對應的坐標向量是 (0000)\begin{pmatrix} 0 \\ 0 \\ 0 \\ 0 \end{pmatrix}。

  2. 作用在 tt 上:
    D(t)=ddt(t)=1D(t) = \frac{d}{dt}(t) = 1
    將 11 表示為基底 BaB_a 的線性組合:1⋅1+0⋅t+0⋅sin⁡3t+0⋅cos⁡3t1 \cdot 1 + 0 \cdot t + 0 \cdot \sin 3t + 0 \cdot \cos 3t。
    對應的坐標向量是 (1000)\begin{pmatrix} 1 \\ 0 \\ 0 \\ 0 \end{pmatrix}。

  3. 作用在 sin⁡3t\sin 3t 上:
    D(sin⁡3t)=ddt(sin⁡3t)=3cos⁡3tD(\sin 3t) = \frac{d}{dt}(\sin 3t) = 3\cos 3t
    將 3cos⁡3t3\cos 3t 表示為基底 BaB_a 的線性組合:0⋅1+0⋅t+0⋅sin⁡3t+3⋅cos⁡3t0 \cdot 1 + 0 \cdot t + 0 \cdot \sin 3t + 3 \cdot \cos 3t。
    對應的坐標向量是 (0003)\begin{pmatrix} 0 \\ 0 \\ 0 \\ 3 \end{pmatrix}。

  4. 作用在 cos⁡3t\cos 3t 上:
    D(cos⁡3t)=ddt(cos⁡3t)=−3sin⁡3tD(\cos 3t) = \frac{d}{dt}(\cos 3t) = -3\sin 3t
    將 −3sin⁡3t-3\sin 3t 表示為基底 BaB_a 的線性組合:0⋅1+0⋅t−3⋅sin⁡3t+0⋅cos⁡3t0 \cdot 1 + 0 \cdot t - 3 \cdot \sin 3t + 0 \cdot \cos 3t。
    對應的坐標向量是 (00−30)\begin{pmatrix} 0 \\ 0 \\ -3 \\ 0 \end{pmatrix}。

將這些坐標向量作為列向量組成矩陣,即為微分運算子 D 在基底 BaB_a 下的矩陣表示。

[D]Ba=[01000000000−30030][D]_{B_a} = \begin{bmatrix} 0 & 1 & 0 & 0 \\ 0 & 0 & 0 & 0 \\ 0 & 0 & 0 & -3 \\ 0 & 0 & 3 & 0 \end{bmatrix}
🔒

後續完整解題步驟與【答案】

免費註冊,享三天全站完整詳解閱覽。

免費註冊

其他考古題