Diagonal Matrix
A diagonal matrix is a square matrix
of
the form
|
(1)
|
where
is the Kronecker
delta,
are constants, and
, 2, ...,
, with no implied summation over indices. The general
diagonal matrix is therefore of the form
![]() |
(2)
|
often denoted
. The diagonal matrix
with elements
can be computed in the
Wolfram Language using DiagonalMatrix[l].
The determinant of a diagonal matrix given by
is
. This
means that
, so for
, 2, ..., the
first few values are 1, 2, 6, 24, 120, 720, 5040, 40320, ... (OEIS A000142).
Given a matrix equation of the form
![]() |
(3)
|
multiply through to obtain
![]() |
(4)
|
Since in general,
for
, this can be
true only if off-diagonal components vanish. Therefore,
must be diagonal.
Given a diagonal matrix
, the matrix
power can be computed simply by taking each element to the power in question,
![]() |
(5)
| ||
![]() |
(6)
|
Similarly, a matrix exponential can be performed simply by exponentiating each of the diagonal elements,
![]() |
(7)
|
![[c_1 0 ... 0; 0 c_2 ... 0; | | ... |; 0 0 ... c_n],](/images/equations/DiagonalMatrix/NumberedEquation2.gif)
![[a_(11) ... a_(1n); | ... |; a_(n1) ... a_(nn)][lambda_1 ... 0; | ... |; 0 ... lambda_n]=[lambda_1 ... 0; | ... |; 0 ... lambda_n][a_(11) ... a_(1n); | ... |; a_(n1) ... a_(nn)],](/images/equations/DiagonalMatrix/NumberedEquation3.gif)
![[a_(11)lambda_1 ... a_(1n)lambda_n; | ... |; a_(n1)lambda_1 ... a_(nn)lambda_n]=[a_(11)lambda_1 ... a_(1n)lambda_1; | ... |; a_(n1)lambda_n ... a_(nn)lambda_n].](/images/equations/DiagonalMatrix/NumberedEquation4.gif)
![[t_1 0 ... 0; 0 t_2 ... 0; | | ... |; 0 0 ... t_k]^n](/images/equations/DiagonalMatrix/Inline18.gif)
![[t_1^n 0 ... 0; 0 t_2^n ... 0; | | ... |; 0 0 ... t_k^n].](/images/equations/DiagonalMatrix/Inline21.gif)
![exp(T)=[e^(t_1) 0 ... 0; 0 e^(t_2) ... 0; | | ... |; 0 0 ... e^(t_k)].](/images/equations/DiagonalMatrix/NumberedEquation5.gif)
diagonal matrix({2,
4, 6})