02 Random Variables: Matrix Algebra Flashcards
If matrix Aₙₓₚwhat are i and j in the matrix elements?
aᵢⱼ
- > i = 1….n
- > j = 1…p
What elements does the transpose of Matrix A have?
aⱼᵢ
What is a square matrix?
n = p
rows = # columns
What is a diagonal matrix?
diag(aᵢᵢ) has numbers on the main diagonal (aᵢᵢ) and 0’s on the off-diagonal elements
What is the identity matrix Iₚ?
a diagonal matrix with p elements on the main diagonal, which are all 1
What is a unit matrix?
A unit matrix is an integer matrix consisting of all 1s
What is a symmetric matrix?
It is symmetric around the diagonals such that Aᵀ = A
What is an idempotent matrix?
a matrix which, when multiplied by itself, yields itself. must be a square matrix. e.g. I₃
A = A ⋅ A
What is an orthogonal matrix?
AᵀA = AAᵀ = Iₚ
What is an inverse matrix?
A⁻¹A = A A⁻¹ = Iₚ
How to multiply two matrices?
1) check the dimensions. Inner numbers must be the same, outer numbers give dimensions of new matrix
2) multiply each first row element of the first matrix with the corresponding element of the first column of the second matrix. Sum up.
3) Repeat for all columns and rows.
What is the determinant |A| of a 2x2 matrix?
the multiplied downward diagonal - multiplied upward diagonal, i.e.:
a₁₁⋅a₂₂ - a₂₁⋅a₁₂
What is the determinant |A| of a 3x3 matrix?
each element of the first row multiplied with the determinant of the second & third row of the remaining columns, i.e. a₁₁⋅ | a₂₂ a ₂₃ /// a₃₂ a₃₃| - a₁₂ |…| + a₃₂ |…|
What is the trace of a matrix?
sum of all fiagonal elements
What is the matrix property A ( B + C) …?
A ( B + C ) = AB + AC