<?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>probability matrix &#8211; Problems in Mathematics</title>
	<atom:link href="https://yutsumura.com/tag/probability-matrix/feed/" rel="self" type="application/rss+xml" />
	<link>https://yutsumura.com</link>
	<description></description>
	<lastBuildDate>Wed, 06 Sep 2017 01:03:49 +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>probability 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>Eigenvalues of a Stochastic Matrix is Always Less than or Equal to 1</title>
		<link>https://yutsumura.com/eigenvalues-of-a-stochastic-matrix-is-always-less-than-or-equal-to-1/</link>
				<comments>https://yutsumura.com/eigenvalues-of-a-stochastic-matrix-is-always-less-than-or-equal-to-1/#comments</comments>
				<pubDate>Fri, 18 Nov 2016 02:16:37 +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[Markov matrix]]></category>
		<category><![CDATA[matrix]]></category>
		<category><![CDATA[probability matrix]]></category>
		<category><![CDATA[stochastic matrix]]></category>
		<category><![CDATA[substitution matrix]]></category>
		<category><![CDATA[transition matrix]]></category>
		<category><![CDATA[triangle inequality]]></category>
		<category><![CDATA[vector]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=1403</guid>
				<description><![CDATA[<p>Let $A=(a_{ij})$ be an $n \times n$ matrix. We say that $A=(a_{ij})$ is a right stochastic matrix if each entry $a_{ij}$ is nonnegative and the sum of the entries of each row is $1$.&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/eigenvalues-of-a-stochastic-matrix-is-always-less-than-or-equal-to-1/" target="_blank">Eigenvalues of a Stochastic Matrix is Always Less than or Equal to 1</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 185</h2>
<p>Let $A=(a_{ij})$ be an $n \times n$ matrix.<br />
We say that $A=(a_{ij})$ is a <strong>right stochastic matrix</strong> if each entry $a_{ij}$ is nonnegative and the sum of the entries of each row is $1$. That is, we have<br />
\[a_{ij}\geq 0 \quad \text{ and } \quad a_{i1}+a_{i2}+\cdots+a_{in}=1\]
for $1 \leq i, j \leq n$.</p>
<p>Let $A=(a_{ij})$ be an $n\times n$ right stochastic matrix. Then show the following statements.</p>
<p><strong>(a)</strong>The stochastic matrix $A$ has an eigenvalue $1$.</p>
<p><strong>(b)</strong> The absolute value of any eigenvalue of the stochastic matrix $A$ is less than or equal to $1$.</p>
<p>&nbsp;<br />
<span id="more-1403"></span><br />

<h2> Proof. </h2>
<h3>(a) The stochastic matrix $A$ has an eigenvalue $1$. </h3>
<p>We compute that<br />
	\[\begin{bmatrix}<br />
  a_{11} &#038; a_{12} &#038; \dots &#038;   a_{1n} \\<br />
  a_{21} &#038;a_{22} &#038;  \dots &#038; a_{2n}  \\<br />
  \vdots &#038; \vdots &#038; \dots &#038; \vdots \\<br />
  a_{n1} &#038; a_{n2} &#038; \dots &#038; a_{nn}<br />
\end{bmatrix}<br />
\begin{bmatrix}<br />
  1 \\<br />
   1 \\<br />
    \vdots \\<br />
   1<br />
   \end{bmatrix}<br />
   =<br />
   \begin{bmatrix}<br />
  a_{11}+a_{12}+\cdots+a_{1n} \\<br />
   a_{21}+a_{22}+\cdots+a_{2n} \\<br />
    \vdots \\<br />
   a_{n1}+a_{n2}\cdots+a_{nn}<br />
   \end{bmatrix}<br />
   =1\cdot \begin{bmatrix}<br />
  1 \\<br />
   1 \\<br />
    \vdots \\<br />
   1<br />
   \end{bmatrix}.\]
   Here the second equality follows from the definition of a right stochastic matrix.<br />
   (Each row sums up to $1$.)<br />
   This computation shows that $1$ is an eigenvector of $A$ and $\begin{bmatrix}<br />
  1 \\<br />
    \vdots \\<br />
   1<br />
   \end{bmatrix}$ is an eigenvector corresponding to the eigenvalue $1$.</p>
<h3>(b) The absolute value of any eigenvalue of the stochastic matrix $A$ is less than or equal to $1$. </h3>
<p>Let $\lambda$ be an eigenvalue of the stochastic matrix $A$ and let $\mathbf{v}$ be a corresponding eigenvector.<br />
That is, we have<br />
\[A\mathbf{v}=\lambda \mathbf{v}.\]
<p>Comparing the $i$-th row of the both sides, we obtain<br />
\[a_{i1}v_1+a_{i2}v_2+\cdots+a_{in}v_n=\lambda v_i \tag{*}\]
for $i=1, \dots, n$.<br />
Let<br />
\[|v_k|=\max\{|v_1|, |v_2|, \dots, |v_n|\},\] namely $v_k$ is the entry of $\mathbf{v}$ that has the maximal absolute value.</p>
<p>Note that $|v_k|>0$ since otherwise we have $\mathbf{v}=\mathbf{0}$ and this contradicts that an eigenvector is a nonzero vector.<br />
   Then from (*) with $i=k$, we have<br />
   \begin{align*}<br />
|\lambda|\cdot |v_k| &#038;= |a_{k1}v_1+a_{k2}v_2+\cdots+a_{kn}v_n|\\<br />
&#038; \leq a_{k1}|v_1|+a_2|v_2|+\cdots+ a_{kn}|v_{n}| &#038;&#038;(\text{by the triangle inequality and } a_{ij} \geq 0)\\<br />
&#038;\leq a_{k1}|v_k|+a_2|v_k|+\cdots+ a_{kn}|v_{k}| &#038;&#038; (\text{since } |v_k| \text{ is maximal})\\<br />
&#038;=(a_{k1}+a_{k2}+\cdots+a_{kn})|v_k|=|v_k|.<br />
\end{align*}</p>
<p>Since $|v_k|>0$, it follows that<br />
\[\lambda \leq 1\]
as required.</p>
<h2> Remark. </h2>
<p>A stochastic matrix is also called probability matrix, transition matrix, substitution matrix, or Markov matrix.</p>
<button class="simplefavorite-button has-count" data-postid="1403" data-siteid="1" data-groupid="1" data-favoritecount="24" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">24</span></button><p>The post <a href="https://yutsumura.com/eigenvalues-of-a-stochastic-matrix-is-always-less-than-or-equal-to-1/" target="_blank">Eigenvalues of a Stochastic Matrix is Always Less than or Equal to 1</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></content:encoded>
							<wfw:commentRss>https://yutsumura.com/eigenvalues-of-a-stochastic-matrix-is-always-less-than-or-equal-to-1/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">1403</post-id>	</item>
		<item>
		<title>Find the Limit of a Matrix</title>
		<link>https://yutsumura.com/find-the-limit-of-a-matrix/</link>
				<comments>https://yutsumura.com/find-the-limit-of-a-matrix/#respond</comments>
				<pubDate>Thu, 04 Aug 2016 15:52:23 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[characteristic polynomial]]></category>
		<category><![CDATA[diagonalization]]></category>
		<category><![CDATA[eigenvalue]]></category>
		<category><![CDATA[eigenvector]]></category>
		<category><![CDATA[limit]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[Markov]]></category>
		<category><![CDATA[matrix]]></category>
		<category><![CDATA[Nagoya]]></category>
		<category><![CDATA[Nagoya.LA]]></category>
		<category><![CDATA[probability matrix]]></category>
		<category><![CDATA[sto]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=312</guid>
				<description><![CDATA[<p>Let \[A=\begin{bmatrix} \frac{1}{7} &#38; \frac{3}{7} &#38; \frac{3}{7} \\ \frac{3}{7} &#38;\frac{1}{7} &#38;\frac{3}{7} \\ \frac{3}{7} &#38; \frac{3}{7} &#38; \frac{1}{7} \end{bmatrix}\] be $3 \times 3$ matrix. Find \[\lim_{n \to \infty} A^n.\] (Nagoya University Linear Algebra Exam) Hint.&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/find-the-limit-of-a-matrix/" target="_blank">Find the Limit 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 50</h2>
<p>Let<br />
\[A=\begin{bmatrix}<br />
\frac{1}{7} &amp; \frac{3}{7} &amp; \frac{3}{7} \\<br />
\frac{3}{7} &amp;\frac{1}{7} &amp;\frac{3}{7} \\<br />
\frac{3}{7} &amp; \frac{3}{7} &amp; \frac{1}{7}<br />
\end{bmatrix}\]
be $3 \times 3$ matrix. Find</p>
<p>\[\lim_{n \to \infty} A^n.\]
<p>(<em>Nagoya University Linear Algebra Exam</em>)</p>
<p><span id="more-312"></span><br />

<h2>Hint.</h2>
<ol>
<li>The matrix $A$ is symmetric, hence diagonalizable.</li>
<li>Diagonalize $A$.</li>
<li>You may want to find eigenvalues<br />
without computing the characteristic polynomial for $A$.</li>
</ol>
<h2>Solution.</h2>
<p>Note that the matrix $A$ is symmetric, hence it is diagonalizable.<br />
We observe several things to simplify the computation.</p>
<hr />
<p>First, note that the sum of the entries in each row is $1$.<br />
(Such a matrix is call a stochastic matrix. See the comment below.)<br />
Thus the matrix $A$ has eigenvalue $1$ and $\begin{bmatrix}<br />
1 \\<br />
1 \\<br />
1<br />
\end{bmatrix}$ is an eigenvector.</p>
<hr />
<p>Also note that if we add $2/7(=-\lambda)$ to diagonal entries, then every entry becomes $3/7$.<br />
That is,<br />
\[A+\frac{2}{7}I=\begin{bmatrix}<br />
\frac{3}{7} &amp; \frac{3}{7} &amp; \frac{3}{7} \\<br />
\frac{3}{7} &amp;\frac{3}{7} &amp;\frac{3}{7} \\<br />
\frac{3}{7} &amp; \frac{3}{7} &amp; \frac{3}{7}<br />
\end{bmatrix},\]
which is clearly singular.</p>
<p>From this observation, we notice that $-2/7$ is an eigenvalue of $A$ and eigenvectors are nonzero solution of $x_1+x_2+x_3=0$. Therefore $\begin{bmatrix}<br />
1 \\<br />
-1 \\<br />
0<br />
\end{bmatrix}$ and $\begin{bmatrix}<br />
0 \\<br />
1 \\<br />
-1<br />
\end{bmatrix}$ are linearly independent eigenvectors for the eigenvalue $-2/7$.</p>
<p>Hence the geometric (and hence algebraic) multiplicity of the eigenvalue $-2/7$ is $2$.<br />
(Note that we found all eigenvalues of $A$ without actually computing the characteristic polynomial.)</p>
<hr />
<p>Now the invertible matix $P=\begin{bmatrix}<br />
1 &amp; 1 &amp; 0 \\<br />
1 &amp;-1 &amp;1 \\<br />
1 &amp; 0 &amp; -1<br />
\end{bmatrix}$ diagonalize $A$. Namely we have<br />
\[P^{-1}AP=\begin{bmatrix}<br />
1 &amp; 0 &amp; 0 \\<br />
0 &amp;-2/7 &amp;0 \\<br />
0 &amp; 0 &amp; -2/7<br />
\end{bmatrix}.\]
Hence<br />
\[A=P\begin{bmatrix}<br />
1 &amp; 0 &amp; 0 \\<br />
0 &amp;-2/7 &amp;0 \\<br />
0 &amp; 0 &amp; -2/7<br />
\end{bmatrix}P^{-1}.\]
Therefore we have<br />
\[ A^n=P\begin{bmatrix}<br />
1^n &amp; 0 &amp; 0 \\<br />
0 &amp; (-2/7)^n &amp;0 \\<br />
0 &amp; 0 &amp; (-2/7)^n<br />
\end{bmatrix}P^{-1}<br />
\text{ and } \lim_{n \to \infty} A^n=P\begin{bmatrix}<br />
1 &amp; 0 &amp; 0 \\<br />
0 &amp; 0 &amp;0 \\<br />
0 &amp; 0 &amp; 0<br />
\end{bmatrix}P^{-1}. \]
Find the inverse $P^{-1}$ by your favorite method<br />
\[P^{-1}=\begin{bmatrix}<br />
\frac{1}{3} &amp; \frac{1}{3} &amp; \frac{1}{3} \\[6pt]
\frac{2}{3} &amp;\frac{-1}{3} &amp;\frac{-1}{3} \\[6pt]
\frac{1}{3} &amp; \frac{1}{3} &amp; \frac{-2}{3}<br />
\end{bmatrix}.\]
Then the answer is<br />
\[\lim_{n \to \infty} A^n=\begin{bmatrix}<br />
\frac{1}{3} &amp; \frac{1}{3} &amp; \frac{1}{3} \\[6pt]
\frac{1}{3} &amp;\frac{1}{3} &amp;\frac{1}{3} \\[6pt]
\frac{1}{3} &amp; \frac{1}{3} &amp; \frac{1}{3}<br />
\end{bmatrix}.\]
<h2>Comment.</h2>
<p>You might come up with the idea to use the diagonalization as it is an exam problem in linear algebra.<br />
But you soon realize that computing the characteristic polynomial for $A$ is a bit messy.<br />
So sometimes it is important to find eigenvalues without finding the roots of the characteristic polynomial.</p>
<p>We observed that </p>
<ol>
<li>the sum of row entries of $A$ is $1$</li>
<li>if we add $(2/7)I$ to $A$ then we obtain a matrix whose entries are all identical.</li>
</ol>
<p>These observation yields the eigenvalues of $A$ without using the characteristic polynomial.</p>
<hr />
<p>If the sum of entries of each row of a matrix is $1$, then the matrix is called called a <strong>stochastic matrix</strong> (or <strong>Markov matrix</strong>, <strong>probability matrix</strong>).<br />
The matrix $A$ in the problem is an example of a stochastic matrix.</p>
<p>Stochastic matrices have always $1$ as an eigenvalue.<br />
see the post<br />
 <a href="//yutsumura.com/stochastic-matrix-markov-matrix-and-its-eigenvalues-and-eigenvectors/">Stochastic matrix (Markov matrix) and its eigenvalues and eigenvectors</a><br />
for an example of a $2\times 2$ stochastic matrix.</p>
<button class="simplefavorite-button has-count" data-postid="312" data-siteid="1" data-groupid="1" data-favoritecount="21" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">21</span></button><p>The post <a href="https://yutsumura.com/find-the-limit-of-a-matrix/" target="_blank">Find the Limit 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-limit-of-a-matrix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">312</post-id>	</item>
		<item>
		<title>Stochastic Matrix (Markov Matrix) and its Eigenvalues and Eigenvectors</title>
		<link>https://yutsumura.com/stochastic-matrix-markov-matrix-and-its-eigenvalues-and-eigenvectors/</link>
				<comments>https://yutsumura.com/stochastic-matrix-markov-matrix-and-its-eigenvalues-and-eigenvectors/#comments</comments>
				<pubDate>Mon, 01 Aug 2016 14:48:18 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[characteristic polynomial]]></category>
		<category><![CDATA[eigenvalue]]></category>
		<category><![CDATA[eigenvector]]></category>
		<category><![CDATA[Markov matrix]]></category>
		<category><![CDATA[matrix]]></category>
		<category><![CDATA[probability matrix]]></category>
		<category><![CDATA[stochastic matrix]]></category>
		<category><![CDATA[trace of a matrix]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=237</guid>
				<description><![CDATA[<p>(a) Let \[A=\begin{bmatrix} a_{11} &#38; a_{12}\\ a_{21}&#38; a_{22} \end{bmatrix}\] be a matrix such that $a_{11}+a_{12}=1$ and $a_{21}+a_{22}=1$. Namely, the sum of the entries in each row is $1$. (Such a matrix is called (right) stochastic&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/stochastic-matrix-markov-matrix-and-its-eigenvalues-and-eigenvectors/" target="_blank">Stochastic Matrix (Markov Matrix) and its Eigenvalues and Eigenvectors</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 34</h2>
<p><strong>(a)</strong> Let</p>
<p>\[A=\begin{bmatrix}<br />
a_{11} &amp; a_{12}\\<br />
a_{21}&amp; a_{22}<br />
\end{bmatrix}\]
be a matrix such that $a_{11}+a_{12}=1$ and $a_{21}+a_{22}=1$. Namely, the sum of the entries in each row is $1$.</p>
<p>(Such a matrix is called (right) <em><strong>stochastic matrix</strong></em> (also termed probability matrix, transition matrix, substitution matrix, or Markov matrix).)</p>
<p>Then prove that the matrix $A$ has an eigenvalue $1$.</p>
<p><strong>(b)</strong> Find all the eigenvalues of the matrix<br />
\[B=\begin{bmatrix}<br />
0.3 &amp; 0.7\\<br />
0.6&amp; 0.4<br />
\end{bmatrix}.\]
<p><strong>(c)</strong> For each eigenvalue of $B$, find the corresponding eigenvectors.</p>
<p><span id="more-237"></span><br />

<h2>Hint.</h2>
<ol>
<li>For (a), consider the vector $\mathbf{x}=\begin{bmatrix}<br />
1 \\<br />
1<br />
\end{bmatrix}$.</li>
<li>For (b), use (a) and consider the trace of $B$ and its relation to eigenvalues.<br />
For this relation, see the problem <a href="//yutsumura.com/determinant-trace-and-eigenvalues-of-a-matrix/">Determinant/trace and eigenvalues of a matrix</a>.</li>
</ol>
<p>&nbsp;</p>
<h2>Solution.</h2>
<h3>(a) Prove that the matrix $A$ has an eigenvalue $1$.</h3>
<p> Let $\mathbf{x}=\begin{bmatrix}<br />
1 \\<br />
1<br />
\end{bmatrix}$ and we compute<br />
\begin{align*}<br />
A \mathbf{x}=\begin{bmatrix}<br />
a_{11} &amp; a_{12}\\<br />
a_{21}&amp; a_{22}<br />
\end{bmatrix}<br />
\begin{bmatrix}<br />
1 \\<br />
1<br />
\end{bmatrix}<br />
=\begin{bmatrix}<br />
a_{11}+a_{12} \\<br />
a_{21}+a_{22}<br />
\end{bmatrix}<br />
=\begin{bmatrix}<br />
1 \\<br />
1<br />
\end{bmatrix}<br />
=1\cdot \mathbf{x}.<br />
\end{align*}<br />
This shows that $A$ has the eigenvalue $1$.</p>
<h3>(b) Find all the eigenvalues of the matrix $B$.</h3>
<p> Note that the matrix $B$ is of the type of the matrix in (a).<br />
Thus the matrix $B$ has the eigenvalue $1$. Since $B$ is $2$ by $2$ matrix, it has two eigenvalues counting multiplicities. To find the other eigenvalue, we note that the trace is the sum of the eigenvalues.</p>
<p>Thus we have<br />
\[\tr(B)=0.3+0.4=1+\lambda,\]
where $\lambda$ is the second eigenvalue. Hence another eigenvalue is $\lambda=-0.3$.</p>
<h3>(c) For each eigenvalue of $B$, find the corresponding eigenvectors.</h3>
<p>By solving $(B-I)\mathbf{x}=\mathbf{0}$ and $(B+0.3I)\mathbf{x}=\mathbf{0}$, we find that<br />
\[\begin{bmatrix}<br />
1 \\<br />
1<br />
\end{bmatrix}t  \quad \text{ and } \quad \begin{bmatrix}<br />
-7 \\<br />
6<br />
\end{bmatrix}t\]
 for any nonzero scalar $t$ are eigenvectors corresponding to eigenvalues $1$ and $-0.3$, respectively.</p>
<h2>Comment.</h2>
<p>For some specific matrices, we can find eigenvalues without solving the characteristic polynomials like we did in part (b).</p>
<button class="simplefavorite-button has-count" data-postid="237" data-siteid="1" data-groupid="1" data-favoritecount="21" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">21</span></button><p>The post <a href="https://yutsumura.com/stochastic-matrix-markov-matrix-and-its-eigenvalues-and-eigenvectors/" target="_blank">Stochastic Matrix (Markov Matrix) and its Eigenvalues and Eigenvectors</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></content:encoded>
							<wfw:commentRss>https://yutsumura.com/stochastic-matrix-markov-matrix-and-its-eigenvalues-and-eigenvectors/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">237</post-id>	</item>
	</channel>
</rss>
