- Product
of two matrices
and
is defined only if number of columns of the matrix
is equal to the number of rows of the matrix
. That is, if
is an
matrix, then for
to be defined,
needs to be an
matrix for some
.
- If
and
, then
. Here, we used the notation
to denote the element in the row
and column
of the matrix
.
- A matrix product is equivalent to multiplying each of the rows of the left matrix separately by the right matrix. That is,
if, then
.
Note that,are row vectors here.
- A matrix product is equivalent to multiplying each of the columns of the right matrix separately by the left matrix. That is,
If, then
Note that,are column vectors here.
- If
and
, then
Here,are row vectors/matrices,
are column vectors/matrices and
is just the matrix product of the
and
. (Note that, multiplying a row matrix by a column matrix is same as taking their dot product treating them simply as vectors)
- If
and
, then
Here,are
column vectors/matrices,
are
row vectors/matrices and
is the
matrix product of
and
.
- Left multiplication of a square matrix
by a diagonal matrix causes the rows of
to be multiplied by the diagonal entries. This is,
and
, then
- Right multiplication of a square matrix
by a diagonal matrix causes the columns of
to be multiplied by the diagonal entries. This is, if
and
, then
Matrix Transpose and Conjugation
- Given a
matrix
, its transpose
is a
matrix such that
- Another way to generate transpose of a matrix is make rows of the original matrix into columns and the columns of the original matrix into rows.
- For a square matrix, another way to generate transpose of the matrix is to “reflect” elements about the diagonal.
- Some properties of matrix transpose are:
. More generally,
.
. More generally,
.
- A square matrix
is symmetric if
.
- A matrix is symmetric if its elements “above” the diagonal coincide with their reflections “below” the diagonal.
- Given a
complex matrix, its conjugate
is a
matrix such that
.
- Some properties of matrix conjugate are:
. More generally,
.
. More generally,
if and only if
is real.
- Some properties of matrix conjugate are:
- Given a
complex matrix
, its conjugate transpose or its Hermitian transpose
(alternatively, denoted
) is a
matrix such that
.
if and only if
is real.
- Some properties of conjugate transpose are:
. More generally,
.
. More generally,
.
- A matrix is called Hermitian if
.
- A square matrix is Hermitian implies its diagonal entries are real.
- A matrix is Hermitian implies its elements above the diagonal coincide with the conjugates of the elements below the diagonal.
- A matrix is symmetric does not imply that it is Hermitian. A symmetric matrix is Hermitian if and only if it is real.
- A square matrix is unitary if
– that is, if
, where
is identity matrix.
- The inverse of a unitary matrix can be simply computed by transposing and conjugating the matrix.
- Note that, for a Hermitian matrix
, while for a unitary matrix
.
- A matrix is unitary if and only if its columns are orthogonal to each other.
- A matrix is unitary if and only if its rows are orthogonal to each other.
- As an example, the
-point discrete Fourier transform (DFT) matrix
is an
matrix with
, where
. This matrix is symmetric and unitary.