<?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>diagonalize a matrix &#8211; Problems in Mathematics</title>
	<atom:link href="https://yutsumura.com/tag/diagonalize-a-matrix/feed/" rel="self" type="application/rss+xml" />
	<link>https://yutsumura.com</link>
	<description></description>
	<lastBuildDate>Mon, 18 Dec 2017 05:54:10 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.3.6</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>diagonalize a 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>Find Eigenvalues, Eigenvectors, and Diagonalize the 2 by 2 Matrix</title>
		<link>https://yutsumura.com/find-eigenvalues-eigenvectors-and-diagonalize-the-2-by-2-matrix/</link>
				<comments>https://yutsumura.com/find-eigenvalues-eigenvectors-and-diagonalize-the-2-by-2-matrix/#respond</comments>
				<pubDate>Mon, 18 Dec 2017 05:54:10 +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[diagonalization]]></category>
		<category><![CDATA[diagonalize a matrix]]></category>
		<category><![CDATA[eigenspace]]></category>
		<category><![CDATA[eigenvalue]]></category>
		<category><![CDATA[eigenvector]]></category>
		<category><![CDATA[linear algebra]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=6235</guid>
				<description><![CDATA[<p>Consider the matrix $A=\begin{bmatrix} a &#038; -b\\ b&#038; a \end{bmatrix}$, where $a$ and $b$ are real numbers and $b\neq 0$. (a) Find all eigenvalues of $A$. (b) For each eigenvalue of $A$, determine the&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/find-eigenvalues-eigenvectors-and-diagonalize-the-2-by-2-matrix/" target="_blank">Find Eigenvalues, Eigenvectors, and Diagonalize the 2 by 2 Matrix</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 630</h2>
<p>Consider the matrix $A=\begin{bmatrix}<br />
  a &#038; -b\\<br />
  b&#038; a<br />
\end{bmatrix}$, where $a$ and $b$ are real numbers and $b\neq 0$.</p>
<p><strong>(a)</strong> Find all eigenvalues of $A$.</p>
<p><strong>(b)</strong> For each eigenvalue of $A$, determine the eigenspace $E_{\lambda}$.</p>
<p><strong>(c)</strong> Diagonalize the matrix $A$ by finding a nonsingular matrix $S$ and a diagonal matrix $D$ such that $S^{-1}AS=D$.	</p>
<p>&nbsp;<br />
<span id="more-6235"></span><br />

<h2>Solution.</h2>
<h3>(a) Find all eigenvalues of $A$.</h3>
<p>The characteristic polynomial $p(t)$ of the matrix $A$ is<br />
	\begin{align*}<br />
p(t)&#038;=\det(A-tI) = \begin{vmatrix}<br />
  a-t &#038; -b\\<br />
  b&#038; a-t<br />
\end{vmatrix}\\[6pt]
&#038;=(a-t)^2+b^2.<br />
\end{align*}</p>
<p>The eigenvalues of $A$ are roots of $p(t)$.<br />
So we solve $p(t)=0$. We have<br />
\begin{align*}<br />
&#038; \quad (a-t)^2+b^2=0\\<br />
\Leftrightarrow &#038; \quad (a-t)^2=-b^2\\<br />
\Leftrightarrow &#038;\quad a-t =\pm i b\\<br />
\Leftrightarrow &#038;\quad t= a \pm ib.<br />
\end{align*}<br />
Here $i=\sqrt{-1}$.</p>
<p>Thus, the eigenvalues of $A$ are $a\pm ib$.</p>
<h3>(b) For each eigenvalue of $A$, determine the eigenspace $E_{\lambda}$.</h3>
<p>We first determine the eigenspace $E_{\lambda}$ for $\lambda = a+ib$.<br />
Recall that by definition $E_{\lambda}=\calN(A-\lambda I)$, the nullspace of $A-\lambda I$.</p>
<p>We compute<br />
\begin{align*}<br />
A-(a+ib)I=\begin{bmatrix}<br />
  -ib &#038; -b\\<br />
  b&#038; -ib<br />
\end{bmatrix}<br />
\xrightarrow{\frac{i}{b}R_1}<br />
\begin{bmatrix}<br />
  1 &#038; -i\\<br />
  b&#038; -ib<br />
\end{bmatrix}<br />
\xrightarrow{R_2-bR_1}<br />
\begin{bmatrix}<br />
  1 &#038; -i\\<br />
  0&#038; 0<br />
\end{bmatrix}.<br />
\end{align*}<br />
Note that in the above row reduction, we needed the assumption $b\neq 0$.</p>
<p>It follows that the general solution of the system is $x_1=i x_2$.<br />
Hence, we have<br />
\[E_{a+ib} =\Span \left(\,  \begin{bmatrix}<br />
  i \\<br />
  1<br />
\end{bmatrix} \,\right).\]
<hr />
<p>Note that the other eigenvalue $a-ib$ is the complex conjugate of $a+ib$.<br />
It follows that the eigenspace $E_{a-ib}$ is obtained by conjugating the eigenspace $E_{a+ib}$.<br />
Thus,<br />
\[E_{a-ib} =\Span \left(\,  \begin{bmatrix}<br />
  -i \\<br />
  1<br />
\end{bmatrix} \,\right).\]
<h3>(c) Diagonalize the matrix $A$ </h3>
<p>From part (b), we see that<br />
\[\begin{bmatrix}<br />
  i \\<br />
  1<br />
\end{bmatrix} \text{ and } \begin{bmatrix}<br />
  -i \\<br />
  1<br />
\end{bmatrix}\]
form an eigenbasis for $\C^2$.</p>
<p>So, we set<br />
\[S=\begin{bmatrix}<br />
  i &#038; -i\\<br />
  1&#038; 1<br />
\end{bmatrix} \text{ and } D=\begin{bmatrix}<br />
  a+ib &#038; 0\\<br />
  0&#038; a-ib<br />
\end{bmatrix},\]
and we obtain $S^{-1}AS=D$ by the <a href="//yutsumura.com/how-to-diagonalize-a-matrix-step-by-step-explanation/" rel="noopener" target="_blank">diagonalization procedure</a>.</p>
<button class="simplefavorite-button has-count" data-postid="6235" data-siteid="1" data-groupid="1" data-favoritecount="70" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">70</span></button><p>The post <a href="https://yutsumura.com/find-eigenvalues-eigenvectors-and-diagonalize-the-2-by-2-matrix/" target="_blank">Find Eigenvalues, Eigenvectors, and Diagonalize the 2 by 2 Matrix</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></content:encoded>
							<wfw:commentRss>https://yutsumura.com/find-eigenvalues-eigenvectors-and-diagonalize-the-2-by-2-matrix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">6235</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>
	</channel>
</rss>
