Basic Matrix Definitions
Basic definitions.
Table of contents
Matrix
Following is a
is the -th entry or element of .Often denoted in a short-hand notation:
Elementary Row Operations
- Row exchange: swap two rows of a matrix.
- Row scaling: multiply a row by a nonzero scalar.
- Row addition: add a scalar multiple of one row to another row.
Row Equivalence
Matrices
We denote row equivalence by:
Basic Matrix Math Operations
- Addition and subtraction of matrices are defined only for matrices of the same size.
- Scalar multiplication is defined for any matrix and any scalar.
- Transpose of a scalar is itself:
- Transpose of a scalar is itself:
Basic matrix calculations generally satisfy all the usual rules of algebra: commutative, associative, distributive, etc.
Matrix Multiplication
Do not confuse matrix multiplication with Hadamard product (element-wise product).
Matrix multiplication
If the resulting matrix
The
- Associative:
- Distributive:
and - Not commutative:
- Not cancellative:
does not imply does not imply or
Expand , etc. to check your understanding
Given that
Square Matrix
A square matrix is a matrix with the same number of rows and columns.
A
Identity Matrix
An identity matrix (unit matrix) is a diagonal matrix whose principal diagonal elements are all one.
The identity matrix is often denoted by
Elementary Matrix
An elementary matrix is a square matrix that can be obtained from the identity matrix by a single elementary row operation (row exchange, linear combination of rows).
From
Multiplying a matrix by an elementary matrix is equivalent to performing the corresponding elementary row operation.
Elementary matrices are invertible. Which makes sense, because elementary row operations are invertible.
The inverse of an elementary matrix is also an elementary matrix which undoes the elementary row operation.
Power of a Matrix
For a square matrix
It has the following properties:
Transpose of a Matrix
The transpose of a matrix
Symmetric Matrix
A matrix
- Only square matrices can be symmetric.
- If
is invertible, then is also invertible: is always symmetric:- Same for
:
- Same for
Skew-symmetric Matrix
A matrix
Properties of Transpose
For any matrices