Basic Matrix Operations Flashcards
What is a scalar multiple?
Denoted cA, where c is a real number (called the scalar), is a matrix obtained from A where each entry is multiplied by c.
How are two matrices conformable for addition?
If, for two matrices A and B, they are both m x n matrices, then they are conformable for addition.
How do you perform matrix addition?
(A + B)[i, j] = A[i, j] + B[i, j]
Pretty simple.
List all of the possible operations on A, B, C (all with order m x n) by two scalars, α and β.
This will include both addition and scalar multiplication
- A = -1 * A
A - A = O
A + O = A
A + B = B + A
A + (B + C) = (A + B) + C
α(A + B) = αA + αB
(α + β)A = αA + βA
Is AB = BA always true?
AB = BA if, and only if, A and B are both null matrices.
How do you perform matrix multiplication?
For an m x n matrix A and an n x p matrix B, the matrix product C = A * B (C=AB) is defined to be an m x p matrix.
For every i in [1, …, m] and every j in [1, …, p]:
c[i ,j] = a[i, 1]b[1, j] + a[i, 2]b[2,j] + … + a[i, n]*b[n,j]
What mathematical equation can you represent with a matrix format?
Linear equations!
List all of the possible operations on A, B, C (all in correct order for which addition and multiplication is defined)
A(B+C) = AB + AC
(A+B)C = AC + BC
(AB)C = A(BC)
What is (AB)^T equal to?
B^T * A^T