Content deleted Content added
→Operator matrix in eigenbasis: inline |
Boldfaced vector variables |
||
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]]. An example of a
3 & 0 \\
0 & 2 \end{smallmatrix}\right]</math>, while an example of a
\left[\begin{smallmatrix}
6 & 0 & 0 \\
Line 14:
==Definition==
As stated above, a diagonal matrix is a matrix in which all off-diagonal entries are zero.
:<math>\forall i,j \in \{1, 2, \ldots, n\}, i \ne j \implies d_{i,j} = 0.</math>
However, the main diagonal entries are unrestricted.
Line 60:
== Vector operations ==
Multiplying a vector by a diagonal matrix multiplies each of the terms by the corresponding diagonal entry. Given a diagonal matrix <math>D = \operatorname{diag}(a_1, \dots, a_n)</math> and a vector <math>\mathbf{v} = \begin{bmatrix}x_1 & \dotsm & x_n\end{bmatrix}^\textsf{T}</math>, the product is:
:<math>
\begin{bmatrix}
a_1 \\
Line 71:
</math>
This can be expressed more compactly by using a vector instead of a diagonal matrix, <math>\mathbf{d} = \begin{bmatrix}a_1 & \dotsm & a_n\end{bmatrix}^\textsf{T}</math>, and taking the [[Hadamard product (matrices)|Hadamard product]] of the vectors (entrywise product), denoted <math>\mathbf{d} \circ \mathbf{v}</math>:
:<math>
\begin{bmatrix}a_1 \\ \vdots \\ a_n\end{bmatrix} \circ \begin{bmatrix}x_1 \\ \vdots \\ x_n\end{bmatrix} =
\begin{bmatrix}a_1 x_1 \\ \vdots \\ a_n x_n\end{bmatrix}.
Line 101:
{{Main|Transformation_matrix#Finding the matrix of a transformation|Eigenvalues and eigenvectors|l1=Finding the matrix of a transformation}}
As explained in [[transformation matrix#Finding the matrix of a transformation|determining coefficients of operator matrix]], there is a special basis, '''e'''<sub>1</sub>,
In other words, the [[eigenvalue]]s of {{nowrap|diag(''λ''<sub>1</sub>,
== Properties ==
|