Matrices Flashcards
How are matrices added/subtracted?
Add/subtract the elements in the same positions (the matrices must be the same size)
How are matrices multiplied?
Scalar multiplication:
Multiply each element of the matrix by the scalar.
Matrix multiplication:
Multiply the first element in the first row of the first martix by the first element in the first column of the second matrix. Do so for all the elements in the first row of the first matrix and the first column of the second matrix, and add the products together. Repeat for each row of the first matrix and each column of the scond matrix.
How can you divide by a matrix?
Find the inverse of the matrix and multiply by the inverse.
How do you find the inverse of a matrix?
͟ ͟ ͟1͟ ͟ _ ( d -b )
ad-bc ( -c a )
What is the determinant?
ad-bc
If the determinant is 0, the matrix must be singular (because you can’t divide by 0).
What is a singular matrix?
A matrix that does not have an inverse - this is when the determinant = 0 (can’t divide by 0)
What is the identity matrix?
( 1 0 ) ( 0 1 ) Denoted as I All elements of the matrix are 0, apart from those in the lead diagonal which are 1 For matrix A : AI = A
What is the zero matrix?
( 0 0 ) ( 0 0 ) Denoted as 0 All elements are 0 For matrix A : A0 = 0
What is the rotation matrix?
For a rotation of θ° anticlockwise from the origin:
cosθ -sinθ
( sinθ cosθ )
What is the reflection matrix?
For a reflection in the line y = tanθ x :
cos2θ sin2θ
( sin2θ -cos2θ )
What is the matrix for a reflection in the y axis?
( -1 0 )
0 1
What is the matrix for a reflection in the x axis?
( 1 0 )
0 -1
What is the matrix for a reflection in the line y = x?
( 0 1 )
1 0
What is the matrix for a reflection in the line y = -x?
( 0 -1 )
-1 0
What is the matrix for a stretch in the x axis?
For scale factor k :
( k 0 )
( 0 1 )