MatheramaMatherama
← Matrices and Determinants
Matrices and Determinants·Section 8·5 min read

Some Special Types of Matrices

Idempotent Matrix:§

A square matrix A\mathbf{A} is called idempotent if, when multiplied by itself, it yields the same matrix. In other words, A\mathbf{A} satisfies the equation:

A2=A\mathbf{A}^2 = \mathbf{A}

This means that applying the matrix operation multiple times has the same effect as applying it once.

An example of an idempotent matrix is:

A=(1000)\mathbf{A} = \begin{pmatrix} 1 & 0 \\ 0 & 0 \end{pmatrix}

To verify that it is idempotent, we compute A2\mathbf{A}^2:

A2=(1000)(1000)=(1000)=A\mathbf{A}^2 = \begin{pmatrix} 1 & 0 \\ 0 & 0 \end{pmatrix} \begin{pmatrix} 1 & 0 \\ 0 & 0 \end{pmatrix} = \begin{pmatrix} 1 & 0 \\ 0 & 0 \end{pmatrix} = \mathbf{A}

Since A2=A\mathbf{A}^2 = \mathbf{A}, it is idempotent.

Properties of Idempotent Matrices:§

  1. If A\mathbf{A} is idempotent, then An=A\mathbf{A}^n = \mathbf{A} for all n≥2n \geq 2:

    This property follows directly from the definition of an idempotent matrix, which states that A2=A\mathbf{A}^2 = \mathbf{A}. Now, if we compute An\mathbf{A}^n for any n≥2n \geq 2, we have:

    An=A⋅An−1\mathbf{A}^n = \mathbf{A} \cdot \mathbf{A}^{n-1}

    But since A2=A\mathbf{A}^2 = \mathbf{A}, we can replace any higher power of A\mathbf{A} by A\mathbf{A} itself. Therefore, for any n≥2n \geq 2:

    An=A\mathbf{A}^n = \mathbf{A}

    This means applying the matrix A\mathbf{A} multiple times has the same effect as applying it once, which is a core characteristic of idempotent matrices.

  2. If AB=A\mathbf{A}\mathbf{B} = \mathbf{A} and BA=B\mathbf{B}\mathbf{A} = \mathbf{B}, then A\mathbf{A} and B\mathbf{B} are idempotent:

    To prove this, we start by showing that A\mathbf{A} is idempotent:

    A2=AA=ABA=A(BA)=AB=A\mathbf{A}^2 = \mathbf{A}\mathbf{A} = \mathbf{A}\mathbf{B}\mathbf{A} = \mathbf{A}(\mathbf{B}\mathbf{A}) = \mathbf{A}\mathbf{B} = \mathbf{A}

    Hence, A\mathbf{A} is idempotent. Similarly, we show that B\mathbf{B} is idempotent:

    B2=BB=BAB=B(AB)=BA=B\mathbf{B}^2 = \mathbf{B}\mathbf{B} = \mathbf{B}\mathbf{A}\mathbf{B} = \mathbf{B}(\mathbf{A}\mathbf{B}) = \mathbf{B}\mathbf{A} = \mathbf{B}

    Therefore, B\mathbf{B} is also idempotent.

    1. If A\mathbf{A} is idempotent, then (I+A)2=I+3A(\mathbf{I} + \mathbf{A})^2 = \mathbf{I} + 3\mathbf{A}:

      Let’s compute (I+A)2(\mathbf{I} + \mathbf{A})^2:

      (I+A)2=(I+A)(I+A)(\mathbf{I} + \mathbf{A})^2 = (\mathbf{I} + \mathbf{A})(\mathbf{I} + \mathbf{A})

      Expanding the right-hand side:

      (I+A)(I+A)=I2+IA+AI+A2(\mathbf{I} + \mathbf{A})(\mathbf{I} + \mathbf{A}) = \mathbf{I}^2 + \mathbf{I}\mathbf{A} + \mathbf{A}\mathbf{I} + \mathbf{A}^2

      Since A2=A\mathbf{A}^2 = \mathbf{A}, this simplifies to:

      I+A+A+A=I+3A\mathbf{I} + \mathbf{A} + \mathbf{A} + \mathbf{A} = \mathbf{I} + 3\mathbf{A}

      Therefore, we have:

      (I+A)2=I+2A(\mathbf{I} + \mathbf{A})^2 = \mathbf{I} + 2\mathbf{A}

      This shows that when A\mathbf{A} is idempotent, adding the identity matrix to A\mathbf{A} and squaring the result gives I+2A\mathbf{I} + 2\mathbf{A}.

      (I+A)3=I+7A(\mathbf{I} + \mathbf{A})^3 = \mathbf{I} + 7\mathbf{A} for an idempotent matrix A\mathbf{A}.

    2. Similarly, (I+A)3=I+7A(\mathbf{I} + \mathbf{A})^3 = \mathbf{I} + 7\mathbf{A}

      To prove, we start by expanding (I+A)3(\mathbf{I} + \mathbf{A})^3. Using the binomial expansion for matrices, we have:

      (I+A)3=I3+3I2A+3IA2+A3(\mathbf{I} + \mathbf{A})^3 = \mathbf{I}^3 + 3\mathbf{I}^2\mathbf{A} + 3\mathbf{I}\mathbf{A}^2 + \mathbf{A}^3

      we get,

      (I+A)3=I+3A+3A+A(\mathbf{I} + \mathbf{A})^3 = \mathbf{I} + 3\mathbf{A} + 3\mathbf{A} + \mathbf{A}

      Simplifying the right-hand side:

      (I+A)3=I+7A(\mathbf{I} + \mathbf{A})^3 = \mathbf{I} + 7\mathbf{A}

      Thus, we have shown that:

      (I+A)3=I+7A(\mathbf{I} + \mathbf{A})^3 = \mathbf{I} + 7\mathbf{A}
    3. (I+A)n=I+(2n−1)A(\mathbf{I} + \mathbf{A})^n = \mathbf{I} + (2^n - 1)\mathbf{A} for an idempotent matrix A\mathbf{A}.

      To understand this, consider the example of (I+A)4(\mathbf{I} + \mathbf{A})^4:

      (I+A)4=I4+4I3A+6I2A2+4IA3+A4(\mathbf{I} + \mathbf{A})^4 = \mathbf{I}^4 + 4\mathbf{I}^3\mathbf{A} + 6\mathbf{I}^2\mathbf{A}^2 + 4\mathbf{I}\mathbf{A}^3 + \mathbf{A}^4

      Since A\mathbf{A} is idempotent (An=A\mathbf{A}^n = \mathbf{A} for n≥2n \geq 2), this simplifies to:

      (I+A)4=I+4A+6A+4A+A=I+15A(\mathbf{I} + \mathbf{A})^4 = \mathbf{I} + 4\mathbf{A} + 6\mathbf{A} + 4\mathbf{A} + \mathbf{A} = \mathbf{I} + 15\mathbf{A}

      We notice a pattern: for n=2n = 2, (I+A)2=I+3A(\mathbf{I} + \mathbf{A})^2 = \mathbf{I} + 3\mathbf{A}; for n=3n = 3, (I+A)3=I+7A(\mathbf{I} + \mathbf{A})^3 = \mathbf{I} + 7\mathbf{A}. The coefficients 33, 77, and 1515 follow the form 2n−12^n - 1. Therefore, for any nn, we expect:

      (I+A)n=I+(2n−1)A(\mathbf{I} + \mathbf{A})^n = \mathbf{I} + (2^n - 1)\mathbf{A}

      Proof:

      To prove this, use the binomial theorem to expand (I+A)n(\mathbf{I} + \mathbf{A})^n:

      (I+A)n=(n0)I+(n1)A+(n2)A2+⋯+(nn)An(\mathbf{I} + \mathbf{A})^n = \binom{n}{0} \mathbf{I} + \binom{n}{1} \mathbf{A} + \binom{n}{2} \mathbf{A}^2 + \dots + \binom{n}{n} \mathbf{A}^n

      Since Ak=A\mathbf{A}^k = \mathbf{A} for all k≥2k \geq 2 (because A\mathbf{A} is idempotent), this simplifies to:

      (I+A)n=I+A((n1)+(n2)+⋯+(nn))(\mathbf{I} + \mathbf{A})^n = \mathbf{I} + \mathbf{A} \left( \binom{n}{1} + \binom{n}{2} + \dots + \binom{n}{n} \right)

      We know from the binomial expansion that the sum of the binomial coefficients is:

      (n1)+(n2)+⋯+(nn)=2n−1\binom{n}{1} + \binom{n}{2} + \dots + \binom{n}{n} = 2^n - 1

      Thus, we conclude:

      (I+A)n=I+(2n−1)A(\mathbf{I} + \mathbf{A})^n = \mathbf{I} + (2^n - 1)\mathbf{A}

Involutory Matrix§

An involutory matrix is a square matrix A\mathbf{A} such that A2=I\mathbf{A}^2 = \mathbf{I}, where I\mathbf{I} is the identity matrix. This means that the matrix is its own inverse, i.e., A−1=A\mathbf{A}^{-1} = \mathbf{A}.

An example of an involutory matrix is:

A=(0110)\mathbf{A} = \begin{pmatrix} 0 & 1 \\ 1 & 0 \end{pmatrix}

To verify that it is involutory, we compute A2\mathbf{A}^2:

A2=(0110)(0110)=(1001)=I\mathbf{A}^2 = \begin{pmatrix} 0 & 1 \\ 1 & 0 \end{pmatrix} \begin{pmatrix} 0 & 1 \\ 1 & 0 \end{pmatrix} = \begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix} = \mathbf{I}

Since A2=I\mathbf{A}^2 = \mathbf{I}, it is an involutory matrix.

Nilpotent Matrix§

A nilpotent matrix is a square matrix A\mathbf{A} such that Ak=O\mathbf{A}^k = \mathbf{O} for some positive integer kk, where O\mathbf{O} is the zero matrix. The smallest such kk is called the index of nilpotency.

Consider the matrix:

A=(0100)\mathbf{A} = \begin{pmatrix} 0 & 1 \\ 0 & 0 \end{pmatrix}

We compute A2\mathbf{A}^2:

A2=(0100)(0100)=(0000)=O\mathbf{A}^2 = \begin{pmatrix} 0 & 1 \\ 0 & 0 \end{pmatrix} \begin{pmatrix} 0 & 1 \\ 0 & 0 \end{pmatrix} = \begin{pmatrix} 0 & 0 \\ 0 & 0 \end{pmatrix} = \mathbf{O}

Since A2=O\mathbf{A}^2 = \mathbf{O}, A\mathbf{A} is a nilpotent matrix with an index of nilpotency k=2k = 2.

Another example:

S=(010001000)\mathbf{S} = \begin{pmatrix} 0 & 1 & 0 \\ 0 & 0 & 1 \\ 0 & 0 & 0 \end{pmatrix}

Let's compute its powers:

S2=(010001000)(010001000)=(001000000)\mathbf{S}^2 = \begin{pmatrix} 0 & 1 & 0 \\ 0 & 0 & 1 \\ 0 & 0 & 0 \end{pmatrix} \begin{pmatrix} 0 & 1 & 0 \\ 0 & 0 & 1 \\ 0 & 0 & 0 \end{pmatrix} = \begin{pmatrix} 0 & 0 & 1 \\ 0 & 0 & 0 \\ 0 & 0 & 0 \end{pmatrix} S3=S2⋅S=(001000000)(010001000)=(000000000)=O\mathbf{S}^3 = \mathbf{S}^2 \cdot \mathbf{S} = \begin{pmatrix} 0 & 0 & 1 \\ 0 & 0 & 0 \\ 0 & 0 & 0 \end{pmatrix} \begin{pmatrix} 0 & 1 & 0 \\ 0 & 0 & 1 \\ 0 & 0 & 0 \end{pmatrix} = \begin{pmatrix} 0 & 0 & 0 \\ 0 & 0 & 0 \\ 0 & 0 & 0 \end{pmatrix} = \mathbf{O}

Thus, S3=O\mathbf{S}^3 = \mathbf{O}, showing that this matrix is nilpotent with an index of nilpotency k=3k = 3.

Periodic Matrix§

A periodic matrix is a square matrix A\mathbf{A} that satisfies the equation:

Ak+1=A\mathbf{A}^{k+1} = \mathbf{A}

for some positive integer kk. The smallest such kk is called the period of the matrix. This means that after raising A\mathbf{A} to the power of k+1k+1, the matrix returns to itself.

Consider the matrix:

A=(0110)\mathbf{A} = \begin{pmatrix} 0 & 1 \\ 1 & 0 \end{pmatrix}

Let's compute powers of A\mathbf{A}:

A2=(0110)(0110)=(1001)=I\mathbf{A}^2 = \begin{pmatrix} 0 & 1 \\ 1 & 0 \end{pmatrix} \begin{pmatrix} 0 & 1 \\ 1 & 0 \end{pmatrix} = \begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix} = \mathbf{I} A3=A2⋅A=I⋅A=A\mathbf{A}^3 = \mathbf{A}^2 \cdot \mathbf{A} = \mathbf{I} \cdot \mathbf{A} = \mathbf{A}

Since A3=A\mathbf{A}^3 = \mathbf{A}, A\mathbf{A} is a periodic matrix with period k=2k = 2, satisfying Ak+1=A\mathbf{A}^{k+1} = \mathbf{A}.

Orthogonal Matrices§

A square matrix AA is called orthogonal if it satisfies the condition:

AAT=IA A^T = I

where ATA^T is the transpose of AA and II is the identity matrix.

Determinant of an Orthogonal Matrix

Taking the determinant on both sides of AAT=IA A^T = I, we get:

∣AAT∣=∣I∣|A A^T| = |I|

Using the property ∣AB∣=∣A∣∣B∣|A B| = |A||B| for the product of matrices, we obtain:

∣A∣∣AT∣=1|A| |A^T| = 1

Since ∣AT∣=∣A∣|A^T| = |A|, it follows that:

∣A∣2=1  ⟹  ∣A∣=±1|A|^2 = 1 \implies |A| = \pm 1

Thus, the determinant of an orthogonal matrix is either 11 or −1-1.

Therefore, orthogonal matrices are always non-singular.

If AAT=IA A^T = I, then multiplying both sides by A−1A^{-1} from the left yields:

A−1AAT=A−1I  ⟹  AT=A−1A^{-1} A A^T = A^{-1} I \implies \boxed{A^T = A^{-1}}

Multiplying AT=A−1A^T = A^{-1} on the right by AA, we have:

ATA=I\boxed{A^T A = I}

Properties of Orthogonal Matrices§

  1. If AA is an orthogonal matrix, then the following properties hold:

    AA⊤=IandA⊤A=IA A^\top = I \quad \text{and} \quad A^\top A = I

    Additionally, the inverse of an orthogonal matrix is equal to its transpose:

    A−1=A⊤A^{-1} = A^\top
  2. If AA is orthogonal, then the determinant of AA is either +1+1 or −1-1:

    ∣A∣=±1|A| = \pm 1
  3. If AA and BB are orthogonal matrices, then ABA B is orthogonal.

Section 8 of 10 · Matrices and Determinants

Mark this section complete when you have worked through its proofs.