线性代数:矩阵运算常用公式
码着方便自己查。
知乎版本
1 转置 (Transpose)
( A + B ) T = A T + B T ( A B ) T = B T A T (\mathbf A + \mathbf B)^T = \mathbf A^T + \mathbf B^T \\ (\mathbf A \mathbf B)^T = \mathbf B^T \mathbf A^T (A+B)T=AT+BT(AB)T=BTAT
2 逆 (Inverse)
( A B ) − 1 = B − 1 A − 1 ( A T ) − 1 = ( A − 1 ) T (\mathbf A \mathbf B)^{-1} = \mathbf B^{-1} \mathbf A^{-1} \\ (\mathbf A^T)^{-1} = (\mathbf A^{-1})^T (AB)−1=B−1A−1(AT)−1=(A−1)T
注:一般矩阵为方阵且可逆时,才能做逆运算。
3 行列式 (Determinant)
A \mathbf A A为 n n n行 n n n列的方阵。
d e t ( A ) = λ 1 λ 2 ⋯ λ n , λ i 为 A 的 特 征 值 . d e t ( A T ) = d e t ( A ) d e t ( A − 1 ) = 1 d e t ( A ) d e t ( c A ) = c n d e t ( A ) d e