Diagonal matrix: Difference between revisions

Content deleted Content added
better example IMO, common misconception is that all elements of principal diagonal must be zero but it's not true. All elements may also be zero and it would still qualify the definition of the subject
more
Line 1:
{{Use American English|date = March 2019}}
{{Short description|Matrix whose only nonzero elements are on its main diagonal}}
In [[linear algebra]], a '''diagonal matrix''' is a [[matrix (mathematics)|matrix]] in which the entries outside the [[main diagonal]] are all zero; the term usually refers to [[square matrices]]. Elements of the main diagonal can either be zero or non-zero. An example of a 2×2 diagonal matrix is <math>\left[\begin{smallmatrix}
3 & 0 \\
0 & 2 \end{smallmatrix}\right]</math>, while an example of a 3×3 diagonal matrix is<math>