Matrix Flashcards

1
Q

matrix

A
  • a table of numbers
  • by convention, dimensions are defined in row-major order
  • in other words, as a “row” by “column” matrix
    • ex: 2 x 3 matrix
  • starts from top-left like in programming
  • can be used to represent grid-like data
  • can also be used to solve algebraic expressions
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

augmented matrix

A
  • using a matrix to represent a linear system of equations
  • each row represents an equation
  • each column represents coefficients of a variable or a constant (x, y, etc.)
  • don’t need to explicity write x, y or =
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

matrix row operations

A
  • Operations that you can use when solving equations
  • Produces an equivalent system of equations
  • Essentially the same operations that are allowed in normal algebra

3 Operations

  1. Switch any two rows:
    • R​1​ ​↔ R​2 : Switch row 1 and row 2
  2. Multiply a row by a non-zero constant (a non-zero scaler)
    • 3R​2​ ​→ R​2​​ : Multiply row 2 by 3
  3. Add 1 row to another
    • R​1 ​​+ R​2​ ​→ R​2 : Add row 1 and 2 into row 2
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

matrix addition (subtraction)

A
  • Add and subtract elements in corresponding cells
  • Matrices must have same dimensions; otherwise A+B is not defined
  • Order doesn’t matter
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

multiplying by a scalar

A
  • Simply multiply every cell by some constant
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

vector

A
  • (for my purposes) simply a sequence of numbers
  • or a matrix with one row or one column (or both, if it’s one cell)
  • or an ordered set of numbers
  • in this context, equvalent to a tuple, an n-tuple (a tuple with n elements) or a list
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

dot product

A
  • way of combining two vectors of equal length and producing one number
  • defined both algebraicly and geometrically
  • both are functionally equivalent

Steps (algebraic dot product)

  1. Take two vectors of equal length
  2. Multiply each term in the same position together
  3. Add everything up
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

matrix multiplication

A
  • Convention for multiplying two matrices
  • Given matrices A, B
  • Each cell (i, j) in final matrix is dot product of A’s row i and B’s column j
  • If A, B have have respective dimentions (rA x cA) and (rB x cB)
  • Can only multiply if carb, cA == rB, otherwise A*B is undefined
  • Final dimensions of new matrix are rax-cub (rA x cB)
  • Matrix multiplication is not commutative, the order of multiplication matters
  • A*B != B*A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly