108 年 國立成功大學測量及空間資訊學系碩士班《線性代數》
第 1 題
There are two linear equation systems: (A)
and (B)
They represent two straight lines on a plane with an intersection angle of 90° and circa 0°, respectively. Both can be expressed as (A) , and (B) with
Their solutions are .
(1a) Please compute the inverse matrix of A and B, respectively, i.e. and (8%)
(1b) Please compute the matrix norms , , , and , if we use the -vector norm, where the -vector norm gives the column "sum" norm. (4%)
(1c) The condition number of a square matrix C is defined by . Please compute the condition numbers and of both matrices A and B. (4%)
(1d) Is the matrix A more well-conditioned or ill-conditioning than the matrix B? Why? (3%)
(1e) To see the meaning of and , we add a small error term , e.g. , to the 1st row and 2nd column entry in A and B and get (A) , and (B) with
Please compute the new solutions which are rounded off to the sixth place below the decimal point, i.e. (4%)
(1f) Comparing these new solutions with the old ones, please compute , and with , where the symbol max(a, b) denotes the maximum of the two numbers a and b, i.e. (6%)
Then, you see the former is much less than the latter. It means a well-conditioned matrix gives a more stable solution.
登入後即可作答並保存紀錄。
核心觀念
本題探討數值線性代數(Numerical Linear Algebra)中極為核心的課題:矩陣的條件數(Condition Number) 與 線性系統的數值穩定性(Numerical Stability / Sensitivity Analysis)。涉及的重點數學定義與公式包括:
-
二階方陣的反矩陣公式:
對於二階方陣 ,若 ,則其反矩陣為: -
誘導矩陣 -範數(Induced Matrix -Norm,又稱最大行絕對值和範數,Maximum Absolute Column Sum Norm):
即取每一行(column)元素之絕對值總和的最大值。
-
矩陣條件數(Condition Number):
相對於 -範數,非奇異方陣 的條件數定義為:- 條件數恆滿足 。
- 若 (量級較小),稱為良態矩陣(Well-conditioned),代表輸入端或係數矩陣微小的擾動(Perturbation)只會對解產生微小的影響。
- 若 (量級很大),稱為病態矩陣(Ill-conditioned),代表係數微小擾動會被放大,導致解產生劇烈變化。幾何上,二維空間中兩直線夾角極小(接近平行)的交點求解即為典型的病態問題。
解題方法與詳細計算步驟
(1a) 求反矩陣 與
-
計算矩陣 的行列式與反矩陣:
矩陣 。代入伴隨矩陣公式:
-
計算矩陣 的行列式與反矩陣:
矩陣 。代入伴隨矩陣公式:
(1b) 計算各矩陣的 -範數
依據 -範數定義(各行絕對值和的最大值):
-
計算 :
- 第 1 行絕對值和:
- 第 2 行絕對值和:
-
計算 :
- 第 1 行絕對值和:
- 第 2 行絕對值和:
-
計算 :
- 第 1 行絕對值和:
- 第 2 行絕對值和:
-
計算 :
- 第 1 行絕對值和:
- 第 2 行絕對值和:
(1c) 計算條件數 與
由定義 :
-
矩陣 的條件數:
-
矩陣 的條件數:
(1d) 判斷良態/病態性質與原因說明
- 結論:矩陣 遠比矩陣 更良態(Matrix is much more well-conditioned than matrix ),矩陣 屬於病態矩陣(Ill-conditioned)。
- 數值原因:
接近理論最小值 ;而 。條件數越小,表示系統受微小擾動影響越小,數值穩定性越高。 - 幾何原因:
- 系統 (A) 的兩條直線法向量分別為 與 ,內積為 ,夾角為 (正交),交點定位極為銳利明確。
- 系統 (B) 的兩條直線法向量為 與 ,斜率幾乎相同(夾角約 ),直線接近平行,係數的微小晃動會導致交點沿著直線延伸方向發生劇烈位移。
(1e) 擾動後的新解計算
題目指明對 與 的第 1 列第 2 行元素(1st row and 2nd column entry)加入誤差 。
題目印製勘誤說明:題幹引文中印出的 誤印為原始矩陣 ,但文字敘述明確要求「add a small error term to the 1st row and 2nd column entry in A and B」。因此 的 (1,2) 項應加上 ,即:
- 求解系統 (A'):
第 2 題
The following linear system:
(2a) Please change the sequence of entries in the unknown vector to and write the linear system in the same form as (1), which can be denoted in matrix by . (6%)
(2b) Find the solution vector by Gauss elimination. (18%)
(2c) Compute the determinant of A, namely (8%)
(2d) Find the rank of A, namely (4%)
登入後即可作答並保存紀錄。
核心觀念
本題主要考查:
- 未知數向量重新排列時,係數矩陣欄向量必須同步重新排列。
- 以高斯消去法(Gauss elimination)求解線性方程組。
- 利用消去過程中的主元素與列交換計算行列式。
- 由行列式判斷矩陣是否滿秩:
(2a)重新排列未知數向量
原方程組的未知數排列為
題目要求改為
因此,新矩陣 的欄順序,應依序取原矩陣的第 欄。得到
所以線性系統為
(2b)以高斯消去法求解
直接利用原題未知數排列,令
增廣矩陣為
以第一列為主列消去第一欄:
再以第二欄消去,並將第二主列除以 ,可得等價方程組:
以第五式消去其他含 的方程,得到
由第一式得
代入另外兩式:
解此二元一次方程組:
接著
由
第 3 題
Please find the straight line through the point P with the coordinates in the xy-plane and perpendicular to the straight line . (10%)
登入後即可作答並保存紀錄。
本題考驗學生對直線方程式的理解,特別是點斜式、斜率關係以及垂直線的性質。
題目要求找出直線 的方程式。已知條件如下:
- 直線 通過點 。
- 直線 垂直於直線 。
首先,我們需要找出直線 的斜率。
直線 的方程式為 。
我們可以將其改寫成斜截式 的形式,以便找出斜率 。
所以,直線 的斜率為 。
接著,我們利用垂直線的性質。兩條直線垂直的條件是它們的斜率乘積為 -1 (假設兩條直線都不是水平線或垂直線)。
設直線 的斜率為 。
則 。
。
第 4 題
The vector function represents a circle of radius R with center at the origin of the xy-plane and describes a motion of a particle in the counterclockwise sense, where t denotes a time variable. Please write its velocity vector and acceleration vector functions. (10%)
登入後即可作答並保存紀錄。
本題考驗學生對向量函數求導,以求得速度向量和加速度向量。
給定的向量函數為 。
其中 是圓的半徑, 是角速度, 是時間。
速度向量 是位置向量 對時間 的一階導數。
對 的每個分量分別求導:
所以,速度向量為:
加速度向量 是速度向量 對時間 的一階導數(也是位置向量的二階導數)。
第 5 題
(5a) Please write a parametric representation of the ellipse . (4%)
(5b) Please find the parametric representation of the tangent to the ellipse at the point P with the coordinates . (11%)
登入後即可作答並保存紀錄。
核心觀念
-
橢圓的參數式(Parametric Representation of an Ellipse):
標準位置的橢圓方程式為 。利用三角恆等式 ,可設定參數 ,表示為位置向量形式: -
切線的切向量與參數式(Tangent Vector & Parametric Line):
- 曲線 在參數 處的切向量(方向向量)為速度向量 。
- 通過一點 且具方向向量 的直線參數式可表示為:
-
原題題目數據說明(Typo Analysis):
題目中給定點 的座標為 。若將該座標代入橢圓方程式 ,得 。
此為研究所考試偶見之題目筆誤。就幾何意義與考試命題意圖分析,該點應為橢圓上的點 (此點滿足 )。
為維持解答的嚴謹性與應試完整度,本詳解提供:- 解法一(依命題原意校正):將點視為橢圓上的正確點 進行正規切線求解。
- 解法二(依字面原題條件):將 視為橢圓外一點,求解「過該點且與橢圓相切」的切線參數式。
解題方法
(5a) 橢圓的參數式
橢圓方程式為:
對應半長軸 ,半短軸 。
引入參數 ,令:
以向量形式表示為:
(5b) 切線的參數式
【解法一:命題原意校正版——切點為 】
-
求切點對應的參數值 :
將切點座標代入參數式:由此解得 。
-
求切向量(方向向量):
對位置向量微分可得切向量:代入 :
可取同方向之等價向量(乘上常數 簡化計算)作為方向向量 :
-
寫出切線參數式:
切線通過點 ,令直線參數為 :或簡化分母形式: