Difference between revisions of "Diagonalization of Matrices"

From Department of Mathematics at UTSA
Jump to navigation Jump to search
(Created page with "The prior subsection defines the relation of similarity and shows that, although similar matrices are necessarily matrix equivalent, the converse does not hold. Some matrix-eq...")
 
 
(2 intermediate revisions by the same user not shown)
Line 22: Line 22:
 
The simplest extension of the partial-identity form is a diagonal form.
 
The simplest extension of the partial-identity form is a diagonal form.
  
{{TextBox|1=
+
<blockquote style="background: white; border: 1px solid black; padding: 1em;">'''Definition 2.1''':
;Definition 2.1{{anchor|diagonalizable}}:
+
: A transformation is '''diagonalizable''' if it has a diagonal representation with respect to the same basis for the codomain as for the domain. A '''diagonalizable matrix''' is one that is similar to a diagonal matrix: <math> T </math> is diagonalizable if there is a nonsingular <math> P </math> such that <math> PTP^{-1} </math> is diagonal.
A transformation is '''diagonalizable''' if it has a diagonal representation with respect to the same basis for the codomain as for the domain. A '''diagonalizable matrix''' is one that is similar to a diagonal matrix: <math> T </math> is diagonalizable if there is a nonsingular <math> P </math> such that <math> PTP^{-1} </math> is diagonal.
+
</blockquote>
}}
 
  
{{TextBox|1=
+
<blockquote style="background: white; border: 1px solid black; padding: 1em;">
;Example 2.2{{anchor|ex:DiagTwoByTwo}}: <!--\label{ex:DiagTwoByTwo}-->
+
'''Example 2.2''':
 
The matrix
 
The matrix
  
Line 59: Line 58:
 
\end{pmatrix}^{-1}
 
\end{pmatrix}^{-1}
 
</math>
 
</math>
}}
+
</blockquote>
  
{{TextBox|1=
+
<blockquote style="background: white; border: 1px solid black; padding: 1em;">
;Example 2.3:
+
'''Example 2.3''':
 
Not every matrix is diagonalizable.
 
Not every matrix is diagonalizable.
 
The square of
 
The square of
Line 74: Line 73:
  
 
is the zero matrix. Thus, for any map <math>n</math> that <math> N </math> represents (with respect to the same basis for the domain as for the codomain), the composition <math> n\circ n </math> is the zero map. This implies that no such map <math> n </math> can be diagonally represented (with respect to any <math>B,B</math>) because no power of a nonzero diagonal matrix is zero. That is, there is no diagonal matrix in <math>N</math>'s similarity class.
 
is the zero matrix. Thus, for any map <math>n</math> that <math> N </math> represents (with respect to the same basis for the domain as for the codomain), the composition <math> n\circ n </math> is the zero map. This implies that no such map <math> n </math> can be diagonally represented (with respect to any <math>B,B</math>) because no power of a nonzero diagonal matrix is zero. That is, there is no diagonal matrix in <math>N</math>'s similarity class.
}}
+
</blockquote>
  
 
That example shows that a diagonal form will not do for a
 
That example shows that a diagonal form will not do for a
Line 84: Line 83:
 
The next result characterizes which maps can be diagonalized.
 
The next result characterizes which maps can be diagonalized.
  
{{TextBox|1=
+
<blockquote style="background: white; border: 1px solid black; padding: 1em;">
;Corollary 2.4{{anchor|cor:DiagIffBasisOfEigens}}:<!--\label{cor:DiagIffBasisOfEigens}-->
+
'''Corollary 2.4''':
A transformation <math> t </math> is diagonalizable if and only if there is a basis <math> B=\langle \vec{\beta}_1,\ldots,\vec{\beta}_n  \rangle  </math> and scalars <math> \lambda_1,\ldots,\lambda_n </math> such that <math> t(\vec{\beta}_i)=\lambda_i\vec{\beta}_i </math> for each <math> i </math>.
+
:A transformation <math> t </math> is diagonalizable if and only if there is a basis <math> B=\langle \vec{\beta}_1,\ldots,\vec{\beta}_n  \rangle  </math> and scalars <math> \lambda_1,\ldots,\lambda_n </math> such that <math> t(\vec{\beta}_i)=\lambda_i\vec{\beta}_i </math> for each <math> i </math>.
}}
+
</blockquote>
  
{{TextBox|1=
+
Proof:
;Proof:
 
 
This follows from the definition by
 
This follows from the definition by
 
considering a diagonal representation matrix.
 
considering a diagonal representation matrix.
Line 110: Line 108:
  
 
This representation is equivalent to the existence of a basis satisfying the stated conditions simply by the definition of matrix representation.
 
This representation is equivalent to the existence of a basis satisfying the stated conditions simply by the definition of matrix representation.
}}
 
  
{{TextBox|1=
+
 
;Example 2.5{{anchor|ex:DiagUpperTrian}}:<!--\label{ex:DiagUpperTrian}-->
+
<blockquote style="background: white; border: 1px solid black; padding: 1em;">
 +
Example 2.5:
 
To diagonalize
 
To diagonalize
  
Line 247: Line 245:
 
\end{pmatrix}
 
\end{pmatrix}
 
</math>
 
</math>
}}
+
</blockquote>
  
 
In the next subsection, we will expand on that example by considering
 
In the next subsection, we will expand on that example by considering
Line 256: Line 254:
 
==Resources==
 
==Resources==
 
* [https://en.wikibooks.org/wiki/Linear_Algebra/Diagonalizability Diagonalizability], Wikibooks: Linear Algebra
 
* [https://en.wikibooks.org/wiki/Linear_Algebra/Diagonalizability Diagonalizability], Wikibooks: Linear Algebra
 +
 +
==Licensing==
 +
Content obtained and/or adapted from:
 +
* [https://en.wikibooks.org/wiki/Linear_Algebra/Diagonalizability Diagonalizability, Wikibooks: Linear Algebra] under a CC BY-SA license

Latest revision as of 16:37, 2 November 2021

The prior subsection defines the relation of similarity and shows that, although similar matrices are necessarily matrix equivalent, the converse does not hold. Some matrix-equivalence classes break into two or more similarity classes (the nonsingular matrices, for instance). This means that the canonical form for matrix equivalence, a block partial-identity, cannot be used as a canonical form for matrix similarity because the partial-identities cannot be in more than one similarity class, so there are similarity classes without one. This picture illustrates. As earlier in this book, class representatives are shown with stars.

Linalg matrix similarity equiv classes 2.png

We are developing a canonical form for representatives of the similarity classes. We naturally try to build on our previous work, meaning first that the partial identity matrices should represent the similarity classes into which they fall, and beyond that, that the representatives should be as simple as possible. The simplest extension of the partial-identity form is a diagonal form.

Definition 2.1:

A transformation is diagonalizable if it has a diagonal representation with respect to the same basis for the codomain as for the domain. A diagonalizable matrix is one that is similar to a diagonal matrix: is diagonalizable if there is a nonsingular such that is diagonal.

Example 2.2: The matrix

is diagonalizable.

Example 2.3: Not every matrix is diagonalizable. The square of

is the zero matrix. Thus, for any map that represents (with respect to the same basis for the domain as for the codomain), the composition is the zero map. This implies that no such map can be diagonally represented (with respect to any ) because no power of a nonzero diagonal matrix is zero. That is, there is no diagonal matrix in 's similarity class.

That example shows that a diagonal form will not do for a canonical form— we cannot find a diagonal matrix in each matrix similarity class. However, the canonical form that we are developing has the property that if a matrix can be diagonalized then the diagonal matrix is the canonical representative of the similarity class. The next result characterizes which maps can be diagonalized.

Corollary 2.4:

A transformation is diagonalizable if and only if there is a basis and scalars such that for each .

Proof: This follows from the definition by considering a diagonal representation matrix.

This representation is equivalent to the existence of a basis satisfying the stated conditions simply by the definition of matrix representation.


Example 2.5: To diagonalize

we take it as the representation of a transformation with respect to the standard basis and we look for a basis such that

that is, such that and .

We are looking for scalars such that this equation

has solutions and , which are not both zero. Rewrite that as a linear system.

In the bottom equation the two numbers multiply to give zero only if at least one of them is zero so there are two possibilities, and . In the possibility, the first equation gives that either or . Since the case of both and is disallowed, we are left looking at the possibility of . With it, the first equation in () is and so associated with are vectors with a second component of zero and a first component that is free.

That is, one solution to () is , and we have a first basis vector.

In the possibility, the first equation in () is , and so associated with are vectors whose second component is the negative of their first component.

Thus, another solution is and a second basis vector is this.

To finish, drawing the similarity diagram

Linalg matrix equivalent cd 3.png

and noting that the matrix is easy leads to this diagonalization.

In the next subsection, we will expand on that example by considering more closely the property of Corollary 2.4. This includes seeing another way, the way that we will routinely use, to find the 's.

Resources

Licensing

Content obtained and/or adapted from: