<?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>linear system &#8211; Problems in Mathematics</title>
	<atom:link href="https://yutsumura.com/tag/linear-system/feed/" rel="self" type="application/rss+xml" />
	<link>https://yutsumura.com</link>
	<description></description>
	<lastBuildDate>Wed, 06 Dec 2017 17:52: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>linear system &#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>Determine Null Spaces of Two Matrices</title>
		<link>https://yutsumura.com/determine-null-spaces-of-two-matrices/</link>
				<comments>https://yutsumura.com/determine-null-spaces-of-two-matrices/#comments</comments>
				<pubDate>Wed, 04 Jan 2017 11:14:07 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[augmented matrix]]></category>
		<category><![CDATA[dimension of a vector space]]></category>
		<category><![CDATA[elementary row operations]]></category>
		<category><![CDATA[Gauss-Jordan elimination]]></category>
		<category><![CDATA[kernel of a matrix]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[linear system]]></category>
		<category><![CDATA[matrix]]></category>
		<category><![CDATA[null space]]></category>
		<category><![CDATA[nullity]]></category>
		<category><![CDATA[nullity of a matrix]]></category>
		<category><![CDATA[subspace]]></category>
		<category><![CDATA[vector space]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=1766</guid>
				<description><![CDATA[<p>Let \[A=\begin{bmatrix} 1 &#038; 2 &#038; 2 \\ 2 &#038;3 &#038;2 \\ -1 &#038; -3 &#038; -4 \end{bmatrix} \text{ and } B=\begin{bmatrix} 1 &#038; 2 &#038; 2 \\ 2 &#038;3 &#038;2 \\ 5 &#038;&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/determine-null-spaces-of-two-matrices/" target="_blank">Determine Null Spaces 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 242</h2>
<p> Let<br />
\[A=\begin{bmatrix}<br />
  1 &#038; 2 &#038; 2 \\<br />
   2 &#038;3 &#038;2 \\<br />
   -1 &#038; -3 &#038; -4<br />
\end{bmatrix} \text{ and }<br />
B=\begin{bmatrix}<br />
  1 &#038; 2 &#038; 2 \\<br />
   2 &#038;3 &#038;2 \\<br />
   5 &#038; 3 &#038; 3<br />
\end{bmatrix}.\]
<p>Determine the null spaces of matrices $A$ and $B$.</p>
<p>&nbsp;<br />
<span id="more-1766"></span><br />

<h2> Proof. </h2>
<h3>The null space of the matrix $A$</h3>
<p>	We first determine the null space of the matrix $A$.<br />
	By definition, the null space is<br />
	\[\calN(A):=\{\mathbf{x}\in \R^3 \mid A\mathbf{x}=\mathbf{0}\},\]
	that is, the null space of $A$ consists of the solution $\mathbf{x}$ of the linear system $A\mathbf{x}=\mathbf{0}$.</p>
<p>	To solve the system $A\mathbf{x}=\mathbf{0}$, we apply the Gauss-Jordan elimination. We reduce the augmented matrix $[A|\mathbf{0}]$ by elementary row operations as follows.<br />
	\begin{align*}<br />
 \left[\begin{array}{rrr|r}<br />
 1 &#038; 2 &#038; 2 &#038;   0 \\<br />
  2 &#038;3 &#038;  2 &#038; 0  \\<br />
  -1 &#038; -3 &#038; -4 &#038; 0<br />
    \end{array} \right]
    \xrightarrow{\substack{R_2-2R_1\\R_3+R_1}}<br />
     \left[\begin{array}{rrr|r}<br />
 1 &#038; 2 &#038; 2 &#038;   0 \\<br />
  0 &#038; -1 &#038;  -2 &#038; 0  \\<br />
  0 &#038; -1 &#038; -2 &#038; 0<br />
    \end{array} \right]
    \xrightarrow{\substack{R_1+2R_2\\R_3-5R_2}}\\<br />
     \left[\begin{array}{rrr|r}<br />
 1 &#038; 0 &#038; -2 &#038;   0 \\<br />
  0 &#038; -1 &#038;  -2 &#038; 0  \\<br />
  0 &#038; 0 &#038; 0 &#038; 0<br />
    \end{array} \right]
    \xrightarrow{-R_2}<br />
     \left[\begin{array}{rrr|r}<br />
 1 &#038; 0 &#038; -2 &#038;   0 \\<br />
  0 &#038; 1 &#038;  2 &#038; 0  \\<br />
  0 &#038; 0 &#038; 0 &#038; 0<br />
    \end{array} \right].<br />
\end{align*}<br />
	The last matrix is in reduced row echelon form, and the solutions $\mathbf{x}=\begin{bmatrix}<br />
  x_1 \\<br />
   x_2 \\<br />
    x_3<br />
  \end{bmatrix}$ of $A\mathbf{x}=\mathbf{0}$ satisfy<br />
  \[x_1=2x_3 \text{ and } x_2=-2x_3\]
  and $x_3$ is a free variable.<br />
  Thus we have<br />
  \[\mathbf{x}=\begin{bmatrix}<br />
  2x_3 \\<br />
   -2x_3 \\<br />
    x_3<br />
  \end{bmatrix}=x_3\begin{bmatrix}<br />
  2 \\<br />
   -2 \\<br />
    1<br />
  \end{bmatrix}\]
  for any $x_3$ are solutions.</p>
<p>  Therefore the null space of the matrix $A$ is<br />
  \begin{align*}<br />
\calN(A)&#038;=\left\{\mathbf{x}\in \R^3 \quad \middle| \quad \mathbf{x}=x_3\begin{bmatrix}<br />
  2 \\<br />
   -2 \\<br />
    1<br />
  \end{bmatrix} \text{ for any } x_3\in \R \right\}\\<br />
  &#038;=\Span\left(\begin{bmatrix}<br />
  2 \\<br />
   -2 \\<br />
    1<br />
  \end{bmatrix}\right),<br />
\end{align*}<br />
the subspace of $\R^3$ spanned by the vector $\begin{bmatrix}<br />
  2 \\<br />
   -2 \\<br />
    1<br />
  \end{bmatrix}$.</p>
<h3>The null space of the matrix $B$</h3>
<p>  The same procedure works for the matrix $B$. Thus we omit some detail below.<br />
  For the matrix $B$, the augmented matrix is reduced to<br />
  \[ \left[\begin{array}{rrr|r}<br />
 1 &#038; 2 &#038; 2 &#038;   0 \\<br />
  2 &#038;3 &#038;  2 &#038; 0  \\<br />
  5 &#038; 3 &#038; 3 &#038; 0<br />
    \end{array} \right]
    \to \cdots \to  \left[\begin{array}{rrr|r}<br />
 1 &#038; 0 &#038; 0 &#038;   0 \\<br />
  0 &#038;1 &#038;  0 &#038; 0  \\<br />
  0 &#038; 0 &#038; 1 &#038; 0<br />
    \end{array} \right].\]
    (Check the computation by yourself.)<br />
    This implies that $\mathbf{x}=\mathbf{0}$ is the only solution of the system $B\mathbf{x}=\mathbf{0}$.<br />
    Therefore, the null space $\calN(B)$ of the matrix $B$ consists of just the zero vector:<br />
    \[\calN(B)=\left\{\begin{bmatrix}<br />
  0 \\<br />
   0 \\<br />
    0<br />
  \end{bmatrix} \right\}.\]
<h2>Comment.</h2>
<p>The dimension of the null space $\calN(A)$ is $1$, and the dimension of the null space $\calN(B)$ is $0$.<br />
In other words, the nullity of the matrix $A$ is $1$, and the nullity of the matrix $B$ is $0$.<br />
(Recall that the nullity of a matrix is just the dimension of the null space of the matrix.)</p>
<h2> Related Question. </h2>
<p>The proof of the fact that a null space of a matrix is a subspace is give in the post <a href="//yutsumura.com/the-null-space-the-kernel-of-a-matrix-is-a-subspace-of-rn/" target="_blank">The null space (the kernel) of a matrix is a subspace of $\R^n$</a>.</p>
<button class="simplefavorite-button has-count" data-postid="1766" data-siteid="1" data-groupid="1" data-favoritecount="34" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">34</span></button><p>The post <a href="https://yutsumura.com/determine-null-spaces-of-two-matrices/" target="_blank">Determine Null Spaces 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/determine-null-spaces-of-two-matrices/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">1766</post-id>	</item>
		<item>
		<title>Two Matrices with the Same Characteristic Polynomial. Diagonalize if Possible.</title>
		<link>https://yutsumura.com/two-matrices-with-the-same-characteristic-polynomial-diagonalize-if-possible/</link>
				<comments>https://yutsumura.com/two-matrices-with-the-same-characteristic-polynomial-diagonalize-if-possible/#comments</comments>
				<pubDate>Sun, 11 Dec 2016 22:48:33 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[algebraic multiplicity]]></category>
		<category><![CDATA[diagonal matrix]]></category>
		<category><![CDATA[diagonalizable]]></category>
		<category><![CDATA[diagonalizable matrix]]></category>
		<category><![CDATA[diagonalization]]></category>
		<category><![CDATA[eigenvalue]]></category>
		<category><![CDATA[eigenvector]]></category>
		<category><![CDATA[exam]]></category>
		<category><![CDATA[Gauss-Jorda]]></category>
		<category><![CDATA[geometric multiplicity]]></category>
		<category><![CDATA[inverse matrix]]></category>
		<category><![CDATA[invertible matrix]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[linear system]]></category>
		<category><![CDATA[matrix]]></category>
		<category><![CDATA[Stanford]]></category>
		<category><![CDATA[Stanford.LA]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=1541</guid>
				<description><![CDATA[<p>Let \[A=\begin{bmatrix} 1 &#038; 3 &#038; 3 \\ -3 &#038;-5 &#038;-3 \\ 3 &#038; 3 &#038; 1 \end{bmatrix} \text{ and } B=\begin{bmatrix} 2 &#038; 4 &#038; 3 \\ -4 &#038;-6 &#038;-3 \\ 3 &#038;&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/two-matrices-with-the-same-characteristic-polynomial-diagonalize-if-possible/" target="_blank">Two Matrices with the Same Characteristic Polynomial. Diagonalize if Possible.</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 216</h2>
<p>Let<br />
\[A=\begin{bmatrix}<br />
  1 &#038; 3 &#038; 3 \\<br />
   -3 &#038;-5 &#038;-3 \\<br />
   3 &#038; 3 &#038; 1<br />
\end{bmatrix} \text{ and } B=\begin{bmatrix}<br />
  2 &#038; 4 &#038; 3 \\<br />
   -4 &#038;-6 &#038;-3 \\<br />
   3 &#038; 3 &#038; 1<br />
\end{bmatrix}.\]
For this problem, you may use the fact that both matrices have the same characteristic polynomial:<br />
\[p_A(\lambda)=p_B(\lambda)=-(\lambda-1)(\lambda+2)^2.\]
<p><strong>(a)</strong> Find all eigenvectors of $A$.</p>
<p><strong>(b)</strong> Find all eigenvectors of $B$.</p>
<p><strong>(c)</strong> Which matrix $A$ or $B$ is diagonalizable?</p>
<p><strong>(d)</strong> Diagonalize the matrix stated in (c), i.e., find an invertible matrix $P$ and a diagonal matrix $D$ such that $A=PDP^{-1}$ or $B=PDP^{-1}$.</p>
<p>(<em>Stanford University Linear Algebra Final Exam Problem</em>)<br />
&nbsp;<br />
<span id="more-1541"></span></p>
<h2>Hint.</h2>
<p>See the post <a href="//yutsumura.com/how-to-diagonalize-a-matrix-step-by-step-explanation/" target="_blank">how to diagonalize a matrix</a> for a review of the diagonalization process.</p>
<h2>Solution.</h2>
<h3> (a) All eigenvectors of $A$</h3>
<p>	The eigenvalues of $A$ are roots of the characteristic polynomial $p_A(\lambda)$, hence the eigenvalues of $A$ are<br />
	\[\lambda=1, -2\]
	with algebraic multiplicities $1$ and $2$, respectively.</p>
<p>	Let us first find the eigenvectors corresponding to the eigenvalue $\lambda=-2$.<br />
	The eigenvectors are nonzero solutions of the equation<br />
	\[(A+2I)\mathbf{x}=\mathbf{0},\]
	where $I$ is the $3\times 3$ identity matrix, $\mathbf{x}\in \R^3$, and $\mathbf{0}$ is the three dimensional zero vector.</p>
<p>	To solve the linear system, we use the Gauss-Jordan elimination method.<br />
	Applying elementary row operations we obtain<br />
	\begin{align*}<br />
A+2I=\begin{bmatrix}<br />
  3 &#038; 3 &#038; 3 \\<br />
   -3 &#038;-3 &#038;-3 \\<br />
   3 &#038; 3 &#038; 3<br />
\end{bmatrix} \to \cdots \to \begin{bmatrix}<br />
  1 &#038; 1 &#038; 1 \\<br />
   0 &#038;0 &#038;0 \\<br />
   0 &#038; 0 &#038; 0<br />
\end{bmatrix}.<br />
\end{align*}<br />
	Therefore, the vector $\mathbf{x}=\begin{bmatrix}<br />
  x_1 \\<br />
   x_2 \\<br />
    x_3<br />
  \end{bmatrix}$ must satisfy<br />
	\[x_1=-x_2-x_3.\]
	Hence the eigenvectors associated to $\lambda=-2$ are<br />
	\[\mathbf{x}=\begin{bmatrix}<br />
  -x_2-x_3 \\<br />
   x_2 \\<br />
    x_3<br />
  \end{bmatrix}=x_2\begin{bmatrix}<br />
  -1 \\<br />
   1 \\<br />
    0<br />
  \end{bmatrix}+x_3\begin{bmatrix}<br />
  -1 \\<br />
   0 \\<br />
    1<br />
  \end{bmatrix}\]
  for any pair of complex numbers $(x_1, x_2)\neq (0,0)$.</p>
<hr />
<p>  Now we find the eigenvectors corresponding to the eigenvalue $\lambda=1$.<br />
  As above, we solve the system<br />
  \[(A-I)\mathbf{x}=\mathbf{0}.\]
  By elementary row operations, we reduce the matrix $A-I$ and obtain<br />
  \[A-I=\begin{bmatrix}<br />
  0 &#038; 3 &#038; 3 \\<br />
   -3 &#038;-6 &#038;-3 \\<br />
   3 &#038; 3 &#038; 0<br />
\end{bmatrix} \to \cdots \to \begin{bmatrix}<br />
  1 &#038; 0 &#038; -1 \\<br />
   0 &#038;1 &#038;1 \\<br />
   0 &#038; 0 &#038; 0<br />
\end{bmatrix}.\]
Hence the vector $\mathbf{x}$ should satisfy<br />
\[x_1=x_3 \text{ and } x_2=-x_3.\]
Thus the eigenvectors associated to $\lambda=1$ are<br />
\[\mathbf{x}=x_3\begin{bmatrix}<br />
  1 \\<br />
   -1 \\<br />
    1<br />
  \end{bmatrix}\]
  for any nonzero complex number $x_3$.</p>
<h3> (b) All eigenvectors of $B$</h3>
<p>	The eigenvalues of $B$ are roots of the characteristic polynomial $p_B(t)$, hence the eigenvalues of $B$ are<br />
	\[\lambda=1, -2\]
	with algebraic multiplicities $1$ and $2$, respectively.</p>
<hr />
<p>	Let us first find the eigenvectors corresponding to the eigenvalue $\lambda=-2$.<br />
	We need to solve the sysetm<br />
	\[(B+2I)\mathbf{x}=\mathbf{0}.\]
	By elementary row operations, we have<br />
	\begin{align*}<br />
B+2I=\begin{bmatrix}<br />
  4 &#038; 4 &#038; 3 \\<br />
   -4 &#038;-4 &#038;-3 \\<br />
   3 &#038; 3 &#038; 3<br />
\end{bmatrix} \to \cdots \to \begin{bmatrix}<br />
  1 &#038; 1 &#038; 0 \\<br />
   0 &#038;0 &#038;1 \\<br />
   0 &#038; 0 &#038; 0<br />
\end{bmatrix}.<br />
\end{align*}<br />
Thus the vector $\mathbf{x}$ satisfies<br />
\[x_1=-x_2 \text{ and } x_3=0,\]
hence the eigenvectors associated to $\lambda=-2$ are<br />
\[\mathbf{x}=x_2\begin{bmatrix}<br />
  -1 \\<br />
   1 \\<br />
    0<br />
  \end{bmatrix}\]
  for any nonzero complex number $x_2$</p>
<hr />
<p>Next, we find the eigenvectors corresponding to eigenvalue $\lambda=1$.<br />
Since we have<br />
\begin{align*}<br />
B-I=\begin{bmatrix}<br />
  1 &#038; 4 &#038; 3 \\<br />
   -4 &#038;-7 &#038;-3 \\<br />
   3 &#038; 3 &#038; 0<br />
\end{bmatrix}<br />
\to \cdots \to<br />
\begin{bmatrix}<br />
  1 &#038; 0 &#038; -1 \\<br />
   0 &#038;1 &#038;1 \\<br />
   0 &#038; 0 &#038; 0<br />
\end{bmatrix}<br />
\end{align*}<br />
by elementary row operations, the system $(B-I)\mathbf{x}=\mathbf{0}$ has solutions<br />
\[x_1=x_3 \text{ and } x_2=-x_3.\]
Thus the eigenvectors associated to $\lambda=1$ are<br />
\[\mathbf{x}=x_3\begin{bmatrix}<br />
  1 \\<br />
   -1 \\<br />
    1<br />
  \end{bmatrix}\]
  for any nonzero complex number $x_3$.</p>
<h3> (c) Which matrix $A$ or $B$ is diagonalizable?</h3>
<p> From the result of (a), for each eigenvalue $\lambda$ of $A$ the geometric multiplicity of $\lambda$ is the same as the algebraic multiplicity of $\lambda$. Thus $A$ is not defective, and hence $A$ is diagonalizable.</p>
<p>From the result of (b), the geometric multiplicity of the eigenvalue $\lambda=-2$ of $B$ is $1$ although the algebraic multiplicity of $\lambda=-2$ is $2$. Thus the matrix $B$ is defective and hence $B$ is not diagonalizable.</p>
<h3>(d) Diagonalize the matrix</h3>
<p> We diagonalize the matrix $A$. From the computation of (a), the vectors<br />
\[\begin{bmatrix}<br />
  -1 \\<br />
   1 \\<br />
    0<br />
  \end{bmatrix}, \begin{bmatrix}<br />
  -1 \\<br />
   0 \\<br />
    1<br />
  \end{bmatrix}\]
  form a basis of the eigenspace $E_{-2}$ associated to $\lambda=-2$.<br />
  Also the vector<br />
  \[\begin{bmatrix}<br />
  1 \\<br />
   -1 \\<br />
    1<br />
  \end{bmatrix}\]
  form a basis of the eigenspace $E_1$ associated to $\lambda=1$.<br />
  Therefore the vectors<br />
\[\begin{bmatrix}<br />
  -1 \\<br />
   1 \\<br />
    0<br />
  \end{bmatrix}, \begin{bmatrix}<br />
  -1 \\<br />
   0 \\<br />
    1<br />
  \end{bmatrix}, \begin{bmatrix}<br />
  1 \\<br />
   -1 \\<br />
    1<br />
  \end{bmatrix}\]
	are linearly independent eigenvectors of $A$.<br />
	Thus we set<br />
	\[P=\begin{bmatrix}<br />
  -1 &#038; -1 &#038; 1 \\<br />
   1 &#038;0 &#038;-1 \\<br />
   0 &#038; 1 &#038; 1<br />
\end{bmatrix} \text{ and } D=\begin{bmatrix}<br />
  -2 &#038; 0 &#038; 0 \\<br />
   0 &#038;-2 &#038;0 \\<br />
   0 &#038; 0 &#038; 1<br />
\end{bmatrix}\]
and we have<br />
\[P^{-1}AP=D.\]
<button class="simplefavorite-button has-count" data-postid="1541" data-siteid="1" data-groupid="1" data-favoritecount="36" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">36</span></button><p>The post <a href="https://yutsumura.com/two-matrices-with-the-same-characteristic-polynomial-diagonalize-if-possible/" target="_blank">Two Matrices with the Same Characteristic Polynomial. Diagonalize if Possible.</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></content:encoded>
							<wfw:commentRss>https://yutsumura.com/two-matrices-with-the-same-characteristic-polynomial-diagonalize-if-possible/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">1541</post-id>	</item>
	</channel>
</rss>
