Addition and Subtraction of Matrices
Addition and Subtraction of Matrices
and 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
3
1. 𝐷= 7
−2
4 6 9
5 71 10 1
2. 𝑅= 11 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
which
columnit in
appears. 4 − 14
𝑅= −7
18 5
13 in the first row first column
* 𝑅2,2 = 4 is the element
−20 4 22
In general, the element in row i and column j of any
matrix is denoted as 𝑎45,
• 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
𝐴= 29 𝐵= −4
−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
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