Matrices
Matrices
columns.
MATRIX DIMENSIONS
§ The dimensions of a matrix tells its size: the number of rows and
columns of the matrix, in that order.
−8 −4
𝐵 = 23 12
18 10
*matrix B has three rows and two columns, so it is a 3x2 matrix
Identify the dimensions of the following matrices:
5 4 6
1. 𝐷 = 7 3 −2
4 6 9
5 7 0
1 1 1 1
2. 𝑅=
1 1 1 1
2
3. 𝑆= 3
4
4 4 4
5 5 5
4. 𝐹= 6 6 6
7 7 7
8 8 8
5. 𝑉= 9 9 9 9 9
MATRIX ELEMENTS
A matrix element is simply a matrix entry. Each element
in a matrix is identified by naming the row and column in
which it appears.
4 −14 −7
𝑅 = 18 5 13
−20 4 22
* 𝑅2,2 = 4 is the element in the first row first column
In general, the element in row i and column j of any matrix
is denoted as 𝑎4,5
• To add, two matrices must be the same size, i.e. the rows must match in size, and the
columns must match in size.
• To add two matrices: add the numbers in the matching positions:
Example: 𝐴 + 𝐵
9 5 −8 −4
𝐴 = 29 −6 𝐵 = 23 12
10 14 18 10
9 + (−8) 5 + (−4) 1 1
𝐴 − 𝐵 = 29 + 23 −6 + 12 = 52 6
10 + 18 14 + 10 28 24
Add/subtract the following matrices:
9 5 −4 5 6 0 0 −4
𝐴 = 29 −6 𝐵 = 15 53 𝐶= 7 −2 D = 27 1
10 14 9 21 1 19 31 1
1. A+B
2. B+C
3. C+D
4. D+ A
5. A+C
6. A–C
7. D-A
8. B–C
9. C–D
10. A – B
The TRANSPOSE of an mxn matrix A is the nxm matrix AT obtained by
interchanging rows and columns of matrix A.
9 5
𝐴 = 29 −6
10 14
9 29 10
AT =
5 −6 14
Zero Matrix – a matrix with all zero elements
Upper Triangular Matrix - a square matrix with all elements
below the diagonal are zero
Lower Triangular Matrix- a square matrix with all elements
above the diagonal are zero
Diagonal Matrix – a square matrix whose off-diagonal
elements are all zero
Identity Matrix – diagonal matrix with all ones on the
diagonal