<?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>kernel of a matrix &#8211; Problems in Mathematics</title>
	<atom:link href="https://yutsumura.com/tag/kernel-of-a-matrix/feed/" rel="self" type="application/rss+xml" />
	<link>https://yutsumura.com</link>
	<description></description>
	<lastBuildDate>Sat, 02 Dec 2017 19:21:34 +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>kernel of a 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>Intersection of Two Null Spaces is Contained in Null Space of Sum of Two Matrices</title>
		<link>https://yutsumura.com/intersection-of-two-null-spaces-is-contained-in-null-space-of-sum-of-two-matrices/</link>
				<comments>https://yutsumura.com/intersection-of-two-null-spaces-is-contained-in-null-space-of-sum-of-two-matrices/#respond</comments>
				<pubDate>Tue, 21 Feb 2017 04:04:49 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[kernel of a matrix]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[matrix]]></category>
		<category><![CDATA[null space]]></category>
		<category><![CDATA[subspace]]></category>
		<category><![CDATA[vector space]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=2275</guid>
				<description><![CDATA[<p>Let $A$ and $B$ be $n\times n$ matrices. Then prove that \[\calN(A)\cap \calN(B) \subset \calN(A+B),\] where $\calN(A)$ is the null space (kernel) of the matrix $A$. &#160; Definition. Recall that the null space (or&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/intersection-of-two-null-spaces-is-contained-in-null-space-of-sum-of-two-matrices/" target="_blank">Intersection of Two Null Spaces is Contained in Null Space of Sum 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 311</h2>
<p>	Let $A$ and $B$ be $n\times n$ matrices. Then prove that<br />
	\[\calN(A)\cap \calN(B) \subset \calN(A+B),\]
	where $\calN(A)$ is the null space (kernel) of the matrix $A$.</p>
<p>&nbsp;<br />
<span id="more-2275"></span></p>
<h2>Definition.</h2>
<p>Recall that the <strong>null space</strong> (or <strong>kernel</strong>) of an $n \times n$ matrix is<br />
\[\calN(A)=\{\mathbf{x}\in \R^n \mid A\mathbf{x}=\mathbf{0}\}.\]
The null space $\cal(N)$ is a subspace of the $n$-dimensional vector space $\R^n$.</p>
<h2> Proof. </h2>
<p>		Let $\mathbf{x}$ be an arbitrary vector in the intersection $\calN(A)\cap \calN(B)$.<br />
		Then the vector $\mathbf{x}$ belongs to both $\calN(A)$ and $\calN(B)$.<br />
		Thus, by definition of the null space, we have<br />
		\[A\mathbf{x}=\mathbf{0} \text{ and } B\mathbf{x}=\mathbf{0}.\]
<p>		If follows from these equalities that we have<br />
		\begin{align*}<br />
	(A+B)\mathbf{x}=A\mathbf{x}+B\mathbf{x}=\mathbf{0}+\mathbf{0}=\mathbf{0}.<br />
	\end{align*}<br />
	Hence $\mathbf{x}$ lies in the null space of the matrix $A+B$, that is, $\mathbf{x}\in \calN(A+B)$.</p>
<p>	Since $\mathbf{x}$ is an arbitrary element of $\calN(A)\cap \calN(B)$, we have shown the inclusion<br />
	\[\calN(A)\cap \calN(B) \subset \calN(A+B),\]
	as required.</p>
<button class="simplefavorite-button has-count" data-postid="2275" 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/intersection-of-two-null-spaces-is-contained-in-null-space-of-sum-of-two-matrices/" target="_blank">Intersection of Two Null Spaces is Contained in Null Space of Sum 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/intersection-of-two-null-spaces-is-contained-in-null-space-of-sum-of-two-matrices/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">2275</post-id>	</item>
		<item>
		<title>Prove a Given Subset is a Subspace  and Find a Basis and Dimension</title>
		<link>https://yutsumura.com/prove-a-given-subset-is-a-subspace-and-find-a-basis-and-dimension/</link>
				<comments>https://yutsumura.com/prove-a-given-subset-is-a-subspace-and-find-a-basis-and-dimension/#respond</comments>
				<pubDate>Mon, 23 Jan 2017 11:30:35 +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[dimension]]></category>
		<category><![CDATA[dimension of a vector space]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[kernel of a matrix]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[matrix]]></category>
		<category><![CDATA[null space]]></category>
		<category><![CDATA[subspace]]></category>
		<category><![CDATA[system]]></category>
		<category><![CDATA[vector space]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=2033</guid>
				<description><![CDATA[<p>Let \[A=\begin{bmatrix} 4 &#038; 1\\ 3&#038; 2 \end{bmatrix}\] and consider the following subset $V$ of the 2-dimensional vector space $\R^2$. \[V=\{\mathbf{x}\in \R^2 \mid A\mathbf{x}=5\mathbf{x}\}.\] (a) Prove that the subset $V$ is a subspace of&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/prove-a-given-subset-is-a-subspace-and-find-a-basis-and-dimension/" target="_blank">Prove a Given Subset is a Subspace  and Find a Basis and Dimension</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 270</h2>
<p> Let<br />
\[A=\begin{bmatrix}<br />
  4 &#038; 1\\<br />
  3&#038; 2<br />
\end{bmatrix}\]
and consider the following subset $V$ of the 2-dimensional vector space $\R^2$.<br />
\[V=\{\mathbf{x}\in \R^2 \mid A\mathbf{x}=5\mathbf{x}\}.\]
<p><strong>(a)</strong> Prove that the subset $V$ is a subspace of $\R^2$.</p>
<p><strong>(b)</strong> Find a basis for $V$ and determine the dimension of $V$.</p>
<p>&nbsp;<br />
<span id="more-2033"></span><br />

<h2> Proof. </h2>
<h3>(a) $V$ is a subspace of $\R^2$</h3>
<p>Note that the equality $A\mathbf{x}=5\mathbf{x}$ can be written as<br />
	\[(A-5I)\mathbf{x}=\mathbf{0},\]
	where $I$ is the $2 \times 2$ matrix.<br />
If we define $B=A-5I$, then the subset $V$ becomes<br />
\begin{align*}<br />
V&#038;=\{\mathbf{x}\in \R^2 \mid B\mathbf{x}=\mathbf{0}\}\\<br />
&#038;=\calN(B),<br />
\end{align*}<br />
the null space of the matrix $B$.<br />
Since <a href="//yutsumura.com/the-null-space-the-kernel-of-a-matrix-is-a-subspace-of-rn/" target="_blank">any null space is a vector space</a>, this shows that $V$ is a subspace of $\R^2$.</p>
<h3>(b) A basis for $V$ and the dimension of $V$</h3>
<p>From part (a), we have obtained that<br />
\[V=\calN(B),\]
where<br />
\[B=A-5I=\begin{bmatrix}<br />
  -1 &#038; 1\\<br />
  3&#038; -3<br />
\end{bmatrix}.\]
Thus, $V$ is a set of solutions of the system $B\mathbf{x}=\mathbf{0}$.</p>
<p>The augmented matrix for this system is reduced as follows.<br />
\[\left[\begin{array}{rr|r}<br />
  -1 &#038; 1 &#038; 0 \\<br />
   3 &#038;-3 &#038;0<br />
\end{array} \right]
\xrightarrow{R_2+3R_1}<br />
\left[\begin{array}{rr|r}<br />
  -1 &#038; 1 &#038; 0 \\<br />
   0 &#038; 0 &#038; 0<br />
\end{array} \right]
\xrightarrow{-R_1}<br />
\left[\begin{array}{rr|r}<br />
  1 &#038; -1 &#038; 0 \\<br />
   0 &#038; 0 &#038; 0<br />
\end{array} \right].<br />
\]
<p>From this we see that the general solution $\mathbf{x}=\begin{bmatrix}<br />
  x_1 \\<br />
  x_2<br />
\end{bmatrix}$ satisfies<br />
\[x_1=x_2,\]
and thus the general solution is<br />
\[\mathbf{x}=\begin{bmatrix}<br />
  x_2 \\<br />
  x_2<br />
\end{bmatrix}=x_2\begin{bmatrix}<br />
  1 \\<br />
  1<br />
\end{bmatrix}.\]
<p>Therefore we have<br />
\begin{align*}<br />
V&#038;=\left \{ \mathbf{x} \in \R^2 \quad \middle| \quad \mathbf{x}=x_2\begin{bmatrix}<br />
  1 \\<br />
  1<br />
\end{bmatrix} \text{ for any } x_2 \in \R \right \}\\<br />
&#038;=\Span\left\{ \begin{bmatrix}<br />
  1 \\<br />
  1<br />
\end{bmatrix} \right \}.<br />
\end{align*}<br />
Thus the set<br />
\[\left\{ \begin{bmatrix}<br />
  1 \\<br />
  1<br />
\end{bmatrix} \right \}\]
is a spanning set of $V$ and it is linearly independent as it consists of only a single vector.<br />
Therefore<br />
\[\left\{ \begin{bmatrix}<br />
  1 \\<br />
  1<br />
\end{bmatrix} \right \}\]
is a basis for the subspace $V$, and thus the dimension of $V$ is $1$.</p>
<p>(Recall that the dimension of a vector space is the number of vectors in a basis for the vector space.)</p>
<button class="simplefavorite-button has-count" data-postid="2033" data-siteid="1" data-groupid="1" data-favoritecount="35" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">35</span></button><p>The post <a href="https://yutsumura.com/prove-a-given-subset-is-a-subspace-and-find-a-basis-and-dimension/" target="_blank">Prove a Given Subset is a Subspace  and Find a Basis and Dimension</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></content:encoded>
							<wfw:commentRss>https://yutsumura.com/prove-a-given-subset-is-a-subspace-and-find-a-basis-and-dimension/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">2033</post-id>	</item>
		<item>
		<title>Row Equivalent Matrix, Bases for the Null Space, Range, and Row Space of a Matrix</title>
		<link>https://yutsumura.com/row-equivalent-matrix-bases-for-the-null-space-range-and-row-space-of-a-matrix/</link>
				<comments>https://yutsumura.com/row-equivalent-matrix-bases-for-the-null-space-range-and-row-space-of-a-matrix/#comments</comments>
				<pubDate>Tue, 17 Jan 2017 20:51:29 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[basis]]></category>
		<category><![CDATA[column space]]></category>
		<category><![CDATA[elementary row operations]]></category>
		<category><![CDATA[homogeneous system]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[kernel of a matrix]]></category>
		<category><![CDATA[leading 1 method]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[linearly independent]]></category>
		<category><![CDATA[matrix]]></category>
		<category><![CDATA[null space]]></category>
		<category><![CDATA[range]]></category>
		<category><![CDATA[range of a matrix]]></category>
		<category><![CDATA[reduced row echelon form]]></category>
		<category><![CDATA[row echelon form]]></category>
		<category><![CDATA[row equivalent]]></category>
		<category><![CDATA[row space method]]></category>
		<category><![CDATA[spanning set]]></category>
		<category><![CDATA[subspace]]></category>
		<category><![CDATA[vector space]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=1970</guid>
				<description><![CDATA[<p>Let \[A=\begin{bmatrix} 1 &#038; 1 &#038; 2 \\ 2 &#038;2 &#038;4 \\ 2 &#038; 3 &#038; 5 \end{bmatrix}.\] (a) Find a matrix $B$ in reduced row echelon form such that $B$ is row equivalent&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/row-equivalent-matrix-bases-for-the-null-space-range-and-row-space-of-a-matrix/" target="_blank">Row Equivalent Matrix, Bases for the Null Space, Range, and Row 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 260</h2>
<p>	Let \[A=\begin{bmatrix}<br />
  1 &#038; 1 &#038; 2 \\<br />
   2 &#038;2 &#038;4 \\<br />
   2 &#038; 3 &#038; 5<br />
\end{bmatrix}.\]
<p><strong>(a)</strong> Find a matrix $B$ in reduced row echelon form such that $B$ is row equivalent to the matrix $A$.</p>
<p><strong>(b)</strong> Find a basis for the null space of $A$.</p>
<p><strong>(c)</strong> Find a basis for the range of $A$ that consists of columns of $A$. For each columns, $A_j$ of $A$ that does not appear in the basis, express $A_j$ as a linear combination of the basis vectors.</p>
<p><strong>(d)</strong> Exhibit a basis for the row space of $A$.</p>
<p>&nbsp;<br />
<span id="more-1970"></span></p>

<h2>Hint.</h2>
<p>In part (c), you may use the following theorem.</p>
<div style="padding: 16px; border: none 3px #4169e1; border-radius: 10px; background-color: #f0f8ff; margin-top: 30px; margin-bottom: 30px;"><strong>Theorem (leading-1 method)</strong>: If $B$ is a matrix in reduced row echelon form that is row equivalent to $A$, then all the column vectors of $A$ whose corresponding columns in $B$ have leading 1&#8217;s form a basis of the range of $A$.</div>
<p>In part (d), you may use the following theorem.</p>
<div style="padding: 16px; border: none 3px #4169e1; border-radius: 10px; background-color: #f0f8ff; margin-top: 30px; margin-bottom: 30px;"><strong>Theorem (Row-space method)</strong>: If $B$ is a matrix in (reduced) row echelon form that is row equivalent to $A$, then the nonzero rows of $B$ form a basis for the row space of $A$.</div>
<h2>Solution.</h2>
<h3>(a) Find a matrix $B$ in reduced roe echelon form such that $B$ is row equivalent to the matrix $A$.</h3>
<p> We apply the elementary row operations to the matrix $A$ and obtain<br />
	\begin{align*}<br />
A=\begin{bmatrix}<br />
  1 &#038; 1 &#038; 2 \\<br />
   2 &#038;2 &#038;4 \\<br />
   2 &#038; 3 &#038; 5<br />
\end{bmatrix}<br />
\xrightarrow{\substack{R_2-2R_1\\ R_3-2R_1}}<br />
\begin{bmatrix}<br />
  1 &#038; 1 &#038; 2 \\<br />
   0 &#038;0 &#038;0 \\<br />
   0 &#038; 1 &#038; 1<br />
\end{bmatrix}<br />
\xrightarrow{R_2 \leftrightarrow R_3}\\<br />
\begin{bmatrix}<br />
  1 &#038; 1 &#038; 2 \\<br />
   0 &#038; 1 &#038; 1\\<br />
    0 &#038;0 &#038;0<br />
\end{bmatrix}<br />
\xrightarrow{R_1-R_2}<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 />
The last matrix is in reduced row echelon form that is row equivalent to $A$.<br />
Thus we set<br />
\[B=\begin{bmatrix}<br />
  1 &#038; 0 &#038; 1 \\<br />
   0 &#038; 1 &#038; 1\\<br />
    0 &#038;0 &#038;0<br />
\end{bmatrix}.\]
<h3>(b) Find a basis for the null space of $A$.</h3>
<p> The null space $\calN(A)$ of the matrix is the set of solutions of the homogeneous system $A\mathbf{x}=\mathbf{0}$.<br />
By part (a), the augmented matrix $[A\mid \mathbf{0}]$ is row equivalent to $[B \mid \mathbf{0}]$.<br />
Thus, the solution $\mathbf{x}=\begin{bmatrix}<br />
  x_1 \\<br />
   x_2 \\<br />
    x_3<br />
  \end{bmatrix}$ must satisfy<br />
  \[x_1=-x_3 \text{ and } x_2=-x_3,\]
  where $x_3$ is a free variable.<br />
  Thus the solutions are given by<br />
  \[\mathbf{x}=\begin{bmatrix}<br />
  -x_3 \\<br />
   -x_3 \\<br />
    x_3<br />
  \end{bmatrix}=x_3\begin{bmatrix}<br />
  -1 \\<br />
   -1 \\<br />
    1<br />
  \end{bmatrix}\]
  for any number $x_3$.<br />
  Hence we have<br />
  \begin{align*}<br />
\calN(A)&#038;=\{ \mathbf{x}\in \R^3 \mid \mathbf{x}=x_3\begin{bmatrix}<br />
  -1 \\<br />
   -1 \\<br />
    1<br />
  \end{bmatrix} \text{ for any } x_3\in \R \} \\<br />
&#038;=\Span\left\{ \quad\begin{bmatrix}<br />
  -1 \\<br />
   -1 \\<br />
    1<br />
  \end{bmatrix}\quad  \right \}.<br />
\end{align*}</p>
<p>From this, we deduce that the set<br />
 \[\left\{ \quad\begin{bmatrix}<br />
  -1 \\<br />
   -1 \\<br />
    1<br />
  \end{bmatrix}\quad  \right \}\]
  is a basis for the null space of $A$.    </p>
<h3>(c) Find a basis for the range of $A$ that consists of columns of $A$. (Longer version)</h3>
<p>Let us write<br />
  \[A=\begin{bmatrix}<br />
  1 &#038; 1 &#038; 2 \\<br />
   2 &#038;2 &#038;4 \\<br />
   2 &#038; 3 &#038; 5<br />
\end{bmatrix}=[A_1, A_2, A_3],\]
  where $A_1, A_2, A_3$ are the column vectors of the matrix $A$.<br />
The range $\calR(A)$ of $A$ is the same as the column space of $A$.<br />
	Thus, it suffices to find the maximal number of linearly independent vectors among the column vectors $A_1, A_2, A_3$.<br />
	Consider the linear combination<br />
	\[x_1A_1+x_2A_2+x_3A_3=\mathbf{0}. \tag{*} \]
	Then this is equivalent to the homogeneous system<br />
	\[A\mathbf{x}=\mathbf{0}\]
	and we already found the solutions in part (b):<br />
	\[x_1=-x_3 \text{ and } x_2=-x_3.\]
	This tells us the vectors $A_1, A_2, A_3$ are linearly dependent.<br />
    For example, $x_1=-1, x_2=-1, x_3=1$ is a nonzero solution of the system (*).<br />
    Thus, we have<br />
    \[\calR(A)=\Span(A_1, A_2, A_3)=\Span(A_1, A_2).\]
<p>	On the other hand, if we consider only $A_1$ and $A_2$, they are linearly independent.<br />
	(To see this, you just need to repeat the above argument without $A_3$. This amounts to just ignoring the third columns in the computations.)</p>
<p>	Therefore, the set $\{A_1, A_2\}$ is a linearly independent spanning set for the range.<br />
	Hence a basis of the range consisting column vectors of $A$ is<br />
	\[\{A_1, A_2\}.\]
<p>The only column vector which is not a basis vector is $A_3$.<br />
We already found that $x_1=-1, x_2=-1, x_3=1$ is a nonzero solution of (*).<br />
Thus we have<br />
\[-A_1-A_2+A_3=\mathbf{0}.\]
Solving this for $A_3$, we obtain the linear combination for $A_3$ of the basis vectors:<br />
\[A_3=A_1+A_2.\]
<h4>(c) A shorter solution using the leading 1 method</h4>
<p>Here is a shorter solution which uses the following theorem.</p>
<p>Theorem (leading-1 method): If $B$ is a matrix in reduced row echelon form that is row equivalent to $A$, then all the column vectors of $A$ whose corresponding columns in $B$ have leading 1&#8217;s form a basis of the range of $A$.</p>
<p>Looking at the matrix $B$, we see that the first and the second columns of $B$ have leading 1&#8217;s. Thus the first and the second column vectors of $A$ form a basis for the range of $A$.</p>
<h3>(d) Exhibit a basis for the row space of $A$.</h3>
<p> We use the following theorem.</p>
<p>Theorem (Row-space method): If $B$ is a matrix in (reduced) row echelon form that is row equivalent to $A$, then the nonzero rows of $B$ form a basis for the row space of $A$.</p>
<p>We have already found such $B$ in part (a), and the first and the second row vectors are nonzero. Thus they form a basis for the row space of $A$.<br />
Hence a basis for the row space of $A$ is<br />
\[\left\{\,\begin{bmatrix}<br />
  1 \\<br />
   0 \\<br />
    1<br />
  \end{bmatrix}, \begin{bmatrix}<br />
  0 \\<br />
   1 \\<br />
    1<br />
  \end{bmatrix} \, \right \}.\]
<h2>Comment.</h2>
<p>The longer solution of part (c) is essentially the proof of Theorem (leading 1 method).<br />
It is good to know where the theorem came from, but when you solve a problem you may forget and just use the theorem like the shorter solution of (c).</p>
<button class="simplefavorite-button has-count" data-postid="1970" data-siteid="1" data-groupid="1" data-favoritecount="40" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">40</span></button><p>The post <a href="https://yutsumura.com/row-equivalent-matrix-bases-for-the-null-space-range-and-row-space-of-a-matrix/" target="_blank">Row Equivalent Matrix, Bases for the Null Space, Range, and Row 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/row-equivalent-matrix-bases-for-the-null-space-range-and-row-space-of-a-matrix/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">1970</post-id>	</item>
		<item>
		<title>Find a Matrix so that a Given Subset is the Null Space of the Matrix, hence it&#8217;s a Subspace</title>
		<link>https://yutsumura.com/find-a-matrix-so-that-a-given-subset-is-the-null-space-of-the-matrix-hence-its-a-subspace/</link>
				<comments>https://yutsumura.com/find-a-matrix-so-that-a-given-subset-is-the-null-space-of-the-matrix-hence-its-a-subspace/#respond</comments>
				<pubDate>Thu, 12 Jan 2017 19:05:07 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[kernel of a matrix]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[matrix]]></category>
		<category><![CDATA[null space]]></category>
		<category><![CDATA[subspace]]></category>
		<category><![CDATA[vector space]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=1911</guid>
				<description><![CDATA[<p>Let $W$ be the subset of $\R^3$ defined by \[W=\left \{ \mathbf{x}=\begin{bmatrix} x_1 \\ x_2 \\ x_3 \end{bmatrix}\in \R^3 \quad \middle&#124; \quad 5x_1-2x_2+x_3=0 \right \}.\] Exhibit a $1\times 3$ matrix $A$ such that $W=\calN(A)$,&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/find-a-matrix-so-that-a-given-subset-is-the-null-space-of-the-matrix-hence-its-a-subspace/" target="_blank">Find a Matrix so that a Given Subset is the Null Space of the Matrix, hence it's a Subspace</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 252</h2>
<p>	Let $W$ be the subset of $\R^3$ defined by<br />
	\[W=\left \{ \mathbf{x}=\begin{bmatrix}<br />
	  x_1 \\<br />
	   x_2 \\<br />
	    x_3<br />
	  \end{bmatrix}\in \R^3 \quad \middle| \quad 5x_1-2x_2+x_3=0 \right \}.\]
	  Exhibit a $1\times 3$ matrix $A$ such that $W=\calN(A)$, the null space of $A$.<br />
	  Conclude that the subset $W$ is a subspace of $\R^3$.</p>
<p>&nbsp;<br />
<span id="more-1911"></span></p>
<h2>Solution.</h2>
<p>	  	Note that the defining equation $5x_1-2x_2+x_3=0$ can be written as<br />
	  	\[\begin{bmatrix}<br />
	  5 &#038; -2 &#038; 1 \\<br />
	  \end{bmatrix}\begin{bmatrix}<br />
	  x_1 \\<br />
	   x_2 \\<br />
	    x_3<br />
	  \end{bmatrix}=0.\]
<p>	  Hence if we put $A=\begin{bmatrix}<br />
	  5 &#038; -2 &#038; 1 \\<br />
	  \end{bmatrix}$, then the defining equation becomes<br />
	  \[A\mathbf{x}=0.\]
	  Hence, we have<br />
	  \[W=\{x \in \R^3 \mid A\mathbf{x}=0\},\]
	  which is exactly the null space of the $1\times 3$ matrix $A$.<br />
	  Hence we have proved that $W=\calN(A)$.</p>
<p>	  In general, the null space of an $m\times n$ matrix is a subspace of the vector space $\R^n$.<br />
 (See 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>.)<br />
	  Since we showed that $W$ is the null space of $1\times 3$ matrix $A$, we conclude that $W$ is a subspace of $\R^3$.</p>
<button class="simplefavorite-button has-count" data-postid="1911" 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/find-a-matrix-so-that-a-given-subset-is-the-null-space-of-the-matrix-hence-its-a-subspace/" target="_blank">Find a Matrix so that a Given Subset is the Null Space of the Matrix, hence it's a Subspace</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></content:encoded>
							<wfw:commentRss>https://yutsumura.com/find-a-matrix-so-that-a-given-subset-is-the-null-space-of-the-matrix-hence-its-a-subspace/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">1911</post-id>	</item>
		<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>Dimension of Null Spaces of Similar Matrices are the Same</title>
		<link>https://yutsumura.com/dimension-of-null-spaces-of-similar-matrices-are-the-same/</link>
				<comments>https://yutsumura.com/dimension-of-null-spaces-of-similar-matrices-are-the-same/#respond</comments>
				<pubDate>Sat, 17 Dec 2016 21:19:43 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[invertible matrix]]></category>
		<category><![CDATA[isomorphism]]></category>
		<category><![CDATA[isomorphism of vector spaces]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[kernel of a matrix]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[linear transformation]]></category>
		<category><![CDATA[matrix]]></category>
		<category><![CDATA[null space]]></category>
		<category><![CDATA[nullity]]></category>
		<category><![CDATA[similar]]></category>
		<category><![CDATA[similar matrix]]></category>
		<category><![CDATA[subspace]]></category>
		<category><![CDATA[vector space]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=1571</guid>
				<description><![CDATA[<p>Suppose that $n\times n$ matrices $A$ and $B$ are similar. Then show that the nullity of $A$ is equal to the nullity of $B$. In other words, the dimension of the null space (kernel)&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/dimension-of-null-spaces-of-similar-matrices-are-the-same/" target="_blank">Dimension of Null Spaces of Similar Matrices are the Same</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 222</h2>
<p> Suppose that $n\times n$ matrices $A$ and $B$ are similar.</p>
<p> Then show that the nullity of $A$ is equal to the nullity of $B$.<br />
 In other words, the dimension of the null space (kernel) $\calN(A)$ of $A$ is the same as the dimension of the null space $\calN(B)$ of $B$.</p>
<p>&nbsp;<br />
<span id="more-1571"></span><br />

<h2>Definitions/Hint.</h2>
<p>The <strong>null space (kernel)</strong> of an $m \times n$ matrix $A$ is the subspace of $\R^m$ defined by<br />
\[\calN(A)=\{\mathbf{x} \in \R^m \mid A\mathbf{x}=\mathbf{0}\}.\]
<p>Two matrices $A$ and $B$ are <strong>similar</strong> if there exists an invertible matrix $S$ such that<br />
\[A=S^{-1}BS.\]
<p>To show that the dimensions of $\calN(A)$ and $\calN(B)$ are equal, find an isomorphism between these vector spaces using the fact that matrices $A$ and $B$ are similar.</p>
<h2> Proof. </h2>
<p>	Since $A$ and $B$ are similar, there exists an invertible matrix $S$ such that<br />
	\[A=S^{-1}BS.\]
	Observe that if $\mathbf{x}\in \calN(A)$, then we have<br />
	\begin{align*}<br />
A\mathbf{x}=\mathbf{0}\\<br />
\Leftrightarrow<br />
(S^{-1}BS)\mathbf{x}=\mathbf{0}\\<br />
\Leftrightarrow<br />
B(S\mathbf{x})=\mathbf{0}.<br />
\end{align*}</p>
<p>Therefore we have<br />
\[S\mathbf{x} \in \calN(B).\]
From this observation, we define the map<br />
\[\Psi: \calN(A) \to \calN(B)\]
by sending $\mathbf{x} \in \calN(A)$ to $S\mathbf{x}\in \calN(B)$.</p>
<hr />
<p>We claim that the map $\Psi$ is an isomorphism of vector spaces.</p>
<p>To see that $\Psi$ is a linear transformation, let $\mathbf{x}, \mathbf{y} \in \calN(A)$, and $c$ be a scalar.<br />
Then we have<br />
\begin{align*}<br />
\Psi(\mathbf{x}+\mathbf{y})=S(\mathbf{x}+\mathbf{y})=S\mathbf{x}+S\mathbf{y}=\Psi(\mathbf{x})+\Psi(\mathbf{y})<br />
\end{align*}<br />
and<br />
\begin{align*}<br />
\Psi(c\mathbf{x})=S(c\mathbf{x})=cS\mathbf{x}=c\Psi(\mathbf{x}).<br />
\end{align*}<br />
Thus $\Psi$ is a linear transformation.</p>
<hr />
<p>To show that $\Psi$ is an isomorphism, we give the inverse linear transformation of $\Psi$.</p>
<p>We define $\Phi:\calN(B) \to \calN(A)$ to be a map sending $\mathbf{x} \in \calN(B)$ to $S^{-1}\mathbf{x} \in \calN(A)$.<br />
By a similar argument as above, we can show that the element $S^{-1}\mathbf{x}$ is indeed in $\calN(A)$ and $\Phi$ is a linear transformation and it is straightforward to see that $\Psi\circ \Phi=\id_{\calN(B)}$ and $\Phi \circ \Psi=\id_{\calN(A)}$.<br />
Hence $\Phi$ is the inverse of $\Psi$, and $\Psi$ is an isomorphism. </p>
<p>Therefore the vector spaces $\calN(A)$ and $\calN(B)$ are isomorphic, and hence their dimensions are the same.</p>
<h2>Comment.</h2>
<p>Instead of finding the inverse linear transformation, you may directly show that the map $\Psi$ is bijective (injective and surjective).</p>
<button class="simplefavorite-button has-count" data-postid="1571" data-siteid="1" data-groupid="1" data-favoritecount="8" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">8</span></button><p>The post <a href="https://yutsumura.com/dimension-of-null-spaces-of-similar-matrices-are-the-same/" target="_blank">Dimension of Null Spaces of Similar Matrices are the Same</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></content:encoded>
							<wfw:commentRss>https://yutsumura.com/dimension-of-null-spaces-of-similar-matrices-are-the-same/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">1571</post-id>	</item>
		<item>
		<title>How to Diagonalize a Matrix. Step by Step Explanation.</title>
		<link>https://yutsumura.com/how-to-diagonalize-a-matrix-step-by-step-explanation/</link>
				<comments>https://yutsumura.com/how-to-diagonalize-a-matrix-step-by-step-explanation/#comments</comments>
				<pubDate>Tue, 06 Dec 2016 04:59:26 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[algebraic multiplicity]]></category>
		<category><![CDATA[characteristic polynomial]]></category>
		<category><![CDATA[defective matrix]]></category>
		<category><![CDATA[diagonal matrix]]></category>
		<category><![CDATA[diagonalizable]]></category>
		<category><![CDATA[diagonalizable matrix]]></category>
		<category><![CDATA[diagonalization]]></category>
		<category><![CDATA[eigenspace]]></category>
		<category><![CDATA[eigenvalue]]></category>
		<category><![CDATA[eigenvector]]></category>
		<category><![CDATA[geometric multiplicity]]></category>
		<category><![CDATA[inverse matrix]]></category>
		<category><![CDATA[kernel of a matrix]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[linearly independent]]></category>
		<category><![CDATA[nonsingular matrix]]></category>
		<category><![CDATA[null space]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=1515</guid>
				<description><![CDATA[<p>In this post, we explain how to diagonalize a matrix if it is diagonalizable. As an example, we solve the following problem. Diagonalize the matrix \[A=\begin{bmatrix} 4 &#38; -3 &#38; -3 \\ 3 &#38;-2&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/how-to-diagonalize-a-matrix-step-by-step-explanation/" target="_blank">How to Diagonalize a Matrix. Step by Step Explanation.</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2>Problem 211</h2>
<p>In this post, we explain how to diagonalize a matrix if it is diagonalizable.</p>
<p>As an example, we solve the following problem.</p>
<p>Diagonalize the matrix<br />
\[A=\begin{bmatrix}<br />
4 &amp; -3 &amp; -3 \\<br />
3 &amp;-2 &amp;-3 \\<br />
-1 &amp; 1 &amp; 2<br />
\end{bmatrix}\]
by finding a nonsingular matrix $S$ and a diagonal matrix $D$ such that $S^{-1}AS=D$.</p>
<p>(Update 10/15/2017. A new example problem was added.)<br />
<span id="more-1515"></span><br />

Here we explain how to diagonalize a matrix. We only describe the procedure of diagonalization, and no justification will be given.<br />
The process can be summarized as follows. A concrete example is provided below, and several exercise problems are presented at the end of the post. </p>
<h2>Diagonalization Procedure</h2>
<p>Let $A$ be the $n\times n$ matrix that you want to diagonalize (if possible).</p>
<ol>
<li>Find the characteristic polynomial $p(t)$ of $A$.</li>
<li>Find eigenvalues $\lambda$ of the matrix $A$ and their algebraic multiplicities from the characteristic polynomial $p(t)$.</li>
<li>For each eigenvalue $\lambda$ of $A$, find a basis of the eigenspace $E_{\lambda}$.<br />
If there is an eigenvalue $\lambda$ such that the geometric multiplicity of $\lambda$, $\dim(E_{\lambda})$, is less than the algebraic multiplicity of $\lambda$, then the matrix $A$ is not diagonalizable. If not, $A$ is diagonalizable, and proceed to the next step.</li>
<li>If we combine all basis vectors for all eigenspaces, we obtained $n$ linearly independent eigenvectors $\mathbf{v}_1, \mathbf{v}_2, \dots, \mathbf{v}_n$.</li>
<li>Define the nonsingular matrix<br />
\[S=[\mathbf{v}_1 \mathbf{v}_2 \dots \mathbf{v}_n] .\]</li>
<li>Define the diagonal matrix $D$, whose $(i,i)$-entry is the eigenvalue $\lambda$ such that the $i$-th column vector $\mathbf{v}_i$ is in the eigenspace $E_{\lambda}$.</li>
<li>Then the matrix $A$ is diagonalized as \[ S^{-1}AS=D.\]</li>
</ol>
<h2>Example of a matrix diagonalization</h2>
<p>Now let us examine these steps with an example.<br />
Let us consider the following $3\times 3$ matrix.<br />
\[A=\begin{bmatrix}<br />
4 &amp; -3 &amp; -3 \\<br />
3 &amp;-2 &amp;-3 \\<br />
-1 &amp; 1 &amp; 2<br />
\end{bmatrix}.\]
We want to diagonalize the matrix if possible.</p>
<h3>Step 1: Find the characteristic polynomial</h3>
<p>The characteristic polynomial $p(t)$ of $A$ is<br />
\[p(t)=\det(A-tI)=\begin{vmatrix}<br />
4-t &amp; -3 &amp; -3 \\<br />
3 &amp;-2-t &amp;-3 \\<br />
-1 &amp; 1 &amp; 2-t<br />
\end{vmatrix}.\]
Using the cofactor expansion, we get<br />
\[p(t)=-(t-1)^2(t-2).\]
<h3>Step 2: Find the eigenvalues</h3>
<p>From the characteristic polynomial obtained in Step 1, we see that eigenvalues are<br />
\[\lambda=1 \text{ with algebraic multiplicity } 2\]
and<br />
\[\lambda=2 \text{ with algebraic multiplicity } 1.\]
<h3>Step 3: Find the eigenspaces</h3>
<p>Let us first find the eigenspace $E_1$ corresponding to the eigenvalue $\lambda=1$.<br />
By definition, $E_1$ is the null space of the matrix<br />
\[A-I=\begin{bmatrix}<br />
3 &amp; -3 &amp; -3 \\<br />
3 &amp;-3 &amp;-3 \\<br />
-1 &amp; 1 &amp; 1<br />
\end{bmatrix}<br />
\rightarrow<br />
\begin{bmatrix}<br />
1 &amp; -1 &amp; -1 \\<br />
0 &amp;0 &amp;0 \\<br />
0 &amp; 0 &amp; 0<br />
\end{bmatrix}\]
by elementary row operations.<br />
Hence if $(A-I)\mathbf{x}=\mathbf{0}$ for $\mathbf{x}\in \R^3$, we have<br />
\[x_1=x_2+x_3.\]
Therefore, we have<br />
\begin{align*}<br />
E_1=\calN(A-I)=\left \{\quad \mathbf{x}\in \R^3 \quad \middle| \quad \mathbf{x}=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} \quad \right \}.<br />
\end{align*}<br />
From this, we see that the set<br />
\[\left\{\quad\begin{bmatrix}<br />
1 \\<br />
1 \\<br />
0<br />
\end{bmatrix},\quad \begin{bmatrix}<br />
1 \\<br />
0 \\<br />
1<br />
\end{bmatrix}\quad \right\}\]
is a basis for the eigenspace $E_1$.<br />
Thus, the dimension of $E_1$, which is the geometric multiplicity of $\lambda=1$, is $2$.</p>
<p>Similarly, we find a basis of the eigenspace $E_2=\calN(A-2I)$ for the eigenvalue $\lambda=2$.<br />
We have<br />
\begin{align*}<br />
A-2I=\begin{bmatrix}<br />
2 &amp; -3 &amp; -3 \\<br />
3 &amp;-4 &amp;-3 \\<br />
-1 &amp; 1 &amp; 0<br />
\end{bmatrix}<br />
\rightarrow \cdots \rightarrow \begin{bmatrix}<br />
1 &amp; 0 &amp; 3 \\<br />
0 &amp;1 &amp;3 \\<br />
0 &amp; 0 &amp; 0<br />
\end{bmatrix}<br />
\end{align*}<br />
by elementary row operations.<br />
Then if $(A-2I)\mathbf{x}=\mathbf{0}$ for $\mathbf{x}\in \R^3$, then we have<br />
\[x_1=-3x_3 \text{ and } x_2=-3x_3.\]
Therefore we obtain<br />
\begin{align*}<br />
E_2=\calN(A-2I)=\left \{\quad \mathbf{x}\in \R^3 \quad \middle| \quad \mathbf{x}=x_3\begin{bmatrix}<br />
-3 \\<br />
-3 \\<br />
1<br />
\end{bmatrix} \quad \right \}.<br />
\end{align*}<br />
From this we see that the set<br />
\[\left \{ \quad \begin{bmatrix}<br />
-3 \\<br />
-3 \\<br />
1<br />
\end{bmatrix} \quad \right \}\]
is a basis for the eigenspace $E_2$ and the geometric multiplicity is $1$.</p>
<p>Since for both eigenvalues, the geometric multiplicity is equal to the algebraic multiplicity, the matrix $A$ is not defective, and hence diagonalizable.</p>
<h3>Step 4: Determine linearly independent eigenvectors</h3>
<p>From Step 3, the vectors<br />
\[\mathbf{v}_1=\begin{bmatrix}<br />
1 \\<br />
1 \\<br />
0<br />
\end{bmatrix}, \mathbf{v}_2=\begin{bmatrix}<br />
1 \\<br />
0 \\<br />
1<br />
\end{bmatrix}, \mathbf{v}_3=\begin{bmatrix}<br />
-3 \\<br />
-3 \\<br />
1<br />
\end{bmatrix} \]
are linearly independent eigenvectors.</p>
<h3>Step 5: Define the invertible matrix $S$</h3>
<p>Define the matrix $S=[\mathbf{v}_1 \mathbf{v}_2 \mathbf{v}_3]$. Thus we have<br />
\[S=\begin{bmatrix}<br />
1 &amp; 1 &amp; -3 \\<br />
1 &amp;0 &amp;-3 \\<br />
0 &amp; 1 &amp; 1<br />
\end{bmatrix}\]
and the matrix $S$ is nonsingular (since the column vectors are linearly independent).</p>
<h3>Step 6: Define the diagonal matrix $D$</h3>
<p>Define the diagonal matrix<br />
\[D=\begin{bmatrix}<br />
1 &amp; 0 &amp; 0 \\<br />
0 &amp;1 &amp;0 \\<br />
0 &amp; 0 &amp; 2<br />
\end{bmatrix}.\]
Note that $(1,1)$-entry of $D$ is $1$ because the first column vector $\mathbf{v}_1=\begin{bmatrix}<br />
1 \\<br />
1 \\<br />
0<br />
\end{bmatrix}$ of $S$ is in the eigenspace $E_1$, that is, $\mathbf{v}_1$ is an eigenvector corresponding to eigenvalue $\lambda=1$.<br />
Similarly, the $(2,2)$-entry of $D$ is $1$ because the second column $\mathbf{v}_2=\begin{bmatrix}<br />
1 \\<br />
0 \\<br />
1<br />
\end{bmatrix}$ of $S$ is in $E_1$.<br />
The $(3,3)$-entry of $D$ is $2$ because the third column vector $\mathbf{v}_3=\begin{bmatrix}<br />
-3 \\<br />
-3 \\<br />
1<br />
\end{bmatrix}$ of $S$ is in $E_2$.</p>
<p>(The order you arrange the vectors $\mathbf{v}_1, \mathbf{v_2}, \mathbf{v}_3$ to form $S$ does not matter but once you made $S$, then the order of the diagonal entries is determined by $S$, that is, the order of eigenvectors in $S$.)</p>
<h3>Step 7: Finish the diagonalization</h3>
<p>Finally, we can diagonalize the matrix $A$ as<br />
\[S^{-1}AS=D,\]
where<br />
\[S=\begin{bmatrix}<br />
1 &amp; 1 &amp; -3 \\<br />
1 &amp;0 &amp;-3 \\<br />
0 &amp; 1 &amp; 1<br />
\end{bmatrix} \text{ and } D=\begin{bmatrix}<br />
1 &amp; 0 &amp; 0 \\<br />
0 &amp;1 &amp;0 \\<br />
0 &amp; 0 &amp; 2<br />
\end{bmatrix}.\]
(Here you don&#8217;t have to find the inverse matrix $S^{-1}$ unless you are asked to do so.)</p>
<p>&nbsp;<br />
&nbsp;</p>
<h2>Diagonalization Problems and Examples</h2>
<p>Check out the following problems about the diagonalization of a matrix to see if you understand the procedure.</p>
<div style="padding: 16px; border: none 3px #4169e1; border-radius: 10px; background-color: #f0f8ff; margin-top: 30px; margin-bottom: 30px;">
<strong>Problem</strong>. Diagonalize \[A=\begin{bmatrix}<br />
	  1 &#038; 2\\<br />
	  4&#038; 3<br />
	\end{bmatrix}\]
and compute $A^{100}$.
</div>
<p>For a solution of this problem and related questions, see the post &#8220;<a href="//yutsumura.com/diagonalize-a-2-by-2-matrix-a-and-calculate-the-power-a100/" target="_blank">Diagonalize a 2 by 2 Matrix $A$ and Calculate the Power $A^{100}$</a>&#8220;.</p>
<div style="padding: 16px; border: none 3px #4169e1; border-radius: 10px; background-color: #f0f8ff; margin-top: 30px; margin-bottom: 30px;">
<strong>Problem</strong>. Determine whether the matrix<br />
	\[A=\begin{bmatrix}<br />
	  0 &#038; 1 &#038; 0 \\<br />
	   -1 &#038;0 &#038;0 \\<br />
	   0 &#038; 0 &#038; 2<br />
	\end{bmatrix}\]
	is diagonalizable. If it is diagonalizable, then find the invertible matrix $S$ and a diagonal matrix $D$ such that $S^{-1}AS=D$.</div>
<p>For a solution, check out the post &#8220;<a href="//yutsumura.com/diagonalize-the-3-by-3-matrix-if-it-is-diagonalizable/" target="_blank">Diagonalize the 3 by 3 Matrix if it is Diagonalizable</a>&#8220;.</p>
<div style="padding: 16px; border: none 3px #4169e1; border-radius: 10px; background-color: #f0f8ff; margin-top: 30px; margin-bottom: 30px;">
<strong>Problem</strong>. Let<br />
	\[A=\begin{bmatrix}<br />
	  2 &#038; -1 &#038; -1 \\<br />
	   -1 &#038;2 &#038;-1 \\<br />
	   -1 &#038; -1 &#038; 2<br />
	\end{bmatrix}.\]
	Determine whether the matrix $A$ is diagonalizable. If it is diagonalizable, then diagonalize $A$.
</div>
<p>For a solution, see the post &#8220;<a href="//yutsumura.com/quiz-13-part-1-diagonalize-a-matrix/" target="_blank">Quiz 13 (Part 1) Diagonalize a matrix.</a>&#8220;.</p>
<div style="padding: 16px; border: none 3px #4169e1; border-radius: 10px; background-color: #f0f8ff; margin-top: 30px; margin-bottom: 30px;">
<strong>Problem</strong>. Diagonalize the matrix<br />
	\[A=\begin{bmatrix}<br />
	  1 &#038; 1 &#038; 1 \\<br />
	   1 &#038;1 &#038;1 \\<br />
	   1 &#038; 1 &#038; 1<br />
	\end{bmatrix}.\]
</div>
<p>In the solution given in the post &#8220;<a href="//yutsumura.com/diagonalize-the-3-by-3-matrix-whose-entries-are-all-one/" target="_blank">Diagonalize the 3 by 3 Matrix Whose Entries are All One</a>&#8220;, we use an indirect method to find eigenvalues and eigenvectors.</p>
<p>The next problem is a diagonalization problem of a matrix with variables.</p>
<div style="padding: 16px; border: none 3px #4169e1; border-radius: 10px; background-color: #f0f8ff; margin-top: 30px; margin-bottom: 30px;">
<strong>Problem</strong>.<br />
Diagonalize the complex matrix<br />
\[A=\begin{bmatrix}<br />
  a &#038; b-a\\<br />
  0&#038; b<br />
		\end{bmatrix}.\]
Using the result of the diagonalization, compute $A^k$ for each $k\in \N$.
</div>
<p>The solution is given in the post&#8628;<br />
<a href="//yutsumura.com/diagonalize-the-upper-triangular-matrix-and-find-the-power-of-the-matrix/" rel="noopener" target="_blank">Diagonalize the Upper Triangular Matrix and Find the Power of the Matrix</a></p>
<h3>A Hermitian Matrix can be diagonalized by a unitary matrix</h3>
<div style="padding: 16px; border: none 3px #4169e1; border-radius: 10px; background-color: #f0f8ff; margin-top: 30px; margin-bottom: 30px;">
<strong>Theorem</strong>. If $A$ is a Hermitian matrix, then $A$ can be diagonalized by a unitary matrix $U$.
</div>
<p>This means that there exists a unitary matrix $U$ such that $U^{-1}AU$ is a diagonal matrix.</p>
<div style="padding: 16px; border: none 3px #4169e1; border-radius: 10px; background-color: #f0f8ff; margin-top: 30px; margin-bottom: 30px;">
<strong>Problem</strong>.<br />
Diagonalize the Hermitian matrix<br />
\[A=\begin{bmatrix}<br />
  1 &#038; i\\<br />
  -i&#038; 1<br />
		\end{bmatrix}\]
by a unitary matrix.
</div>
<p>The solution is given in the post &#8628;<br />
<a href="//yutsumura.com/diagonalize-the-2times-2-hermitian-matrix-by-a-unitary-matrix/" rel="noopener" target="_blank">Diagonalize the $2\times 2$ Hermitian Matrix by a Unitary Matrix</a></p>
<h3> More diagonalization problems </h3>
<p>More Problems related to the diagonalization of a matrix are gathered in the following page:</p>
<p><a href="//yutsumura.com/linear-algebra/diagonalization-of-matrices/" rel="noopener" target="_blank">Diagonalization of Matrices</a></p>
<button class="simplefavorite-button has-count" data-postid="1515" data-siteid="1" data-groupid="1" data-favoritecount="124" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">124</span></button><p>The post <a href="https://yutsumura.com/how-to-diagonalize-a-matrix-step-by-step-explanation/" target="_blank">How to Diagonalize a Matrix. Step by Step Explanation.</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></content:encoded>
							<wfw:commentRss>https://yutsumura.com/how-to-diagonalize-a-matrix-step-by-step-explanation/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">1515</post-id>	</item>
		<item>
		<title>Range, Null Space, Rank, and Nullity of a Linear Transformation from $\R^2$ to $\R^3$</title>
		<link>https://yutsumura.com/range-null-space-rank-and-nullity-of-a-linear-transformation-from-r2-to-r3/</link>
				<comments>https://yutsumura.com/range-null-space-rank-and-nullity-of-a-linear-transformation-from-r2-to-r3/#comments</comments>
				<pubDate>Sat, 22 Oct 2016 03:54:37 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[column space]]></category>
		<category><![CDATA[elementary row operations]]></category>
		<category><![CDATA[Gauss-Jordan elimination]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[kernel of a linear transformation]]></category>
		<category><![CDATA[kernel of a matrix]]></category>
		<category><![CDATA[leading 1 method]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[linear transformation]]></category>
		<category><![CDATA[matrix for linear transformation]]></category>
		<category><![CDATA[null space]]></category>
		<category><![CDATA[nullity]]></category>
		<category><![CDATA[nullity of a linear transformation]]></category>
		<category><![CDATA[nullity of a matrix]]></category>
		<category><![CDATA[range]]></category>
		<category><![CDATA[rank]]></category>
		<category><![CDATA[rank of a linear transformation]]></category>
		<category><![CDATA[rank of a matrix]]></category>
		<category><![CDATA[rank-nullity theorem]]></category>
		<category><![CDATA[reduced row echelon form]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=1243</guid>
				<description><![CDATA[<p>Define the map $T:\R^2 \to \R^3$ by $T \left ( \begin{bmatrix} x_1 \\ x_2 \end{bmatrix}\right )=\begin{bmatrix} x_1-x_2 \\ x_1+x_2 \\ x_2 \end{bmatrix}$. (a) Show that $T$ is a linear transformation. (b) Find a matrix&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/range-null-space-rank-and-nullity-of-a-linear-transformation-from-r2-to-r3/" target="_blank">Range, Null Space, Rank, and Nullity of a Linear Transformation from $\R^2$ to $\R^3$</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 154</h2>
<p>    Define the map $T:\R^2 \to \R^3$ by $T \left ( \begin{bmatrix}<br />
  x_1 \\<br />
  x_2<br />
\end{bmatrix}\right )=\begin{bmatrix}<br />
  x_1-x_2 \\<br />
   x_1+x_2 \\<br />
    x_2<br />
  \end{bmatrix}$.</p>
<p><strong>(a) </strong>Show that $T$ is a linear transformation.</p>
<p><strong>(b)</strong> Find a matrix $A$ such that $T(\mathbf{x})=A\mathbf{x}$ for each $\mathbf{x} \in \R^2$.</p>
<p><strong>(c)</strong> Describe the null space (kernel) and the range of $T$ and give the rank and the nullity of $T$.</p>
<p>&nbsp;<br />
<span id="more-1243"></span><br />

<h2> Proof. </h2>
<h3>(a) Show that $T$ is a linear transformation.</h3>
<p>	To show that $T: \R^2 \to \R^3$ is a linear transformation, the map $T$ needs to satisfy:</p>
<div style="padding: 16px; border: none 3px #4169e1; border-radius: 10px; background-color: #f0f8ff; margin-top: 30px; margin-bottom: 30px;">
(i) $T(\mathbf{u}+\mathbf{v})=T(\mathbf{u})+T(\mathbf{v})$ for any $\mathbf{u}, \mathbf{v}\in \R^2$, and<br />
(ii) $T(c\mathbf{v})=cT(\mathbf{v})$ for any $\mathbf{v} \in \R^2$ and $c\in \R$.
</div>
<hr />
<p>	To check (i), let<br />
	\[\mathbf{u}=\begin{bmatrix}<br />
  u_1 \\<br />
   u_2<br />
  \end{bmatrix}, \mathbf{v}=\begin{bmatrix}<br />
  v_1 \\<br />
  v_2<br />
\end{bmatrix}\in \R^2.\]
We have<br />
	\begin{align*}<br />
T(\mathbf{u}+\mathbf{v})&#038;=T\left( \begin{bmatrix}<br />
  u_1+v_1 \\<br />
  u_2+v_2<br />
\end{bmatrix} \right) =\begin{bmatrix}<br />
  (u_1+v_1)-(u_2+v_2) \\<br />
   (u_1+v_1)+(u_2+v_2) \\<br />
    u_2+v_2<br />
  \end{bmatrix}\\[6pt]
  &#038;=<br />
  \begin{bmatrix}<br />
  (u_1-u_2)+(v_1-v_2) \\<br />
   (u_1+u_2)+(v_1+v_2) \\<br />
    u_2+v_2<br />
  \end{bmatrix}<br />
  =<br />
    \begin{bmatrix}<br />
  u_1-u_2\\<br />
   u_1+u_2 \\<br />
    u_2<br />
      \end{bmatrix}+<br />
    \begin{bmatrix}<br />
  v_1-v_2 \\<br />
   v_1+v_2 \\<br />
    v_2<br />
  \end{bmatrix}\\[6pt]
  &#038;=T(\mathbf{u})+T(\mathbf{v}).<br />
  \end{align*}<br />
  Thus condition (i) holds.</p>
<hr />
<p>  To check (ii), consider any $\mathbf{v}=\begin{bmatrix}<br />
  v_1 \\<br />
  v_2<br />
\end{bmatrix}$ and $c\in \R$.<br />
Then we have<br />
\begin{align*}<br />
T(c\mathbf{v})=&#038;T\left( \begin{bmatrix}<br />
  cv_1 \\<br />
  cv_2<br />
\end{bmatrix}<br />
\right)<br />
= \begin{bmatrix}<br />
  cv_1-cv_2 \\<br />
   cv_1+cv_2 \\<br />
    cv_2<br />
  \end{bmatrix}\\[6pt]
  &#038;= c\begin{bmatrix}<br />
  v_1-v_2 \\<br />
   v_1+v_2 \\<br />
    v_2<br />
  \end{bmatrix}<br />
  =cT(\mathbf{v}).<br />
\end{align*}<br />
Thus condition (ii) is met and the map $T$ is a linear transformation from $\R^2$ to $\R^3$.</p>
<h3>(b) Find a matrix $A$ such that $T(\mathbf{x})=A\mathbf{x}$ for each $\mathbf{x} \in \R^2$.</h3>
<p><strong>(b)</strong> Let<br />
\[\mathbf{e}_1=\begin{bmatrix}<br />
  1 \\<br />
  0<br />
\end{bmatrix}, \mathbf{e}_2=\begin{bmatrix}<br />
  0 \\<br />
  1<br />
\end{bmatrix}\]
be the standard basis vectors of $\R^2$.<br />
The matrix $A$ satisfying $T(\mathbf{x})=A\mathbf{x}$ can be obtained as<br />
\[A=[T(\mathbf{e}_1)\quad T(\mathbf{e}_2)].\]
Since we have<br />
\[T(\mathbf{e}_1)=\begin{bmatrix}<br />
  1 \\<br />
   1 \\<br />
    0<br />
  \end{bmatrix} \text{ and } T(\mathbf{e}_2)=\begin{bmatrix}<br />
  -1 \\<br />
   1 \\<br />
    1<br />
  \end{bmatrix},\]
  we obtain the matrix<br />
  \[A=\begin{bmatrix}<br />
  1 &#038; -1 \\<br />
   1  &#038; 1 \\<br />
   0 &#038;1<br />
\end{bmatrix}.\]
<h3>(c) Describe the null space (kernel) and the range of $T$ and give the rank and the nullity of $T$</h3>
<h4>Null Space and Nullity</h4>
<p>We fist find the null space of the linear transformation of $T$.<br />
Note that the null space of $T$ is the same as the null space of the matrix $A$.</p>
<p>By definition, the null space is<br />
\[ \calN(T)=\calN(A)=\{\mathbf{x} \in \R^2 \mid A\mathbf{x}=\mathbf{0}\}.\]
So the null space is a set of all solutions for the system $A\mathbf{x}=\mathbf{0}$.</p>
<p>To find the solution of the system we consider the augmented matrix and reduce the matrix using the elementary row operations. (The Gauss-Jordan elimination method.)<br />
We have<br />
\begin{align*}<br />
 \left[\begin{array}{rr|r}<br />
  1 &#038; -1 &#038; 0 \\<br />
   1 &#038;1 &#038;0 \\<br />
   0 &#038; 1 &#038; 0<br />
    \end{array} \right]
    \xrightarrow{R_2-R_1}<br />
    \left[\begin{array}{rr|r}<br />
  1 &#038; -1 &#038; 0 \\<br />
   0 &#038;2 &#038;0 \\<br />
   0 &#038; 1 &#038; 0<br />
    \end{array} \right]\\[6pt]
    \xrightarrow[\text{then} R_2\leftrightarrow R_3] {\substack{R_1+R_3 \\ R_2-2R_1}}<br />
     \left[\begin{array}{rr|r}<br />
  1 &#038; 0 &#038; 0 \\<br />
   0 &#038;1 &#038;0 \\<br />
   0 &#038; 0 &#038; 0<br />
    \end{array} \right].<br />
\end{align*}</p>
<p>Thus the system has only zero solution<br />
\[x_1=0, x_2=0.\]
Therefore we obtained<br />
\[\calN(T)=\calN(A)=\left \{ \begin{bmatrix}<br />
  0 \\<br />
  0<br />
\end{bmatrix} \right \}.\]
<p>Since the nullity is the dimension of the null space, we see that the nullity of $T$ is $0$ since the dimension of the zero vector space is $0$.</p>
<h4> Range and Rank</h4>
<p>Next, we find the range of $T$. Note that the range of the linear transformation $T$ is the same as the range of the matrix $A$.<br />
We describe the range by giving its basis.</p>
<p>The range of $A$ is the columns space of $A$. Thus it is spanned by columns<br />
\[\begin{bmatrix}<br />
  1 \\<br />
   1 \\<br />
    0<br />
  \end{bmatrix}, \begin{bmatrix}<br />
  -1 \\<br />
   1 \\<br />
    1<br />
  \end{bmatrix}.\]
<p>  From the above reduction of the augmented matrix, we see that these vectors are linearly independent, thus a basis for the range. (Basically, this is the <a href="//yutsumura.com/row-equivalent-matrix-bases-for-the-null-space-range-and-row-space-of-a-matrix/" target="_blank">leading 1 method</a>.)<br />
  Hence we have<br />
  \[\calR(T)=\calR(A)=\Span \left\{\,\begin{bmatrix}<br />
  1 \\<br />
   1 \\<br />
    0<br />
  \end{bmatrix}, \begin{bmatrix}<br />
  -1 \\<br />
   1 \\<br />
    1<br />
  \end{bmatrix} \,\right\}\]
and<br />
\[\left\{\,  \begin{bmatrix}<br />
  1 \\<br />
   1 \\<br />
    0<br />
  \end{bmatrix}, \begin{bmatrix}<br />
  -1 \\<br />
   1 \\<br />
    1<br />
  \end{bmatrix} \,\right\}\]
  is a basis for $\calR(T)$.</p>
<p>  The rank of $T$ is the dimension of the range $\calR(T)$.<br />
  Thus the rank of $T$ is $2$.</p>
<p>  Remark that we obtained that the nullity of $T$ is $0$ and the rank of $T$ is $2$. This agrees with the rank-nullity theorem<br />
  \[(\text{rank of } T)+ (\text{nullity of } T)=2.\]
<h2>More Problems about Linear Transformations </h2>
<p>Additional problems about linear transformations are collected on the following page:<br />
<a href="//yutsumura.com/linear-algebra/linear-transformation-from-rn-to-rm/" rel="noopener" target="_blank">Linear Transformation from $\R^n$ to $\R^m$</a></p>
<button class="simplefavorite-button has-count" data-postid="1243" data-siteid="1" data-groupid="1" data-favoritecount="139" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">139</span></button><p>The post <a href="https://yutsumura.com/range-null-space-rank-and-nullity-of-a-linear-transformation-from-r2-to-r3/" target="_blank">Range, Null Space, Rank, and Nullity of a Linear Transformation from $\R^2$ to $\R^3$</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></content:encoded>
							<wfw:commentRss>https://yutsumura.com/range-null-space-rank-and-nullity-of-a-linear-transformation-from-r2-to-r3/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">1243</post-id>	</item>
		<item>
		<title>Find a Basis For the Null Space of a Given $2\times 3$ Matrix</title>
		<link>https://yutsumura.com/find-a-basis-for-the-null-space-of-a-given-2times-3-matrix/</link>
				<comments>https://yutsumura.com/find-a-basis-for-the-null-space-of-a-given-2times-3-matrix/#respond</comments>
				<pubDate>Mon, 03 Oct 2016 06:02:33 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[augmented matrix]]></category>
		<category><![CDATA[Gauss-Jordan elimination]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[kernel of a matrix]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[linear combination]]></category>
		<category><![CDATA[linear equation]]></category>
		<category><![CDATA[linear independent]]></category>
		<category><![CDATA[matrix]]></category>
		<category><![CDATA[null space]]></category>
		<category><![CDATA[subspace]]></category>
		<category><![CDATA[system of linear equations]]></category>
		<category><![CDATA[vector space]]></category>
		<category><![CDATA[vectors]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=1097</guid>
				<description><![CDATA[<p>Let \[A=\begin{bmatrix} 1 &#038; 1 &#038; 0 \\ 1 &#038;1 &#038;0 \end{bmatrix}\] be a matrix. Find a basis of the null space of the matrix $A$. (Remark: a null space is also called a&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/find-a-basis-for-the-null-space-of-a-given-2times-3-matrix/" target="_blank">Find a Basis For the Null Space of a Given \times 3$ Matrix</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 132</h2>
<p>Let<br />
\[A=\begin{bmatrix}<br />
  1 &#038; 1 &#038; 0 \\<br />
   1 &#038;1 &#038;0<br />
\end{bmatrix}\]
be a matrix.</p>
<p> Find a basis of the null space of the matrix $A$.</p>
<p>(Remark: a null space is also called a kernel.)</p>
<p>&nbsp;<br />
<span id="more-1097"></span><br />

<h2>Solution.</h2>
<p>The null space $\calN(A)$ of the matrix $A$ is by definition<br />
\[\calN(A)=\{ \mathbf{x} \in \R^3 \mid A\mathbf{x}=\mathbf{0} \}.\]
In other words, the null space consists of all solutions $\mathbf{x}$ of the matrix equation $A\mathbf{x}=\mathbf{0}$.</p>
<p>So we first determine the solutions of $A\mathbf{x}=\mathbf{0}$ by Gauss-Jordan elimination. The augmented matrix is<br />
\begin{align*}<br />
     \left[\begin{array}{rrr|r}<br />
1 &#038; 1 &#038; 0 &#038;   0 \\<br />
 1 &#038; 1 &#038; 0 &#038;   0<br />
      \end{array} \right].<br />
\end{align*}<br />
Subtracting $R_1$ from $R_2$, we reduce the augmented matrix to the reduced row echelon form matrix as follows.<br />
\begin{align*}<br />
\left[\begin{array}{rrr|r}<br />
1 &#038; 1 &#038; 0 &#038;   0 \\<br />
 1 &#038; 1 &#038; 0 &#038;   0<br />
      \end{array} \right]
\xrightarrow{R_2-R_1}<br />
\left[\begin{array}{rrr|r}<br />
1 &#038; 1 &#038; 0 &#038;   0 \\<br />
 0 &#038; 0 &#038; 0 &#038;   0<br />
      \end{array} \right].<br />
\end{align*}<br />
Thus the solution $\mathbf{x}=\begin{bmatrix}<br />
  x_1 \\<br />
   x_2 \\<br />
    x_3<br />
  \end{bmatrix}$ of $A\mathbf{x}=\mathbf{0}$ satisfies $x_1+x_2=0$, or equivalently $x_1=-x_2$.<br />
  Substituting the last equality, we see that solutions are of the form<br />
  \[\mathbf{x}=\begin{bmatrix}<br />
  -x_2 \\<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 />
  0 \\<br />
   0 \\<br />
    1<br />
  \end{bmatrix}.\]
  Therefore the null space is<br />
  \begin{align*}<br />
\calN(A)&#038;=\left \{\mathbf{x} \in \R^3  \quad \middle| \quad \mathbf{x}=x_2\begin{bmatrix}<br />
  -1 \\<br />
   1 \\<br />
    0<br />
  \end{bmatrix}+x_3\begin{bmatrix}<br />
  0 \\<br />
   0 \\<br />
    1<br />
  \end{bmatrix} \text{ for any } x_2, x_3 \in \R \right \}\\[6pt]
  &#038;= \mathrm{Sp} \left\{ \, \begin{bmatrix}<br />
  -1 \\<br />
   1 \\<br />
    0<br />
  \end{bmatrix},  \,<br />
  \begin{bmatrix}<br />
  0 \\<br />
   0 \\<br />
    1<br />
  \end{bmatrix} \,  \right\}.<br />
\end{align*}<br />
Thus, the set $\left\{ \, \begin{bmatrix}<br />
  -1 \\<br />
   1 \\<br />
    0<br />
  \end{bmatrix},  \,<br />
  \begin{bmatrix}<br />
  0 \\<br />
   0 \\<br />
    1<br />
  \end{bmatrix} \, \right\}$ is a spanning set for the null space $\calN(A)$.</p>
<hr />
<p>  Now, we check that the vectors $\begin{bmatrix}<br />
  -1 \\<br />
   1 \\<br />
    0<br />
  \end{bmatrix},<br />
  \begin{bmatrix}<br />
  0 \\<br />
   0 \\<br />
    1<br />
  \end{bmatrix}$ are linearly independent.<br />
  Consider a linear combination<br />
  \[a_1\begin{bmatrix}<br />
  -1 \\<br />
   1 \\<br />
    0<br />
  \end{bmatrix}+a_2\begin{bmatrix}<br />
  0 \\<br />
   0 \\<br />
    1<br />
  \end{bmatrix} =\mathbf{0}.\]
  This is equivalent to<br />
  \[\begin{bmatrix}<br />
  -a_1 \\<br />
   a_1 \\<br />
    a_2<br />
  \end{bmatrix}=\begin{bmatrix}<br />
  0 \\<br />
   0 \\<br />
    0<br />
  \end{bmatrix}.\]
  Hence we must have $a_1=a_2=0$.<br />
  Since the linear combination equation has only the zero solution, the vectors $\begin{bmatrix}<br />
  -1 \\<br />
   1 \\<br />
    0<br />
  \end{bmatrix},<br />
  \begin{bmatrix}<br />
  0 \\<br />
   0 \\<br />
    1<br />
  \end{bmatrix}$ are linearly independent.</p>
<hr />
<p>  Therefore the set $\left\{ \, \begin{bmatrix}<br />
  -1 \\<br />
   1 \\<br />
    0<br />
  \end{bmatrix},  \,<br />
  \begin{bmatrix}<br />
  0 \\<br />
   0 \\<br />
    1<br />
  \end{bmatrix}\, \right\}$ is a linearly independent spanning set, thus it is a basis for the null space $\calN(A)$.</p>
<button class="simplefavorite-button has-count" data-postid="1097" data-siteid="1" data-groupid="1" data-favoritecount="32" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">32</span></button><p>The post <a href="https://yutsumura.com/find-a-basis-for-the-null-space-of-a-given-2times-3-matrix/" target="_blank">Find a Basis For the Null Space of a Given \times 3$ 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-a-basis-for-the-null-space-of-a-given-2times-3-matrix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">1097</post-id>	</item>
		<item>
		<title>The Null Space (the Kernel) of a Matrix is a Subspace of $\R^n$</title>
		<link>https://yutsumura.com/the-null-space-the-kernel-of-a-matrix-is-a-subspace-of-rn/</link>
				<comments>https://yutsumura.com/the-null-space-the-kernel-of-a-matrix-is-a-subspace-of-rn/#comments</comments>
				<pubDate>Sun, 25 Sep 2016 21:06:14 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[kernel of a matrix]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[matrix]]></category>
		<category><![CDATA[null space]]></category>
		<category><![CDATA[subspace]]></category>
		<category><![CDATA[vector space]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=1045</guid>
				<description><![CDATA[<p>Let $A$ be an $m \times n$ real matrix. Then the null space $\calN(A)$ of $A$ is defined by \[ \calN(A)=\{ \mathbf{x}\in \R^n \mid A\mathbf{x}=\mathbf{0}_m\}.\] That is, the null space is the set of&#46;&#46;&#46;</p>
<p>The post <a href="https://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> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 121</h2>
<p> Let $A$ be an $m \times n$ real matrix. Then the <strong>null space</strong> $\calN(A)$ of $A$ is defined by<br />
\[ \calN(A)=\{ \mathbf{x}\in \R^n \mid A\mathbf{x}=\mathbf{0}_m\}.\]
That is, the null space is the set of solutions to the homogeneous system $A\mathbf{x}=\mathbf{0}_m$.</p>
<p>Prove that the null space $\calN(A)$ is a subspace of the vector space $\R^n$.<br />
(Note that the null space is also called  the <strong>kernel</strong> of $A$.)<br />
&nbsp;<br />
<span id="more-1045"></span><br />

<h2> Proof. </h2>
<h3> Subspace criteria</h3>
<p>We check the following criteria for $\calN(A)$ to be a subspace of $\R^n$.</p>
<div style="padding: 16px; border: none 3px #4169e1; border-radius: 10px; background-color: #f0f8ff; margin-top: 30px; margin-bottom: 30px;">
(a) The zero vector $\mathbf{0}_n \in \R^n$ is in $\calN(A)$.<br />
(b) If $\mathbf{x}, \mathbf{y} \in \calN(A)$, then $\mathbf{x}+\mathbf{y}\in \calN(A)$.<br />
(c) If $\mathbf{x} \in \calN(A)$ and $c\in \R$, then $c\mathbf{x} \in \calN(A)$.
</div>
<h3>Check (a)</h3>
<p> Since we have $A\mathbf{0}_n=\mathbf{0}_m$, the zero vector $\mathbf{0}_n \in \R^n$ is in $\calN(A)$. Thus (a) is met.</p>
<h3>Check (b)</h3>
<p> For (b), take arbitrary vectors $\mathbf{x}, \mathbf{y} \in \calN(A)$.<br />
 By the definition of $\calN(A)$, we have<br />
 \[A\mathbf{x}=\mathbf{0}_m \text{ and } A\mathbf{y}=\mathbf{0}_m. \tag{*}\]
 We want to show that $\mathbf{x}+ \mathbf{y} \in \calN(A)$. Thus we need to show $A(\mathbf{x}+\mathbf{y})=\mathbf{0}$. </p>
<p>This equality can be proved as follows.<br />
 We have<br />
 \begin{align*}<br />
A(\mathbf{x}+\mathbf{y}) &#038;= A\mathbf{x}+A\mathbf{y}\\<br />
&#038;=\mathbf{0}+\mathbf{0}=\mathbf{0}.<br />
\end{align*}<br />
 Here the second equality follows from (*).<br />
 Thus $\mathbf{x}+\mathbf{y}\in \calN(A)$ and (b) is satisfied.</p>
<h3>Check (c)</h3>
<p> To check (c), take arbitrary $\mathbf{x} \in \calN(A)$ and a scalar $c \in \R$.<br />
 Since $\mathbf{x} \in \calN(A)$, we have<br />
 \[A\mathbf{x}=\mathbf{0}_m.\]
<p> Multiplying by the scalar $c$, we have<br />
 \[cA\mathbf{x}=c\mathbf{0}_m.\]
 This is equivalent to<br />
 \[A(c\mathbf{x})=\mathbf{0}_m.\]
 This equality implies that $c\mathbf{x} \in \calN(A)$, hence (c) is met.</p>
<p> Thus we checked the conditions (a), (b), and (c) and conclude that the null space $\calN(A)$ is a subspace of $\R^n$.</p>
<h2> Related Question. </h2>
<p>In the following problem, we determine the null space of a matrix explicitly.</p>
<p>	<a href="//yutsumura.com/determine-null-spaces-of-two-matrices/" target="_blank">Determine null spaces of two matrices</a></p>
<button class="simplefavorite-button has-count" data-postid="1045" 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/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> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></content:encoded>
							<wfw:commentRss>https://yutsumura.com/the-null-space-the-kernel-of-a-matrix-is-a-subspace-of-rn/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">1045</post-id>	</item>
	</channel>
</rss>
