GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Algebra
  • Applied Mathematics
  • Calculus and Analysis
  • Discrete Mathematics
  • Foundations of Mathematics
  • Geometry
  • History and Terminology
  • Number Theory
  • Probability and Statistics
  • Recreational Mathematics
  • Topology
  • Alphabetical Index
  • Random Entry
  • New in MathWorld

This view

  • Original page
  • New address

GeezerVison is showing mathworld.wolfram.com — Diagonal Matrix -- from Wolfram MathWorld

Search

Diagonal Matrix


DOWNLOAD Mathematica NotebookDownload Wolfram Notebook

A diagonal matrix is a square matrix A of the form

 a_(ij)=c_idelta_(ij),
(1)

where delta_(ij) is the Kronecker delta, c_i are constants, and i,j=1, 2, ..., n, with no implied summation over indices. The general diagonal matrix is therefore of the form

 [c_1 0 ... 0; 0 c_2 ... 0; | | ... |; 0 0 ... c_n],
(2)

often denoted diag(c_1,c_2,...,c_n).

The diagonal matrix with elements l={c_1,...,c_n} can be computed in the Wolfram Language using DiagonalMatrix[l], and a matrix m may be tested to determine if it is diagonal using DiagonalMatrixQ[m].

The determinant of a diagonal matrix given by diag(c_1,c_2,...,c_n) is c_1c_2...c_n. This means that det[diag(1,2,...,n)]=n!, so for n=1, 2, ..., the first few values are 1, 2, 6, 24, 120, 720, 5040, 40320, ... (OEIS A000142).

For matrices over a field, given a matrix equation of the form

 [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)],
(3)

multiply through to obtain

 [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].
(4)

If the diagonal entries lambda_i are pairwise distinct, this equation forces every off-diagonal entry of A to vanish, so A is diagonal. With repeated diagonal entries, a commuting matrix need not be diagonal.

Given a diagonal matrix T and a positive integer n, the matrix power is computed by taking each diagonal entry to that power,

T^n=[t_1 0 ... 0; 0 t_2 ... 0; | | ... |; 0 0 ... t_k]^n
(5)
=[t_1^n 0 ... 0; 0 t_2^n ... 0; | | ... |; 0 0 ... t_k^n].
(6)

The same formula holds for negative integer n when all diagonal entries are nonzero. For a real or complex diagonal matrix, its matrix exponential is obtained by exponentiating the diagonal entries,

 exp(T)=[e^(t_1) 0 ... 0; 0 e^(t_2) ... 0; | | ... |; 0 0 ... e^(t_k)].
(7)

See also

Antisymmetric Matrix, Diagonal, Diagonal Quadratic Form, Diagonalizable Matrix, Hankel Matrix, Jordan Block, Matrix, Matrix Exponential, Normal Matrix, Symmetric Matrix, Triangular Matrix, Tridiagonal Matrix

Explore with Wolfram|Alpha

WolframAlpha

More things to try:

  • diagonal matrix({2, 4, 6})
  • -0.283882181415
  • gamma(x) integral representation

References

Arfken, G. Mathematical Methods for Physicists, 3rd ed. Orlando, FL: Academic Press, pp. 181-184 and 217-229, 1985.Sloane, N. J. A. Sequence A000142/M1675 in "The On-Line Encyclopedia of Integer Sequences."

Referenced on Wolfram|Alpha

Diagonal Matrix

Cite this as:

Weisstein, Eric W. "Diagonal Matrix." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/DiagonalMatrix.html

Subject classifications

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.