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 ai⁢i of A, so that the rows of A form the columns of At and vice-versa.

Definition 1.5.1.

Let A=(ai⁢j)∈Mn×m⁡(ℝ), for some integers n,m≥1. The transpose of A is the matrix At=(ai⁢j′)∈Mm×n⁡(ℝ) with coefficients

ai⁢j′=aj⁢i.

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 A∈Mn×n⁡(ℝ).

Theorem 1.5.4.

Let A∈Mn×m⁡(R). The following properties hold.

  1. (i)

    (At)t=A.

  2. (ii)

    If B∈Mm×p⁡(ℝ), then A⁢B and Bt⁢At are defined, and (A⁢B)t=Bt⁢At.

Proof.

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

  1. (i)

    By definition of the transpose, we have (At)i⁢j=Aj⁢i. By iterating the transpose, we obtain

    ((At)t)i⁢j=(At)j⁢i=Ai⁢j for all indices i,j, 

    and so, (At)t=A.

  2. (ii)

    We have Bt∈Mp×m⁡(ℝ) and At∈Mm×n⁡(ℝ), so Bt⁢At is defined and both (A⁢B)t and Bt⁢At belong to Mp×n⁡(ℝ). We need to check that ((A⁢B)t)i⁢j=(Bt⁢At)i⁢j for all indices i,j. We have by definition of the transpose and matrix multiplication

    ((A⁢B)t)i⁢j=(A⁢B)j⁢i=∑1≤k≤mAj⁢k⁢Bk⁢i

    which we compare with

    (Bt⁢At)i⁢j=∑1≤k≤m(Bt)i⁢k⁢(At)k⁢j=∑1≤k≤mBk⁢i⁢Aj⁢k.

    Since Aj⁢k⁢Bk⁢i=Bk⁢i⁢Aj⁢k for all indices i,j,k, the products are equal, saying that (A⁢B)t=Bt⁢At.

∎

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

Definition 1.5.5.

Let A∈Mn⁡(ℝ). 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 A⁢At is symmetric. Indeed, by Theorem 1.5.4, we have

      (A⁢At)t=(At)t⁢At=A⁢At.

      Thus, A⁢At is a symmetric matrix.

    3. (c)

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

      (A⁢B⁢A)t=At⁢Bt⁢At=A⁢(-B)⁢A=-(A⁢B⁢A).

      So, A⁢B⁢A is skew-symmetric.