<?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>stochastic matrix &#8211; Problems in Mathematics</title>
	<atom:link href="https://yutsumura.com/tag/stochastic-matrix/feed/" rel="self" type="application/rss+xml" />
	<link>https://yutsumura.com</link>
	<description></description>
	<lastBuildDate>Fri, 21 Jul 2017 00:53:45 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.3.4</generator>

<image>
	<url>https://i2.wp.com/yutsumura.com/wp-content/uploads/2016/12/cropped-question-logo.jpg?fit=32%2C32&#038;ssl=1</url>
	<title>stochastic 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="23" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">23</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>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>
