東京大学 新領域創成科学研究科 メディカル情報生命専攻 2015年8月実施 問題8
Author
Description
Answer the following questions about linear algebra.
(1)
Compute the inverse matrix of the following matrix,
(2)
Consider data points \((x_i, y_i), i = 1, \dots, n\) in a two-dimensional space. Variance with respect to the x-axis, variance with respect to the y-axis, and covariance are respectively defined as
where \(\bar{x}, \bar{y}\) denote the averages with respect to the x and y axes, respectively.
A: Compute the variance-covariance matrix
for the following data points, \((-2, -2), (2, 2), (1, -1), (-1, 1)\).
B: Compute all eigenvalues and eigenvectors of the variance-covariance matrix.
(3)
Prove that, if the eigenvalues of a regular matrix A are \(\lambda_1, \dots, \lambda_n\), those of the inverse matrix A\(^{-1}\) are \(1/\lambda_1, \dots, 1/\lambda_n\).
回答以下关于线性代数的问题。
(1)
计算以下矩阵的逆矩阵,
(2)
考虑数据点 \((x_i, y_i), i = 1, \dots, n\) 在二维空间中。相对于 x 轴的方差、相对于 y 轴的方差和协方差分别定义为
其中 \(\bar{x}, \bar{y}\) 分别表示相对于 x 和 y 轴的平均值。
A: 计算方差-协方差矩阵
对于以下数据点,\((-2, -2), (2, 2), (1, 1), (-1, 1)\)。
B: 计算方差-协方差矩阵的所有特征值和特征向量。
(3)
证明,如果一个正规矩阵 A 的特征值是 \(\lambda_1, \dots, \lambda_n\),那么其逆矩阵 A\(^{-1}\) 的特征值是 \(1/\lambda_1, \dots, 1/\lambda_n\)。
Kai
(1)
To find the inverse of the matrix
we use the formula for the inverse of a \(2 \times 2\) matrix:
where \(\mathbf{A} = \begin{pmatrix} a & b \\ c & d \end{pmatrix}\) and \(\det(\mathbf{A}) = ad - bc\).
For our matrix,
First, compute the determinant:
Then, the inverse is
(2)
A: Variance-Covariance Matrix
Given data points \((-2, -2), (2, 2), (1, -1), (-1, 1)\), we first compute the mean values:
Next, we compute the variances and covariances:
Thus, the variance-covariance matrix is:
B: Eigenvalues and Eigenvectors
To find the eigenvalues \(\lambda\) of \(\mathbf{C}\), solve the characteristic equation:
For our matrix \(\mathbf{C}\),
the determinant is:
Solving for \(\lambda\), we get:
To find the eigenvectors corresponding to the eigenvalues \(\lambda_1 = 4\) and \(\lambda_2 = 1\), we solve the equation \((\mathbf{C} - \lambda \mathbf{I})\mathbf{v} = \mathbf{0}\).
For \(\lambda_1 = 4\)
The equation \((\mathbf{C} - 4\mathbf{I})\mathbf{v} = \mathbf{0}\) becomes:
This gives us the system of equations:
From the first equation, we obtain \(v_1 = v_2\). Therefore, an eigenvector corresponding to \(\lambda_1 = 4\) is:
For \(\lambda_2 = 1\)
The equation \((\mathbf{C} - 1\mathbf{I})\mathbf{v} = \mathbf{0}\) becomes:
This gives us the system of equations:
From the first equation, we obtain \(v_1 = -v_2\). Therefore, an eigenvector corresponding to \(\lambda_2 = 1\) is:
Thus, the eigenvectors corresponding to the eigenvalues \(\lambda_1 = 4\) and \(\lambda_2 = 1\) are \(\mathbf{v}_1 = \begin{pmatrix} 1 \\ 1 \end{pmatrix}\) and \(\mathbf{v}_2 = \begin{pmatrix} 1 \\ -1 \end{pmatrix}\), respectively.
(3)
Let \(\mathbf{A}\) be a regular matrix with eigenvalues \(\lambda_1, \lambda_2, \ldots, \lambda_n\) and corresponding eigenvectors \(\mathbf{v}_1, \mathbf{v}_2, \ldots, \mathbf{v}_n\). By definition, we have:
Thus, the eigenvalues of \(\mathbf{A}^{-1}\) are \(\frac{1}{\lambda_i}\) for \(i = 1, 2, \ldots, n\).
Knowledge
矩阵逆 方差协方差矩阵 特征值和特征向量
解题技巧和信息
- 计算逆矩阵时,确保熟记 \(2 \times 2\) 矩阵的逆矩阵公式。
- 计算方差-协方差矩阵时,需准确计算均值、方差和协方差。
- 找特征值和特征向量时,熟悉特征值方程和特征向量的计算方法。
- 证明部分注意利用特征值和特征向量的定义和性质。
重点词汇
- Inverse matrix: 逆矩阵
- Variance-Covariance matrix: 方差-协方差矩阵
- Eigenvalue: 特征值
- Eigenvector: 特征向量
参考资料
- Gilbert Strang, Linear Algebra and Its Applications, Chapter 3.
- Axler, Sheldon, Linear Algebra Done Right, Chapter 5.