A matrix is a collection of numbers that can be indexed in a particular way, this indexing mimics a two dimensional grid. The dimensions of a matrix are stated as where when it has rows and columns.
Suppose that is a matrix, then we can access the value at the -th row and -th column by writing , we can graphically represent this information by introducing variables for the coefficients and writing them like this:
Matrices are denoted by capital letters such as .
Set of Matrices
Suppose that then we denote the set of all matrices with cofficients from the set as
Row Matrix
Any matrix for some is known as a row matrix.
Row of a Matrix
Suppose that is a matrix, then if we want to extract the row of we can write .
Note that this is a function of the form
The notation intends to mimic freezing at a certain row and then sweeping over all columns.
Row Matrix Representation
Given a matrix , there is an associated row matrix representation, of the following form
Where the arrows are there to remind you that they expand horizontally. Also observe that this matrix is an element of
Column Matrix
Any matrix for some is known as a row matrix.
We will denote column or row matrices with a lower case boldfaced character, like
Column of a Matrix
Suppose that is a matrix, then if we want to extract the -th row of we can write .
Note that this is a function of the form
The denotes that the row variable may be varied vertically, while the column index is fixed in place. If we want to represent the matrix as columns graphically, we may do so like this
Column Matrix Representation
Given a matrix , there is an associated column matrix representation, of the following form
Where the arrows are there to remind you that they expand graphically expand vertically. Also observe that this matrix is an element of .
We can connect some of the previous definitions here to say that is a column matrix whose entries are row matrices.
Matrix Multiplication
Suppose such that and that we have two matrices , defined as
Then we define the matrix multiplication of and as the matrix
Where:
Matrix Functions
Suppose that and that is a function, then we augment this function to as follows:
Packing Function
Suppose that , then we define the following function as
Unpacking Function
Suppose that , then we define the following function as