02 Random Variables: Matrix Algebra Flashcards

1
Q

If matrix Aₙₓₚwhat are i and j in the matrix elements?

A

aᵢⱼ

  • > i = 1….n
  • > j = 1…p
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What elements does the transpose of Matrix A have?

A

aⱼᵢ

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a square matrix?

A

n = p

rows = # columns

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a diagonal matrix?

A

diag(aᵢᵢ) has numbers on the main diagonal (aᵢᵢ) and 0’s on the off-diagonal elements

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the identity matrix Iₚ?

A

a diagonal matrix with p elements on the main diagonal, which are all 1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is a unit matrix?

A

A unit matrix is an integer matrix consisting of all 1s

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is a symmetric matrix?

A

It is symmetric around the diagonals such that Aᵀ = A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is an idempotent matrix?

A

a matrix which, when multiplied by itself, yields itself. must be a square matrix. e.g. I₃
A = A ⋅ A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is an orthogonal matrix?

A

AᵀA = AAᵀ = Iₚ

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is an inverse matrix?

A

A⁻¹A = A A⁻¹ = Iₚ

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

How to multiply two matrices?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the determinant |A| of a 2x2 matrix?

A

the multiplied downward diagonal - multiplied upward diagonal, i.e.:
a₁₁⋅a₂₂ - a₂₁⋅a₁₂

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the determinant |A| of a 3x3 matrix?

A

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₃₂ |…|

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the trace of a matrix?

A

sum of all fiagonal elements

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the matrix property A ( B + C) …?

A

A ( B + C ) = AB + AC

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the matrix property (AB)ᵀ …?

A

(AB)ᵀ = Bᵀ Aᵀ

17
Q

What is the matrix property (ABC)ᵀ…?

A

(ABC)ᵀ = Cᵀ Bᵀ Aᵀ

18
Q

What is the spectral decomposition of A?

A

ΓΛΓᵀ

19
Q

What is Λ?

A

the matrix of eigenvalues = diag (λ₁, λ₂ , … λₚ)

where λ₁ ≥ λ₂ ≥ … ≥ λₚ

20
Q

What is Γ?

A

the matrix of eienvectors

21
Q

What does tr(A) have to do with Λ?

A

tr(A) = tr(Λ) = Σ λᵢ

22
Q

What does | A | have to do with Λ?

A

A | = | Λ | = π λᵢ

23
Q

What does Aᵃ have to do with spectral decomposition?

A

Aᵃ = ΓΛᵃΓᵀ

24
Q

What is Q(x)?

A

the quadratic form of A = xᵀ A x, where:
xᵀ = 1 x p
A = p x p
x = p x 1

25
Q

When is A positive definite and what are the implications?

A

1) Q(x) > 0 for every x
2) A⁻¹ exists
3) λᵢ > 0

26
Q

When is A positive semi-definite?

A

When Q(x) ≥ 0 for every x

27
Q

What does negative definite mean?

A

Q(x) < 0 for every x

28
Q

What is the first derivative of the quadratic form and what does it mean?

A

1) 2Ax
2) 1st derivative gradient
3) vector of first derivatives

29
Q

What is the second derivative of the quadratic form and what does it mean?

A

1) 2A

2) Hessian Matrix

30
Q

What is the distance between two vectors x and y?

A

d(x, y)ₐ = √ [ (x-y)ᵀ A (x-y) ]

31
Q

What is the norm of a vector x?

A

the distance from x to zero:

||x||ₐ = d(x, 0)ₐ = √ [ xᵀ A x ]

32
Q

What is the angle between two vectors x and y?

A

(Cosθ)ₐ = [ xᵀ A y ] / ||x||ₐ ||y||ₐ

33
Q

What does the determinant of a matrix have to do with its inverse?

A

The inverse of a matrix exists if and only if the determinant is non-zero

34
Q

If you have given Γ₂ₓ₂, what is γ₁?

A

1) the first column vector (₂ₓ₁)

2) called the “first eigenvector”