108 年 國立成功大學製造資訊與系統研究所甲組《工程數學》
第 1 題20 分
- (20%) If a n-dimension vector has one average value over all vector elements, and the other n-dimension vector has its average value over all vector elements.
(1) What is the Correlation matrix of and ? (10%)
(2) What is the Covariance matrix of and ? (10%)
登入後即可作答並保存紀錄。
(1) 相關矩陣
先定義兩向量的中心化形式
其中 為全 1 向量。
向量 、 的標準差
相關係數矩陣的每一個元素為
以矩陣寫法則是
第 2 題20 分
- (20%) If there are two vectors and as following figure, and the intersection angle between both vectors is ,
(1) What is the unit vector of ? (5%)
(2) What is the projection length of vector to vector ? (Please represent the result by using ) (5%)
(3) What is the projection length of vector to vector ? (Please represent the result without using ) (10%)
🖼️【此處有附圖,請對照原卷】
登入後即可作答並保存紀錄。
圖形資訊說明
目前附上的掃描圖為經濟學選擇題,未包含本題所述的向量圖,因此無法讀取向量 、 的具體座標或長度。以下依題目已知的向量表示法作答。
核心觀念
本題使用:
- 向量 的長度:
- 向量的單位向量:原向量除以其長度
- 向量內積公式:
向量 在向量 方向上的投影長度,可由內積除以 求得。
解題方法
(1)向量 的單位向量
單位向量的定義是「方向與原向量相同,長度等於 」,因此:
若
則
所以:
(2)以 表示 投影到 的長度
由內積公式:
投影長度為:
代入內積公式:
因此,投影長度為:
第 3 題20 分
- (20%) Determine the eigenvalues (10%) and eigenvectors (10%) of the matrix:
登入後即可作答並保存紀錄。
核心觀念
對方陣 而言:
- 特徵值 必須滿足特徵方程
- 找到特徵值後,將其代入
求得的非零向量 ,即為對應的特徵向量。
其中 為二階單位矩陣。
解題方法
給定
先計算特徵方程:
因此
令特徵方程等於零:
所以兩個特徵值為
求 對應的特徵向量
代入
設特徵向量為
則
整理得
取 ,可得一組特徵向量
因此,所有對應於 的特徵向量皆可寫成
第 4 題20 分
- (20%) Given following equations:
(1) Please write them to be the format as , where is a matrix, is a vector and is also a vector. (10%)
(2) Please derive the unknown vector by using pseudo inverse approach? (Assume matrix has no inverse format . That is, is incorrect. So what is the correct result of ) (10%)
登入後即可作答並保存紀錄。
核心觀念
本題考查兩個觀念:
- 將二元一次方程組寫成矩陣形式 。
- 當矩陣 不可逆時,使用 Moore–Penrose pseudo-inverse(廣義逆矩陣)求解。
一般可逆情況下,
但題目已指定 沒有逆矩陣,因此不能使用 ,正確工具是偽逆矩陣 ,其解寫成
此解在方程組無精確解時,代表最小平方法解;在有多組精確解時,代表其中範數最小的解。
(1)寫成
原方程組為
將未知數、係數與常數分別排列成矩陣與向量:
因此,
也就是
(2)使用偽逆矩陣求解
方法一:由最小平方法推導
當 不可逆時,直接解 不成立。此時考慮尋找一個 ,使得誤差
最小。
令
展開得
對 微分並令其為零:
因此得到 normal equation:
若 可逆,則
這時偽逆矩陣為
所以
不過,本題特別說明 沒有逆矩陣。對於 方陣而言,這通常表示
因此 的秩小於 。此時 也可能不可逆,不能無條件套用 。
方法二:以奇異值分解定義偽逆
偽逆矩陣最一般的定義是使用奇異值分解。令
其中 為正交矩陣,而 為含有奇異值的對角矩陣。
若
則其偽逆矩陣為
第 5 題20 分
- (20%) For Sum of Squared Differences (SSD) format as following, please solve the unknown constant value
by the first order Taylor series expansion: . That is, starting from :
(Note: If partially correct, you will obtain partial points)
登入後即可作答並保存紀錄。
核心觀念
本題考查以一階 Taylor 展開將影像位移問題線性化,再利用最小平方法求未知位移常數 。
SSD(Sum of Squared Differences)能量函數為
其中:
- :原始影像函數
- :目標影像函數
- :待求的位移常數
- :影像在 處的空間梯度
題目指定使用一階 Taylor 展開:
解題方法與推導
將 Taylor 近似代入 SSD 能量函數:
令殘差為
因此
根據最小值的一階必要條件:
對 微分,利用鏈鎖律:
令其等於零:
除以 :
展開各項:
移項後得到:
故未知位移常數為