Basic knowledge and formulas of matrices (transpose, inverse, trace, determinant)

tags: matrix  MatrixCookBook  notes  Linear algebra  

Basic knowledge and formulas of matrices (transpose, inverse, trace, determinant)

References: MatrixCookBook(Version 2012) Chapter1

Chapter1: Basics

1 Basics

Basics

Note A H {A^H} AHIt's ATransposed and complex conjugated matrix (Hermitian), Namely transpose the complex conjugate matrix.

1.1 Trace of matrix (Trace)

Trace

formula(11)Shows that the trace of the matrix is ​​the sum of the main diagonal elements.
formula(12)Shows that the trace of the matrix is ​​the sum of the eigenvalues ​​of the matrix.
formula(13)Shows that the trace of the matrix is ​​equal to the trace of its transposed matrix.
formula(14)showABThe trace is equal toBAOf traces.
formula(15)showA+BThe trace is equal toATrace plusBOf traces.
formula(16)showABCThe trace is equal toBCAThe trace is equal toCABOf traces.
formula(17)Indicate anx1Vector ofaaMultiply the transpose ofaThe resulting constant is equal toaMultiply byaThe trace of the transposed matrix.

1.2 Determinant (Determinant)

Determinant

Determinant

premise: The A here isnxnmatrix.
formula(18)Shows that the determinant of the matrix is ​​equal to the product of the eigenvalues.
formula(19)showcAThe determinant of is equal toADeterminant c n {c^n} cnTimes.
formula(20)Shows that the determinant of the matrix is ​​equal to the determinant of its transposed matrix.
formula(21)Show matrixABThe determinant of is equal to the matrixAMultiply the determinant of the matrixBThe determinant.
formula(22)Show matrix A − 1 {A^{-1}} A1The determinant of is equal to the matrixAReciprocal.
formula(23)Show matrix A n {A^n} AnThe determinant of is equal to the matrixAN to the power of the determinant.
formula(24)Show ifuwithvYesnx1Vector, then I + u v T {I+uv^T} I+uvTThe determinant of is equal to 1 + u T v {1+u^Tv} 1+uTvValue.
formula(25)Show ifAYes2x2matrix,I+AThe determinant of is equal to 1 + d e t ( A ) + T r ( A ) {1+det(A)+Tr(A)} 1+det(A)+Tr(A), That is, the determinant of 1+A + the trace of A.
formula(26)Show ifAYes3x3matrix,I+AThe determinant of is equal to 1 + d e t ( A ) + T r ( A ) + 1 2 T r ( A ) 2 − 1 2 T r ( A 2 ) {1+det(A)+Tr(A)+\frac{1}{2}Tr(A)^2-\frac{1}{2}Tr(A^2)} 1+det(A)+Tr(A)+21Tr(A)221Tr(A2)
formula(27)No table.
formula(28)Means for small disturbances ε \varepsilon ε,can ε A \varepsilon A εAApproximately processed as 2x2

1.3 Special case: 2x2 matrix

2x2Matrix

2x2The matrix has the above properties and conclusions.

Intelligent Recommendation

Understanding of issues such as the trace and rank of matrices

Article directory 0. Geometric meaning of matrix 1. Rank of matrix 2. Trace of matrix 3. Ill-conditioned matrix 4. Singular Matrix/Matrix Singularity 5. Degenerate matrix/matrix degeneration 0. Geomet...

Analysis of determinant examples of matrices in matlab programming

What is the determinant of a matrix? ? The prerequisite of the matrix is ​​that only the matrix with the same row and column has the determinant Suppose there is now a 3*3 matrix a=[1,2,3;4,5,6;0,1,-1...

Some operations on matrices (resolving transposed matrices, determinants, ranks of matrices, inverse matrices of matrices, product matrices of two matrices)...

  The function of this program mainly solves some simple matrix calculation problems. The main functions are: 1 matrix input 2 matrix output 3 Transpose matrix of the output matrix (a matrix that...

Relationship between matrix eigenvalues ​​and determinant and trace

The sum of the eigenvalues ​​of the matrix is ​​equal to the determinant of the matrix The product of the eigenvalues ​​of the matrix is ​​equal to the trace of the matrix A simple understanding is as...

Determinant, rank, trace, norm, condition number of matrix

Determinant of square matrix det(A) find the value of the determinant corresponding to A of the square matrix Rank of the matrix rank(A) Find the rank of matrix A Find the rank of 3~20 order magic squ...

More Recommendation

Solving matrix determinant, rank and trace in Matlab

1. Function Determinant: det(A), to solve the determinant of square matrix A, matrix A must be a square matrix. Rank: rank(A), the rank of matrix A is solved, the number of rows or columns that are li...

Matlab finds the main diagonal elements of the matrix, the upper (lower) triangle, the inverse of the matrix, the value of the determinant, the rank of the matrix, the norm of the matrix, the condition number of the matrix and the trace of the matrix

Doing homework today, I found a bunch of questions about matrix operations. I checked the information and put it here. Friends who find it useful, like it~b( ̄▽ ̄)d...

Linear Algebra review - Inverse and transpose

Abstract: This article is the original video subtitles of "Inversion and Transposition" in the 19th lesson of the "Machine Learning" course of teacher Andrew Ng, Chapter 3 "Re...

Matrix transpose, inverse matrix numpy

c is the adjoint matrix I obtained by hand calculation, and then because I found that the adjoint matrix calculated by myself is different from numpy, and then I want to see where the problem occurred...

Python's transpose function on the use of matrices and arrays

One-dimensional array For one-dimensional arrays, the transpose function has no effect. (It works for the same matrix, so to change the column and row vectors, first convert the one-dimensional array ...

Copyright  DMCA © 2018-2026 - All Rights Reserved - www.programmersought.com  User Notice

Top