MHB Why do we need to convert to a diagonal matrix?

Click For Summary
Diagonalizing a matrix simplifies computations, particularly in matrix exponentiation and determinant calculation. It allows for easier handling of the general ordinary differential equation (ODE) $\dot{\mathbf{x}}=A\mathbf{x}$, as exponentiating a diagonalizable matrix is more straightforward. The operations required for multiplying diagonal matrices are significantly reduced, enhancing efficiency in calculations. Additionally, diagonalization reveals connections between a matrix's eigenvalues and eigenvectors, providing deeper insights into its properties. However, not all matrices are diagonalizable, leading to the concept of semi-diagonalization with nilpotent components.
matqkks
Messages
282
Reaction score
5
Apart from simplifying matrix powers, why do we want to diagonalize a matrix? Do they have any appealing application which can be used to motivate to study diagonal matrices.
Thanks for any answers.
 
Physics news on Phys.org
Simplifying matrix powers IS the main application for diagonalization. Why? Because of the very general ODE $\dot{\mathbf{x}}=A\mathbf{x}$ for constant $A$. If $A$ is diagonalizable, then the solution $\mathbf{x}=e^{At}\mathbf{x}_{0}$ makes sense only if you can exponentiate the $At$. To do that, you can form the Taylor series using matrices. Then, to compute that Taylor series, the computations are much more tractable with a diagonal matrix.
 
multiplying (square) matrices is complicated, we have n2 inner products of rows and columns to consider, which is:

n3 + n arithmetical operations in all (n products in each inner product, plus a summation, times n2).

multiplying diagonal matrices is much simpler, the resulting product is ALSO diagonal, and requires only n operations:

diag{a1,...,an}*diag{b1,...,bn} = diag{a1b1,...,anbn}

even when n is small (like say n = 4), this is a tremendous savings of calculational effort (we only have 4 steps of arithmetic, rather than 68).

it also making calculating the determinant MUCH more tractable: the determinant is invariant under a similarity transform. for an nxn matrix, normally calculating it requires computing n! n-fold products and then summing these, whereas computing the determinant of a diagonal matrix requires just computing ONE n-fold product.

for example, computing a 5x5 determinant requires 121 arithmetical operations (even determining which 120 5-fold products to compute is tedious), whereas computing a 5x5 diagonal matrix's determinant can often be done in your head.

morevoer, if A is diagonalizable, diagonalizing A illustrates a deep connection between the diagonalized matrix and the eigenvalues of A, and the diagonalizing matrix P and the eigenvectors of A (and since P is invertible, that the eigenvectors form an eigenbasis).

the "catch" here is that not all matrices ARE diagonalizable. it turns out, however, that we can at least "semi-diagonalize" A into the sum:

D + N, where D is diagonal, and N is nilpotent.

this shows how important understanding nilpotent linear transformations is to "getting a good picture of bad matrices" (the diagonalizable ones being "good matrices").

if a matrix function can be represented as a power series (such as in the exponential example Ackbach gives), then computing the matrix function becomes a LOT easier if our matrix is diagonalizable.

unfortunately, the set of diagonalizable matrices isn't closed under matrix addition, which is a darn shame.
 
I am studying the mathematical formalism behind non-commutative geometry approach to quantum gravity. I was reading about Hopf algebras and their Drinfeld twist with a specific example of the Moyal-Weyl twist defined as F=exp(-iλ/2θ^(μν)∂_μ⊗∂_ν) where λ is a constant parametar and θ antisymmetric constant tensor. {∂_μ} is the basis of the tangent vector space over the underlying spacetime Now, from my understanding the enveloping algebra which appears in the definition of the Hopf algebra...

Similar threads

  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 14 ·
Replies
14
Views
4K
  • · Replies 33 ·
2
Replies
33
Views
2K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 1 ·
Replies
1
Views
6K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
5
Views
5K