Professional Documents
Culture Documents
Matrices Summary
To transpose a matrix write the rows as columns.
For example:
2 1 5 0 2 1 2
A = [1 5 0 9] AT = 1 5 1
2 1 4 2 5 0 4
0 9 2
To add or subtract matrices they must be the same dimensions. Just add or subtract the
corresponding numbers.
For example:
2 5 −1 3 −2 3 5 3 2
[4 1 2] + [7 4 2 ] = [11 5 4]
−3 3 4 10 5 −5 7 8 −1
To multiply matrices the number of columns in the 1st must equal the number of rows in
the 2nd because you multiply across the row and down the column.
For example:
16 5 37
= [ 38 30 76 ]
−23 −38 −33
Transformations
When setting up the multiplication for a transformation the transformation matrix always
goes first.
Rotations:
𝑐𝑜𝑠𝜃 𝑠𝑖𝑛𝜃 𝑐𝑜𝑠𝜃 −𝑠𝑖𝑛𝜃
Clockwise: [ ] Anticlockwise: [ ]
−𝑠𝑖𝑛𝜃 𝑐𝑜𝑠𝜃 𝑠𝑖𝑛𝜃 𝑐𝑜𝑠𝜃
Reflections: Scaling / magnification:
0 1 3 0
[ ] : swaps 𝑥 𝑎𝑛𝑑 𝑦. [ ] : makes 𝑥 3x bigger and 𝑦 2x bigger
1 0 0 2
Composite:
If a matrix A is reflected by T1 then magnified by T2 to give matrix B then the single
transformation that would transform A into B is T2T1 (in that order).
n.b. If det=0 matrix is singular and there is no inverse. If det≠0, matrix is non-singular.
All you need to remember to find the values of 𝑥, 𝑦, 𝑧 etc is to do: inverse x answers
Example: Solve 5𝑥 − 6𝑦 = −8
and −3𝑥 + 4𝑦 = 6 simultaneously
5 −6 𝑥 −8
We have: [ ] [𝑦] = [ ]
−3 4 6
𝐴 𝑥 = 𝐵
𝑥 1 4 6 −8 1 4 2
[𝑦 ] = [ ] [ ]= [ ] = [ ]
2 3 5 6 2 6 3
The Minor:
The minor of each element is the determinant of everything that is not in the same row or
column as the element. It is used when finding the determinant and the adjoint.
𝒂 𝒃 𝒄
e.g. Find the minor of each element in the top row of the matrix: [𝒅 𝒆 𝒇]
𝒈 𝒉 𝒊
To find the minor of element ‘𝑎’ cover up everything in the same row or column and the
minor is the determinant of what is left:
𝑎 𝑏 𝑐
𝒆 𝒇
𝑑 𝑒 𝑓 the minor of a is: | | = 𝒆𝒊 − 𝒇𝒉
𝑔 ℎ 𝑖 𝒉 𝒊
To find the minor of element ‘𝑏’ cover up everything in the same row or column and the
minor is the determinant of what is left:
𝑎 𝑏 𝑐 𝒅 𝒇
𝑑 𝑒 𝑓 the minor of b is: | | = 𝒅𝒊 − 𝒇𝒈
𝑔 ℎ 𝑖 𝒈 𝒊
To find the minor of element ‘𝑐’ cover up everything in the same row or column and the
minor is the determinant of what is left:
𝑎 𝑏 𝑐
𝒅 𝒆
𝑑 𝑒 𝑓 the minor of c is: | | = 𝒅𝒉 − 𝒆𝒈
𝑔 ℎ 𝑖
𝒈 𝒉
The signs:
When finding the determinant or the adjoint we use alternate signs as follows:
+ − +
[− + −]
+ − +
Determinant:
For the top row only, multiply each number by its minor and apply the alternate signs:
𝑎 𝑏 𝑐
𝑒 𝑓 𝑑 𝑓 𝑑 𝑒
If: A = [𝑑 𝑒 𝑓] |𝐴| = +𝑎 | |−𝑏| |+𝑐| |
ℎ 𝑖 𝑔 𝑖 𝑔 ℎ
𝑔 ℎ 𝑖
Adjoint:
The adjoint is the transpose of the cofactors (𝑐 𝑇 )
To find the cofactors you find the ‘minor’ of each element (and use the alternate signs as
shown above).
The minors of
𝑎 𝑏 𝑐 each element
If: A = [𝑑 𝑒 𝑓]
𝑔 ℎ 𝑖
𝑒 𝑓 𝑑 𝑓 𝑑 𝑒
Matrix of cofactors = +| |−| |+| |
ℎ 𝑖 𝑔 𝑖 𝑔 ℎ
𝑏 𝑐 𝑎 𝑐 𝑎 𝑏
−| | + |𝑔 𝑖 | − | |
ℎ 𝑖 𝑔 ℎ
𝑏 𝑐 𝑎 𝑐 𝑎 𝑏
+| | − |𝑑 𝑓 | + |𝑑 |
𝑒 𝑓 𝑒
|𝐴| 3 2 3 2 3 3
Determinant: = +2 | | − 1| | + 5| |
1 1 4 1 4 1
3 2 3 2 3 3
+| | −| | +| |
1 1 4 1 4 1 1 5 −9
1 5 2 5 2 1
Cofactors = −| | +| | −| | =[ 4 −18 2]
1 1 4 1 4 1
1 5 2 5 2 1 −13 11 3
[+ |3 2
| −|
3 2
| +|
3 3
|]
We have transposed
the matrix of cofactors
1 4 −13 to get the adjoint.
Adjoint (𝑪𝑻 ): = [ 5 −18 11 ]
−9 2 3
𝟏 𝟒 −𝟏𝟑
1 𝟏
Inverse: A-1 = x adj =− [𝟓 −𝟏𝟖 𝟏𝟏 ]
|𝐴| 𝟑𝟖
−𝟗 𝟐 𝟑
𝑎 𝑏 𝑥 𝑒
e.g. Solve [ ] [𝑦] = [𝑓 ] to find 𝑥 𝑎𝑛𝑑 𝑦
𝑐 𝑑
st
Replace 1 column with
To find 𝒙: answer column
𝑒 𝑏
| |
𝑓 𝑑
𝑥= 𝑎 𝑏
Determinant of matrix with 𝟏𝐬𝐭 column replaced with the answer column.
Determinant of original matrix
| |
𝑐 𝑑
To find 𝒚:
𝑎 𝑒
|𝑐 𝑓|
𝑦= 𝑎 𝑏
Determinant of matrix with 𝟐𝐧𝐝 column replaced with the answer column.
Determinant of original matrix
| |
𝑐 𝑑
Notice that the bottom of the fraction is always the determinant of the original
matrix.
answers
To find 𝑥:
10 −4
| | 50
−5 7
= = 2
25 25
answers
To find 𝑦:
3 10
| | −25
1 −5
= = -1
25 25
2 1 −3 𝑥 7
Set up the matrix: [1 3 1 ] [𝑦 ] = [ 6]
1 −4 −5 𝑧 −2
2 1 −3
Determinant of matrix: |1 3 1 |=5
1 −4 −5
answers
To find 𝑥
7 1 −3
|6 3 1|
−2 −4 −5 5
= = 1
5 5
answers
To find 𝑦
2 7 −3
|1 6 1|
1 −2 −5 10
= = 2
5 5
answers
To find 𝑧
2 1 7
|1 3 6|
1 −4 −2 −5
= = -1
5 5