Unit 5 - Matrices and Vectors Flashcards
A matrix with just one column is also called
a vector
An m × n matrix is a
rectangular array of values (called entries), arranged in m rows and n columns s (where m and n are positive integers)
If M is a matrix, then its transpose is a
a matrix that is the “flipped” version of M, where each row of M becomes a column, and each column of M becomes a row.
Consider the following 2 × 3 matrix:
M =
[10 20 30]
[40 50 60]
the transpose of M is the following
3 × 2 matrix:
M=
[10 40]
[20 50]
[30 60]
The scalar multiplication is the product between a real number c and a matrix M; the result is
a matrix with the values in M multiplied by c.
Consider the following 2 × 3 matrix:
M =
[10 20 30]
[40 50 60]
then scalar multiplication 2M is the following
=
[20 40 60 ]
[80 100 120]
The addition between two matrices M and N is only defined if
M and N have the same number of rows and columns
Consider the following 2 × 3 matrices:
M =
[10 20 30]
[40 50 60]
N =
[0.1 0.2 0.3]
[0.4 0.5 0.6]
M + N =
M + N =
[10.1 20.2 30.3]
[40.4 50.5 60.6]
Since M is a 3 × 2 matrix, and N is a 2 × 4 matrix, we know that the product MN is going to be a
3 × 4 matrix
Matrix multiplication requires
the number of rows of one to match the number of columns of the other
During matrix multiplication to compute an entry at row i and column j you
multiply each value in row i
of M to the corresponding value on column j of N, and sum the results.