<?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>power of a matrix &#8211; Problems in Mathematics</title>
	<atom:link href="https://yutsumura.com/tag/power-of-a-matrix/feed/" rel="self" type="application/rss+xml" />
	<link>https://yutsumura.com</link>
	<description></description>
	<lastBuildDate>Mon, 12 Feb 2018 06:27: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>power of 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>Compute $A^5\mathbf{u}$ Using Linear Combination</title>
		<link>https://yutsumura.com/compute-a5mathbfu-using-linear-combination/</link>
				<comments>https://yutsumura.com/compute-a5mathbfu-using-linear-combination/#respond</comments>
				<pubDate>Mon, 12 Feb 2018 16:04:42 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[exam]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[linear combination]]></category>
		<category><![CDATA[Ohio State]]></category>
		<category><![CDATA[Ohio State.LA]]></category>
		<category><![CDATA[power of a matrix]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=6866</guid>
				<description><![CDATA[<p>Let \[A=\begin{bmatrix} -4 &#038; -6 &#038; -12 \\ -2 &#038;-1 &#038;-4 \\ 2 &#038; 3 &#038; 6 \end{bmatrix}, \quad \mathbf{u}=\begin{bmatrix} 6 \\ 5 \\ -3 \end{bmatrix}, \quad \mathbf{v}=\begin{bmatrix} -2 \\ 0 \\ 1 \end{bmatrix},&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/compute-a5mathbfu-using-linear-combination/" target="_blank">Compute $A^5\mathbf{u}$ Using Linear Combination</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 696</h2>
<p>Let<br />
\[A=\begin{bmatrix}<br />
  -4 &#038; -6 &#038; -12 \\<br />
   -2 &#038;-1 &#038;-4 \\<br />
   2 &#038; 3 &#038; 6<br />
\end{bmatrix}, \quad \mathbf{u}=\begin{bmatrix}<br />
  6 \\<br />
   5 \\<br />
    -3<br />
  \end{bmatrix}, \quad \mathbf{v}=\begin{bmatrix}<br />
  -2 \\<br />
   0 \\<br />
    1<br />
  \end{bmatrix}, \quad \text{ and } \mathbf{w}=\begin{bmatrix}<br />
  -2 \\<br />
   -1 \\<br />
    1<br />
  \end{bmatrix}.\]
<p><strong>(a)</strong> Express the vector $\mathbf{u}$ as a linear combination of $\mathbf{v}$ and $\mathbf{w}$.</p>
<p><strong>(b)</strong> Compute $A^5\mathbf{v}$.</p>
<p><strong>(c)</strong> Compute $A^5\mathbf{w}$.</p>
<p><strong>(d)</strong> Compute $A^5\mathbf{u}$.</p>
<p>&nbsp;<br />
<span id="more-6866"></span><br />

<h2>Solution.</h2>
<h3>(a) Express the vector $\mathbf{u}$ as a linear combination of $\mathbf{v}$ and $\mathbf{w}$.</h3>
<p>Our goal here is to find scalars $c_1, c_2$ such that<br />
		\[\mathbf{u}=c_1\mathbf{v}+c_2\mathbf{w}.\]
		This is the same as the matrix equation<br />
		\[\begin{bmatrix}<br />
  -2 &#038; -2 \\<br />
   0  &#038; -1 \\<br />
   1 &#038;1<br />
\end{bmatrix}<br />
\begin{bmatrix}<br />
  c_1 \\<br />
  c_2<br />
\end{bmatrix}=\begin{bmatrix}<br />
  6 \\<br />
   5 \\<br />
    -3<br />
  \end{bmatrix}.\]
 To solve this, we reduced the augmented matrix as follows:<br />
 \begin{align*}<br />
\left[\begin{array}{rr|r}<br />
   -2 &#038; -2 &#038; 6 \\<br />
   0 &#038;-1 &#038;5 \\<br />
   1 &#038; 1 &#038; -3<br />
  \end{array}\right]
  \xrightarrow{R_1 \leftrightarrow R_3}<br />
  \left[\begin{array}{rr|r}<br />
   1 &#038; 1 &#038; -3 \\<br />
   0 &#038;-1 &#038;5 \\<br />
   -2 &#038; -2 &#038; 6<br />
  \end{array}\right]\\[6pt]
  \xrightarrow[-R_2]{R_3+2R_1}<br />
  \left[\begin{array}{rr|r}<br />
   1 &#038; 1 &#038; -3 \\<br />
   0 &#038;1 &#038;-5 \\<br />
   0 &#038; 0 &#038; 0<br />
  \end{array}\right]
  \xrightarrow{R_1-R_2}<br />
  \left[\begin{array}{rr|r}<br />
   1 &#038; 0 &#038; 2 \\<br />
   0 &#038;1 &#038;-5 \\<br />
   0 &#038; 0 &#038; 0<br />
  \end{array}\right].<br />
\end{align*}<br />
  This yields the solution $c_1=2$ and $c_2=-5$.<br />
  Hence, we have the linear combination<br />
  \[\mathbf{u}=2\mathbf{v}-5\mathbf{w}.\]
<h3>(b) Compute $A^5\mathbf{v}$.</h3>
<p>We first compute $A\mathbf{v}$. We have<br />
  \[A\mathbf{v}= \begin{bmatrix}<br />
  -4 &#038; -6 &#038; -12 \\<br />
   -2 &#038;-1 &#038;-4 \\<br />
   2 &#038; 3 &#038; 6<br />
\end{bmatrix}<br />
\begin{bmatrix}<br />
  -2 \\<br />
   0 \\<br />
    1<br />
  \end{bmatrix}<br />
  =\begin{bmatrix}<br />
  -4 \\<br />
   0 \\<br />
    2<br />
  \end{bmatrix}=2\begin{bmatrix}<br />
  -2 \\<br />
   0 \\<br />
    1<br />
  \end{bmatrix}=2\mathbf{v}.<br />
\]
Using this relation $A\mathbf{v}=2\mathbf{v}$, we obtain<br />
\[A^2\mathbf{v}=AA\mathbf{v}=A(2\mathbf{v})=2A\mathbf{v}=2(2\mathbf{v})=2^2\mathbf{v}.\]
Next, we have<br />
\[A^3\mathbf{v}=AA^2\mathbf{v}=A(2^2\mathbf{v})=2^2A\mathbf{v}=2^2(a\mathbf{v})=2^3\mathbf{v}.\]
Repeating this process, we see that $A^5\mathbf{v}=2^5\mathbf{v}$.<br />
Or, we can find this by computing as follows:<br />
\begin{align*}<br />
A^5\mathbf{v}=A^2A^3\mathbf{v}=A^2(2^3\mathbf{v})=2^3A^2\mathbf{v}=2^3(2^2\mathbf{v})=2^5\mathbf{v}.<br />
\end{align*}<br />
In summary, we have<br />
\[A^5\mathbf{v}=2^5\mathbf{v}=32\begin{bmatrix}<br />
  -2 \\<br />
   0 \\<br />
    1<br />
  \end{bmatrix}=\begin{bmatrix}<br />
  -64 \\<br />
   0 \\<br />
    32<br />
  \end{bmatrix}.\]
<h3>(c) Compute $A^5\mathbf{w}$.</h3>
<p>First, we note that<br />
 \[A\mathbf{w}= \begin{bmatrix}<br />
  -4 &#038; -6 &#038; -12 \\<br />
   -2 &#038;-1 &#038;-4 \\<br />
   2 &#038; 3 &#038; 6<br />
\end{bmatrix} \begin{bmatrix}<br />
  -2 \\<br />
   -1 \\<br />
    1<br />
  \end{bmatrix}=\begin{bmatrix}<br />
  2 \\<br />
   1 \\<br />
    -1<br />
  \end{bmatrix}=-\begin{bmatrix}<br />
  -2 \\<br />
   -1 \\<br />
    1<br />
  \end{bmatrix}=-\mathbf{w}.\]
  Using this relation $A\mathbf{w}=-\mathbf{w}$ as in part (a), we obtain<br />
  \[A^5\mathbf{w}=(-1)^5\mathbf{w}=-\begin{bmatrix}<br />
  -2 \\<br />
   -1 \\<br />
    1<br />
  \end{bmatrix}=\begin{bmatrix}<br />
  2 \\<br />
   1 \\<br />
    -1<br />
  \end{bmatrix}.\]
<h3>(d) Compute $A^5\mathbf{u}$.</h3>
<p>Using the linear combination $\mathbf{u}=2\mathbf{v}-5\mathbf{w}$ obtained part (a), we compute<br />
\begin{align*}<br />
A^5\mathbf{w}&#038;=A^5(2\mathbf{v}-5\mathbf{w})\\<br />
&#038;=2A^5\mathbf{v}-5A^5\mathbf{w}\\[6pt]
&#038;=2\begin{bmatrix}<br />
  -64 \\<br />
   0 \\<br />
    32<br />
  \end{bmatrix}-5\begin{bmatrix}<br />
  2 \\<br />
   1 \\<br />
    -1<br />
  \end{bmatrix} &#038;&#038;\text{by (b), (c)}\\[6pt]
  &#038;=\begin{bmatrix}<br />
  -138 \\<br />
   -5 \\<br />
    69<br />
  \end{bmatrix}.<br />
\end{align*}</p>
<h2>Common Mistake</h2>
<p>This is a midterm exam problem of Lienar Algebra at the Ohio State University.</p>
<p>One common pitfall is to compute $A^5$, but this is time consuming and it is very likely to make a mistake by hand computaiton.</p>
<button class="simplefavorite-button has-count" data-postid="6866" 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/compute-a5mathbfu-using-linear-combination/" target="_blank">Compute $A^5\mathbf{u}$ Using Linear Combination</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></content:encoded>
							<wfw:commentRss>https://yutsumura.com/compute-a5mathbfu-using-linear-combination/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">6866</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>Use the Cayley-Hamilton Theorem to Compute the Power $A^{100}$</title>
		<link>https://yutsumura.com/use-the-cayley-hamilton-theorem-to-compute-the-power-a100/</link>
				<comments>https://yutsumura.com/use-the-cayley-hamilton-theorem-to-compute-the-power-a100/#respond</comments>
				<pubDate>Fri, 23 Jun 2017 17:51:41 +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[complex eigenvalue]]></category>
		<category><![CDATA[eigenvalue]]></category>
		<category><![CDATA[exam]]></category>
		<category><![CDATA[Kyushu]]></category>
		<category><![CDATA[Kyushu.LA]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[orthogonal matrix]]></category>
		<category><![CDATA[power of a matrix]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=3260</guid>
				<description><![CDATA[<p>Let $A$ be a $3\times 3$ real orthogonal matrix with $\det(A)=1$. (a) If $\frac{-1+\sqrt{3}i}{2}$ is one of the eigenvalues of $A$, then find the all the eigenvalues of $A$. (b) Let \[A^{100}=aA^2+bA+cI,\] where $I$&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/use-the-cayley-hamilton-theorem-to-compute-the-power-a100/" target="_blank">Use the Cayley-Hamilton Theorem to Compute the Power $A^{100}$</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 471</h2>
<p>	Let $A$ be a $3\times 3$ real orthogonal matrix with $\det(A)=1$.</p>
<p><strong>(a)</strong> If $\frac{-1+\sqrt{3}i}{2}$ is one of the eigenvalues of $A$, then find the all the eigenvalues of $A$.</p>
<p><strong>(b)</strong> Let<br />
	\[A^{100}=aA^2+bA+cI,\]
	where $I$ is the $3\times 3$ identity matrix.<br />
	Using the Cayley-Hamilton theorem, determine $a, b, c$.</p>
<p>(<em>Kyushu University, Linear Algebra Exam Problem</em>)<br />
&nbsp;<br />
<span id="more-3260"></span><br />

<h2>Solution.</h2>
<h3>(a) Find the all the eigenvalues of $A$.</h3>
<p>Since $A$ is a real matrix and $\frac{-1+\sqrt{3}i}{2}$ is a complex eigenvalue, its conjugate $\frac{-1-\sqrt{3}i}{2}$ is also an eigenvalue of $A$.<br />
	As $A$ is a $3\times 3$ matrix, it has one more eigenvalue $\lambda$.</p>
<p>	Note that <a href="//yutsumura.com/determinant-trace-and-eigenvalues-of-a-matrix/" target="_blank">the product of all eigenvalues of $A$ is the determinant of $A$</a>.<br />
	Thus, we have<br />
	\[\frac{-1+\sqrt{3}i}{2} \cdot \frac{-1-\sqrt{3}i}{2}\cdot \lambda =\det(A)=1.\]
	Solving this, we obtain $\lambda=1$.<br />
	Therefore, the eigenvalues of $A$ are<br />
	\[\frac{-1+\sqrt{3}i}{2}, \frac{-1-\sqrt{3}i}{2}, 1.\]
<h3>(a) Using the Cayley-Hamilton theorem, determine $a, b, c$.</h3>
<p> To use the Cayley-Hamilton theorem, we first need to determine the characteristic polynomial $p(t)=\det(A-tI)$ of $A$.<br />
	Since we found all the eigenvalues of $A$ in part (a) and the roots of characteristic polynomials are the eigenvalues, we know that<br />
	\begin{align*}<br />
	p(t)&#038;=-\left(\,  t-\frac{-1+\sqrt{3}i}{2} \,\right)\left(\,  t-\frac{-1-\sqrt{3}i}{2} \,\right)(t-1) \tag{*}\\<br />
	&#038;=-(t^2+t+1)(t-1)\\<br />
	&#038;=-t^3+1.<br />
	\end{align*}<br />
	(Remark that if your definition of the characteristic polynomial is $\det(tI-A)$, then the first negative sign in (*) should be omitted.)</p>
<p>	Then the Cayley-Hamilton theorem yields that<br />
	\[P(A)=-A^3+I=O,\]
	where $O$ is the $3\times 3$ zero matrix.</p>
<p>	Hence we have $A^3=I$.<br />
	We compute<br />
	\begin{align*}<br />
	A^{100}=(A^3)^{33}A=I^{33}A=IA=A.<br />
	\end{align*}</p>
<p>	Thus, we conclude that $a=0, b=1, c=0$.</p>
<h2>Comment.</h2>
<p>	Observe that we did not use the assumption that $A$ is orthogonal.</p>
<button class="simplefavorite-button has-count" data-postid="3260" data-siteid="1" data-groupid="1" data-favoritecount="80" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">80</span></button><p>The post <a href="https://yutsumura.com/use-the-cayley-hamilton-theorem-to-compute-the-power-a100/" target="_blank">Use the Cayley-Hamilton Theorem to Compute the Power $A^{100}$</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></content:encoded>
							<wfw:commentRss>https://yutsumura.com/use-the-cayley-hamilton-theorem-to-compute-the-power-a100/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">3260</post-id>	</item>
		<item>
		<title>Diagonalize a 2 by 2 Matrix $A$ and Calculate the Power $A^{100}$</title>
		<link>https://yutsumura.com/diagonalize-a-2-by-2-matrix-a-and-calculate-the-power-a100/</link>
				<comments>https://yutsumura.com/diagonalize-a-2-by-2-matrix-a-and-calculate-the-power-a100/#comments</comments>
				<pubDate>Wed, 21 Jun 2017 01:24:27 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[characteristic polynomial]]></category>
		<category><![CDATA[diagonalization of a matrix]]></category>
		<category><![CDATA[eigenvalue]]></category>
		<category><![CDATA[eigenvector]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[power of a matrix]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=3223</guid>
				<description><![CDATA[<p>Let \[A=\begin{bmatrix} 1 &#038; 2\\ 4&#038; 3 \end{bmatrix}.\] (a) Find eigenvalues of the matrix $A$. (b) Find eigenvectors for each eigenvalue of $A$. (c) Diagonalize the matrix $A$. That is, find an invertible matrix&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/diagonalize-a-2-by-2-matrix-a-and-calculate-the-power-a100/" target="_blank">Diagonalize a 2 by 2 Matrix $A$ and Calculate the Power $A^{100}$</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 466</h2>
<p> Let<br />
	\[A=\begin{bmatrix}<br />
	  1 &#038; 2\\<br />
	  4&#038; 3<br />
	\end{bmatrix}.\]
<p><strong>(a)</strong> Find eigenvalues of the matrix $A$.</p>
<p><strong>(b)</strong> Find eigenvectors for each eigenvalue of $A$.</p>
<p><strong>(c)</strong> Diagonalize the matrix $A$. That is, find an invertible matrix $S$ and a diagonal matrix $D$ such that $S^{-1}AS=D$.</p>
<p><strong>(d)</strong> Diagonalize the matrix $A^3-5A^2+3A+I$, where $I$ is the $2\times 2$ identity matrix.</p>
<p><strong>(e)</strong> Calculate $A^{100}$. (You do not have to compute $5^{100}$.)</p>
<p><strong>(f)</strong> Calculate<br />
	\[(A^3-5A^2+3A+I)^{100}.\]
	Let $w=2^{100}$. Express the solution in terms of $w$.</p>
<p>&nbsp;<br />
<span id="more-3223"></span><br />

<h2>Solution.</h2>
<h3>(a) Find eigenvalues of the matrix $A$.</h3>
<p> To find the eigenvalues of $A$, we calculate the characteristic polynomial $p(t)$ as follows.<br />
		We have<br />
		\begin{align*}<br />
	p(t)&#038;=\det(A-tI)=\begin{vmatrix}<br />
	  1-t &#038; 2\\<br />
	  4&#038; 3-t<br />
	\end{vmatrix}\\<br />
	&#038;=(1-t)(3-t)-8=t^2-4t-5=(t+1)(t-5).<br />
	\end{align*}</p>
<p>	The eigenvalues of $A$ are roots of its characteristic polynomial $p(t)$.<br />
	Hence the eigenvalues of $A$ are $-1$ and $5$.</p>
<h3>(b) Find eigenvectors for each eigenvalue of $A$.</h3>
<p> We first determine the eigenvectors of the eigenvalue $-1$ by solving the system $(A+I)\mathbf{x}=\mathbf{0}$.<br />
	We have<br />
	\begin{align*}<br />
	A+I=\begin{bmatrix}<br />
	  2 &#038; 2\\<br />
	  4&#038; 4<br />
	\end{bmatrix}<br />
	\xrightarrow[\text{then } \frac{1}{2}R_1]{R_2-2R_1}<br />
	\begin{bmatrix}<br />
	  1 &#038; 1\\<br />
	  0&#038; 0<br />
	\end{bmatrix}.<br />
	\end{align*}<br />
	This yields that the eigenvectors corresponding to $-1$ are<br />
	\[a\begin{bmatrix}<br />
	  1 \\<br />
	  -1<br />
	\end{bmatrix}\]
	for any nonzero scalar $a$.</p>
<p>	Next, we find the eigenvectors corresponding to the eigenvalue $5$ by solving $(A-5I)\mathbf{x}=\mathbf{0}$.<br />
	We have<br />
	\begin{align*}<br />
	A-5I=\begin{bmatrix}<br />
	  -4 &#038; 2\\<br />
	  4&#038; -2<br />
	\end{bmatrix}<br />
	\xrightarrow[\text{then } \frac{-1}{4}R_1]{R_2+R_1}<br />
	\begin{bmatrix}<br />
	  1 &#038; -1/2\\<br />
	  0&#038; 0<br />
	\end{bmatrix}.<br />
	\end{align*}<br />
	It follows that the eigenvectors corresponding to $5$ are<br />
	\[a\begin{bmatrix}<br />
	  1 \\<br />
	  2<br />
	\end{bmatrix}\]
	for any nonzero scalar $a$.</p>
<h3>(c) Diagonalize the matrix $A$.</h3>
<p> From part (a) and part (b), we have seen that $A$ has eigenvalues $-1$ and $5$ with corresponding eigenvectors<br />
	\[\mathbf{u}=\begin{bmatrix}<br />
	  1 \\<br />
	  -1<br />
	\end{bmatrix} \text{ and } \mathbf{v}=\begin{bmatrix}<br />
	  1 \\<br />
	  2<br />
	\end{bmatrix}.\]
	(Here we chose the scalars $a$ to be $1$ but you could use any nonzero values for the scalars $a$.)</p>
<p>	Let<br />
	\[S=\begin{bmatrix}<br />
	  \mathbf{u} &#038; \mathbf{v}<br />
	\end{bmatrix}<br />
	=<br />
	\begin{bmatrix}<br />
	  1 &#038; 1\\<br />
	  -1&#038; 2<br />
	\end{bmatrix}.\]
	Then <a href="//yutsumura.com/how-to-diagonalize-a-matrix-step-by-step-explanation/" target="_blank">the general procedure of the diagonalization</a> yields that the matrix $S$ is invertible and<br />
	\[S^{-1}AS=D,\]
	where $D$ is the diagonal matrix given by<br />
	\[D=\begin{bmatrix}<br />
	  -1 &#038; 0\\<br />
	  0&#038; 5<br />
	\end{bmatrix}.\]
<h3>(d) Diagonalize the matrix $A^3-5A^2+3A+I$.</h3>
<p> In part (c), we obtained<br />
	\[S^{-1}AS=D,\]
	where<br />
	\[S=\begin{bmatrix}<br />
	  1 &#038; 1\\<br />
	  -1&#038; 2<br />
	\end{bmatrix} \text{ and } D=\begin{bmatrix}<br />
	  -1 &#038; 0\\<br />
	  0&#038; 5<br />
	\end{bmatrix}.\]
<p>	Note that we have $A=SDS^{-1}$ and<br />
	\begin{align*}<br />
	A^2&#038;=AA=SDS^{-1}\cdot SDS^{-1}=SD^2S^{-1}\\<br />
	A^3&#038;=A^2A=SD^2S^{-1}\cdot SDS^{-1}=SD^3S^{-1}.<br />
	\end{align*}</p>
<p>	These relations gives<br />
	\begin{align*}<br />
	A^3-5A^2+3A+I&#038;=SD^3S^{-1}-5SD^2S^{-1}+3SDS^{-1}+I\\<br />
	&#038;=S(D^3-5D^2+3D+I)S^{-1}.<br />
	\end{align*}</p>
<p>	Hence we obtain<br />
	\begin{align*}<br />
	&#038;S^{-1}(A^3-5A^2+3A+I)S\\<br />
	&#038;=D^3-5D^2+3D+I\\<br />
	&#038;=\begin{bmatrix}<br />
	  (-1)^3 &#038; 0\\<br />
	  0&#038; 5^3<br />
	\end{bmatrix}<br />
	-5\begin{bmatrix}<br />
	  (-1)^2 &#038; 0\\<br />
	  0&#038; 5^2<br />
	\end{bmatrix}<br />
	+3\begin{bmatrix}<br />
	  -1 &#038; 0\\<br />
	  0&#038; 5<br />
	\end{bmatrix}<br />
	+\begin{bmatrix}<br />
	  1 &#038; 0\\<br />
	  0&#038; 1<br />
	\end{bmatrix}\\[6pt]
	&#038;=\begin{bmatrix}<br />
	  -8 &#038; 0\\<br />
	  0&#038; 16<br />
	\end{bmatrix}.<br />
	\end{align*}<br />
	This completes the diagonalization of the matrix $A^3-5A^2+3A+I$.</p>
<h3>(e) Calculate $A^{100}$.</h3>
<p> In part (d), we have seen that $A=SDS^{-1}$, $A^2=SD^2S^{-1}$, $A^3=SD^3S^{-1}$.<br />
	Repeating the same argument (or using mathematical induction), we also have<br />
	\[A^{100}=SD^{100}S^{-1}.\]
<p>	Thus, we have<br />
	\begin{align*}<br />
	A^{100}&#038;=SD^{100}S^{-1}\\<br />
	&#038;=\begin{bmatrix}<br />
	  1 &#038; 1\\<br />
	  -1&#038; 2<br />
	\end{bmatrix}<br />
	\begin{bmatrix}<br />
	  -1 &#038; 0\\<br />
	  0&#038; 5<br />
	\end{bmatrix}^{100}<br />
	\frac{1}{3}\begin{bmatrix}<br />
	  2 &#038; -1\\<br />
	  1&#038; 1<br />
	\end{bmatrix}\\[6pt]
	&#038;=\frac{1}{3}\begin{bmatrix}<br />
	  1 &#038; 1\\<br />
	  -1&#038; 2<br />
	\end{bmatrix}<br />
	\begin{bmatrix}<br />
	  (-1)^{100} &#038; 0\\<br />
	  0&#038; 5^{100}<br />
	\end{bmatrix}<br />
	\begin{bmatrix}<br />
	  2 &#038; -1\\<br />
	  1&#038; 1<br />
	\end{bmatrix}\\[6pt]
	&#038;=\frac{1}{3}\begin{bmatrix}<br />
	  2+5^{100} &#038; -1+5^{100}\\<br />
	  -2+2\cdot 5^{100}&#038; 1+2\cdot 5^{100}<br />
	\end{bmatrix}.<br />
	\end{align*}</p>
<h3>(f) Calculate $(A^3-5A^2+3A+I)^{100}$.</h3>
<p>Let<br />
	\[B:=A^3-5A^2+3A+I.\]
<p>	In part (d), we obtained<br />
	\[S^{-1}BS=\begin{bmatrix}<br />
	  -8 &#038; 0\\<br />
	  0&#038; 16<br />
	\end{bmatrix}.\]
	Hence we have $B=S\begin{bmatrix}<br />
	  -8 &#038; 0\\<br />
	  0&#038; 16<br />
	\end{bmatrix} S^{-1}$, and<br />
	\begin{align*}<br />
	B^{100}&#038;=S\begin{bmatrix}<br />
	  -8 &#038; 0\\<br />
	  0&#038; 16<br />
	\end{bmatrix}^{100} S^{-1}\\[6pt]
	&#038;=S\begin{bmatrix}<br />
	  (-8)^{100} &#038; 0\\<br />
	  0&#038; 16^{100}<br />
	\end{bmatrix} S^{-1}\\[6pt]
	&#038;=S\begin{bmatrix}<br />
	  2^{300} &#038; 0\\<br />
	  0&#038; 2^{400}<br />
	\end{bmatrix} S^{-1}<br />
	\\[6pt]
	&#038;=S\begin{bmatrix}<br />
	  w^3 &#038; 0\\<br />
	  0&#038; w^4<br />
	\end{bmatrix} S^{-1},<br />
	\end{align*}<br />
	where we put $w=2^{100}$.</p>
<p>	Hence we have<br />
	\begin{align*}<br />
	B^{100}&#038;=\begin{bmatrix}<br />
	  1 &#038; 1\\<br />
	  -1&#038; 2<br />
	\end{bmatrix}<br />
	\begin{bmatrix}<br />
	  w^3 &#038; 0\\<br />
	  0&#038; w^4<br />
	\end{bmatrix}<br />
	\frac{1}{3}\begin{bmatrix}<br />
	  2 &#038; -1\\<br />
	  1&#038; 1<br />
	\end{bmatrix}\\[6pt]
	&#038;=\frac{w^3}{3}\begin{bmatrix}<br />
	  2+w &#038; -1+w\\<br />
	  -2+2w&#038; 1-2w<br />
	\end{bmatrix}.<br />
	\end{align*}<br />
	Therefore, the result is<br />
	\[(A^3-5A^2+3A+I)^{100}=\frac{w^3}{3}\begin{bmatrix}<br />
	  2+w &#038; -1+w\\<br />
	  -2+2w&#038; 1-2w<br />
	\end{bmatrix}.\]
<h3> More diagonalization problems </h3>
<p>More Problems related to the diagonalization of a matrix are gathered in the following page:</p>
<p><a href="//yutsumura.com/linear-algebra/diagonalization-of-matrices/" rel="noopener" target="_blank">Diagonalization of Matrices</a></p>
<button class="simplefavorite-button has-count" data-postid="3223" data-siteid="1" data-groupid="1" data-favoritecount="56" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">56</span></button><p>The post <a href="https://yutsumura.com/diagonalize-a-2-by-2-matrix-a-and-calculate-the-power-a100/" target="_blank">Diagonalize a 2 by 2 Matrix $A$ and Calculate the Power $A^{100}$</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-matrix-a-and-calculate-the-power-a100/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">3223</post-id>	</item>
		<item>
		<title>Find the Formula for the Power of a Matrix</title>
		<link>https://yutsumura.com/find-the-formula-for-the-power-of-a-matrix/</link>
				<comments>https://yutsumura.com/find-the-formula-for-the-power-of-a-matrix/#respond</comments>
				<pubDate>Thu, 20 Apr 2017 01:53:33 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[induction]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[matrix multiplication]]></category>
		<category><![CDATA[power of a matrix]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=2707</guid>
				<description><![CDATA[<p>Let \[A=\begin{bmatrix} 1 &#038; 1 &#038; 1 \\ 0 &#038;0 &#038;1 \\ 0 &#038; 0 &#038; 1 \end{bmatrix}\] be a $3\times 3$ matrix. Then find the formula for $A^n$ for any positive integer $n$.&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/find-the-formula-for-the-power-of-a-matrix/" target="_blank">Find the Formula for the Power of a Matrix</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 383</h2>
<p> Let<br />
		\[A=\begin{bmatrix}<br />
	  1 &#038; 1 &#038; 1 \\<br />
	   0 &#038;0 &#038;1 \\<br />
	   0 &#038; 0 &#038; 1<br />
	\end{bmatrix}\]
	be a $3\times 3$ matrix. Then find the formula for $A^n$ for any positive integer $n$.</p>
<p>&nbsp;<br />
<span id="more-2707"></span></p>
<h2> Proof. </h2>
<p>		We first compute several powers of $A$ and guess the general formula.<br />
		We have<br />
		\begin{align*}<br />
	A^2=\begin{bmatrix}<br />
	  1 &#038; 1 &#038; 1 \\<br />
	   0 &#038;0 &#038;1 \\<br />
	   0 &#038; 0 &#038; 1<br />
	\end{bmatrix}<br />
	\begin{bmatrix}<br />
	  1 &#038; 1 &#038; 1 \\<br />
	   0 &#038;0 &#038;1 \\<br />
	   0 &#038; 0 &#038; 1<br />
	\end{bmatrix}<br />
	=\begin{bmatrix}<br />
	  1 &#038; 1 &#038; 3 \\<br />
	   0 &#038;0 &#038;1 \\<br />
	   0 &#038; 0 &#038; 1<br />
	\end{bmatrix},<br />
	\end{align*}<br />
	\begin{align*}<br />
	A^3=A^2A=\begin{bmatrix}<br />
	  1 &#038; 1 &#038; 3 \\<br />
	   0 &#038;0 &#038;1 \\<br />
	   0 &#038; 0 &#038; 1<br />
	\end{bmatrix}<br />
	\begin{bmatrix}<br />
	  1 &#038; 1 &#038; 1 \\<br />
	   0 &#038;0 &#038;1 \\<br />
	   0 &#038; 0 &#038; 1<br />
	\end{bmatrix}<br />
	=\begin{bmatrix}<br />
	  1 &#038; 1 &#038; 5 \\<br />
	   0 &#038;0 &#038;1 \\<br />
	   0 &#038; 0 &#038; 1<br />
	\end{bmatrix},<br />
	\end{align*}<br />
	\begin{align*}<br />
	A^4=A^3A=\begin{bmatrix}<br />
	  1 &#038; 1 &#038; 5 \\<br />
	   0 &#038;0 &#038;1 \\<br />
	   0 &#038; 0 &#038; 1<br />
	\end{bmatrix}\begin{bmatrix}<br />
	  1 &#038; 1 &#038; 1 \\<br />
	   0 &#038;0 &#038;1 \\<br />
	   0 &#038; 0 &#038; 1<br />
	\end{bmatrix}=\begin{bmatrix}<br />
	  1 &#038; 1 &#038; 7 \\<br />
	   0 &#038;0 &#038;1 \\<br />
	   0 &#038; 0 &#038; 1<br />
	\end{bmatrix}.<br />
	\end{align*}</p>
<p>	From these computations, we guess the general formula of $A^n$ is<br />
	\[A^n=\begin{bmatrix}<br />
	  1 &#038; 1 &#038; 2n-1 \\<br />
	   0 &#038;0 &#038;1 \\<br />
	   0 &#038; 0 &#038; 1<br />
	\end{bmatrix}.\]
<hr />
<p>	We prove this formula by mathematical induction on $n$.<br />
	The base case $n=1$ follows from the definition of $A$.</p>
<p>	Suppose that the formula is true for $n=k$.<br />
	We prove the formula for $n=k+1$.<br />
	We have<br />
	\begin{align*}<br />
	A^{k+1}&#038;=A^{k}A\\<br />
	&#038;=\begin{bmatrix}<br />
	  1 &#038; 1 &#038; 2k-1 \\<br />
	   0 &#038;0 &#038;1 \\<br />
	   0 &#038; 0 &#038; 1<br />
	\end{bmatrix}<br />
	\begin{bmatrix}<br />
	  1 &#038; 1 &#038; 1 \\<br />
	   0 &#038;0 &#038;1 \\<br />
	   0 &#038; 0 &#038; 1<br />
	\end{bmatrix}<br />
	&#038;&#038; \text{by the induction hypothesis}\\<br />
	&#038;=\begin{bmatrix}<br />
	  1 &#038; 1 &#038; 2k+1 \\<br />
	   0 &#038;0 &#038;1 \\<br />
	   0 &#038; 0 &#038; 1<br />
	\end{bmatrix}\\<br />
	&#038;=\begin{bmatrix}<br />
	  1 &#038; 1 &#038; 2(k+1)-1 \\<br />
	   0 &#038;0 &#038;1 \\<br />
	   0 &#038; 0 &#038; 1<br />
	\end{bmatrix}.<br />
	\end{align*}</p>
<p>	Thus the formula holds for $n=k+1$.<br />
	Hence the formula is true for any positive integer $n$ by induction.</p>
<button class="simplefavorite-button has-count" data-postid="2707" data-siteid="1" data-groupid="1" data-favoritecount="103" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">103</span></button><p>The post <a href="https://yutsumura.com/find-the-formula-for-the-power-of-a-matrix/" target="_blank">Find the Formula for the Power of a 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-the-formula-for-the-power-of-a-matrix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">2707</post-id>	</item>
		<item>
		<title>Compute Power of Matrix If Eigenvalues and Eigenvectors Are Given</title>
		<link>https://yutsumura.com/compute-power-of-matrix-if-eigenvalues-and-eigenvectors-are-given/</link>
				<comments>https://yutsumura.com/compute-power-of-matrix-if-eigenvalues-and-eigenvectors-are-given/#respond</comments>
				<pubDate>Mon, 10 Apr 2017 04:21:46 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[eigenvalue]]></category>
		<category><![CDATA[eigenvector]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[linear combination]]></category>
		<category><![CDATA[power of a matrix]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=2654</guid>
				<description><![CDATA[<p>Let $A$ be a $3\times 3$ matrix. Suppose that $A$ has eigenvalues $2$ and $-1$, and suppose that $\mathbf{u}$ and $\mathbf{v}$ are eigenvectors corresponding to $2$ and $-1$, respectively, where \[\mathbf{u}=\begin{bmatrix} 1 \\ 0&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/compute-power-of-matrix-if-eigenvalues-and-eigenvectors-are-given/" target="_blank">Compute Power of Matrix If Eigenvalues and Eigenvectors Are Given</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 373</h2>
<p>		Let $A$ be a $3\times 3$ matrix. Suppose that $A$ has eigenvalues $2$ and $-1$, and suppose that $\mathbf{u}$ and $\mathbf{v}$ are eigenvectors corresponding to $2$ and $-1$, respectively, where<br />
		\[\mathbf{u}=\begin{bmatrix}<br />
	  1 \\<br />
	   0 \\<br />
	    -1<br />
	  \end{bmatrix} \text{ and } \mathbf{v}=\begin{bmatrix}<br />
	  2 \\<br />
	   1 \\<br />
	    0<br />
	  \end{bmatrix}.\]
	  Then compute $A^5\mathbf{w}$, where<br />
	  \[\mathbf{w}=\begin{bmatrix}<br />
	  7 \\<br />
	   2 \\<br />
	    -3<br />
	  \end{bmatrix}.\]
<p>&nbsp;<br />
<span id="more-2654"></span></p>
<h2>Solution.</h2>
<p>	  	Since $\mathbf{u}$ is an eigenvector corresponding to the eigenvalue $2$, we have<br />
	  	\[A\mathbf{u}=2\mathbf{u}.\]
	  	Similarly, we have<br />
	  	\[A\mathbf{v}=-\mathbf{v}.\]
	  	From these, we have<br />
	  	\[A^5\mathbf{u}=2^5\mathbf{u} \text{ and } A\mathbf{v}=(-1)^5\mathbf{v}.\]
<p>	  	To compute $A^5\mathbf{w}$,  we first need to express $\mathbf{w}$ as a linear combination of $\mathbf{u}$ and $\mathbf{v}$. Thus, we need to find scalars $c_1, c_2$ such that<br />
	  	\[\mathbf{w}=c_1\mathbf{u}+c_2\mathbf{v}.\]
	  	By inspection, we have<br />
	  	\[\begin{bmatrix}<br />
	  7 \\<br />
	   2 \\<br />
	    -3<br />
	  \end{bmatrix}=3\begin{bmatrix}<br />
	  1 \\<br />
	   0 \\<br />
	    -1<br />
	  \end{bmatrix}+2\begin{bmatrix}<br />
	  2 \\<br />
	   1 \\<br />
	    0<br />
	  \end{bmatrix},\]
	  and thus we obtain $c_1=3$ and $c_2=2$,</p>
<p>	  We compute $A^5\mathbf{w}$ as follows:<br />
	  \begin{align*}<br />
	A^5\mathbf{w}&#038;=A^5(3\mathbf{u}+2\mathbf{v})\\<br />
	&#038;=3A^5\mathbf{u}+2A^5\mathbf{v}\\<br />
	&#038;=3\cdot 2^5\mathbf{u}+2\cdot (-1)^5\mathbf{v}\\<br />
	&#038;=96\mathbf{u}-2\mathbf{v}\\[6pt]
	&#038;=96\begin{bmatrix}<br />
	  1 \\<br />
	   0 \\<br />
	    -1<br />
	  \end{bmatrix}-2\begin{bmatrix}<br />
	  2 \\<br />
	   1 \\<br />
	    0<br />
	  \end{bmatrix}\\[6pt]
	  &#038;=\begin{bmatrix}<br />
	  92 \\<br />
	   -2 \\<br />
	    -96<br />
	  \end{bmatrix}.<br />
	\end{align*}</p>
<p>	Therefore, the result is<br />
	\[A^5\mathbf{w}=\begin{bmatrix}<br />
	  92 \\<br />
	   -2 \\<br />
	    -96<br />
	  \end{bmatrix}.\]
<button class="simplefavorite-button has-count" data-postid="2654" data-siteid="1" data-groupid="1" data-favoritecount="37" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">37</span></button><p>The post <a href="https://yutsumura.com/compute-power-of-matrix-if-eigenvalues-and-eigenvectors-are-given/" target="_blank">Compute Power of Matrix If Eigenvalues and Eigenvectors Are Given</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></content:encoded>
							<wfw:commentRss>https://yutsumura.com/compute-power-of-matrix-if-eigenvalues-and-eigenvectors-are-given/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">2654</post-id>	</item>
		<item>
		<title>How to Find a Formula of the Power of a Matrix</title>
		<link>https://yutsumura.com/how-to-find-a-formula-of-the-power-of-a-matrix/</link>
				<comments>https://yutsumura.com/how-to-find-a-formula-of-the-power-of-a-matrix/#respond</comments>
				<pubDate>Thu, 21 Jul 2016 20:12:16 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[diagonalization]]></category>
		<category><![CDATA[eigenvalue]]></category>
		<category><![CDATA[eigenvector]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[matrix]]></category>
		<category><![CDATA[power of a matrix]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=72</guid>
				<description><![CDATA[<p>Let $A= \begin{bmatrix} 1 &#38; 2\\ 2&#38; 1 \end{bmatrix}$. Compute $A^n$ for any $n \in \N$. Plan. We diagonalize the matrix $A$ and use this Problem. Steps. Find eigenvalues and eigenvectors of the matrix $A$. Diagonalize the&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/how-to-find-a-formula-of-the-power-of-a-matrix/" target="_blank">How to Find a Formula of the Power of a Matrix</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 8</h2>
<p>Let $A= \begin{bmatrix}<br />
1 &amp; 2\\<br />
2&amp; 1<br />
\end{bmatrix}$.<br />
Compute $A^n$ for any $n \in \N$.</p>
<p><span id="more-72"></span><br />

<h2> Plan. </h2>
<p>We diagonalize the matrix $A$ and use <a href="//yutsumura.com/powers-of-a-diagonal-matrix/">this Problem</a>.</p>
<h3> Steps. </h3>
<ol>
<li>Find eigenvalues and eigenvectors of the matrix $A$.</li>
<li>Diagonalize the matrix $A$.</li>
<li>Use the result of <a href="//yutsumura.com/powers-of-a-diagonal-matrix/"> this Problem</a>.</li>
</ol>
<h2> Proof. </h2>
<p>We first diagonalize the matrix $A$. We solve<br />
\begin{align*}<br />
\det(A-\lambda I) &amp; =\begin{vmatrix}<br />
1-\lambda &amp; 2\\<br />
2&amp; 1-\lambda<br />
\end{vmatrix} \\<br />
&amp;=(1-\lambda)^2-4=\lambda^2-2\lambda-3 =(\lambda+1)(\lambda-3)=0<br />
\end{align*}<br />
and obtain the eigenvalues $\lambda=-1, 3$.</p>
<p>To find an eigenvector $\mathbf{x}$ corresponding to $\lambda=-1$, we solve $(A+I)\mathbf{x}=\mathbf{0}$ or<br />
\[ \begin{bmatrix}<br />
2 &amp; 2\\<br />
2&amp; 2<br />
\end{bmatrix}<br />
\begin{bmatrix} x_1 \\<br />
x_2<br />
\end{bmatrix}=<br />
\begin{bmatrix} 0 \\<br />
0<br />
\end{bmatrix}.\]
We obtain an eigenvector $\mathbf{x}=\begin{bmatrix}<br />
1 \\<br />
-1<br />
\end{bmatrix}$ corresponding to $\lambda=-1$.</p>
<p>Similarly, solving $(A-3I)\mathbf{y}=\mathbf{0}$, we obtain an eigenvector $\mathbf{y}=\begin{bmatrix}<br />
1 \\<br />
1<br />
\end{bmatrix}$<br />
corresponding to $\lambda=3$.</p>
<p>Thus the invertible matrix $S=[\mathbf{x} \, \mathbf{y}]=\begin{bmatrix}<br />
1 &amp; 1 \\<br />
-1&amp; 1<br />
\end{bmatrix}$ diagonalizes the matrix $A$, that is,<br />
\[ S^{-1}AS =\begin{bmatrix}<br />
-1 &amp; 0\\<br />
0&amp; 3<br />
\end{bmatrix} \text{ or equivalently }<br />
A=S\begin{bmatrix}<br />
-1 &amp; 0\\<br />
0&amp; 3<br />
\end{bmatrix} S^{-1}.\]
Then for each $n \in \N$, we have<br />
\begin{align*}<br />
A^n &amp;= \left (S\begin{bmatrix}<br />
-1 &amp; 0\\<br />
0&amp; 3<br />
\end{bmatrix} S^{-1} \right)^n<br />
=S \begin{bmatrix}<br />
-1 &amp; 0\\<br />
0&amp; 3<br />
\end{bmatrix}^n S^{-1}<br />
=S \begin{bmatrix}<br />
(-1)^n &amp; 0\\<br />
0&amp; 3^n<br />
\end{bmatrix} S^{-1} \\[6pt]
&amp;=<br />
\begin{bmatrix}<br />
1 &amp; 1 \\<br />
-1&amp; 1<br />
\end{bmatrix}<br />
\begin{bmatrix}<br />
(-1)^n &amp; 0\\<br />
0&amp; 3^n<br />
\end{bmatrix}<br />
\frac{1}{2}<br />
\begin{bmatrix}<br />
1 &amp; -1 \\<br />
1&amp; 1<br />
\end{bmatrix}<br />
=\frac{1}{2} \begin{bmatrix}<br />
(-1)^n+3^n &amp; (-1)^{n+1}+3^n\\<br />
(-1)^{n+1}+3^n&amp; (-1)^n+3^n<br />
\end{bmatrix}.<br />
\end{align*}</p>
<p>(See <a href="//yutsumura.com/powers-of-a-diagonal-matrix/">this problem</a> for the details of these computations.)</p>
<p>Therefore we obtained the formula<br />
\[A^n=\frac{1}{2} \begin{bmatrix}<br />
(-1)^n+3^n &amp; (-1)^{n+1}+3^n\\<br />
(-1)^{n+1}+3^n&amp; (-1)^n+3^n<br />
\end{bmatrix}.\]
<h2>Comment.</h2>
<p>Another typical method to compute a power of a square matrix is mathematical induction. To use it, we need to first compute several small powers like $A^2$ and $A^3$ and guess the formula for $A^n$.</p>
<p>If you can guess the formula, then the mathematical induction part is not difficult. But for this specific problem, the formula is a bit complicated to guess as you can see from the solution above. Thus we used diagonalization trick.</p>
<button class="simplefavorite-button has-count" data-postid="72" data-siteid="1" data-groupid="1" data-favoritecount="79" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">79</span></button><p>The post <a href="https://yutsumura.com/how-to-find-a-formula-of-the-power-of-a-matrix/" target="_blank">How to Find a Formula of the Power of a 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-find-a-formula-of-the-power-of-a-matrix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">72</post-id>	</item>
	</channel>
</rss>
