Contents
1. Definition
2. Common Notation
3. Matrix Multiplication
4. Matrix Addition
5. Square Matrices, Leading Diagonal and Trace
6. Identity Matrix
7. Inverse Matrix
8. Matrices as linear transformations
Definition
Let be a set. Then, a matrix is a collection of elements of
, denoted
, arranged in the form,
Where denotes the element in the
-th row, and the
-th column, starting from the top left element and counting downwards for rows and to the right for columns. Note that the reason for using the dots is that they fill in for several elements.
Dimension of a Matrix
The dimension of a matrix , where
has
rows and
columns, is defined to be
. Ie, the dimension of the matrix
is . We also say that
is an
matrix as a synonym for
having dimension
.
Common notation
It is convention to denote the elements of a matrix using small letters, and the matrices themselves by capital letters. Furthermore, whatever letter is used for the matrix, we use the lower case version of that letter to denote its elements.
If we wish to refer to a specific element in the matrix, say the matrix , then we may do so by specifiying the row and column in which the element is located. To do so, we use the format
, as in the definition. For example, in the matrix
the element is
Matrix Multiplication
The multiplication of two matrices, and
, is written
, and is only defined when the number of columns of
is equal to the number of rows of
.
If , where
has dimension
and
has dimension
, then the element
of
is given by the following formula,
and will have dimension
. Ie, the formula above is valid for
and
.
Matrix Addition and Subtraction
We define matrix addition similarly. Let . Then, the elements of
are defined by the formula,
Thus, addition and subtraction between matrices is only defined if they have the same dimension.
Square Matrices, Leading Diagonal and Trace
A square matrix is defined as a matrix with dimension . In other words, it is a matrix which has the same number of rows as it has columns.
The leading diagonal of a matrix is defined only for square matrices. Let
be a square matrix with dimension
. Then, the leading diagonal of
is the list of elements,
That is, it is the set of elements where the row number is equal to the column number. For example, the leading diagonal of the matrix
Is the ordered set of elements,
The trace of a matrix , denoted by
, is only defined for square matrices. The trace is defined to be the sum of the elements in the leading diagonal. For matrix
above, the trace is equal to
The Identity Matrix
The identity matrix of dimension , denoted by
is the
matrix such that for every element of the matrix
,
For all and
. An example of a
matrix would be,
The determinant of a matrix
Please note that the determinant section is still under review as I need time to derive the properties of determinants etc using this definition of a determinant.
Given a matrix , we can perform matrix multiplication on a set of vectors. This will give us a new matrix of vectors, which we may find the ‘volume’ of. The ratio
of the new to old volumes is equal to the determinant of the matrix
.
The determinant of is only defined if
is a square matrix.