<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	
	xmlns:georss="http://www.georss.org/georss"
	xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
	>

<channel>
	<title>diagonal matrix &#8211; Problems in Mathematics</title>
	<atom:link href="https://yutsumura.com/tag/diagonal-matrix/feed/" rel="self" type="application/rss+xml" />
	<link>https://yutsumura.com</link>
	<description></description>
	<lastBuildDate>Wed, 24 Jan 2018 14:23:14 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.3.4</generator>

<image>
	<url>https://i2.wp.com/yutsumura.com/wp-content/uploads/2016/12/cropped-question-logo.jpg?fit=32%2C32&#038;ssl=1</url>
	<title>diagonal matrix &#8211; Problems in Mathematics</title>
	<link>https://yutsumura.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">114989322</site>	<item>
		<title>The Matrix Exponential of a Diagonal Matrix</title>
		<link>https://yutsumura.com/the-matrix-exponential-of-a-diagonal-matrix/</link>
				<comments>https://yutsumura.com/the-matrix-exponential-of-a-diagonal-matrix/#respond</comments>
				<pubDate>Wed, 24 Jan 2018 14:23:14 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[diagonal matrix]]></category>
		<category><![CDATA[exponential function]]></category>
		<category><![CDATA[infinite series]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[matrix exponential]]></category>
		<category><![CDATA[matrix exponential of a diagonal matrix]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=6769</guid>
				<description><![CDATA[<p>For a square matrix $M$, its matrix exponential is defined by \[e^M = \sum_{i=0}^\infty \frac{M^k}{k!}.\] Suppose that $M$ is a diagonal matrix \[ M = \begin{bmatrix} m_{1 1} &#038; 0 &#038; 0 &#038; \cdots&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/the-matrix-exponential-of-a-diagonal-matrix/" target="_blank">The Matrix Exponential of a Diagonal Matrix</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 681</h2>
<p>For a square matrix $M$, its <strong>matrix exponential</strong> is defined by<br />
\[e^M = \sum_{i=0}^\infty \frac{M^k}{k!}.\]
<p>Suppose that $M$ is a diagonal matrix<br />
\[ M = \begin{bmatrix} m_{1 1} &#038; 0 &#038; 0 &#038; \cdots &#038; 0 \\ 0 &#038; m_{2 2} &#038; 0 &#038; \cdots &#038; 0 \\ 0 &#038; 0 &#038; m_{3 3} &#038; \cdots &#038; 0 \\ \vdots &#038; \vdots &#038; \vdots &#038; \vdots &#038; \vdots \\ 0 &#038; 0 &#038; 0 &#038; \cdots &#038; m_{n n} \end{bmatrix}.\]
<p>Find the matrix exponential $e^M$.</p>
<p>&nbsp;<br />
<span id="more-6769"></span></p>
<h2>Solution.</h2>
<p>First, we find $M^k$ for each integer $k \geq 0$.  The first couple powers can be calculated directly,<br />
\[M^0 = \begin{bmatrix} 1 &#038; 0 &#038; 0 &#038; \cdots &#038; 0 \\ 0 &#038; 1 &#038; 0 &#038; \cdots &#038; 0 \\ 0 &#038; 0 &#038; 1 &#038; \cdots &#038; 0 \\ \vdots &#038; \vdots &#038; \vdots &#038; \vdots &#038; \vdots \\ 0 &#038; 0 &#038; 0 &#038; \cdots &#038; 1 \end{bmatrix} , \quad M = \begin{bmatrix} m_{1 1} &#038; 0 &#038; 0 &#038; \cdots &#038; 0 \\ 0 &#038; m_{2 2} &#038; 0 &#038; \cdots &#038; 0 \\ 0 &#038; 0 &#038; m_{3 3} &#038; \cdots &#038; 0 \\ \vdots &#038; \vdots &#038; \vdots &#038; \vdots &#038; \vdots \\ 0 &#038; 0 &#038; 0 &#038; \cdots &#038; m_{n n} \end{bmatrix},\]
\[M^2 = \begin{bmatrix} m^2_{1 1} &#038; 0 &#038; 0 &#038; \cdots &#038; 0 \\ 0 &#038; m^2_{2 2} &#038; 0 &#038; \cdots &#038; 0 \\ 0 &#038; 0 &#038; m^2_{3 3} &#038; \cdots &#038; 0 \\ \vdots &#038; \vdots &#038; \vdots &#038; \vdots &#038; \vdots \\ 0 &#038; 0 &#038; 0 &#038; \cdots &#038; m^2_{n n} \end{bmatrix} , \quad M^3 = \begin{bmatrix} m^3_{1 1} &#038; 0 &#038; 0 &#038; \cdots &#038; 0 \\ 0 &#038; m^3_{2 2} &#038; 0 &#038; \cdots &#038; 0 \\ 0 &#038; 0 &#038; m^3_{3 3} &#038; \cdots &#038; 0 \\ \vdots &#038; \vdots &#038; \vdots &#038; \vdots &#038; \vdots \\ 0 &#038; 0 &#038; 0 &#038; \cdots &#038; m^3_{n n} \end{bmatrix}.\]
<p>The general pattern can now be seen:<br />
\[M^k = \begin{bmatrix} m^k_{1 1} &#038; 0 &#038; 0 &#038; \cdots &#038; 0 \\ 0 &#038; m^k_{2 2} &#038; 0 &#038; \cdots &#038; 0 \\ 0 &#038; 0 &#038; m^k_{3 3} &#038; \cdots &#038; 0 \\ \vdots &#038; \vdots &#038; \vdots &#038; \vdots &#038; \vdots \\ 0 &#038; 0 &#038; 0 &#038; \cdots &#038; m^k_{n n} \end{bmatrix}.\]
<hr />
<p>Now, we can calculate the infinite series $e^M$:<br />
\begin{align*}<br />
e^M &#038;= \sum_{k=0}^{\infty} \frac{ M^k }{k!} \\<br />
&#038;= \sum_{k=0}^\infty \frac{1}{k!} \begin{bmatrix} m^k_{1, 1} &#038; 0 &#038; 0 &#038; \cdots &#038; 0 \\ 0 &#038; m^k_{2, 2} &#038; 0 &#038; \cdots &#038; 0 \\ 0 &#038; 0 &#038; m^k_{3, 3} &#038; \cdots &#038; 0 \\ \vdots &#038; \vdots &#038; \vdots &#038; \vdots &#038; \vdots \\ 0 &#038; 0 &#038; 0 &#038; \cdots &#038; m^k_{n, n} \end{bmatrix} \\<br />
&#038;= \begin{bmatrix} \sum_{k=0}^\infty \frac{ m^k_{1 1} }{k!} &#038; 0 &#038; 0 &#038; \cdots &#038; 0 \\ 0 &#038; \sum_{k=0}^\infty \frac{ m^k_{2 2} }{k!} &#038; 0 &#038; \cdots &#038; 0 \\ 0 &#038; 0 &#038; \sum_{k=0}^\infty \frac{ m^k_{3 3} }{k!} &#038; \cdots &#038; 0 \\ \vdots &#038; \vdots &#038; \vdots &#038; \vdots &#038; \vdots \\ 0 &#038; 0 &#038; 0 &#038; \cdots &#038; \sum_{k=0}^\infty  \frac{ m^k_{n n} }{k!} \end{bmatrix} . \end{align*} </p>
<hr />
<p>Now, for any real number $c$ we can write $e^c$ as the series<br />
\[e^c = \sum_{k=0}^\infty \frac{ c^k }{k!}.\]
<p>Thus, the matrix exponential $e^M$ is<br />
\[e^M = \begin{bmatrix} e^{ m_{1 1} } &#038; 0 &#038; 0 &#038; \cdots &#038; 0 \\ 0 &#038; e^{ m_{2 2} } &#038; 0 &#038; \cdots &#038; 0 \\ 0 &#038; 0 &#038; e^{ m_{3 3} } &#038; \cdots &#038; 0 \\ \vdots &#038; \vdots &#038; \vdots &#038; \vdots &#038; \vdots \\ 0 &#038; 0 &#038; 0 &#038; \cdots &#038; e^{ m_{n n} } \end{bmatrix}.\]
<button class="simplefavorite-button has-count" data-postid="6769" data-siteid="1" data-groupid="1" data-favoritecount="31" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">31</span></button><p>The post <a href="https://yutsumura.com/the-matrix-exponential-of-a-diagonal-matrix/" target="_blank">The Matrix Exponential of a Diagonal Matrix</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></content:encoded>
							<wfw:commentRss>https://yutsumura.com/the-matrix-exponential-of-a-diagonal-matrix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">6769</post-id>	</item>
		<item>
		<title>If a Symmetric Matrix is in Reduced Row Echelon Form, then Is it Diagonal?</title>
		<link>https://yutsumura.com/if-a-symmetric-matrix-is-in-reduced-row-echelon-form-then-is-it-diagonal/</link>
				<comments>https://yutsumura.com/if-a-symmetric-matrix-is-in-reduced-row-echelon-form-then-is-it-diagonal/#respond</comments>
				<pubDate>Mon, 25 Dec 2017 05:52:57 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[diagonal matrix]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[reduced row echelon form matrix]]></category>
		<category><![CDATA[symmetric matrix]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=6331</guid>
				<description><![CDATA[<p>Recall that a matrix $A$ is symmetric if $A^\trans = A$, where $A^\trans$ is the transpose of $A$. Is it true that if $A$ is a symmetric matrix and in reduced row echelon form,&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/if-a-symmetric-matrix-is-in-reduced-row-echelon-form-then-is-it-diagonal/" target="_blank">If a Symmetric Matrix is in Reduced Row Echelon Form, then Is it Diagonal?</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 647</h2>
<p>Recall that a matrix $A$ is <strong>symmetric</strong> if $A^\trans = A$, where $A^\trans$ is the transpose of $A$. </p>
<p>Is it true that if $A$ is a symmetric matrix and in reduced row echelon form, then $A$ is diagonal?  If so, prove it. </p>
<p>Otherwise, provide a counterexample.</p>
<p>&nbsp;<br />
<span id="more-6331"></span></p>
<h2> Proof. </h2>
<p>	This is true. </p>
<p>If $A$ is in reduced row echelon form, then every term below the diagonal must be 0.<br />
That is, the entry $a_{i j} = 0$ for all $i > j$.  </p>
<p>If $A$ is, additionally, symmetric, then for $i &lt; j$ we also have $a_{j i} = a_{i j} = 0$.  </p>
<p>These two facts together means that $a_{i j} = 0$ whenever $i \neq j$. </p>
<p>In this case, the only non-zero terms in the matrix $A$ lie on the diagonal, and so $A$ is a diagonal matrix.</p>
<button class="simplefavorite-button has-count" data-postid="6331" data-siteid="1" data-groupid="1" data-favoritecount="35" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">35</span></button><p>The post <a href="https://yutsumura.com/if-a-symmetric-matrix-is-in-reduced-row-echelon-form-then-is-it-diagonal/" target="_blank">If a Symmetric Matrix is in Reduced Row Echelon Form, then Is it Diagonal?</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></content:encoded>
							<wfw:commentRss>https://yutsumura.com/if-a-symmetric-matrix-is-in-reduced-row-echelon-form-then-is-it-diagonal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">6331</post-id>	</item>
		<item>
		<title>Diagonalize a 2 by 2 Symmetric Matrix</title>
		<link>https://yutsumura.com/diagonalize-a-2-by-2-symmetric-matrix/</link>
				<comments>https://yutsumura.com/diagonalize-a-2-by-2-symmetric-matrix/#comments</comments>
				<pubDate>Sun, 17 Dec 2017 02:58:29 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[characteristic polynomial]]></category>
		<category><![CDATA[diagonal matrix]]></category>
		<category><![CDATA[diagonalization]]></category>
		<category><![CDATA[diagonalization of a matrix]]></category>
		<category><![CDATA[eigenbasis]]></category>
		<category><![CDATA[eigenvalue]]></category>
		<category><![CDATA[eigenvector]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[nonsingular matrix]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=6226</guid>
				<description><![CDATA[<p>Diagonalize the $2\times 2$ matrix $A=\begin{bmatrix} 2 &#038; -1\\ -1&#038; 2 \end{bmatrix}$ by finding a nonsingular matrix $S$ and a diagonal matrix $D$ such that $S^{-1}AS=D$. &#160; Solution. The characteristic polynomial $p(t)$ of the&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/diagonalize-a-2-by-2-symmetric-matrix/" target="_blank">Diagonalize a 2 by 2 Symmetric Matrix</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 629</h2>
<p>Diagonalize the $2\times 2$ matrix $A=\begin{bmatrix}<br />
  2 &#038; -1\\<br />
  -1&#038; 2<br />
\end{bmatrix}$ by finding a nonsingular matrix $S$ and a diagonal matrix $D$ such that $S^{-1}AS=D$.</p>
<p>&nbsp;<br />
<span id="more-6226"></span></p>
<h2>Solution.</h2>
<p>	The characteristic polynomial $p(t)$ of the matrix $A$ is<br />
	\begin{align*}<br />
	p(t)&#038;=\det(A-tI)=\begin{vmatrix}<br />
  2-t &#038; -1\\<br />
  -1&#038; 2-1<br />
\end{vmatrix}\\[6pt]
&#038;=(2-t)^2-1 =t^2-4t+3\\<br />
&#038;=(t-1)(t-3).<br />
\end{align*}<br />
It follows that the eigenvalues of $A$ are $\lambda=1, 3$ with algebraic multiplicities are both $1$.<br />
Hence, the geometric multiplicities are $1$ and thus any nonzero vector in eahc eigenspace forms a eigenbasis.</p>
<hr />
<p>Now let us find a eigenbasis for each eigenspace $E_{\lambda}=\calN(A-\lambda I)$.<br />
For the eigenvalue $1$, we have<br />
\[A-I=\begin{bmatrix}<br />
  1 &#038; -1\\<br />
  -1&#038; 1<br />
\end{bmatrix}\xrightarrow{R_2+R_1} \begin{bmatrix}<br />
  1 &#038; -1\\<br />
  0&#038; 0<br />
\end{bmatrix}\]
This yields that the eigenvectors corresponding to the eigenvalue $1$ are $x_2\begin{bmatrix}<br />
  1 \\<br />
  1<br />
\end{bmatrix}$ with $x_2\neq 0$. Hence<br />
\[\mathbf{v}_1=\begin{bmatrix}<br />
  1 \\<br />
  1<br />
\end{bmatrix} \in E_1\]
is an eigenbasis for $E_1$.</p>
<hr />
<p>Similarly, as we have<br />
\[A-3I=\begin{bmatrix}<br />
  -1 &#038; -1\\<br />
  -1&#038; -1<br />
\end{bmatrix} \xrightarrow{-R_1}\begin{bmatrix}<br />
  1 &#038; 1\\<br />
  -1&#038; -1<br />
\end{bmatrix} \xrightarrow{R_2+R_1} \begin{bmatrix}<br />
  1 &#038; 1\\<br />
  0&#038; 0<br />
\end{bmatrix},\]
we see that<br />
\[\mathbf{v}_2=\begin{bmatrix}<br />
  -1 \\<br />
  1<br />
\end{bmatrix} \in E_3\]
is an eigenbasis for $E_3$.</p>
<hr />
<p>Let<br />
\[S=\begin{bmatrix}<br />
  \mathbf{v}_1 &#038; \mathbf{v}_2<br />
\end{bmatrix}=<br />
\begin{bmatrix}<br />
  1 &#038; -1\\<br />
  1&#038; 1<br />
\end{bmatrix} \text{ and } D=\begin{bmatrix}<br />
  1 &#038; 0\\<br />
  0&#038; 3<br />
\end{bmatrix}.\]
<p>Then the <a href="//yutsumura.com/how-to-diagonalize-a-matrix-step-by-step-explanation/" rel="noopener" target="_blank">diagonalization procedure</a> yields that $S$ is nonsingular and $S^{-1}AS= D$.</p>
<button class="simplefavorite-button has-count" data-postid="6226" data-siteid="1" data-groupid="1" data-favoritecount="105" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">105</span></button><p>The post <a href="https://yutsumura.com/diagonalize-a-2-by-2-symmetric-matrix/" target="_blank">Diagonalize a 2 by 2 Symmetric Matrix</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></content:encoded>
							<wfw:commentRss>https://yutsumura.com/diagonalize-a-2-by-2-symmetric-matrix/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">6226</post-id>	</item>
		<item>
		<title>Diagonalize the $2\times 2$ Hermitian Matrix by a Unitary Matrix</title>
		<link>https://yutsumura.com/diagonalize-the-2times-2-hermitian-matrix-by-a-unitary-matrix/</link>
				<comments>https://yutsumura.com/diagonalize-the-2times-2-hermitian-matrix-by-a-unitary-matrix/#comments</comments>
				<pubDate>Mon, 16 Oct 2017 01:00:03 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[diagonal matrix]]></category>
		<category><![CDATA[diagonalization of a matrix]]></category>
		<category><![CDATA[eigenspace]]></category>
		<category><![CDATA[eigenvalue]]></category>
		<category><![CDATA[eigenvector]]></category>
		<category><![CDATA[hermitian matrix]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[orthonormal basis]]></category>
		<category><![CDATA[unitary matrix]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=5087</guid>
				<description><![CDATA[<p>Consider the Hermitian matrix \[A=\begin{bmatrix} 1 &#038; i\\ -i&#038; 1 \end{bmatrix}.\] (a) Find the eigenvalues of $A$. (b) For each eigenvalue of $A$, find the eigenvectors. (c) Diagonalize the Hermitian matrix $A$ by a&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/diagonalize-the-2times-2-hermitian-matrix-by-a-unitary-matrix/" target="_blank">Diagonalize the \times 2$ Hermitian Matrix by a Unitary Matrix</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 585</h2>
<p>	Consider the Hermitian matrix<br />
	\[A=\begin{bmatrix}<br />
  1 &#038; i\\<br />
  -i&#038; 1<br />
		\end{bmatrix}.\]
<p><strong>(a)</strong> Find the eigenvalues of $A$.</p>
<p><strong>(b)</strong> For each eigenvalue of $A$, find the eigenvectors.</p>
<p><strong>(c)</strong> Diagonalize the Hermitian matrix $A$ by a unitary matrix. Namely, find a diagonal matrix $D$ and a unitary matrix $U$ such that $U^{-1}AU=D$.</p>
<p>&nbsp;<br />
<span id="more-5087"></span><br />

<h2>Solution.</h2>
<h3>(a) Find the eigenvalues of $A$.</h3>
<p> 	To find the eigenvalues of the matrix $A$, we first compute the characteristic polynomial $p(t)$ of $A$.<br />
			We have<br />
			\begin{align*}<br />
		p(t)&#038;=\det(A-tI)=\begin{vmatrix}<br />
		  1-t &#038; i\\<br />
		  -i&#038; 1-t<br />
		\end{vmatrix}\\[6pt]
		&#038;=(1-t)(1-t)-(i)(-i)=t^2-2t+1-1\\<br />
		&#038;=t(t-2).<br />
		\end{align*}<br />
		Solving $p(t)=0$, we obtain the eigenvalues $0$ and $2$.</p>
<h3>(b) For each eigenvalue of $A$, find the eigenvectors.</h3>
<p>Let us first find the eigenvectors corresponding to the eigenvalue $0$.<br />
		We solve the equation $(A-0I)\mathbf{x}=\mathbf{0}$.<br />
		We have<br />
		\begin{align*}<br />
		A\xrightarrow{R_2+iR_1} \begin{bmatrix}<br />
		  1 &#038; i\\<br />
		  0&#038; 0<br />
		\end{bmatrix}.<br />
		\end{align*}<br />
		Hence the eigenvalues are<br />
		\[c\begin{bmatrix}<br />
		  1 \\<br />
		  i<br />
		\end{bmatrix}\]
		for any nonzero complex number $c$.</p>
<hr />
<p>		Next, we find the eigenvectors corresponding to the eigenvalue $2$. We solve the equation $(A-2I)\mathbf{x}=\mathbf{0}$.<br />
		We have<br />
		\begin{align*}<br />
		A-2I&#038;=\begin{bmatrix}<br />
		  -1 &#038; i\\<br />
		  -i&#038; -1<br />
		\end{bmatrix}\xrightarrow{-R_1}\\[6pt]
		&#038;\begin{bmatrix}<br />
		  1 &#038; -i\\<br />
		  -i&#038; -1<br />
		\end{bmatrix}\xrightarrow{R_2+iR_1}<br />
		\begin{bmatrix}<br />
		  1 &#038; -i\\<br />
		  0&#038; 0<br />
		\end{bmatrix}.<br />
		\end{align*}<br />
		Hence the eigenvalues are<br />
		\[c\begin{bmatrix}<br />
		  1 \\<br />
		  -i<br />
		\end{bmatrix}\]
		for any nonzero complex number $c$.</p>
<h3>(c) Diagonalize the Hermitian matrix $A$ by a unitary matrix.</h3>
<p>To diagonalize the Hermitian matrix $A$ by a unitary matrix $U$, we find an orthonormal basis for each eigenspace of $A$.<br />
		As each eigenspace of $A$ is $1$-dimensional by part (b), we just need to normalize any eigenvector for each eigenvalue.</p>
<hr />
<p>		By part (b), we know that $\mathbf{v}_1:=\begin{bmatrix}<br />
		  1 \\<br />
		  i<br />
		\end{bmatrix}$ is an eigenvector corresponding to the eigenvalue $0$.<br />
		The length of this vector is<br />
		\[\|\mathbf{v}_1\|=\sqrt{1\cdot 1 +(i)(-i)}=\sqrt{2}.\]
		Hence the vector<br />
		\[\mathbf{u}_1=\frac{\mathbf{v}_1}{\|\mathbf{v}_1\|}=\frac{1}{\sqrt{2}} \begin{bmatrix}<br />
		  1 \\<br />
		  i<br />
		\end{bmatrix}\]
		is a unit eigenvector.</p>
<hr />
<p>		Similarly, from (b) we see that $\begin{bmatrix}<br />
		  1 \\<br />
		  -i<br />
		\end{bmatrix}$ is an eigenvector corresponding to the eigenvalue $2$. The length of the vector is $\sqrt{2}$.<br />
		Hence<br />
		\[\mathbf{u}_2=\frac{1}{\sqrt{2}}\begin{bmatrix}<br />
		  1 \\<br />
		  -i<br />
		\end{bmatrix}\]
		is a unit eigenvector.</p>
<hr />
<p>		It follows that the matrix<br />
		\[U=\begin{bmatrix}<br />
		  \mathbf{u}_1 &#038; \mathbf{u}_2<br />
		\end{bmatrix}=\frac{1}{\sqrt{2}}\begin{bmatrix}<br />
		  1 &#038; 1\\<br />
		  i&#038; -i<br />
		\end{bmatrix}\]
		is unitary and<br />
		\[U^{-1}AU=\begin{bmatrix}<br />
		  0 &#038; 0\\<br />
		  0&#038; 2<br />
		\end{bmatrix}\]
by <a href="//yutsumura.com/how-to-diagonalize-a-matrix-step-by-step-explanation/" rel="noopener" target="_blank">diagonalization process</a>.</p>
<button class="simplefavorite-button has-count" data-postid="5087" data-siteid="1" data-groupid="1" data-favoritecount="74" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">74</span></button><p>The post <a href="https://yutsumura.com/diagonalize-the-2times-2-hermitian-matrix-by-a-unitary-matrix/" target="_blank">Diagonalize the \times 2$ Hermitian Matrix by a Unitary Matrix</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></content:encoded>
							<wfw:commentRss>https://yutsumura.com/diagonalize-the-2times-2-hermitian-matrix-by-a-unitary-matrix/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">5087</post-id>	</item>
		<item>
		<title>A Diagonalizable Matrix which is Not Diagonalized by a Real Nonsingular Matrix</title>
		<link>https://yutsumura.com/a-diagonalizable-matrix-which-is-not-diagonalized-by-a-real-nonsingular-matrix/</link>
				<comments>https://yutsumura.com/a-diagonalizable-matrix-which-is-not-diagonalized-by-a-real-nonsingular-matrix/#respond</comments>
				<pubDate>Fri, 13 Oct 2017 03:25:20 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[characteristic polynomial]]></category>
		<category><![CDATA[complex eigenvalue]]></category>
		<category><![CDATA[diagonal matrix]]></category>
		<category><![CDATA[diagonalizable matrix]]></category>
		<category><![CDATA[diagonalization of a matrix]]></category>
		<category><![CDATA[eigenvalue]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[nonsingular matrix]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=5081</guid>
				<description><![CDATA[<p>Prove that the matrix \[A=\begin{bmatrix} 0 &#038; 1\\ -1&#038; 0 \end{bmatrix}\] is diagonalizable. Prove, however, that $A$ cannot be diagonalized by a real nonsingular matrix. That is, there is no real nonsingular matrix $S$&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/a-diagonalizable-matrix-which-is-not-diagonalized-by-a-real-nonsingular-matrix/" target="_blank">A Diagonalizable Matrix which is Not Diagonalized by a Real Nonsingular Matrix</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 584</h2>
<p>	Prove that the matrix<br />
	\[A=\begin{bmatrix}<br />
  0 &#038; 1\\<br />
  -1&#038; 0<br />
		\end{bmatrix}\]
		is diagonalizable.<br />
		Prove, however, that $A$ cannot be diagonalized by a real nonsingular matrix.<br />
		That is, there is no real nonsingular matrix $S$ such that $S^{-1}AS$ is a diagonal matrix.</p>
<p>&nbsp;<br />
<span id="more-5081"></span><br />

<h2> Proof. </h2>
<p>		We first find the eigenvalues of $A$ by computing its characteristic polynomial $p(t)$.<br />
			We have<br />
			\begin{align*}<br />
		p(t)=\det(A-tI)=\begin{vmatrix}<br />
		  -t &#038; 1\\<br />
		  -1&#038; -t<br />
		\end{vmatrix}=t^2+1.<br />
		\end{align*}<br />
		Solving $p(t)=t^2+1=0$, we obtain two distinct eigenvalues $\pm i$ of $A$.<br />
		Hence the matrix $A$ is diagonalizable.</p>
<hr />
<p>		To prove the second statement, assume, on the contrary, that $A$ is diagonalizable by a real nonsingular matrix $S$.<br />
		Then we have<br />
		\[S^{-1}AS=\begin{bmatrix}<br />
		  i &#038; 0\\<br />
		  0&#038; -i<br />
		\end{bmatrix}\]
		by <a href="//yutsumura.com/how-to-diagonalize-a-matrix-step-by-step-explanation/" rel="noopener" target="_blank">diagonalization</a>.<br />
		As the matrices $A, S$ are real, the left-hand side is a real matrix.<br />
		Taking the complex conjugate of both sides, we obtain<br />
		\[\begin{bmatrix}<br />
		  -i &#038; 0\\<br />
		  0&#038; i<br />
		\end{bmatrix}=\overline{\begin{bmatrix}<br />
		  i &#038; 0\\<br />
		  0&#038; -i<br />
		\end{bmatrix}}=\overline{S^{-1}AS}=S^{-1}AS=\begin{bmatrix}<br />
		  i &#038; 0\\<br />
		  0&#038; -i<br />
		\end{bmatrix}.\]
		This equality is clearly impossible.<br />
		Hence the matrix $A$ cannot be diagonalized by a real nonsingular matrix.</p>
<button class="simplefavorite-button has-count" data-postid="5081" data-siteid="1" data-groupid="1" data-favoritecount="20" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">20</span></button><p>The post <a href="https://yutsumura.com/a-diagonalizable-matrix-which-is-not-diagonalized-by-a-real-nonsingular-matrix/" target="_blank">A Diagonalizable Matrix which is Not Diagonalized by a Real Nonsingular Matrix</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></content:encoded>
							<wfw:commentRss>https://yutsumura.com/a-diagonalizable-matrix-which-is-not-diagonalized-by-a-real-nonsingular-matrix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">5081</post-id>	</item>
		<item>
		<title>Diagonalize the Upper Triangular Matrix and Find the Power of the Matrix</title>
		<link>https://yutsumura.com/diagonalize-the-upper-triangular-matrix-and-find-the-power-of-the-matrix/</link>
				<comments>https://yutsumura.com/diagonalize-the-upper-triangular-matrix-and-find-the-power-of-the-matrix/#comments</comments>
				<pubDate>Thu, 12 Oct 2017 01:36:13 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[diagonal matrix]]></category>
		<category><![CDATA[diagonalization]]></category>
		<category><![CDATA[eigenvalue]]></category>
		<category><![CDATA[eigenvector]]></category>
		<category><![CDATA[invertible matrix]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[power of a matrix]]></category>
		<category><![CDATA[upper triangular matrix]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=5074</guid>
				<description><![CDATA[<p>Consider the $2\times 2$ complex matrix \[A=\begin{bmatrix} a &#038; b-a\\ 0&#038; b \end{bmatrix}.\] (a) Find the eigenvalues of $A$. (b) For each eigenvalue of $A$, determine the eigenvectors. (c) Diagonalize the matrix $A$. (d)&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/diagonalize-the-upper-triangular-matrix-and-find-the-power-of-the-matrix/" target="_blank">Diagonalize the Upper Triangular Matrix and Find the Power of the Matrix</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 583</h2>
<p>	Consider the $2\times 2$ complex matrix<br />
	\[A=\begin{bmatrix}<br />
  a &#038; b-a\\<br />
  0&#038; b<br />
		\end{bmatrix}.\]
<p><strong>(a)</strong> Find the eigenvalues of $A$.</p>
<p><strong>(b)</strong> For each eigenvalue of $A$, determine the eigenvectors.</p>
<p><strong>(c)</strong> Diagonalize the matrix $A$.</p>
<p><strong>(d)</strong> Using the result of the diagonalization, compute and simplify $A^k$ for each positive integer $k$.</p>
<p>&nbsp;<br />
<span id="more-5074"></span><br />

<h2>Solution.</h2>
<h3>(a) Find the eigenvalues of $A$.</h3>
<p>			 Since $A$ is an upper triangular matrix, eigenvalues are diagonal entries.<br />
			Hence $a, b$ are eigenvalues of $A$.</p>
<h3>(b) For each eigenvalue of $A$, determine the eigenvectors.</h3
 If $a=b$, then $A=aI$, where $I$ is the $2\times 2$ identity matrix. Thus any nonzero vector in $\C^2$ is an eigenvector.
			


<hr />
<p>			Suppose now that $a\neq b$.<br />
			Let us find eigenvectors corresponding to the eigenvalue $a$.<br />
			We have<br />
			\begin{align*}<br />
		A-aI=\begin{bmatrix}<br />
		  0 &#038; b-a\\<br />
		  0&#038; b-a<br />
		\end{bmatrix}<br />
		\xrightarrow{R_2-R_1}<br />
		\begin{bmatrix}<br />
		  0 &#038; b-a\\<br />
		  0&#038; 0<br />
		  \end{bmatrix}<br />
		  \xrightarrow{\frac{1}{b-a}R_1}<br />
		  \begin{bmatrix}<br />
		  0 &#038; 1\\<br />
		  0&#038; 0<br />
		\end{bmatrix}.<br />
		\end{align*}<br />
		It follows that the eigenvectors corresponding to $a$ are<br />
		\[x_1\begin{bmatrix}<br />
		  1 \\<br />
		  0<br />
		\end{bmatrix},\]
		where $x_1$ is any nonzero complex number.</p>
<hr />
<p>		Next, we find the eigenvectors corresponding to the eigenvalue $b$.<br />
		We have<br />
		\begin{align*}<br />
		A-bI=\begin{bmatrix}<br />
		  a-b &#038; b-a\\<br />
		  0&#038; 0<br />
		\end{bmatrix}<br />
		\xrightarrow{\frac{1}{a-b}R_1}<br />
		\begin{bmatrix}<br />
		  1 &#038; -1\\<br />
		  0&#038; 0<br />
		\end{bmatrix}.<br />
		\end{align*}<br />
		Hence the eigenvectors corresponding to $b$ are<br />
		\[x_1\begin{bmatrix}<br />
		  1 \\<br />
		  1<br />
		\end{bmatrix},\]
		where $x_1$ is any nonzero complex number.</p>
<h3>(c) Diagonalize the matrix $A$.</h3>
<p> When $a=b$, then $A$ is already diagonal matrix. So let us consider the case $a\neq b$.<br />
		In the previous parts, we obtained the eigenvalues $a, b$, and corresponding eigenvectors<br />
		\[\begin{bmatrix}<br />
		  1 \\<br />
		  0<br />
		\end{bmatrix} \text{ and } \begin{bmatrix}<br />
		  1 \\<br />
		  1<br />
		\end{bmatrix}.\]
		Let $S=\begin{bmatrix}<br />
		  1 &#038; 1\\<br />
		  0&#038; 1<br />
		\end{bmatrix}$ be a matrix whose column vectors are the eigenvectors.<br />
		Then $S$ is invertible and we have<br />
		\[S^{-1}AS=\begin{bmatrix}<br />
		  a &#038; 0\\<br />
		  0&#038; b<br />
		\end{bmatrix}\]
		by <a href="//yutsumura.com/how-to-diagonalize-a-matrix-step-by-step-explanation/" rel="noopener" target="_blank">the diagonalization process</a>.</p>
<p>		Remark that this formula is also true even when $a=b$.</p>
<h3>(d) Using the result of the diagonalization, compute and simplify $A^k$ for each positive integer $k$.</h3>
<p>Using the result of the diagonalization in part (c), we have<br />
		\[A=S\begin{bmatrix}<br />
		  a &#038; 0\\<br />
		  0&#038; b<br />
		\end{bmatrix}S^{-1}.\]
		For each positive integer $k$, we have<br />
		\begin{align*}<br />
		A^k&#038;=\left(\,  S\begin{bmatrix}<br />
		  a &#038; 0\\<br />
		  0&#038; b<br />
		\end{bmatrix}S^{-1} \,\right)^k\\[6pt]
		&#038;=S\begin{bmatrix}<br />
		  a &#038; 0\\<br />
		  0&#038; b<br />
		\end{bmatrix}^k S^{-1}=S\begin{bmatrix}<br />
		  a^k &#038; 0\\<br />
		  0&#038; b^k<br />
		\end{bmatrix}S^{-1}\\[6pt]
		&#038;=\begin{bmatrix}<br />
		  1 &#038; 1\\<br />
		  0&#038; 1<br />
		\end{bmatrix}<br />
		\begin{bmatrix}<br />
		  a^k &#038; 0\\<br />
		  0&#038; b^k<br />
		\end{bmatrix}<br />
		\begin{bmatrix}<br />
		  1 &#038; -1\\<br />
		  0&#038; 1<br />
		\end{bmatrix}\\[6pt]
		&#038;=\begin{bmatrix}<br />
		  a^k &#038; b^k-a^k\\<br />
		  0&#038; b^k<br />
		\end{bmatrix}.<br />
		\end{align*}</p>
<p>		In summary, we have the formula<br />
		\[A^k=\begin{bmatrix}<br />
		  a^k &#038; b^k-a^k\\<br />
		  0&#038; b^k<br />
		\end{bmatrix}.\]
<button class="simplefavorite-button has-count" data-postid="5074" data-siteid="1" data-groupid="1" data-favoritecount="62" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">62</span></button><p>The post <a href="https://yutsumura.com/diagonalize-the-upper-triangular-matrix-and-find-the-power-of-the-matrix/" target="_blank">Diagonalize the Upper Triangular Matrix and Find the Power of the Matrix</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></content:encoded>
							<wfw:commentRss>https://yutsumura.com/diagonalize-the-upper-triangular-matrix-and-find-the-power-of-the-matrix/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">5074</post-id>	</item>
		<item>
		<title>Diagonalize the Complex Symmetric 3 by 3 Matrix with $\sin x$ and $\cos x$</title>
		<link>https://yutsumura.com/diagonalize-the-complex-symmetric-3-by-3-matrix-with-sin-x-and-cos-x/</link>
				<comments>https://yutsumura.com/diagonalize-the-complex-symmetric-3-by-3-matrix-with-sin-x-and-cos-x/#respond</comments>
				<pubDate>Mon, 07 Aug 2017 16:26:22 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[characteristic polynomial]]></category>
		<category><![CDATA[diagonal matrix]]></category>
		<category><![CDATA[diagonalizable]]></category>
		<category><![CDATA[diagonalization of a matrix]]></category>
		<category><![CDATA[diagonalize a matrix]]></category>
		<category><![CDATA[eigenvalue]]></category>
		<category><![CDATA[eigenvector]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[rule of Sarrus]]></category>
		<category><![CDATA[trigonometry function]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=4371</guid>
				<description><![CDATA[<p>Consider the complex matrix \[A=\begin{bmatrix} \sqrt{2}\cos x &#038; i \sin x &#038; 0 \\ i \sin x &#038;0 &#038;-i \sin x \\ 0 &#038; -i \sin x &#038; -\sqrt{2} \cos x \end{bmatrix},\] where $x$&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/diagonalize-the-complex-symmetric-3-by-3-matrix-with-sin-x-and-cos-x/" target="_blank">Diagonalize the Complex Symmetric 3 by 3 Matrix with $\sin x$ and $\cos x$</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 533</h2>
<p>	 	 Consider the complex matrix<br />
	 	 \[A=\begin{bmatrix}<br />
		  \sqrt{2}\cos x &#038; i \sin x &#038; 0 \\<br />
		   i \sin x &#038;0 &#038;-i \sin x \\<br />
		   0 &#038; -i \sin x &#038; -\sqrt{2} \cos x<br />
		\end{bmatrix},\]
		where $x$ is a real number between $0$ and $2\pi$.</p>
<p>		Determine for which values of $x$ the matrix $A$ is diagonalizable.<br />
		When $A$ is diagonalizable, find a diagonal matrix $D$ so that $P^{-1}AP=D$ for some nonsingular matrix $P$.</p>
<p>&nbsp;<br />
<span id="more-4371"></span><br />

<h2>Solution.</h2>
<p>			Let us first find the eigenvalues of the matrix $A$.<br />
			To do so, we compute the characteristic polynomial $p(t)=\det(A-tI)$ of $A$ as follows.<br />
			Using Sarrus&#8217;s rule to compute the $3\times 3$ determinant, we have<br />
			\begin{align*}<br />
		&#038;p(t)=\det(A-tI)\\[6pt]
		&#038;=\begin{bmatrix}<br />
		  \sqrt{2}\cos x -t &#038; i \sin x &#038; 0 \\<br />
		   i \sin x &#038; -t &#038;-i \sin x \\<br />
		   0 &#038; -i \sin x &#038; -\sqrt{2} \cos x-t<br />
		\end{bmatrix}\\[6pt]
		&#038;=-t(\sqrt{2}\cos x-t)(-\sqrt{2}\cos x -t)<br />
		-\left(\,  -(\sin^2 x) (-\sqrt{2}\cos x-t)-(\sin^2 x) (\sqrt{2}\cos x -t) \,\right)\\<br />
		&#038;=-t^3+2(\cos^2 x-\sin ^2 x)t\\<br />
		&#038;=-t^3+2\cos(2x) t.<br />
		\end{align*}</p>
<p>		The eigenvalues of $A$ are the roots of<br />
		\[p(t)=-t^3+2\cos(2x) t=-t(t^2-2\cos(2x)).\]
		Hence the eigenvalues are<br />
		\[t=0, \quad\pm \sqrt{2\cos(2x)}.\]
<hr />
<p>		Note that if $\sqrt{2\cos(2x)}=-\sqrt{2\cos(2x)}$ then we have $\cos(2x)=0$ and hence $x=\pi/4, 3\pi/4$.<br />
		It follows that if $x=\pi/4, 3\pi/4$, then the matrix $A$ has only one eigenvalue $0$ with algebraic multiplicity $3$.<br />
		Since $A$ is not the zero matrix, the rank of $A$ is greater than or equal to $1$.</p>
<p>		Hence the nullity of $A$ is less than or equal to $2$ by the rank-nullity theorem.<br />
		It follows that the geometric multiplicity (=nullity) of the eigenvalue $0$ is strictly less than the algebraic multiplicity of $0$ and $A$ is not diagonalizable in this case.</p>
<hr />
<p>		Now suppose that $x\neq \pi/4, 3\pi/4$.<br />
		In this case, the matrix $A$ has three distinct eigenvalues $0, \pm \sqrt{2\cos(2x)}$.<br />
		This implies that $A$ is diagonalizable.</p>
<p>		Let $\mathbf{v}_1, \mathbf{v}_2, \mathbf{v}_3$ be eigenvectors corresponding to eigenvalues $0, \pm \sqrt{2\cos(2x)}$, respectively.<br />
		Define the $3\times 3$ matrix $P$ by $P=\begin{bmatrix}<br />
		  \mathbf{v}_1 &#038; \mathbf{v}_2 &#038; \mathbf{v}_3 \\<br />
		  \end{bmatrix}$.</p>
<p>		  It follows from the <a href="//yutsumura.com/how-to-diagonalize-a-matrix-step-by-step-explanation/" target="_blank">general procedure of the diagonalization</a> that $P$ is a nonsingular matrix and<br />
		  \[P^{-1}AP=D,\]
		  where $D$ is a diagonal matrix<br />
		  \[D=\begin{bmatrix}<br />
		  0 &#038; 0 &#038; 0 \\<br />
		   0 &#038;\sqrt{2\cos(2x)} &#038;0 \\<br />
		   0 &#038; 0 &#038; -\sqrt{2\cos(2x)}<br />
		\end{bmatrix}.\]
<h3>Summary</h3>
<p>		In summary, when $x=\pi/4, 3\pi/4$ the matrix $A$ is not diagonalizable.</p>
<p>		When $x \neq \pi/4, 3\pi/4$, the matrix $A$ is diagonalizable and we can take the diagonal matrix $D$ as<br />
		  \[D=\begin{bmatrix}<br />
		  0 &#038; 0 &#038; 0 \\<br />
		   0 &#038;\sqrt{2\cos(2x)} &#038;0 \\<br />
		   0 &#038; 0 &#038; -\sqrt{2\cos(2x)}<br />
		\end{bmatrix}.\]
<button class="simplefavorite-button has-count" data-postid="4371" data-siteid="1" data-groupid="1" data-favoritecount="19" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">19</span></button><p>The post <a href="https://yutsumura.com/diagonalize-the-complex-symmetric-3-by-3-matrix-with-sin-x-and-cos-x/" target="_blank">Diagonalize the Complex Symmetric 3 by 3 Matrix with $\sin x$ and $\cos x$</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></content:encoded>
							<wfw:commentRss>https://yutsumura.com/diagonalize-the-complex-symmetric-3-by-3-matrix-with-sin-x-and-cos-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">4371</post-id>	</item>
		<item>
		<title>Every Diagonalizable Nilpotent Matrix is the Zero Matrix</title>
		<link>https://yutsumura.com/every-diagonalizable-nilpotent-matrix-is-the-zero-matrix/</link>
				<comments>https://yutsumura.com/every-diagonalizable-nilpotent-matrix-is-the-zero-matrix/#comments</comments>
				<pubDate>Mon, 10 Jul 2017 07:16:07 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[diagonal matrix]]></category>
		<category><![CDATA[diagonalizable matrix]]></category>
		<category><![CDATA[eigenvalue]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[nilpotent]]></category>
		<category><![CDATA[nilpotent matrix]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=3547</guid>
				<description><![CDATA[<p>Prove that if $A$ is a diagonalizable nilpotent matrix, then $A$ is the zero matrix $O$. &#160; Definition (Nilpotent Matrix) A square matrix $A$ is called nilpotent if there exists a positive integer $k$&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/every-diagonalizable-nilpotent-matrix-is-the-zero-matrix/" target="_blank">Every Diagonalizable Nilpotent Matrix is the Zero Matrix</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 504</h2>
<p> Prove that if $A$ is a diagonalizable nilpotent matrix, then $A$ is the zero matrix $O$.</p>
<p>&nbsp;<br />
<span id="more-3547"></span><br />

<h3>Definition (Nilpotent Matrix)</h3>
<p>A square matrix $A$ is called <strong>nilpotent</strong> if there exists a positive integer $k$ such that $A^k=O$.</p>
<h2> Proof. </h2>
<h3>Main Part</h3>
<p>		Since $A$ is diagonalizable, there is a nonsingular matrix $S$ such that $S^{-1}AS$ is a diagonal matrix whose diagonal entries are eigenvalues of $A$.</p>
<p>		As we show below, the only eigenvalue of any nilpotent matrix is $0$.<br />
		Thus, $S^{-1}AS$ is the zero matrix.<br />
	Hence $A=SOS^{-1}=O$.</p>
<h3>The only eigenvalue of each nilpotent matrix is $0$</h3>
<p>	It remains to show that the fact we used above: the only eigenvalue of the nilpotent matrix $A$ is $0$.</p>
<p>	Let $\lambda$ be an eigenvalue of $A$ and let $\mathbf{v}$ be an eigenvector corresponding to $\lambda$.<br />
	That is,<br />
	\[A\mathbf{v}=\lambda \mathbf{v}, \tag{*}\]
<p>	Since $A$ is nilpotent, there exists a positive integer $k$ such that $A^k=O$.</p>
<p>	Then we use the relation (*) inductively and obtain<br />
	\begin{align*}<br />
	A^k\mathbf{v}&#038;=A^{k-1}A\mathbf{v}\\<br />
	&#038;=\lambda A^{k-1}\mathbf{v} &#038;&#038; \text{by (*)}\\<br />
	&#038;=\lambda A^{k-2}A\mathbf{v}\\<br />
	&#038;=\lambda^2 A^{k-2}\mathbf{v} &#038;&#038; \text{by (*)}\\<br />
	&#038;=\dots =\lambda^k \mathbf{v}.<br />
	\end{align*}</p>
<p>	Hence we have<br />
	\[\mathbf{0}=O\mathbf{v}=A^k\mathbf{v}=\lambda^k \mathbf{v}.\]
<p>	Note that the eigenvector $\mathbf{v}$ is a nonzero vector by definition.<br />
	Thus, we must have $\lambda^k=0$, hence $\lambda=0$.<br />
	This proves that the only eigenvalue of the nilpotent matrix $A$ is $0$, and this completes the proof.</p>
<h3>Another Proof of the Fact</h3>
<p>	Even though the fact proved above is true regardless of diagonalizability of $A$, we can make use that $A$ is diagonalizable to prove the fact as follows.</p>
<p>	Let $\lambda_1, \dots, \lambda_n$ be the eigenvalues of the $n\times n$ nilpotent matrix $A$.<br />
	Then we have<br />
	\[S^{-1}AS=D,\]
	where<br />
	\[D:=\begin{bmatrix}<br />
	  \lambda_1 &#038; 0 &#038; \dots &#038;   0 \\<br />
	  0 &#038;\lambda_2 &#038;  \dots &#038; 0  \\<br />
	  \vdots  &#038; \vdots &#038; \ddots &#038; \vdots \\<br />
	  0 &#038; 0 &#038; \dots &#038; \lambda_n<br />
	\end{bmatrix}.\]
<p>	Then we have<br />
\(\require{cancel}\)<br />
	\begin{align*}<br />
	D^k&#038;=(S^{-1}AS)^k\\<br />
	&#038;=(S^{-1}A\cancel{S})(\cancel{S}^{-1}A\cancel{S})\cdots (\cancel{S}^{-1}AS)\\<br />
	&#038;=S^{-1}A^kS\\<br />
	&#038;=S^{-1}OS=O.<br />
	\end{align*}</p>
<p>	Since<br />
	\[D^k=\begin{bmatrix}<br />
	  \lambda_1^k &#038; 0 &#038; \dots &#038;   0 \\<br />
	  0 &#038;\lambda_2^k &#038;  \dots &#038; 0  \\<br />
	  \vdots  &#038; \vdots &#038; \ddots &#038; \vdots \\<br />
	  0 &#038; 0 &#038; \dots &#038; \lambda_n^k<br />
	\end{bmatrix},\]
	it yields that $\lambda_i^=0$, and hence $\lambda_i=0$ for $i=1, \dots, n$.</p>
<h2> Related Question. </h2>
<p>The converse of the above fact is also true: if the only eigenvalue of $A$ is $0$, then $A$ is a nilpotent matrix.</p>
<p>See the post &#8628;<br />
<a href="//yutsumura.com/nilpotent-matrix-and-eigenvalues-of-the-matrix/" target="_blank">Nilpotent Matrix and Eigenvalues of the Matrix</a><br />
for a proof of this fact.</p>
<button class="simplefavorite-button has-count" data-postid="3547" data-siteid="1" data-groupid="1" data-favoritecount="32" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">32</span></button><p>The post <a href="https://yutsumura.com/every-diagonalizable-nilpotent-matrix-is-the-zero-matrix/" target="_blank">Every Diagonalizable Nilpotent Matrix is the Zero Matrix</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></content:encoded>
							<wfw:commentRss>https://yutsumura.com/every-diagonalizable-nilpotent-matrix-is-the-zero-matrix/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">3547</post-id>	</item>
		<item>
		<title>A Matrix Commuting With a Diagonal Matrix with Distinct Entries is Diagonal</title>
		<link>https://yutsumura.com/a-matrix-commuting-with-a-diagonal-matrix-with-distinct-entries-is-diagonal/</link>
				<comments>https://yutsumura.com/a-matrix-commuting-with-a-diagonal-matrix-with-distinct-entries-is-diagonal/#comments</comments>
				<pubDate>Wed, 28 Jun 2017 00:38:09 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[diagonal matrix]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[matrix multiplication]]></category>
		<category><![CDATA[matrix operation]]></category>
		<category><![CDATA[matrix product]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=3339</guid>
				<description><![CDATA[<p>Let \[D=\begin{bmatrix} d_1 &#038; 0 &#038; \dots &#038; 0 \\ 0 &#038;d_2 &#038; \dots &#038; 0 \\ \vdots &#038; &#038; \ddots &#038; \vdots \\ 0 &#038; 0 &#038; \dots &#038; d_n \end{bmatrix}\] be a&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/a-matrix-commuting-with-a-diagonal-matrix-with-distinct-entries-is-diagonal/" target="_blank">A Matrix Commuting With a Diagonal Matrix with Distinct Entries is Diagonal</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 492</h2>
<p>Let<br />
	\[D=\begin{bmatrix}<br />
  d_1 &#038; 0 &#038; \dots &#038;   0 \\<br />
  0 &#038;d_2 &#038;  \dots &#038; 0  \\<br />
  \vdots &#038;  &#038; \ddots &#038; \vdots \\<br />
  0 &#038; 0 &#038; \dots &#038; d_n<br />
	\end{bmatrix}\]
	be a diagonal matrix with distinct diagonal entries: $d_i\neq d_j$ if $i\neq j$.<br />
	Let $A=(a_{ij})$ be an $n\times n$ matrix such that $A$ commutes with $D$, that is,<br />
	\[AD=DA.\]
	Then prove that $A$ is a diagonal matrix.</p>
<p>&nbsp;<br />
<span id="more-3339"></span></p>
<h2> Proof. </h2>
<p>		We prove that the $(i,j)$-entry of $A$ is $a_{ij}=0$ for $i\neq j$.</p>
<p>		We compare the $(i,j)$-entries of both sides of $AD=DA$.<br />
		Let $D=(d_{ij})$. That is, $d_{ii}=d_i$ and $d_{ij}=0$ if $i\neq j$.<br />
		The $(i,j)$-entry of $AD$ is<br />
		\begin{align*}<br />
	(AD)_{ij}=\sum_{k=1}^n a_{ik}d_{kj}=a_{ij}d_j.<br />
	\end{align*}</p>
<p>	The $(i,j)$-entry of $DA$ is<br />
	\[(DA)_{ij}=\sum_{k=1}^n d_{ik}a_{kj}=d_ia_{ij}.\]
<p>	Hence we have<br />
	\[a_{ij}d_j=a_{ij}d_i.\]
	Or equivalently we have<br />
	\[a_{ij}(d_j-d_i)=0.\]
<p>	Since $d_i\neq d_j$, we have $d_j-d_i\neq 0$.<br />
	Thus, we must have $a_{ij}=0$ for $i\neq j$.</p>
<p>	Hence $A=(a_{ij})$ is a diagonal matrix.</p>
<button class="simplefavorite-button has-count" data-postid="3339" data-siteid="1" data-groupid="1" data-favoritecount="42" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">42</span></button><p>The post <a href="https://yutsumura.com/a-matrix-commuting-with-a-diagonal-matrix-with-distinct-entries-is-diagonal/" target="_blank">A Matrix Commuting With a Diagonal Matrix with Distinct Entries is Diagonal</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></content:encoded>
							<wfw:commentRss>https://yutsumura.com/a-matrix-commuting-with-a-diagonal-matrix-with-distinct-entries-is-diagonal/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">3339</post-id>	</item>
		<item>
		<title>Diagonalize the 3 by 3 Matrix if it is Diagonalizable</title>
		<link>https://yutsumura.com/diagonalize-the-3-by-3-matrix-if-it-is-diagonalizable/</link>
				<comments>https://yutsumura.com/diagonalize-the-3-by-3-matrix-if-it-is-diagonalizable/#comments</comments>
				<pubDate>Wed, 14 Jun 2017 23:24:41 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[characteristic polynomial]]></category>
		<category><![CDATA[complex eigenvalue]]></category>
		<category><![CDATA[diagonal matrix]]></category>
		<category><![CDATA[diagonalization]]></category>
		<category><![CDATA[diagonalization of a matrix]]></category>
		<category><![CDATA[eigenspace]]></category>
		<category><![CDATA[eigenvalue]]></category>
		<category><![CDATA[eigenvector]]></category>
		<category><![CDATA[invertible matrix]]></category>
		<category><![CDATA[linear algebra]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=3119</guid>
				<description><![CDATA[<p>Determine whether the matrix \[A=\begin{bmatrix} 0 &#038; 1 &#038; 0 \\ -1 &#038;0 &#038;0 \\ 0 &#038; 0 &#038; 2 \end{bmatrix}\] is diagonalizable. If it is diagonalizable, then find the invertible matrix $S$ and&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/diagonalize-the-3-by-3-matrix-if-it-is-diagonalizable/" target="_blank">Diagonalize the 3 by 3 Matrix if it is Diagonalizable</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 456</h2>
<p>	Determine whether the matrix<br />
	\[A=\begin{bmatrix}<br />
	  0 &#038; 1 &#038; 0 \\<br />
	   -1 &#038;0 &#038;0 \\<br />
	   0 &#038; 0 &#038; 2<br />
	\end{bmatrix}\]
	is diagonalizable. </p>
<p>If it is diagonalizable, then find the invertible matrix $S$ and a diagonal matrix $D$ such that $S^{-1}AS=D$.</p>
<p>&nbsp;<br />
<span id="more-3119"></span></p>
<h2>How to diagonalize matrices.</h2>
<p>For a general procedure of the diagonalization of a matrix, please read the post &#8220;<a href="//yutsumura.com/how-to-diagonalize-a-matrix-step-by-step-explanation/" target="_blank">How to Diagonalize a Matrix. Step by Step Explanation</a>&#8220;.</p>
<p>&nbsp;</p>
<h2>Solution.</h2>
<p>		We first determine the eigenvalues of the matrix $A$.<br />
		To do so, we compute the characteristic polynomial $p(t)$ of $A$.<br />
		We have<br />
		\begin{align*}<br />
	&#038;p(t)=\det(A-tI)\\<br />
	&#038;=\begin{vmatrix}<br />
	  -t &#038; 1 &#038; 0 \\<br />
	   -1 &#038;-t &#038;0 \\<br />
	   0 &#038; 0 &#038; 2-t<br />
	\end{vmatrix}\\[6pt]
	&#038;=(-1)^{3+3}(2-t)\begin{vmatrix}<br />
	  -t &#038; 1\\<br />
	  -1&#038; -t<br />
	\end{vmatrix} &#038;&#038; \text{by the third row cofactor expansion}\\<br />
	&#038;=(2-t)(t^2+1).<br />
	\end{align*}<br />
	Thus the eigenvalues of $A$ are $2, \pm i$.<br />
	Since the $3\times 3$ matrix $A$ has three distinct eigenvalues, it is diagonalizable.</p>
<hr />
<p>	To diagonalize $A$, we now find eigenvectors.<br />
	For the eigenvalue $2$, we compute<br />
	\begin{align*}<br />
	&#038;A-2I=\begin{bmatrix}<br />
	  -2 &#038; 1 &#038; 0 \\<br />
	   -1 &#038;-2 &#038;0 \\<br />
	   0 &#038; 0 &#038; 0<br />
	\end{bmatrix}<br />
	\xrightarrow{-R_2}<br />
	\begin{bmatrix}<br />
	  -2 &#038; 1 &#038; 0 \\<br />
	   1 &#038;2 &#038;0 \\<br />
	   0 &#038; 0 &#038; 0<br />
	\end{bmatrix}\\[6pt]
	&#038;\xrightarrow{R_1 \leftrightarrow R_2}\begin{bmatrix}<br />
	  1 &#038; 2 &#038; 0 \\<br />
	   -2 &#038;1 &#038;0 \\<br />
	   0 &#038; 0 &#038; 0<br />
	\end{bmatrix}<br />
	\xrightarrow{R_2+2R_1}\begin{bmatrix}<br />
	  1 &#038; 2 &#038; 0 \\<br />
	   0 &#038;5 &#038;0 \\<br />
	   0 &#038; 0 &#038; 0<br />
	\end{bmatrix}\\[6pt]
	&#038;\xrightarrow{\frac{1}{5}R_2}\begin{bmatrix}<br />
	  1 &#038; 2 &#038; 0 \\<br />
	   0 &#038;1 &#038;0 \\<br />
	   0 &#038; 0 &#038; 0<br />
	\end{bmatrix}<br />
	\xrightarrow{R_1-2R_2}<br />
	\begin{bmatrix}<br />
	  1 &#038; 0 &#038; 0 \\<br />
	   0 &#038;1 &#038;0 \\<br />
	   0 &#038; 0 &#038; 0<br />
	\end{bmatrix}.<br />
	\end{align*}<br />
	Thus, the solutions $\mathbf{x}$ of $(A-2I)=\mathbf{0}$ satisfy $x=y=0$.<br />
	Hence the eigenspace is<br />
	\[E_2=\calN(A-2I)=\Span\left\{\,  \begin{bmatrix}<br />
	  0 \\<br />
	   0 \\<br />
	    1<br />
	  \end{bmatrix} \,\right\}.\]
<hr />
<p>	  For the eigenvalue $i$, we compute<br />
	  \begin{align*}<br />
	A-iI=\begin{bmatrix}<br />
	  -i &#038; 1 &#038; 0 \\<br />
	   -1 &#038;-i &#038;0 \\<br />
	   0 &#038; 0 &#038; 2-i<br />
	\end{bmatrix}<br />
	\xrightarrow{iR_1}<br />
	\begin{bmatrix}<br />
	  1 &#038; i &#038; 0 \\<br />
	   -1 &#038;-i &#038;0 \\<br />
	   0 &#038; 0 &#038; 2-i<br />
	\end{bmatrix}\\[6pt]
	\xrightarrow{\substack{R_2+R_1\\ \frac{1}{2-i}R_3}}<br />
	\begin{bmatrix}<br />
	  1 &#038; i &#038; 0 \\<br />
	   0 &#038;0 &#038;0 \\<br />
	   0 &#038; 0 &#038; 1<br />
	\end{bmatrix}<br />
	\xrightarrow{R_2 \leftrightarrow R_3}<br />
	\begin{bmatrix}<br />
	  1 &#038; i &#038; 0 \\<br />
	   0 &#038; 0 &#038; 1\\<br />
	   0 &#038;0 &#038;0<br />
	\end{bmatrix}.<br />
	\end{align*}<br />
	So the solutions $\mathbf{x}$ of $(A-iI)\mathbf{x}=\mathbf{0}$ satisfy<br />
	\[x=-iy \text{ and } z=0.\]
	Thus, the eigenspace is<br />
	\[E_i=\calN(A-iI)=\Span\left\{\,  \begin{bmatrix}<br />
	  1 \\<br />
	   i \\<br />
	    0<br />
	  \end{bmatrix} \,\right\}.\]
<hr />
<p>	  Since $i$ and $-i$ are complex conjugate, their eigenspaces are also complex conjugate.<br />
	  Hence the eigenspace for $-i$ is<br />
	  \[E_{-i}=\Span\left\{\,  \begin{bmatrix}<br />
	  1 \\<br />
	   -i \\<br />
	    0<br />
	  \end{bmatrix} \,\right\}.\]
<hr />
<p>	  From these computations, we have obtained eigenvalues $2, i, -i$ and eigenvector corresponding to these are<br />
	  \[\mathbf{v}_{2}=\begin{bmatrix}<br />
	  0 \\<br />
	   0 \\<br />
	    1<br />
	  \end{bmatrix}, \mathbf{v}_i=\begin{bmatrix}<br />
	  1 \\<br />
	   i \\<br />
	    0<br />
	  \end{bmatrix}, \mathbf{v}_{-i}=\begin{bmatrix}<br />
	  1 \\<br />
	   -i \\<br />
	    0<br />
	  \end{bmatrix}.\]
<p>	  Let<br />
	  \[S=\begin{bmatrix}<br />
	  \mathbf{v}_2 &#038; \mathbf{v}_i &#038; \mathbf{v}_{-i} \\<br />
	  \end{bmatrix}=\begin{bmatrix}<br />
	  0 &#038; 1 &#038; 1 \\<br />
	   0 &#038;i &#038;-i \\<br />
	   1 &#038; 0 &#038; 0<br />
	\end{bmatrix}\]
	and<br />
	\[D=\begin{bmatrix}<br />
	  2 &#038; 0 &#038; 0 \\<br />
	   0 &#038;i &#038;0 \\<br />
	   0 &#038; 0 &#038; -i<br />
	\end{bmatrix}.\]
	Then $S$ is invertible and we have $S^{-1}AS=D$ by the diagonalization process.</p>
<button class="simplefavorite-button has-count" data-postid="3119" data-siteid="1" data-groupid="1" data-favoritecount="116" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">116</span></button><p>The post <a href="https://yutsumura.com/diagonalize-the-3-by-3-matrix-if-it-is-diagonalizable/" target="_blank">Diagonalize the 3 by 3 Matrix if it is Diagonalizable</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></content:encoded>
							<wfw:commentRss>https://yutsumura.com/diagonalize-the-3-by-3-matrix-if-it-is-diagonalizable/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">3119</post-id>	</item>
	</channel>
</rss>
