Similar Matrix

Similar Matrix

Similar Matrix

𝐴 and 𝐡 are similar matrices when:

  • 𝐴 = 𝑃𝐡𝑃-1

where:

Similar Matrices - Properties

Suppose that 𝐴 = 𝑃𝐡𝑃-1, then:

  • 𝐴 and 𝐡 have exactly the same characteristic polynomial

     proof

    Suppose that 𝐴 = 𝑃𝐡𝑃-1, where π΄, 𝐡, 𝑃 are π‘›×𝑛 matrices. The characteristic polynomial of 𝐴 is 𝑑𝑒𝑑(𝐴 − πœ†πΌ):

    1. 𝐴 − πœ†πΌ = 𝑃𝐡𝑃−1 − πœ†π‘ƒπ‘ƒ−1
    2. 𝐴 − πœ†πΌ = 𝑃𝐡𝑃−1 − π‘ƒπœ†π‘ƒ−1
    3. 𝐴 − πœ†πΌ = 𝑃𝐡𝑃−1 − π‘ƒπœ†πΌπ‘ƒ−1
    4. 𝐴 − πœ†πΌ = 𝑃(𝐡 − πœ†πΌ)𝑃−1
    5. 𝑑𝑒𝑑(𝐴 − πœ†πΌ) = 𝑑𝑒𝑑(𝑃(𝐡 − πœ†πΌ)𝑃−1)
    6. 𝑑𝑒𝑑(𝐴 − πœ†πΌ) = π‘‘𝑒𝑑(𝑃) 𝑑𝑒𝑑(𝐡 − πœ†πΌ) 𝑑𝑒𝑑(𝑃)−1 # multiplicative property of determinants π‘‘𝑒𝑑(𝑃)−1 = 1/𝑑𝑒𝑑(𝑃)
    7. 𝑑𝑒𝑑(𝐴 − πœ†πΌ) = 𝑑𝑒𝑑(𝐡 − πœ†πΌ)
  • 𝐴 and 𝐡 have exact same eigenvalues

     proof
    • 𝐴π‘₯ = πœ†π‘₯ #eigenvalue/eigenvector equation

    • 𝐴𝑃𝑃-1π‘₯ = πœ†π‘₯ # 𝑃𝑃-1 = 𝐼
    • 𝑃-1𝐴𝑃𝑃-1π‘₯ = πœ†π‘ƒ-1π‘₯
    • 𝐡𝑃-1π‘₯ = πœ†π‘ƒ-1π‘₯

    So, if π‘₯ is an eigenvector of 𝐴, with eigenvalue πœ†, then 𝑃-1π‘₯ is an eigenvector of 𝐡 with the same eigenvalue. So, every eigenvalue of 𝐴 is an eigenvalue of 𝐡.
    Since you can interchange the roles of 𝐴 and 𝐡 in the previous calculations, every eigenvalue of 𝐡 is an eigenvalue of 𝐴 too. Hence, 𝐴 and 𝐡 have the same eigenvalues.

    Geometrically, in fact, also π‘₯ and 𝑃-1π‘₯ are the same vector, written in different coordinate systems. Geometrically, 𝐴 and 𝐡 are matrices associated with the same endomorphism. So, they have the same eigenvalues and geometric multiplicities

  • 𝐴 and 𝐡 have the same number but different eigenvectors:

    • π‘₯ is an eigenvector of 𝐴 → 𝑃-1π‘₯ is an eigenvector of 𝐡

       proof

      Suppose that π‘₯ is an eigenvector of 𝐴 with eigenvalue πœ† (i.e. 𝐴π‘₯ = πœ†π‘₯).
      Let's prove that 𝑃-1π‘₯ is also an eigenvector of 𝐡, such that 𝐡𝑃-1π‘₯ = πœ†π‘ƒ-1π‘₯:

      • 𝐡𝑃-1π‘₯ = 𝐡𝑃-1π‘₯
      • 𝐡𝑃-1π‘₯ = 𝑃-1𝑃𝐡𝑃-1π‘₯
      • 𝐡𝑃-1π‘₯ = 𝑃-1𝐴π‘₯
      • 𝐡𝑃-1π‘₯ = 𝑃-1πœ†π‘₯
      • 𝐡𝑃-1π‘₯ = πœ†π‘ƒ-1π‘₯

      So that 𝑃-1π‘₯ is an eigenvector of 𝐡 with eigenvalue πœ†.

    • π‘₯ is an eigenvector of 𝐡 → 𝑃π‘₯ is an eigenvector of 𝐴

       proof

      Suppose that π‘₯ is an eigenvector of 𝐡 with eigenvalue πœ† (i.e. 𝐡π‘₯ = πœ†π‘₯).
      Let's prove that 𝑃π‘₯ is also an eigenvector of 𝛒, such that 𝛒𝑃π‘₯ = πœ†π‘ƒπ‘₯:

      • 𝛒𝑃π‘₯ = 𝛒𝑃π‘₯
      • 𝛒𝑃π‘₯ = 𝑃𝐡𝑃-1𝑃π‘₯
      • 𝛒𝑃π‘₯ = 𝑃𝐡𝐼π‘₯
      • 𝛒𝑃π‘₯ = 𝑃𝐡π‘₯
      • 𝛒𝑃π‘₯ = π‘ƒπœ†π‘₯
      • 𝛒𝑃π‘₯ = πœ†π‘ƒπ‘₯

      So that 𝑃π‘₯ is an eigenvector of 𝛒 with eigenvalue πœ†.

Other

  • Let 𝐴 = 𝑃𝐡𝑃-1, then for any 𝑛≥1, we have 𝐴𝑛 = 𝑃𝐡𝑛𝑃-1

     proof

    First, note that:

    • 𝐴2 = 𝐴𝐴 = (𝑃𝐡𝑃-1)(𝑃𝐡𝑃-1) = 𝑃𝐡(𝑃-1𝑃)𝐡𝑃-1 = 𝑃𝐡𝐼𝐡𝑃-1 = 𝑃𝐡2𝑃-1

    Next, we have:

    • 𝐴2 = 𝐴2𝐴 = (𝑃𝐡2𝑃-1)(𝑃𝐡𝑃-1) = 𝑃𝐡2(𝑃-1𝑃)𝐡𝑃-1 = 𝑃𝐡3𝑃-1

    The pattern is clear

Similar Matrices - Computing 𝐴π‘₯ in Terms of 𝑃𝐡𝑃-1π‘₯

Suppose that 𝐴 = 𝑃𝐡𝑃-1, where 𝑃 is an invertible matrix with columns 𝑣1, 𝑣2, ..., 𝑣𝑛. Let 𝔹 = {𝑣1, 𝑣2, ..., 𝑣𝑛}, a basis for ℝ𝑛. Let π‘₯ be a vector in ℝ𝑛. To compute 𝐴π‘₯, one does the following:

  1. Multiply π‘₯ by 𝑃-1, which changes to the 𝔹-coordinates: [π‘₯]𝔹 = 𝑃-1π‘₯
  2. Multiply this by 𝐡: 𝐡[π‘₯]𝔹 = 𝐡𝑃-1π‘₯
  3. Interpreting this vector as a 𝔹-coordinate vector, we multiply it by 𝑃 to change back to the usual coordinates: 𝐴π‘₯ = 𝑃𝐡𝑃-1π‘₯ = 𝑃𝐡[π‘₯]𝔹

To summarize: if 𝐴 = 𝑃𝐡𝑃-1, then 𝐴 and 𝐡 do similar transformations, only in different coordinate systems.

Similar Matrices - Equivalence Relation

The similarity follows the equivalence relation. Let 𝐴, π΅, and 𝐢 be 𝑛×𝑛 matrices, then:

  1. reflexivity - 𝐴 is similar to itself
  2. symmetry - if 𝐴 is similar to 𝐡, then 𝐡 is similar to 𝐴
  3. transitivity - if 𝐴 is similar to 𝐡 and 𝐡 is similar to 𝐢, then 𝐴 is similar to 𝐢

Similar Matrices - πœ†-Eigenspace

If 𝐴 = 𝑃𝐡𝑃-1, then:

  • 𝑃-1 takes the πœ†-eigenspace of 𝐴 to the πœ†-eigenspace of 𝐡
  • 𝑃 takes the πœ†-eigenspace of 𝐡 to the πœ†-eigenspace of 𝐴

To see why, refer to the properties section above.

Similar Matrices - Identity Matrix

The only matrix similar to the identity matrix (𝐼) is itself

 proof
  • 𝐼 = 𝑃𝐡𝑃-1
  • 𝑃-1𝐼𝑃 = 𝑃-1𝑃𝐡𝑃-1𝑃
  • 𝑃-1𝐼𝑃 = 𝐼𝐡𝐼
  • 𝑃-1𝑃 = 𝐡
  • 𝐼 = 𝐡

Similar Matrices - In Relation to Eigendecomposition/Diagonalization

Given the following equation 𝐴 = 𝑃-1𝐡𝑃: if 𝐡 is a diagonal matrix, then 𝑃-1𝐡𝑃 is an eigendecomposition of matrix 𝐴

Resources