Home page for accesible maths 1 Matrices

Style control - access keys in brackets

Font (2 3) - + Letter spacing (4 5) - + Word spacing (6 7) - + Line spacing (8 9) - +

1.5. The transpose of a matrix

In this subsection, we consider arbitrary rectangular matrices. A concept that turns out to be useful in practice is the transpose of a matrix. Roughly, starting with a matrix A, we take its flip about the diagonal terms aii of A, so that the rows of A form the columns of At and vice-versa.

Definition 1.5.1.

Let A=(aij)Mn×m(), for some integers n,m1. The transpose of A is the matrix At=(aij)Mm×n() with coefficients

aij=aji.

Example 1.5.2.

  • (1234)t=(1324),(123)t=(123)and(123456)t=(142536).
Remark 1.5.3.

Some authors write the transpose of a matrix as AT, or even A.

The next result outlines the main properties of the transpose. See Section 3 for the definition of the inverse A-1 of a matrix AMn×n().

Theorem 1.5.4.

Let AMn×m(R). The following properties hold.

  1. (i)

    (At)t=A.

  2. (ii)

    If BMm×p(), then AB and BtAt are defined, and (AB)t=BtAt.

Proof.

For the proof, we write Xij for the (i,j) coefficient of a matrix X.

  1. (i)

    By definition of the transpose, we have (At)ij=Aji. By iterating the transpose, we obtain

    ((At)t)ij=(At)ji=Aijfor all indices i,j,

    and so, (At)t=A.

  2. (ii)

    We have BtMp×m() and AtMm×n(), so BtAt is defined and both (AB)t and BtAt belong to Mp×n(). We need to check that ((AB)t)ij=(BtAt)ij for all indices i,j. We have by definition of the transpose and matrix multiplication

    ((AB)t)ij=(AB)ji=1kmAjkBki

    which we compare with

    (BtAt)ij=1km(Bt)ik(At)kj=1kmBkiAjk.

    Since AjkBki=BkiAjk for all indices i,j,k, the products are equal, saying that (AB)t=BtAt.

Many matrices that arise naturally, such as the correlation matrix in statistics, have a special property: they are symmetric.

Definition 1.5.5.

Let AMn(). We say that A is symmetric if At=A. We say that A is skew-symmetric if At=-A.

Remark 1.5.6.
  1. (i)

    The terms symmetric and skew-symmetric are defined for square matrices only.

  2. (ii)

    If A is skew-symmetric then the elements on the diagonal are all zero.

  3. (iii)

    Most matrices are neither symmetric, nor skew-symmetric.

  4. (iv)

    Compare the notions of (skew-)symmetry of matrices with the concept of parity of functions in analysis.

Example 1.5.7.

    1. (a)

      The matrix (1-14-125453) is symmetric.

      The matrix (01-2-1042-40) is skew-symmetric.

    2. (b)

      Let A be any square matrix. Then AAt is symmetric. Indeed, by Theorem 1.5.4, we have

      (AAt)t=(At)tAt=AAt.

      Thus, AAt is a symmetric matrix.

    3. (c)

      Let A be a symmetric matrix and B a skew-symmetric matrix. Then ABA is skew-symmetric. Indeed, by Theorem 1.5.4, we have

      (ABA)t=AtBtAt=A(-B)A=-(ABA).

      So, ABA is skew-symmetric.