<?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>rule of Sarrus &#8211; Problems in Mathematics</title>
	<atom:link href="https://yutsumura.com/tag/rule-of-sarrus/feed/" rel="self" type="application/rss+xml" />
	<link>https://yutsumura.com</link>
	<description></description>
	<lastBuildDate>Sat, 02 Dec 2017 19:14:59 +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>rule of Sarrus &#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>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>How to Use the Cayley-Hamilton Theorem to Find the Inverse Matrix</title>
		<link>https://yutsumura.com/how-to-use-the-cayley-hamilton-theorem-to-find-the-inverse-matrix/</link>
				<comments>https://yutsumura.com/how-to-use-the-cayley-hamilton-theorem-to-find-the-inverse-matrix/#comments</comments>
				<pubDate>Fri, 07 Jul 2017 14:54:08 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[Cayley-Hamilton theorem]]></category>
		<category><![CDATA[characteristic polynomial]]></category>
		<category><![CDATA[cofactor expansion]]></category>
		<category><![CDATA[determinant]]></category>
		<category><![CDATA[inverse matrix]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[rule of Sarrus]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=3503</guid>
				<description><![CDATA[<p>Find the inverse matrix of the $3\times 3$ matrix \[A=\begin{bmatrix} 7 &#038; 2 &#038; -2 \\ -6 &#038;-1 &#038;2 \\ 6 &#038; 2 &#038; -1 \end{bmatrix}\] using the Cayley-Hamilton theorem. &#160; Solution. To apply&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/how-to-use-the-cayley-hamilton-theorem-to-find-the-inverse-matrix/" target="_blank">How to Use the Cayley-Hamilton Theorem to Find the Inverse Matrix</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 502</h2>
<p>	Find the inverse matrix of the $3\times 3$ matrix<br />
	\[A=\begin{bmatrix}<br />
  7 &#038; 2 &#038; -2 \\<br />
   -6 &#038;-1 &#038;2 \\<br />
   6 &#038; 2 &#038; -1<br />
	\end{bmatrix}\]
		using the Cayley-Hamilton theorem.</p>
<p>&nbsp;<br />
<span id="more-3503"></span><br />

<h2>Solution.</h2>
<p>			To apply the Cayley-Hamilton theorem, we first determine the characteristic polynomial $p(t)$ of the matrix $A$.<br />
			Let $I$ be the $3\times 3$ identity matrix.<br />
			We have<br />
			\begin{align*}<br />
	p(t)&#038;=\det(A-tI)\\<br />
	&#038;=\begin{vmatrix}<br />
	  7-t &#038; 2 &#038; -2 \\<br />
	   -6 &#038;-1-t &#038;2 \\<br />
	   6 &#038; 2 &#038; -1-t<br />
	\end{vmatrix}\\[6pt]
	&#038;=(7-t)\begin{vmatrix}<br />
	  -1-t &#038; 2\\<br />
	  2&#038; -1-t<br />
	\end{vmatrix}<br />
	-2\begin{vmatrix}<br />
	  -6 &#038; 2\\<br />
	  6&#038; -1-t<br />
	\end{vmatrix}+(-2)\begin{vmatrix}<br />
	  -6 &#038; -1-t\\<br />
	  6&#038; 2<br />
	\end{vmatrix}\\[6pt]
	&#038;\text{(by the first row cofactor expansion)}\\[6pt]
	&#038;=-t^3+5t^2-7t+3.<br />
	\end{align*}<br />
	(You may also use the rule of Sarrus to compute the $3\times 3$ determinant.)</p>
<p>	Thus, we have obtained the characteristic polynomial<br />
	\[p(t)=-t^3+5t^2-7t+3\]
	of the matrix $A$.</p>
<p>	The Cayley-Hamilton theorem yields that<br />
	\[O=p(A)=-A^3+5A^2-7A+3I,\]
	where $O$ is the $3\times 3$ zero matrix.<br />
	(Here, don&#8217;t forget to put the identity matrix $I$.)</p>
<p>	Rearranging terms, we have<br />
	\begin{align*}<br />
	&#038;A^3-5A^2+7A=3I\\[6pt]
	&#038;\Leftrightarrow A(A^2-5A+7I)=3I\\[6pt]
	&#038;\Leftrightarrow A\left(\frac{1}{3}(A^2-5A+7I)\right)=I.<br />
	\end{align*}<br />
	Similarly, we have<br />
	\[\left(\frac{1}{3}(A^2-5A+7I)\right)A=I.\]
	It follows from these two equalities that the matrix<br />
	\[\frac{1}{3}(A^2-5A+7I)\]
	is the inverse matrix of $A$.</p>
<p>	Therefore, we have<br />
	\begin{align*}<br />
	A^{-1}&#038;=\frac{1}{3}(A^2-5A+7I)\\[6pt]
	&#038;=\frac{1}{3}\left(\,  \begin{bmatrix}<br />
	  25 &#038; 8 &#038; -8 \\<br />
	   -24 &#038;-7 &#038;8 \\<br />
	   24 &#038; 8 &#038; -7<br />
	\end{bmatrix}-5\begin{bmatrix}<br />
	  7 &#038; 2 &#038; -2 \\<br />
	   -6 &#038;-1 &#038;2 \\<br />
	   6 &#038; 2 &#038; -1<br />
	\end{bmatrix}+7\begin{bmatrix}<br />
	  1 &#038; 0 &#038; 0 \\<br />
	   0 &#038;1 &#038;0 \\<br />
	   0 &#038; 0 &#038; 1<br />
	\end{bmatrix} \,\right)\\[6pt]
	&#038;=\frac{1}{3}\begin{bmatrix}<br />
	  -3 &#038; -2 &#038; 2 \\<br />
	   6 &#038;5 &#038;-2 \\<br />
	   -6 &#038; -2 &#038; 5<br />
	\end{bmatrix}.<br />
	\end{align*}</p>
<p>	In summary, the inverse matrix of $A$ is<br />
	\[A^{-1}=\frac{1}{3}\begin{bmatrix}<br />
	  -3 &#038; -2 &#038; 2 \\<br />
	   6 &#038;5 &#038;-2 \\<br />
	   -6 &#038; -2 &#038; 5<br />
	\end{bmatrix}.\]
<h2>More Exercise </h2>
<p>	Test whether you understand how to find the inverse matrix using the Cayley-Hamilton theorem by the next problem.</p>
<div style="padding: 16px; border: none 3px #4169e1; border-radius: 10px; background-color: #f0f8ff; margin-top: 30px; margin-bottom: 30px;">
<strong>Problem</strong>. Find the inverse matrix of the matrix<br />
	\[A=\begin{bmatrix}<br />
	  1 &#038; 1 &#038; 2 \\<br />
	   9 &#038;2 &#038;0 \\<br />
	   5 &#038; 0 &#038; 3<br />
	\end{bmatrix}\]
	using the Cayley–Hamilton theorem.
</div>
<p>The solution is given in the post &#8220;<a href="//yutsumura.com/find-the-inverse-matrix-using-the-cayley-hamilton-theorem/" target="_blank">Find the Inverse Matrix Using the Cayley-Hamilton Theorem</a>&#8220;.</p>
<h3>More Problems about the Cayley-Hamilton Theorem</h3>
<p>Problems about the Cayley-Hamilton theorem and their solutions are collected on the page:</p>
<p><a href="//yutsumura.com/linear-algebra/the-cayley-hamilton-theorem/" rel="noopener" target="_blank">The Cayley-Hamilton Theorem</a></p>
<button class="simplefavorite-button has-count" data-postid="3503" data-siteid="1" data-groupid="1" data-favoritecount="329" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">329</span></button><p>The post <a href="https://yutsumura.com/how-to-use-the-cayley-hamilton-theorem-to-find-the-inverse-matrix/" target="_blank">How to Use the Cayley-Hamilton Theorem to Find the Inverse Matrix</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></content:encoded>
							<wfw:commentRss>https://yutsumura.com/how-to-use-the-cayley-hamilton-theorem-to-find-the-inverse-matrix/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">3503</post-id>	</item>
		<item>
		<title>Find All Values of $x$ so that a Matrix is Singular</title>
		<link>https://yutsumura.com/find-all-values-of-x-so-that-a-matrix-is-singular/</link>
				<comments>https://yutsumura.com/find-all-values-of-x-so-that-a-matrix-is-singular/#respond</comments>
				<pubDate>Mon, 07 Nov 2016 04:04:37 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[cofactor expansion]]></category>
		<category><![CDATA[determinant]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[matrix]]></category>
		<category><![CDATA[nonsingular]]></category>
		<category><![CDATA[nonsingular matrix]]></category>
		<category><![CDATA[rule of Sarrus]]></category>
		<category><![CDATA[singular]]></category>
		<category><![CDATA[singular matrix]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=1326</guid>
				<description><![CDATA[<p>Let \[A=\begin{bmatrix} 1 &#038; -x &#038; 0 &#038; 0 \\ 0 &#038;1 &#038; -x &#038; 0 \\ 0 &#038; 0 &#038; 1 &#038; -x \\ 0 &#038; 1 &#038; 0 &#038; -1 \end{bmatrix}\] be&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/find-all-values-of-x-so-that-a-matrix-is-singular/" target="_blank">Find All Values of $x$ so that a Matrix is Singular</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 168</h2>
<p>Let<br />
\[A=\begin{bmatrix}<br />
  1 &#038; -x &#038; 0 &#038;   0 \\<br />
  0 &#038;1 &#038;  -x &#038; 0  \\<br />
  0 &#038; 0 &#038; 1 &#038; -x \\<br />
  0 &#038; 1 &#038; 0 &#038; -1<br />
\end{bmatrix}\]
be a $4\times 4$ matrix. Find all values of $x$ so that the matrix $A$ is singular.</p>
<p>&nbsp;<br />
<span id="more-1326"></span><br />

<h2>Hint.</h2>
<p>Use the fact that a matrix is singular if and only if the determinant of the matrix is zero.</p>
<p>To compute the determinant, use a cofactor expansion.</p>
<h2>Solution.</h2>
<p>	We use the fact that a matrix is singular if and only if the determinant of the matrix is zero.</p>
<p>	We compute the determinant of $A$ as follows.<br />
	\begin{align*}<br />
&#038;\det(A)= \begin{vmatrix}<br />
  1 &#038; -x &#038; 0 &#038;   0 \\<br />
  0 &#038;1 &#038;  -x &#038; 0  \\<br />
  0 &#038; 0 &#038; 1 &#038; -x \\<br />
  0 &#038; 1 &#038; 0 &#038; -1<br />
\end{vmatrix}\\[6pt]
&#038;=\begin{vmatrix}<br />
  1 &#038; -x &#038; 0 \\<br />
   0 &#038;1 &#038;-x \\<br />
   1 &#038; 0 &#038; -1<br />
\end{vmatrix}<br />
-0\begin{vmatrix}<br />
  -x &#038; 0 &#038; 0 \\<br />
   0 &#038;1 &#038;-x \\<br />
   1 &#038; 0 &#038; -1<br />
\end{vmatrix}+0\begin{vmatrix}<br />
  -x &#038; 0 &#038; 0 \\<br />
   1 &#038;-x &#038;0 \\<br />
   1 &#038; 0 &#038; -1<br />
\end{vmatrix}+0\begin{vmatrix}<br />
  -x &#038; 0 &#038; 0 \\<br />
   1 &#038;-x &#038;0 \\<br />
   0 &#038; 1 &#038; -x<br />
\end{vmatrix}<br />
\\[6pt]
&#038; \text{ by the first column cofactor expansion}\\[6pt]
&#038;=\begin{vmatrix}<br />
  1 &#038; -x &#038; 0 \\<br />
   0 &#038;1 &#038;-x \\<br />
   1 &#038; 0 &#038; -1<br />
\end{vmatrix}\\[6pt]
&#038;=\begin{vmatrix}<br />
  1 &#038; -x\\<br />
  0&#038; -1<br />
\end{vmatrix}-0\begin{vmatrix}<br />
  -x &#038; 0\\<br />
  0&#038; -1<br />
\end{vmatrix}+\begin{vmatrix}<br />
  -x &#038; 0\\<br />
  1&#038; -x<br />
\end{vmatrix}\\[6pt]
&#038; \text{ by the first column cofactor expansion}\\[6pt]
&#038;=-1+x^2.<br />
\end{align*}</p>
<p>Therefore we have $\det(A)=x^2-1$. Thus $\det(A)=0$ if and only if $x=\pm 1$.<br />
We conclude that the matrix $A$ is singular if and only if $x=\pm 1$.</p>
<h2>Comment.</h2>
<p>You may use the rule of Sarrus to compute the $3\times 3$ determinant instead of the cofactor expansion if you like so.</p>
<button class="simplefavorite-button has-count" data-postid="1326" data-siteid="1" data-groupid="1" data-favoritecount="43" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">43</span></button><p>The post <a href="https://yutsumura.com/find-all-values-of-x-so-that-a-matrix-is-singular/" target="_blank">Find All Values of $x$ so that a Matrix is Singular</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></content:encoded>
							<wfw:commentRss>https://yutsumura.com/find-all-values-of-x-so-that-a-matrix-is-singular/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">1326</post-id>	</item>
	</channel>
</rss>
