<?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 multiplication &#8211; Problems in Mathematics</title>
	<atom:link href="https://yutsumura.com/tag/matrix-multiplication/feed/" rel="self" type="application/rss+xml" />
	<link>https://yutsumura.com</link>
	<description></description>
	<lastBuildDate>Tue, 26 Dec 2017 09:03:29 +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 multiplication &#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>Find all Column Vector $\mathbf{w}$ such that $\mathbf{v}\mathbf{w}=0$ for a Fixed Vector $\mathbf{v}$</title>
		<link>https://yutsumura.com/find-all-column-vector-mathbfw-such-that-mathbfvmathbfw0-for-a-fixed-vector-mathbfv/</link>
				<comments>https://yutsumura.com/find-all-column-vector-mathbfw-such-that-mathbfvmathbfw0-for-a-fixed-vector-mathbfv/#respond</comments>
				<pubDate>Mon, 25 Dec 2017 02:36:05 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[matrix multiplication]]></category>
		<category><![CDATA[matrix product]]></category>
		<category><![CDATA[vector]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=6305</guid>
				<description><![CDATA[<p>Let $\mathbf{v} = \begin{bmatrix} 2 &#038; -5 &#038; -1 \end{bmatrix}$. Find all $3 \times 1$ column vectors $\mathbf{w}$ such that $\mathbf{v} \mathbf{w} = 0$. &#160; Solution. Let $\mathbf{w} = \begin{bmatrix} w_1 \\ w_2 \\&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/find-all-column-vector-mathbfw-such-that-mathbfvmathbfw0-for-a-fixed-vector-mathbfv/" target="_blank">Find all Column Vector $\mathbf{w}$ such that $\mathbf{v}\mathbf{w}=0$ for a Fixed Vector $\mathbf{v}$</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 641</h2>
<p>Let $\mathbf{v} = \begin{bmatrix} 2 &#038; -5 &#038; -1 \end{bmatrix}$.</p>
<p>Find all $3 \times 1$ column vectors $\mathbf{w}$ such that $\mathbf{v} \mathbf{w} = 0$.</p>
<p>&nbsp;<br />
<span id="more-6305"></span></p>
<h2>Solution.</h2>
<p>	Let $\mathbf{w} = \begin{bmatrix} w_1 \\ w_2 \\ w_3 \end{bmatrix}$. </p>
<p>Then we want<br />
\[\mathbf{v} \mathbf{w} =\begin{bmatrix} 2 &#038; -5 &#038; -1 \end{bmatrix} \begin{bmatrix} w_1 \\ w_2 \\ w_3 \end{bmatrix}=2 w_1 &#8211; 5 w_2 &#8211; w_3 = 0.\]
<p>Letting $w_1$ and $w_2$ be free variables, we solve $w_3 = 2w_1 &#8211; 5w_2$.<br />
Then every solution to the equation $\mathbf{v} \mathbf{w} = 0$ is of the form<br />
	\[\mathbf{w} = \begin{bmatrix} w_1 \\ w_2 \\ 2 w_1 &#8211; 5 w_2 \end{bmatrix} = w_1 \begin{bmatrix} 1 \\ 0 \\ 2 \end{bmatrix} + w_2 \begin{bmatrix} 0 \\ 1 \\ -5 \end{bmatrix}.\]
<button class="simplefavorite-button has-count" data-postid="6305" data-siteid="1" data-groupid="1" data-favoritecount="29" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">29</span></button><p>The post <a href="https://yutsumura.com/find-all-column-vector-mathbfw-such-that-mathbfvmathbfw0-for-a-fixed-vector-mathbfv/" target="_blank">Find all Column Vector $\mathbf{w}$ such that $\mathbf{v}\mathbf{w}=0$ for a Fixed Vector $\mathbf{v}$</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-column-vector-mathbfw-such-that-mathbfvmathbfw0-for-a-fixed-vector-mathbfv/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">6305</post-id>	</item>
		<item>
		<title>A Matrix Commuting With a Diagonal Matrix with Distinct Entries is Diagonal</title>
		<link>https://yutsumura.com/a-matrix-commuting-with-a-diagonal-matrix-with-distinct-entries-is-diagonal/</link>
				<comments>https://yutsumura.com/a-matrix-commuting-with-a-diagonal-matrix-with-distinct-entries-is-diagonal/#comments</comments>
				<pubDate>Wed, 28 Jun 2017 00:38:09 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[diagonal matrix]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[matrix multiplication]]></category>
		<category><![CDATA[matrix operation]]></category>
		<category><![CDATA[matrix product]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=3339</guid>
				<description><![CDATA[<p>Let \[D=\begin{bmatrix} d_1 &#038; 0 &#038; \dots &#038; 0 \\ 0 &#038;d_2 &#038; \dots &#038; 0 \\ \vdots &#038; &#038; \ddots &#038; \vdots \\ 0 &#038; 0 &#038; \dots &#038; d_n \end{bmatrix}\] be a&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/a-matrix-commuting-with-a-diagonal-matrix-with-distinct-entries-is-diagonal/" target="_blank">A Matrix Commuting With a Diagonal Matrix with Distinct Entries is Diagonal</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 492</h2>
<p>Let<br />
	\[D=\begin{bmatrix}<br />
  d_1 &#038; 0 &#038; \dots &#038;   0 \\<br />
  0 &#038;d_2 &#038;  \dots &#038; 0  \\<br />
  \vdots &#038;  &#038; \ddots &#038; \vdots \\<br />
  0 &#038; 0 &#038; \dots &#038; d_n<br />
	\end{bmatrix}\]
	be a diagonal matrix with distinct diagonal entries: $d_i\neq d_j$ if $i\neq j$.<br />
	Let $A=(a_{ij})$ be an $n\times n$ matrix such that $A$ commutes with $D$, that is,<br />
	\[AD=DA.\]
	Then prove that $A$ is a diagonal matrix.</p>
<p>&nbsp;<br />
<span id="more-3339"></span></p>
<h2> Proof. </h2>
<p>		We prove that the $(i,j)$-entry of $A$ is $a_{ij}=0$ for $i\neq j$.</p>
<p>		We compare the $(i,j)$-entries of both sides of $AD=DA$.<br />
		Let $D=(d_{ij})$. That is, $d_{ii}=d_i$ and $d_{ij}=0$ if $i\neq j$.<br />
		The $(i,j)$-entry of $AD$ is<br />
		\begin{align*}<br />
	(AD)_{ij}=\sum_{k=1}^n a_{ik}d_{kj}=a_{ij}d_j.<br />
	\end{align*}</p>
<p>	The $(i,j)$-entry of $DA$ is<br />
	\[(DA)_{ij}=\sum_{k=1}^n d_{ik}a_{kj}=d_ia_{ij}.\]
<p>	Hence we have<br />
	\[a_{ij}d_j=a_{ij}d_i.\]
	Or equivalently we have<br />
	\[a_{ij}(d_j-d_i)=0.\]
<p>	Since $d_i\neq d_j$, we have $d_j-d_i\neq 0$.<br />
	Thus, we must have $a_{ij}=0$ for $i\neq j$.</p>
<p>	Hence $A=(a_{ij})$ is a diagonal matrix.</p>
<button class="simplefavorite-button has-count" data-postid="3339" data-siteid="1" data-groupid="1" data-favoritecount="42" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">42</span></button><p>The post <a href="https://yutsumura.com/a-matrix-commuting-with-a-diagonal-matrix-with-distinct-entries-is-diagonal/" target="_blank">A Matrix Commuting With a Diagonal Matrix with Distinct Entries is Diagonal</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></content:encoded>
							<wfw:commentRss>https://yutsumura.com/a-matrix-commuting-with-a-diagonal-matrix-with-distinct-entries-is-diagonal/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">3339</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>Basis For Subspace Consisting of Matrices Commute With a Given Diagonal Matrix</title>
		<link>https://yutsumura.com/basis-for-subspace-consisting-of-matrices-commute-with-a-given-diagonal-matrix/</link>
				<comments>https://yutsumura.com/basis-for-subspace-consisting-of-matrices-commute-with-a-given-diagonal-matrix/#respond</comments>
				<pubDate>Tue, 07 Feb 2017 02:19:39 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[basis]]></category>
		<category><![CDATA[basis for a vector space]]></category>
		<category><![CDATA[basis of a vector space]]></category>
		<category><![CDATA[diagonal matrix]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[matrix]]></category>
		<category><![CDATA[matrix multiplication]]></category>
		<category><![CDATA[matrix product]]></category>
		<category><![CDATA[subspace]]></category>
		<category><![CDATA[vector space]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=2122</guid>
				<description><![CDATA[<p>Let $V$ be the vector space of all $3\times 3$ real matrices. Let $A$ be the matrix given below and we define \[W=\{M\in V \mid AM=MA\}.\] That is, $W$ consists of matrices that commute&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/basis-for-subspace-consisting-of-matrices-commute-with-a-given-diagonal-matrix/" target="_blank">Basis For Subspace Consisting of Matrices Commute With a Given Diagonal Matrix</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 287</h2>
<p>Let $V$ be the vector space of all $3\times 3$ real matrices.<br />
Let $A$ be the matrix given below and we define<br />
\[W=\{M\in V \mid AM=MA\}.\]
That is, $W$ consists of matrices that commute with $A$.<br />
Then $W$ is a subspace of $V$. </p>
<p>Determine which matrices are in the subspace $W$ and find the dimension of $W$.</p>
<p><strong>(a)</strong> \[A=\begin{bmatrix}<br />
  a &#038; 0 &#038; 0 \\<br />
   0 &#038;b &#038;0 \\<br />
   0 &#038; 0 &#038; c<br />
\end{bmatrix},\]
where $a, b, c$ are distinct real numbers.</p>
<p><strong>(b)</strong> \[A=\begin{bmatrix}<br />
  a &#038; 0 &#038; 0 \\<br />
   0 &#038;a &#038;0 \\<br />
   0 &#038; 0 &#038; b<br />
\end{bmatrix},\]
where $a, b$ are distinct real numbers.</p>
<p>&nbsp;<br />
<span id="more-2122"></span><br />

<h2> Solution. </h2>
<h3>(a) Diagonal matrix with distinct diagonal entries</h3>
<p> Let us first determine when a matrix $M$ commutes with $A$.<br />
	Let<br />
	\[M=\begin{bmatrix}<br />
	a_{1 1} &#038; a_{1 2} &#038; a_{1 3} \\<br />
	a_{2 1} &#038; a_{2 2} &#038; a_{2 3} \\<br />
	a_{3 1} &#038; a_{3 2} &#038; a_{3 3}<br />
	\end{bmatrix}\]
	and suppose that $AM=MA$:<br />
	\[\begin{bmatrix}<br />
  a &#038; 0 &#038; 0 \\<br />
   0 &#038; b &#038;0 \\<br />
   0 &#038; 0 &#038; c<br />
\end{bmatrix}<br />
\begin{bmatrix}<br />
	a_{1 1} &#038; a_{1 2} &#038; a_{1 3} \\<br />
	a_{2 1} &#038; a_{2 2} &#038; a_{2 3} \\<br />
	a_{3 1} &#038; a_{3 2} &#038; a_{3 3}<br />
	\end{bmatrix}<br />
	=<br />
	\begin{bmatrix}<br />
	a_{1 1} &#038; a_{1 2} &#038; a_{1 3} \\<br />
	a_{2 1} &#038; a_{2 2} &#038; a_{2 3} \\<br />
	a_{3 1} &#038; a_{3 2} &#038; a_{3 3}<br />
	\end{bmatrix}<br />
\begin{bmatrix}<br />
  a &#038; 0 &#038; 0 \\<br />
   0 &#038;b &#038;0 \\<br />
   0 &#038; 0 &#038; c<br />
\end{bmatrix}.\]
Computing matrix products, we obtain<br />
\[\begin{bmatrix}<br />
	aa_{1 1} &#038; aa_{1 2} &#038; aa_{1 3} \\<br />
	ba_{2 1} &#038; ba_{2 2} &#038; ba_{2 3} \\<br />
	ca_{3 1} &#038; ca_{3 2} &#038;c a_{3 3}<br />
	\end{bmatrix}<br />
	=<br />
	\begin{bmatrix}<br />
	a_{1 1}a &#038; a_{1 2}b &#038; a_{1 3}c \\<br />
	a_{2 1}a &#038; a_{2 2}b &#038; a_{2 3}c\\<br />
	a_{3 1}a &#038; a_{3 2}b &#038; a_{3 3}c<br />
	\end{bmatrix}. \tag{*}\]
	Compare the $(1,2)$ entries and we have $aa_{1 2}=ba_{1 2}$.<br />
	Since $a\neq b$, we must have $a_{1 2}=0$.</p>
<p>	Similarly, comparing the off-diagonal entries and noting $a, b, c$ are distinct, we find that off diagonal entries $a_{i j} , i\neq j$ must be $0$.</p>
<p>	Thus, $M$ commutes with $A$ if and only if<br />
	\[M=\begin{bmatrix}<br />
	a_{1 1} &#038; 0 &#038; 0 \\<br />
	0 &#038; a_{2 2} &#038; 0 \\<br />
	0 &#038; 0 &#038; a_{3 3}<br />
	\end{bmatrix}.\]
<p>	Therefore, the subspace $W$ consists of all $3\times 3$ diagonal matrices:<br />
	\[W=\{W\in V\mid W \text{ is diagonal}\}.\]
	Then it is easy to see that the set $\{E_{1 1}, E_{2 2}, E_{3 3}\}$ is a basis for $W$, where $E_{i j}$ is the $3\times 3$ matrix whose $(i,j)$-entry is $1$ and the other entries are zero. Thus the dimension of $W$ is $3$.</p>
<h3>(b) Diagonal matrix two diagonal entries are the same</h3>
<p> Now consider the case<br />
	 \[A=\begin{bmatrix}<br />
  a &#038; 0 &#038; 0 \\<br />
   0 &#038;a &#038;0 \\<br />
   0 &#038; 0 &#038; b<br />
\end{bmatrix}.\]
Let<br />
\[M=\begin{bmatrix}<br />
	a_{1 1} &#038; a_{1 2} &#038; a_{1 3} \\<br />
	a_{2 1} &#038; a_{2 2} &#038; a_{2 3} \\<br />
	a_{3 1} &#038; a_{3 2} &#038; a_{3 3}<br />
	\end{bmatrix}\]
	and compute $AM=MA$ as in part (a) (or you just need to replace $b, c$ in (*) by $a, b$, respectively) and obtain<br />
	\[\begin{bmatrix}<br />
	aa_{1 1} &#038; aa_{1 2} &#038; aa_{1 3} \\<br />
	aa_{2 1} &#038; aa_{2 2} &#038; aa_{2 3} \\<br />
	ba_{3 1} &#038; ba_{3 2} &#038;  ba_{3 3}<br />
	\end{bmatrix}<br />
	=<br />
	\begin{bmatrix}<br />
	a_{1 1}a &#038; a_{1 2}a &#038; a_{1 3}b \\<br />
	a_{2 1}a &#038; a_{2 2}a &#038; a_{2 3}b\\<br />
	a_{3 1}a &#038; a_{3 2}a &#038; a_{3 3}b<br />
	\end{bmatrix}. \]
	Comparing entries and noting $a\neq b$, we have<br />
	\[a_{1 3}=0, a_{2 3}=0, a_{3 1}=0, a_{3 2}=0.\]
<p>Thus, $M$ commutes with $A$ is and only if<br />
\[M=\begin{bmatrix}<br />
	a_{1 1} &#038; a_{1 2} &#038; 0 \\<br />
	a_{2 1} &#038; a_{2 2} &#038; 0 \\<br />
	0 &#038; 0 &#038; a_{3 3}<br />
	\end{bmatrix},\]
and hence the subspace $W$ consists of such matrices.<br />
From this, we see that the set<br />
\[\{E_{1 1}, E_{1 2}, E_{2 1}, E_{2 2}, E_{3 3}\}\]
is a basis for $W$, and we conclude that the dimension of $W$ is $5$.</p>
<button class="simplefavorite-button has-count" data-postid="2122" 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/basis-for-subspace-consisting-of-matrices-commute-with-a-given-diagonal-matrix/" target="_blank">Basis For Subspace Consisting of Matrices Commute With a Given Diagonal Matrix</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></content:encoded>
							<wfw:commentRss>https://yutsumura.com/basis-for-subspace-consisting-of-matrices-commute-with-a-given-diagonal-matrix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">2122</post-id>	</item>
		<item>
		<title>If matrix product $AB$ is a square, then is $BA$ a square matrix?</title>
		<link>https://yutsumura.com/if-matrix-product-ab-is-a-square-then-is-ba-a-square-matrix/</link>
				<comments>https://yutsumura.com/if-matrix-product-ab-is-a-square-then-is-ba-a-square-matrix/#respond</comments>
				<pubDate>Thu, 19 Jan 2017 06:38:26 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[matrix]]></category>
		<category><![CDATA[matrix multiplication]]></category>
		<category><![CDATA[matrix product]]></category>
		<category><![CDATA[size of a matrix]]></category>
		<category><![CDATA[square matrix]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=1992</guid>
				<description><![CDATA[<p>Let $A$ and $B$ are matrices such that the matrix product $AB$ is defined and $AB$ is a square matrix. Is it true that the matrix product $BA$ is also defined and $BA$ is&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/if-matrix-product-ab-is-a-square-then-is-ba-a-square-matrix/" target="_blank">If matrix product $AB$ is a square, then is $BA$ a square matrix?</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 263</h2>
<p>Let $A$ and $B$ are matrices such that the matrix product $AB$ is defined and $AB$ is a square matrix.<br />
Is it true that the matrix product $BA$ is also defined and $BA$ is a square matrix? If it is true, then prove it. If not, find a counterexample.</p>
<p>&nbsp;<br />
<span id="more-1992"></span><br />
&nbsp;</p>
<h2>Definition/Hint.</h2>
<p>Let $A$ be an $m\times n$ matrix.<br />
This means that the matrix $A$ has $m$ rows and $n$ columns.</p>
<p>Let $B$ be an $r \times s$ matrix.<br />
Then the matrix product $AB$ is defined if $n=r$, that is, if the number of columns of $A$ is equal to the number of rows of $B$.</p>
<p><em>Definition</em>. A matrix $C$ is called a <strong>square matrix</strong> if the size of $C$ is $n\times n$ for some positive integer $n$.<br />
(The number of rows and the number of columns are the same.)</p>
<h2> Proof. </h2>
<p>	We prove that the matrix product $BA$ is defined and it is a square matrix.</p>
<p>	Let $A$ be an $m\times n$ matrix and $B$ be an $r\times s$ matrix.</p>
<p>	Since the matrix product $AB$ is defined, we must have $n=r$ and the size of $AB$ is $m\times s$.<br />
Since $AB$ is a square matrix, we have $m=s$. </p>
<p>	Thus the size of the matrix $B$ is $n \times m$.<br />
	From this, we see that the product $BA$ is defined and its size is $n \times n$, hence it is a square matrix.</p>
<button class="simplefavorite-button has-count" data-postid="1992" data-siteid="1" data-groupid="1" data-favoritecount="122" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">122</span></button><p>The post <a href="https://yutsumura.com/if-matrix-product-ab-is-a-square-then-is-ba-a-square-matrix/" target="_blank">If matrix product $AB$ is a square, then is $BA$ a square 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-matrix-product-ab-is-a-square-then-is-ba-a-square-matrix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">1992</post-id>	</item>
		<item>
		<title>Linear Properties of Matrix Multiplication and the Null Space of a Matrix</title>
		<link>https://yutsumura.com/linear-properties-of-matrix-multiplication-and-the-null-space-of-a-matrix/</link>
				<comments>https://yutsumura.com/linear-properties-of-matrix-multiplication-and-the-null-space-of-a-matrix/#respond</comments>
				<pubDate>Sat, 22 Oct 2016 22:10:10 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[linear transformation]]></category>
		<category><![CDATA[matrix multiplication]]></category>
		<category><![CDATA[matrix product]]></category>
		<category><![CDATA[null space]]></category>
		<category><![CDATA[subspace]]></category>
		<category><![CDATA[vector]]></category>
		<category><![CDATA[vector space]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=1247</guid>
				<description><![CDATA[<p>Let $A$ be an $m \times n$ matrix. Let $\calN(A)$ be the null space of $A$. Suppose that $\mathbf{u} \in \calN(A)$ and $\mathbf{v} \in \calN(A)$. Let $\mathbf{w}=3\mathbf{u}-5\mathbf{v}$. Then find $A\mathbf{w}$. &#160; Hint. Recall that&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/linear-properties-of-matrix-multiplication-and-the-null-space-of-a-matrix/" target="_blank">Linear Properties of Matrix Multiplication and the Null Space 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 155</h2>
<p>  	Let $A$ be an $m \times n$ matrix.<br />
  	Let $\calN(A)$ be the null space of $A$. Suppose that $\mathbf{u} \in \calN(A)$ and $\mathbf{v} \in \calN(A)$.<br />
  	Let $\mathbf{w}=3\mathbf{u}-5\mathbf{v}$. </p>
<p>Then find $A\mathbf{w}$.<br />
&nbsp;<br />
<span id="more-1247"></span><br />

<h2>Hint.</h2>
<p>Recall that the null space of an $m\times n$ matrix $A$ is a subspace of $\R^n$ defined by<br />
\[ \calN(A)=\{ \mathbf{x}\in \R^n \mid A\mathbf{x}=\mathbf{0}_m\}.\]
Here $\mathbf{0}_m$ is the $m$-dimensional zero vector in $\R^m$.</p>
<h2>Solution.</h2>
<p>	Since $\mathbf{u}, \mathbf{v} \in \calN(A)$, we have<br />
	\[A\mathbf{u}=\mathbf{0}_m \text{ and } A\mathbf{v}=\mathbf{0}_m,\]
	where $\mathbf{0}_m$ is the $m$-dimensional zero vector in $\R^m$.</p>
<p>	Now using the properties of the matrix multiplication, we have<br />
	\begin{align*}<br />
A\mathbf{w}&#038;=A(3\mathbf{u}-5\mathbf{v})\\<br />
&#038;=A(3\mathbf{u})+A(-5\mathbf{v})\\<br />
&#038;=3A\mathbf{u}-5A\mathbf{v}\\<br />
&#038;=3\mathbf{0}_m-5\mathbf{0}_m=\mathbf{0}_m.<br />
\end{align*}<br />
Therefore we obtained<br />
\[A\mathbf{w}=\mathbf{0}_m\in \R^m.\]
<h2> Remark. </h2>
<p>Note that a map $T:\R^n \to \R^m$ defined by $T(\mathbf{x})=A\mathbf{x}$, where $A$ is an $m\times n$ matrix is a linear transformation.<br />
That is the map $T$ satisfies:</p>
<ol>
<li>$T(\mathbf{u}+\mathbf{v})=T(\mathbf{u})+T(\mathbf{v})$ for any $\mathbf{u}, \mathbf{v} \in \R^n$, and</li>
<li>$T(c\mathbf{v})=cT(\mathbf{v})$ for any $\mathbf{v}\in \R^n$ and $c \in \R$.</li>
</ol>
<p>From this point of view, the above problem can be classified into a problem of linear transformation.</p>
<button class="simplefavorite-button has-count" data-postid="1247" 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/linear-properties-of-matrix-multiplication-and-the-null-space-of-a-matrix/" target="_blank">Linear Properties of Matrix Multiplication and the Null Space 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/linear-properties-of-matrix-multiplication-and-the-null-space-of-a-matrix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">1247</post-id>	</item>
		<item>
		<title>Symmetric Matrices and the Product of Two Matrices</title>
		<link>https://yutsumura.com/symmetric-matrices-and-the-product-of-two-matrices/</link>
				<comments>https://yutsumura.com/symmetric-matrices-and-the-product-of-two-matrices/#respond</comments>
				<pubDate>Wed, 14 Sep 2016 03:32:40 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[diagonal matrix]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[matrix]]></category>
		<category><![CDATA[matrix multiplication]]></category>
		<category><![CDATA[matrix product]]></category>
		<category><![CDATA[symmetric matrix]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=982</guid>
				<description><![CDATA[<p>Let $A$ and $B$ be $n \times n$ real symmetric matrices. Prove the followings. (a) The product $AB$ is symmetric if and only if $AB=BA$. (b) If the product $AB$ is a diagonal matrix,&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/symmetric-matrices-and-the-product-of-two-matrices/" target="_blank">Symmetric Matrices and the Product of Two Matrices</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 111</h2>
<p>Let $A$ and $B$ be $n \times n$ real symmetric matrices. Prove the followings.</p>
<p><strong>(a)</strong> The product $AB$ is symmetric if and only if $AB=BA$.</p>
<p><strong>(b)</strong> If the product $AB$ is a diagonal matrix, then $AB=BA$.</p>
<p>&nbsp;<br />
<span id="more-982"></span><br />

<h2>Hint.</h2>
<p>A matrix $A$ is called <em><strong>symmetric</strong></em> if $A=A^{\trans}$.</p>
<p>In this problem, we need the following property of transpose:<br />
Let $A$ be an $m\times n$ and $B$ be an $n \times r$ matrix. Then we have<br />
\[(AB)^{\trans}=B^{\trans}A^{\trans}.\]
(When you distribute transpose over the product of two matrices, then you need to reverse the order of the matrix product.)</p>
<h2>Solution.</h2>
<h3>(a) The product $AB$ is symmetric if and only if $AB=BA$.</h3>
<p>Suppose $AB$ is symmetric. This means that we have<br />
	\[ AB=(AB)^{\trans}=B^{\trans}A^{\trans}=BA.\]
	The second equality is a general property of transpose. In the last equality we used the assumption that $A, B$ are symmetric, that is, $A=A^{\trans}, B=B^{\trans}$. Thus we have $AB=BA$.</p>
<p>	On the other hand, if $AB=BA$, then we have<br />
	\[AB=BA=B^{\trans}A^{\trans}=(AB)^{\trans}.\]
	Thus, we have $AB=(AB)^{\trans}$, hence $AB$ is symmetric.</p>
<h3>If the product $AB$ is a diagonal matrix, then $AB=BA$.</h3>
<p> Note that a diagonal matrix is symmetric. Hence the result follows from part (a).</p>
<h2>10 True or False Problems about Matrices </h2>
<p>	Test your understanding about matrices with 10 True or False questions given in the post &#8220;<a href="//yutsumura.com/quiz-matrix-operations/" target="_blank">10 True or False Problems about Basic Matrix Operations</a>&#8220;.</p>
<p>Or try True or False problems about nonsingular, invertible matrices, and linearly independent vectors at &#8220;<a href="//yutsumura.com/10-true-of-false-problems-about-nonsingular-invertible-matrices/" target="_blank">10 True of False Problems about Nonsingular / Invertible Matrices</a>&#8220;.</p>
<button class="simplefavorite-button has-count" data-postid="982" data-siteid="1" data-groupid="1" data-favoritecount="33" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">33</span></button><p>The post <a href="https://yutsumura.com/symmetric-matrices-and-the-product-of-two-matrices/" target="_blank">Symmetric Matrices and the Product of Two Matrices</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></content:encoded>
							<wfw:commentRss>https://yutsumura.com/symmetric-matrices-and-the-product-of-two-matrices/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">982</post-id>	</item>
		<item>
		<title>If the Matrix Product $AB=0$, then is $BA=0$ as Well?</title>
		<link>https://yutsumura.com/if-the-matrix-product-ab0-then-is-ba0-as-well/</link>
				<comments>https://yutsumura.com/if-the-matrix-product-ab0-then-is-ba0-as-well/#respond</comments>
				<pubDate>Fri, 02 Sep 2016 03:10:54 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[counterexample]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[matrix]]></category>
		<category><![CDATA[matrix multiplication]]></category>
		<category><![CDATA[matrix product]]></category>
		<category><![CDATA[zero matrix]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=903</guid>
				<description><![CDATA[<p>Let $A$ and $B$ be $n\times n$ matrices. Suppose that the matrix product $AB=O$, where $O$ is the $n\times n$ zero matrix. Is it true that the matrix product with opposite order $BA$ is&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/if-the-matrix-product-ab0-then-is-ba0-as-well/" target="_blank">If the Matrix Product $AB=0$, then is $BA=0$ as Well?</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<br />
<h2> Problem 98</h2>
<p>   Let $A$ and $B$ be $n\times n$ matrices. Suppose that the matrix product $AB=O$, where $O$ is the $n\times n$ zero matrix.</p>
<p> Is it true that the matrix product with opposite order $BA$ is also the zero matrix?<br />
If so, give a proof. If not, give a counterexample.</p>
<p>&nbsp;<br />
<span id="more-903"></span></p>
<h2>Solution.</h2>
<p>     	The statement is in general not true. We give a counter example.<br />
     	Consider the following $2\times 2$ matrices.<br />
     	\[A=\begin{bmatrix}<br />
  0 &#038; 1\\<br />
  0&#038; 1<br />
\end{bmatrix} \text{ and } \begin{bmatrix}<br />
  1 &#038; 1\\<br />
  0&#038; 0<br />
\end{bmatrix}.\]
<p>Then we compute<br />
\[AB=\begin{bmatrix}<br />
  0 &#038; 1\\<br />
  0&#038; 1<br />
\end{bmatrix}<br />
\begin{bmatrix}<br />
  1 &#038; 1\\<br />
  0&#038; 0<br />
\end{bmatrix}<br />
=\begin{bmatrix}<br />
  0 &#038; 0\\<br />
  0&#038; 0<br />
\end{bmatrix}=O.\]
Thus the matrix product $AB$ is the $2\times 2$ zero matrix $O$.</p>
<hr />
<p>On the other hand, we compute<br />
\[BA=\begin{bmatrix}<br />
  1 &#038; 1\\<br />
  0&#038; 0<br />
\end{bmatrix}<br />
\begin{bmatrix}<br />
  0 &#038; 1\\<br />
  0&#038; 1<br />
\end{bmatrix}=\begin{bmatrix}<br />
  0 &#038; 2\\<br />
  0&#038; 0<br />
\end{bmatrix}.\]
<p>Thus the matrix product $BA$ is not the zero matrix.<br />
Therefore the statement is not true in general.</p>
<button class="simplefavorite-button has-count" data-postid="903" data-siteid="1" data-groupid="1" data-favoritecount="72" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">72</span></button><p>The post <a href="https://yutsumura.com/if-the-matrix-product-ab0-then-is-ba0-as-well/" target="_blank">If the Matrix Product $AB=0$, then is $BA=0$ as Well?</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></content:encoded>
							<wfw:commentRss>https://yutsumura.com/if-the-matrix-product-ab0-then-is-ba0-as-well/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">903</post-id>	</item>
		<item>
		<title>True or False: $(A-B)(A+B)=A^2-B^2$ for Matrices $A$ and $B$</title>
		<link>https://yutsumura.com/true-or-false-a-baba2-b2-for-matrices-a-and-b/</link>
				<comments>https://yutsumura.com/true-or-false-a-baba2-b2-for-matrices-a-and-b/#comments</comments>
				<pubDate>Tue, 30 Aug 2016 01:44:50 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[matrix]]></category>
		<category><![CDATA[matrix multiplication]]></category>
		<category><![CDATA[quiz]]></category>
		<category><![CDATA[true or false]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=821</guid>
				<description><![CDATA[<p>Let $A$ and $B$ be $2\times 2$ matrices. Prove or find a counterexample for the statement that $(A-B)(A+B)=A^2-B^2$. &#160; Hint. In general, matrix multiplication is not commutative: $AB$ and $BA$ might be different. Solution.&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/true-or-false-a-baba2-b2-for-matrices-a-and-b/" target="_blank">True or False: $(A-B)(A+B)=A^2-B^2$ for Matrices $A$ and $B$</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 96</h2>
<p> Let $A$ and $B$ be $2\times 2$ matrices. </p>
<p>Prove or find a counterexample for the statement that $(A-B)(A+B)=A^2-B^2$.</p>
<p>&nbsp;<br />
<span id="more-821"></span><br />

<h2>Hint.</h2>
<p>In general, matrix multiplication is not commutative: $AB$ and $BA$ might be different.</p>
<h2>Solution.</h2>
<p> Let us calculate $(A-B)(A+B)$ as follows using the fact that the matrix product is distributive.<br />
 \begin{align*}<br />
(A-B)(A+B)&#038;=A(A+B)-B(A+B)\\<br />
&#038;=A^2+AB-BA-B^2\\<br />
&#038;=A^2-B^2+(AB-BA).<br />
\end{align*}<br />
Thus if $(A-B)(A+B)=A^2-B^2$ then $AB-BA=O$, the zero matrix. Equivalently, $AB=BA$.</p>
<hr />
<p>Note that matrix multiplication is not commutative, namely, $AB\neq BA$ in general.<br />
Thus we can disprove the statement if we find matrices $A$ and $B$ such that $AB \neq BA$.</p>
<hr />
<p>For example, let<br />
\[A=\begin{bmatrix}<br />
  1 &#038; 1\\<br />
  0&#038; 0<br />
\end{bmatrix}<br />
\text{ and }<br />
B=\begin{bmatrix}<br />
  0 &#038; 1\\<br />
  0&#038; 1<br />
\end{bmatrix}.\]
Then we have<br />
\[AB=\begin{bmatrix}<br />
  0 &#038; 2\\<br />
  0&#038; 0<br />
\end{bmatrix} \text{ and }<br />
BA=\begin{bmatrix}<br />
  0 &#038; 0\\<br />
  0&#038; 0<br />
\end{bmatrix}.\]
<p> Since $AB \neq BA$, we have $(A-B)(A+B) \neq A^2-B^2$ for \[A=\begin{bmatrix}<br />
  1 &#038; 1\\<br />
  0&#038; 0<br />
\end{bmatrix}<br />
\text{ and }<br />
B=\begin{bmatrix}<br />
  0 &#038; 1\\<br />
  0&#038; 1<br />
\end{bmatrix}.\]
<p> Hence we found a counterexample for the statement.</p>
<h2>10 True or False Quiz Problems about Matrix Operations </h2>
<p>Check out the post &#8220;<a href="//yutsumura.com/quiz-matrix-operations/" target="_blank">10 True or False Problems about Basic Matrix Operations</a>&#8221; and take a quiz about basic properties of matrix operations.</p>
<p>There are 10 True or False problems about basic properties of matrix operations (matrix product, transpose, etc.).</p>
<p>The complete solutions are given as well.</p>
<button class="simplefavorite-button has-count" data-postid="821" data-siteid="1" data-groupid="1" data-favoritecount="146" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">146</span></button><p>The post <a href="https://yutsumura.com/true-or-false-a-baba2-b2-for-matrices-a-and-b/" target="_blank">True or False: $(A-B)(A+B)=A^2-B^2$ for Matrices $A$ and $B$</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></content:encoded>
							<wfw:commentRss>https://yutsumura.com/true-or-false-a-baba2-b2-for-matrices-a-and-b/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">821</post-id>	</item>
		<item>
		<title>Questions About the Trace of a Matrix</title>
		<link>https://yutsumura.com/questions-about-the-trace-of-a-matrix/</link>
				<comments>https://yutsumura.com/questions-about-the-trace-of-a-matrix/#respond</comments>
				<pubDate>Tue, 26 Jul 2016 01:25:53 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[hermitian matrix]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[matrix]]></category>
		<category><![CDATA[matrix multiplication]]></category>
		<category><![CDATA[positive definite]]></category>
		<category><![CDATA[symmetric matrix]]></category>
		<category><![CDATA[trace of a matrix]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=175</guid>
				<description><![CDATA[<p>Let $A=(a_{i j})$ and $B=(b_{i j})$ be $n\times n$ real matrices for some $n \in \N$. Then answer the following questions about the trace of a matrix. (a) Express $\tr(AB^{\trans})$ in terms of the entries&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/questions-about-the-trace-of-a-matrix/" target="_blank">Questions About the Trace 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 19</h2>
<p>Let $A=(a_{i j})$ and $B=(b_{i j})$ be $n\times n$ real matrices for some $n \in \N$. Then answer the following questions about the trace of a matrix.</p>
<p><strong>(a)</strong> Express $\tr(AB^{\trans})$ in terms of the entries of the matrices $A$ and $B$. Here $B^{\trans}$ is the transpose matrix of $B$.</p>
<p><strong>(b)</strong> Show that $\tr(AA^{\trans})$ is the sum of the square of the entries of $A$.</p>
<p><strong>(c)</strong> Show that if $A$ is nonzero symmetric matrix, then $\tr(A^2)&gt;0$.</p>
<p><span id="more-175"></span><br />

<h2>Hint.</h2>
<p>Review</p>
<ol>
<li>the definition of the transpose of a matrix</li>
<li>the definition of matrix multiplication</li>
<li>the definition of a symmetric matrix</li>
</ol>
<p>Then the proofs of these statement is straightforward computations.</p>
<h2> Proof. </h2>
<h3>(a) Express $\tr(AB^{\trans})$ in terms of the entries of $A$ and $B$. </h3>
<p>Here we use the following notation for an entry of a matrix: the $(i, j)$-entry of a matrix $C$ is denoted by $(C)_{i,j}$.</p>
<p>Then the $(i,j)$-entry of $AB^{\trans}$ is $(AB^{\trans})_{ij}=\sum_{k=1}^n a_{ik}b_{jk}$.<br />
Thus we have<br />
\[\tr(AB^{\trans})=\sum_{l=1}^n (AB^{\trans})_{ll}=\sum_{l=1}^n \sum_{k=1}^n a_{lk}b_{lk}.\]
<h3>(b) Show that $\tr(AA^{\trans})$ is the sum of the square of the entries of $A$</h3>
<p> By the formula obtained in part (a), we have<br />
\[ \tr(AA^{\trans})=\sum_{l=1}^n \sum_{k=1}^n a_{lk}^2.\]
This is the sum of the squares of entries of $A$.</p>
<h3>(c) Show that if $A$ is nonzero symmetric matrix, then $\tr(A^2)&gt;0$.</h3>
<p>Since $A$ is a symmetric matrix, we have $A^{\trans}=A$.<br />
Thus by the result of part (b), we have</p>
<p>\[ \tr(A^2)=\tr(AA^{\trans})=\sum_{l=1}^n \sum_{k=1}^n a_{lk}^2&gt;0.\]
The last sum is strictly positive since $A$ is not the zero matrix, there is a nonzero entry of $A$ (and of course the square of a real number is nonnegative).</p>
<h2>Comment.</h2>
<p>The results we proved in this article can be extended to complex matrices, matrices with complex number entries.<br />
In this case, the condition in (c) that $A$ is symmetric is replaced by the condition that $A$ is a hermitian matrix.</p>
<button class="simplefavorite-button has-count" data-postid="175" data-siteid="1" data-groupid="1" data-favoritecount="33" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">33</span></button><p>The post <a href="https://yutsumura.com/questions-about-the-trace-of-a-matrix/" target="_blank">Questions About the Trace 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/questions-about-the-trace-of-a-matrix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">175</post-id>	</item>
	</channel>
</rss>
