lecture02:Multiplying and Factoring Matrices——矩阵乘法和分解
矩阵乘法
A B = c o l u m n ∗ r o w = [ a 1 ⋯ a n ] [ b 1 ∗ ⋮ b n ∗ ] = a 1 b 1 ∗ + a 2 b 2 ∗ + ⋯ + a n b n ∗ AB=column*row=\left[\begin{matrix} a_1&\cdots&a_n \end{matrix}\right] \left[\begin{matrix} b_1^*\\\vdots\\b_n^* \end{matrix}\right]=a_1b_1^*+a_2b_2^*+\cdots+a_nb_n^* AB=column∗row=[a1⋯an]⎣⎢⎡b1∗⋮bn∗⎦⎥⎤=a1b1∗+a2b2∗+⋯+anbn∗
秩1矩阵之和
矩阵分解
A
=
L
U
A=LU
A=LU 消元思想,分解成下三角、上三角矩阵
[
2
3
4
7
]
=
r
a
n
k
1
+
r
a
n
k
1
=
[
2
3
4
6
]
+
[
0
0
0
1
]
=
[
1
2
]
[
2
3
]
+
[
0
1
]
[
0
1
]
=
[
l
1
]
[
u
1
T
]
+
[
l
2
]
[
u
2
T
]
=
L
U
\left[\begin{matrix}2&3\\4&7\end{matrix}\right]=rank1+rank1=\left[\begin{matrix}2&3\\4&6\end{matrix}\right]+\left[\begin{matrix}0&0\\0&1\end{matrix}\right]=\left[\begin{matrix}1\\2\end{matrix}\right]\left[\begin{matrix}2&3\end{matrix}\right]+\left[\begin{matrix}0\\1\end{matrix}\right]\left[\begin{matrix}0&1\end{matrix}\right]=\left[\begin{matrix}l_1\end{matrix}\right]\left[\begin{matrix}u_1^T\end{matrix}\right]+\left[\begin{matrix}l_2\end{matrix}\right]\left[\begin{matrix}u_2^T\end{matrix}\right]=LU
[2437]=rank1+rank1=[2436]+[0001]=[12][23]+[01][01]=[l1][u1T]+[l2][u2T]=LU
A
=
Q
R
A=QR
A=QR 格拉姆-施密特正交化
S = Q Λ Q T = s u m o f r a n k 1 = λ q 1 q 1 T + λ q 2 q 2 T + ⋯ + λ q n q n T S=Q\Lambda Q^T=sum\ of\ rank1=\lambda q_1q_1^T+\lambda q_2q_2^T+\cdots+\lambda q_nq_n^T S=QΛQT=sum of rank1=λq1q1T+λq2q2T+⋯+λqnqnT
S q 1 = λ q 1 q 1 T q 1 = λ q 1 Sq_1=\lambda q_1q_1^Tq_1=\lambda q_1 Sq1=λq1q1Tq1=λq1
A = X Λ X − 1 A=X\Lambda X^{-1} A=XΛX−1
A = U ∑ V T A=U\sum V^T A=U∑VT 奇异值分解SVD
4个基本子空间
名称 | 表示 | 基 | 维度 | 含义 |
---|---|---|---|---|
列空间 | C ( A ) C(A) C(A) | R R R中的主元列对应的原矩阵中的列 | r r r | 表示 A A A列向量的所有线性组合 |
行空间 | C ( A T ) C(A^T) C(AT) | R R R中的主元行 | r r r | 表示 A T A^T AT列向量的所有线性组合 |
零空间 | N ( A ) N(A) N(A) | 满足 A x = 0 Ax=0 Ax=0的 n − r n-r n−r个特解 | n − r n-r n−r | 满足 A x = 0 Ax=0 Ax=0的所有 x x x |
左零空间 | N ( A T ) N(A^T) N(AT) | 满足 E A = R EA=R EA=R的 E E E的倒数 M − R M-R M−R行 | m − r m-r m−r | 满足 A T y = 0 A^Ty=0 ATy=0的所有 y y y |