<?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>matrix operations &#8211; Problems in Mathematics</title>
	<atom:link href="https://yutsumura.com/tag/matrix-operations/feed/" rel="self" type="application/rss+xml" />
	<link>https://yutsumura.com</link>
	<description></description>
	<lastBuildDate>Tue, 21 Jan 2020 00: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>matrix operations &#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>Matrix Operations with Transpose</title>
		<link>https://yutsumura.com/matrix-operations-with-transpose/</link>
				<comments>https://yutsumura.com/matrix-operations-with-transpose/#comments</comments>
				<pubDate>Mon, 25 Dec 2017 00:14:39 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[matrix operations]]></category>
		<category><![CDATA[transpose]]></category>
		<category><![CDATA[transpose of a matrix]]></category>
		<category><![CDATA[vector]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=6282</guid>
				<description><![CDATA[<p>Calculate the following expressions, using the following matrices: \[A = \begin{bmatrix} 2 &#038; 3 \\ -5 &#038; 1 \end{bmatrix}, \qquad B = \begin{bmatrix} 0 &#038; -1 \\ 1 &#038; -1 \end{bmatrix}, \qquad \mathbf{v} =&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/matrix-operations-with-transpose/" target="_blank">Matrix Operations with Transpose</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 636</h2>
<p>Calculate the following expressions, using the following matrices:<br />
\[A = \begin{bmatrix} 2 &#038; 3 \\ -5 &#038; 1 \end{bmatrix},  \qquad B = \begin{bmatrix} 0 &#038; -1 \\ 1 &#038; -1 \end{bmatrix}, \qquad  \mathbf{v} = \begin{bmatrix} 2  \\ -4 \end{bmatrix}\]
<p><strong>(a)</strong> $A B^\trans + \mathbf{v} \mathbf{v}^\trans$.</p>
<p><strong>(b)</strong> $A \mathbf{v} &#8211; 2 \mathbf{v}$.</p>
<p><strong>(c)</strong> $\mathbf{v}^{\trans} B$.</p>
<p><strong>(d)</strong> $\mathbf{v}^\trans \mathbf{v} + \mathbf{v}^\trans B A^\trans \mathbf{v}$.</p>
<p>&nbsp;<br />
<span id="more-6282"></span><br />

<h2>Solution.</h2>
<h3>(a) $A B^\trans + \mathbf{v} \mathbf{v}^\trans$</h3>
<p>\begin{align*} A B^\trans + \mathbf{v} \mathbf{v}^\trans &#038;= \begin{bmatrix} 2 &#038; 3 \\ -5 &#038; 1 \end{bmatrix} \begin{bmatrix} 0 &#038; 1 \\ -1 &#038; -1 \end{bmatrix} + \begin{bmatrix} 2  \\ -4 \end{bmatrix} \begin{bmatrix} 2  &#038; -4 \end{bmatrix} \\[6pt]
	&#038;= \begin{bmatrix} -3 &#038; -1 \\ -1 &#038; -6 \end{bmatrix} + \begin{bmatrix} 4 &#038; -8 \\ -8 &#038; 16 \end{bmatrix} \\[6pt]
	&#038;= \begin{bmatrix} 1 &#038; -9 \\ -9 &#038; 10 \end{bmatrix} \end{align*}</p>
<h3>(b) $A \mathbf{v} &#8211; 2 \mathbf{v} $</h3>
<p>\begin{align*} A \mathbf{v} &#8211; 2 \mathbf{v} &#038;= \begin{bmatrix} 2 &#038; 3 \\ -5 &#038; 1 \end{bmatrix} \begin{bmatrix} 2  \\ -4 \end{bmatrix} &#8211; 2 \begin{bmatrix} 2  \\ -4 \end{bmatrix} \\[6pt]
	&#038;= \begin{bmatrix} -8 \\ -14 \end{bmatrix} + \begin{bmatrix} -4 \\ 8 \end{bmatrix} \\[6pt]
	&#038;= \begin{bmatrix} -12 \\ -6 \end{bmatrix} \end{align*}</p>
<h3>(c) $\mathbf{v}^{\trans} B$</h3>
<p>\begin{align*} \mathbf{v}^{\trans} B &#038;= \begin{bmatrix} 2  &#038; -4 \end{bmatrix} \begin{bmatrix} 0 &#038; -1 \\ 1 &#038; -1 \end{bmatrix} \\[6pt]
	&#038;= \begin{bmatrix} -4 &#038; 2 \end{bmatrix} \end{align*}</p>
<h3>(d) $\mathbf{v}^\trans \mathbf{v} + \mathbf{v}^\trans B A^\trans \mathbf{v}$</h3>
<p>\begin{align*}<br />
	&#038;\mathbf{v}^\trans \mathbf{v} + \mathbf{v}^\trans B A^\trans \mathbf{v}\\[6pt] &#038;= \begin{bmatrix} 2  &#038; -4 \end{bmatrix} \begin{bmatrix} 2  \\ -4 \end{bmatrix} + \left( \begin{bmatrix} 2  &#038; -4 \end{bmatrix} \begin{bmatrix} 0 &#038; -1 \\ 1 &#038; -1 \end{bmatrix} \right) \left( \begin{bmatrix} 2 &#038; -5 \\ 3 &#038; 1 \end{bmatrix}	\begin{bmatrix} 2  \\ -4 \end{bmatrix} \right) \\[6pt]
	&#038;= 20 + \begin{bmatrix} -4 &#038; 2 \end{bmatrix} \begin{bmatrix} 24 \\ 2 \end{bmatrix} \\[6pt]
	&#038;= 20 &#8211; 92 \\<br />
	&#038;= -72 \end{align*}</p>
<button class="simplefavorite-button has-count" data-postid="6282" data-siteid="1" data-groupid="1" data-favoritecount="18" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">18</span></button><p>The post <a href="https://yutsumura.com/matrix-operations-with-transpose/" target="_blank">Matrix Operations with Transpose</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></content:encoded>
							<wfw:commentRss>https://yutsumura.com/matrix-operations-with-transpose/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">6282</post-id>	</item>
		<item>
		<title>If $A$ is an Idempotent Matrix, then When $I-kA$ is an Idempotent Matrix?</title>
		<link>https://yutsumura.com/if-a-is-an-idempotent-matrix-then-when-i-ka-is-an-idempotent-matrix/</link>
				<comments>https://yutsumura.com/if-a-is-an-idempotent-matrix-then-when-i-ka-is-an-idempotent-matrix/#respond</comments>
				<pubDate>Tue, 23 May 2017 19:33:12 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[idempotent]]></category>
		<category><![CDATA[idempotent matrix]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[matrix]]></category>
		<category><![CDATA[matrix operations]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=2957</guid>
				<description><![CDATA[<p>A square matrix $A$ is called idempotent if $A^2=A$. (a) Suppose $A$ is an $n \times n$ idempotent matrix and let $I$ be the $n\times n$ identity matrix. Prove that the matrix $I-A$ is&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/if-a-is-an-idempotent-matrix-then-when-i-ka-is-an-idempotent-matrix/" target="_blank">If $A$ is an Idempotent Matrix, then When $I-kA$ is an Idempotent Matrix?</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 426</h2>
<p>A square matrix $A$ is called <strong>idempotent</strong> if $A^2=A$.</p>
<p><strong>(a)</strong> Suppose $A$ is an $n \times n$ idempotent matrix and let $I$ be the $n\times n$ identity matrix. Prove that the matrix $I-A$ is an idempotent matrix.</p>
<p><strong>(b)</strong> Assume that $A$ is an $n\times n$ nonzero idempotent matrix. Then determine all integers $k$ such that the matrix $I-kA$ is idempotent.</p>
<p><strong>(c)</strong> Let $A$ and $B$ be $n\times n$ matrices satisfying<br />
	\[AB=A \text{ and } BA=B.\]
	Then prove that $A$ is an idempotent matrix.</p>
<p>&nbsp;<br />
<span id="more-2957"></span><br />
&nbsp;<br />

<h2> Proof. </h2>
<h3>(a) Prove that the matrix $I-A$ is an idempotent matrix.</h3>
<p>To prove that $I-A$ is an idempotent matrix, we show that $(I-A)^2=I-A$.<br />
		We compute<br />
		\begin{align*}<br />
	(I-A)^2&#038;=(I-A)(I-A)\\<br />
	&#038;=I(I-A)-A(I-A)\\<br />
	&#038;=I-A-A+A^2\\<br />
	&#038;=I-2A+A^2\\<br />
	&#038;=I-2A+A &#038;&#038; \text{since $A$ is idempotent}\\<br />
	&#038;=I-A.<br />
	\end{align*}<br />
	Thus, we have $(I-A)^2=I-A$ and $I-A$ is an idempotent matrix.</p>
<h3>(b) Determine all integers $k$ such that the matrix $I-kA$ is idempotent.</h3>
<p>Let us find out the condition on $k$ so that $I-kA$ is an idempotent matrix.<br />
	We have<br />
	\begin{align*}<br />
	&#038;(I-kA)^2=(I-kA)(I-kA)\\<br />
	&#038;=I(I-kA)-kA(I-kA)\\<br />
	&#038;=I-kA-kA+k^2A^2\\<br />
	&#038;=I-2kA+k^2A &#038;&#038; \text{ since $A$ is idempotent}\\<br />
	&#038;=I-(2k-k^2)A.<br />
	\end{align*}</p>
<p>	It follows that $I-kA$ is idempotent if and only if $I-kA=I-(2k-k^2)A$, or equivalently $(k^2-k)A=O$, the zero matrix.<br />
	Since $A$ is not the zero matrix, we see that $I-kI$ is idempotent if and only if $k^2-k=0$.</p>
<p>	Since $k^2-k=k(k-1)$, we conclude that $I-kA$ is an idempotent matrix if and only if $k=0, 1$.</p>
<h3>(c) Prove that $A$ is an idempotent matrix.</h3>
<p> Let $A$ and $B$ be $n\times n$ matrices satisfying<br />
		\[AB=A \tag{*}\]
		 and<br />
		 \[ BA=B. \tag{**}\]
		  Our goal is to show that $A^2=A$.<br />
	We compute<br />
	\begin{align*}<br />
	&#038;A^2=AA\\<br />
	&#038;=(AB)A &#038;&#038; \text{by (*)}\\<br />
	&#038;=A(BA)\\<br />
	&#038;=AB &#038;&#038; \text{by (**)}\\<br />
	&#038;=A &#038;&#038; \text{by (*)}.<br />
	\end{align*}<br />
	Therefore, we have obtained the identity $A^2=A$, and we conclude that $A$ is an idempotent matrix.</p>
<h2> Related Question. </h2>
<div style="padding: 16px; border: none 3px #4169e1; border-radius: 10px; background-color: #f0f8ff; margin-top: 30px; margin-bottom: 30px;">
<strong>Problem</strong>.<br />
<strong>(a)</strong> Let $\mathbf{u}$ be a vector in $\R^n$ with length $1$.<br />
	Define the matrix $P$ to be $P=\mathbf{u}\mathbf{u}^{\trans}$.</p>
<p>	Prove that $P$ is an idempotent matrix.</p>
<hr />
<p><strong>(b)</strong> Suppose that $\mathbf{u}$ and $\mathbf{v}$ be unit vectors in $\R^n$ such that $\mathbf{u}$ and $\mathbf{v}$ are orthogonal.<br />
	Let $Q=\mathbf{u}\mathbf{u}^{\trans}+\mathbf{v}\mathbf{v}^{\trans}$.</p>
<p>	Prove that $Q$ is an idempotent matrix.</p>
<hr />
<p><strong>(c)</strong> Prove that each nonzero vector of the form $a\mathbf{u}+b\mathbf{v}$ for some $a, b\in \R$ is an eigenvector corresponding to the eigenvalue $1$ for the matrix $Q$ in part (b).
</div>
<p>The proofs are given in the post &#8628;<br />
<a href="//yutsumura.com/unit-vectors-and-idempotent-matrices/" target="_blank">Unit Vectors and Idempotent Matrices</a></p>
<button class="simplefavorite-button has-count" data-postid="2957" data-siteid="1" data-groupid="1" data-favoritecount="57" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">57</span></button><p>The post <a href="https://yutsumura.com/if-a-is-an-idempotent-matrix-then-when-i-ka-is-an-idempotent-matrix/" target="_blank">If $A$ is an Idempotent Matrix, then When $I-kA$ is an Idempotent Matrix?</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></content:encoded>
							<wfw:commentRss>https://yutsumura.com/if-a-is-an-idempotent-matrix-then-when-i-ka-is-an-idempotent-matrix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">2957</post-id>	</item>
	</channel>
</rss>
