Chapter 5 (Matrices) - Summary
Chapter 5 (Matrices) - Summary
Properties of matrices
Matrix Elements
A matrix is a rectangular array that displays a collection of values. An element is an entry in a matrix. An element in matrix Acan be
A = [ ]
4 2 1 3 referenced as:
9 6 7 8 amn
, where
Rows are horizontal lists that are numbered from top to bottom. • nis the column number
Example:
4 2 1 3 1
9 6 7 8 2 The element a23is located in the second row and third column.
3
Columns are vertical lists that are numbered from left to right.
4 2 1 3
A =
1 2 3 4 9 6 7 8 2
4 2 1 3
9 6 7 8
Order
The order represents the dimensions of a matrix. It is expressed
in the form:
number of rows × number of columns
Example: The following is a 2 × 4 matrix.
A = [ ]
4 2 1 3
9 6 7 8
Types of matrices
Row matrix Zero matrix
A matrix with one row and any number of columns. A matrix of any size where all of the elements are zero.
[10 5] and [ 4 4 8 8 3] 0 0
[0 0]
[ 0] and 0
0
Column matrix
A matrix with one column and any number of rows.
Identity matrix
⎢ ⎥
⎡2⎤ A square matrix where all of the elements in the leading diagonal
and [ ]
14 1
(the diagonal line from the top left corner to the bottom right
6 1
⎣9⎦ corner of a square matrix) are one and the rest of the elements
are zero. It is commonly denoted as I.
⎢ ⎥
Square matrix ⎡1 0 0 0⎤
and [ ]
0 1 0 0 1 0
A matrix with an equal number of rows and columns.
0 0 1 0 0 1
⎣0 1⎦
⎢ ⎥
⎡1 2 3 4⎤ 0 0
[
9 16]
5.2 1 5 6 7 8
and
9 10 11 12
⎣13 14 15 16⎦
Scalar multiplication The determinant can be used to calculate the inverse of a matrix.
Each element in the matrix is multiplied by the scalar. If the determinant is 0, then the matrix does not have an inverse.
This is known as a singular matrix.
Example:
3[
0 3 ] [0 × 3 3 × 3 ] [ 0 9 ]
6 −7 6 × 3 −7 × 3 18 −21 Inverse matrices
= =
The inverse matrix, A−1, is a square matrix such that when it is
pre- or post-multiplied with A, it results in the identity matrix, I.
Matrix multiplication
A × A−1 = A−1 × A = I
This operation is only defined if the number of columns in the
first matrix is equal to the number of rows in the second matrix. The inverse of matrix A
is denoted A−1.
A matrix is raised to a power (or index). This can only be applied X = A−1B
to square matrices.
B2 = [
0 −3] [0 −3]
7 5 7 5
×
= [
0 × 7 + (−3) × 0 0 × 5 + (−3) × (−3)]
7×7+5×0 7 × 5 + 5 × (−3)
= [
9]
49 20
0
C M
• B = [f ]
e
0.6
The following equation can be evaluated to solve for the 0.4
variable matrix, X, and determine the values of 𝑥 and 𝑦.
Element t12
means that 40% of items at M today will transition
X = A−1B to C tomorrow.
A state matrix models the state of a system at specific time
Summing matrices intervals. It is commonly denoted as Sn . An initial state matrix
A summing matrix is a row or column matrix that can be is a column matrix that presents the first state of a system.
used to calculate the sum of either the rows or the columns It is commonly denoted as S0
of another matrix. Example:
[ ] [ 1 1 1 1]
1
1 240 P
S0 =
127 T
Summing across rows
Row 1 means that there were initially 240 items at P.
• Post-multiply a summing matrix of 1 column to that matrix.
Row 2 means that there were initially 127 items at T.
• The number of rows in the summing matrix must be equal
to the number of columns in the matrix to be summed. A matrix recurrence relation follows the form:
S0 =initial state matrix, Sn+1
= T × Sn, where
A = [ ]
1 4
−2 3 • nrefers to the state number
[ ] × [ ] = [
−2 × 1 + 3 × 1]
1 4 1 1×1+4×1 • Sn is the current state matrix
−2 3 1
• Sn+1
is the next state matrix
= [ ]
5
1 • Tis the transition matrix
[ −2 3]
1 4
[ 1 1] × = [1 × 1 + 1 × (−2) 1 × 4 + 1 × 3]
= [−1 7]
Z Y
Z Y
Misconceptions