Matrix Multiplication Flashcards

1
Q

What is the compatibility rule?

A

The matrix multiplication (product) AB of two matrices A and B is only defined if the number of columns of A equals the number of rows of B.

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

Define matrix multiplication.

A

If A is a m×n matrix and B is a n×p matrix, then their product AB is the m×p matrix whose (i, j)-th entry is the dot product of
the i-th row of A with j-th column of B.

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

What are the 4 properties of matrix multiplication?

A
  1. Sometimes we can find AB, but BA is not defined (not compatible).
  2. In general AB≠BA (the product is not commutative).
  3. It can happen that AB=0 (zero matrix), but neither A nor B is zero
  4. It can happen that AC=BC, but C≠0 (zero matrix) and A≠B (we can not cancel out C, even if C≠0).
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are 5 other rules for Matrix multiplication?

A

Suppose A, B, C are matrices and k ∈ R. Then,
1. (AB)C = A(BC),
2. A(B + C) = AB + AC,
3. (B + C)A = BA + CA,
4. k(AB) = (kA)B = A(kB),
5. If A is a m × n matrix, then A 0n×p = 0m×p and
0q×mA = 0q×n, where 0n×p is the zero matrix of size n × p

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

Define a matrix’s transpose.

A

The transpose of a m×n matrix A is the n×m matrix A^T whose rows are columns of A

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

What are the 4 properties of Transpose operations?

A
  1. (A+B)^T = A^T+B^T
  2. (kA)^T = kA^T , k ∈ R,
  3. (A^T)^T = A,
  4. (AB)^T = B^T A^T (Note the order).
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are identity matrices?.

A

Square matrices whose diagonal entries are all 1.

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

What are two facts about identity matrices?

A
  1. For every n×n matrix A, we have AI_n = I_nA = A.

2. For every n∈N, we have (I_n)^T = I_n

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

Define block multiplication.

A

Matrices can be cut into blocks (smaller matrices) to simplify matrix multiplication.

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

Describe Matrix Multiplication in Vector Format.

A

Suppose A is a m×n matrix and B a n×k matrix. We can write B in vector format as B = [b1,b2,···,bk ], where bj
is the j-th column of B and a vector in R^n. Then the product AB is the
m×k matrix given by
AB = A[b1,b2,···,bk] = [Ab1,Ab2,···,Abk].
Similarly, we can write A in vector format A=[a1,a2,···,am]^T ,
where ai
is the i-th row of A and a vector in R^n. Then, the m×k
product matrix AB is given by
AB = [a1,a2,…,am]
B = [a1B,a2B,…,amB]

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

What is a fact about solving linear systems?

A

Solving [A | b] and finding x=(x1,···,xn) is the same as solving the matrix equation Ax = b. If A is the size m×n coefficient matrix, we can write A=[c1,···,cn], where ci is a vector in R^m. Then Ax=x1c1+···+xncn is linear combination of columns of A.
i.e.: Ax = b is consistent ⇔ b is a linear combination of columns of A

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