<?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>basis for a vector space &#8211; Problems in Mathematics</title>
	<atom:link href="https://yutsumura.com/tag/basis-for-a-vector-space/feed/" rel="self" type="application/rss+xml" />
	<link>https://yutsumura.com</link>
	<description></description>
	<lastBuildDate>Mon, 26 Mar 2018 03:05:37 +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>basis for a vector space &#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>Using Gram-Schmidt Orthogonalization, Find an Orthogonal Basis for the Span</title>
		<link>https://yutsumura.com/using-gram-schmidt-orthogonalization-find-an-orthogonal-basis-for-the-span/</link>
				<comments>https://yutsumura.com/using-gram-schmidt-orthogonalization-find-an-orthogonal-basis-for-the-span/#respond</comments>
				<pubDate>Mon, 26 Mar 2018 03:05:37 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[basis for a vector space]]></category>
		<category><![CDATA[Gram-Schmidt orthogonalization process]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[orthogonal basis]]></category>
		<category><![CDATA[span]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=6977</guid>
				<description><![CDATA[<p>Using Gram-Schmidt orthogonalization, find an orthogonal basis for the span of the vectors $\mathbf{w}_{1},\mathbf{w}_{2}\in\R^{3}$ if \[ \mathbf{w}_{1} = \begin{bmatrix} 1 \\ 0 \\ 3 \end{bmatrix} ,\quad \mathbf{w}_{2} = \begin{bmatrix} 2 \\ -1 \\ 0&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/using-gram-schmidt-orthogonalization-find-an-orthogonal-basis-for-the-span/" target="_blank">Using Gram-Schmidt Orthogonalization, Find an Orthogonal Basis for the Span</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 716</h2>
<p>	Using Gram-Schmidt orthogonalization, find an orthogonal basis for the span of the vectors $\mathbf{w}_{1},\mathbf{w}_{2}\in\R^{3}$ if<br />
	\[<br />
	\mathbf{w}_{1}<br />
	=<br />
	\begin{bmatrix}<br />
	1 \\ 0 \\ 3<br />
	\end{bmatrix}<br />
	,\quad<br />
	\mathbf{w}_{2}<br />
	=<br />
	\begin{bmatrix}<br />
	2 \\ -1 \\ 0<br />
	\end{bmatrix}<br />
	.<br />
	\]
<p>&nbsp;<br />
<span id="more-6977"></span><br />

<h2>Solution.</h2>
<p>	We apply Gram-Schmidt orthogonalization as follows. The first step is to define $\mathbf{u}_{1}=\mathbf{w}_{1}$. Before defining $\mathbf{u}_{2}$, we must compute<br />
	\begin{align*}<br />
	\mathbf{u}_{1}^{T}\mathbf{w}_{2}<br />
	&#038;=<br />
	\mathbf{w}_{1}^{T}\mathbf{w}_{2}<br />
	=<br />
	\begin{bmatrix}<br />
	1 &#038; 0 &#038; 3<br />
	\end{bmatrix}<br />
	\begin{bmatrix}<br />
	2 \\ -1 \\ 0<br />
	\end{bmatrix}<br />
	=2+0+0=2,<br />
	\\<br />
	\mathbf{u}_{1}^{T}\mathbf{u}_{1}<br />
	&#038;=<br />
	\mathbf{w}_{1}^{T}\mathbf{w}_{1}<br />
	=<br />
	\begin{bmatrix}<br />
	1 &#038; 0 &#038; 3<br />
	\end{bmatrix}<br />
	\begin{bmatrix}<br />
	1 \\ 0 \\ 3<br />
	\end{bmatrix}<br />
	=1+0+9=10.<br />
	\end{align*}</p>
<hr />
<p>	Next, we define<br />
	\[<br />
	\mathbf{u}_{2}<br />
	=<br />
	\mathbf{w}_{2}<br />
	-\dfrac{\mathbf{u}_{1}^{T}\mathbf{w}_{2}}<br />
	{\mathbf{u}_{1}^{T}\mathbf{u}_{1}}<br />
	\mathbf{u}_{1}<br />
	=<br />
	\begin{bmatrix}<br />
	2 \\ -1 \\ 0<br />
	\end{bmatrix}<br />
	-\dfrac{2}{10}<br />
	\begin{bmatrix}<br />
	1 \\ 0 \\ 3<br />
	\end{bmatrix}<br />
	=<br />
	\begin{bmatrix}<br />
	10/5 \\ -1 \\ 0<br />
	\end{bmatrix}<br />
	&#8211;<br />
	\begin{bmatrix}<br />
	1/5 \\ 0 \\ 3/5<br />
	\end{bmatrix}<br />
	=<br />
	\begin{bmatrix}<br />
	9/5 \\ -1 \\ -3/5<br />
	\end{bmatrix}<br />
	.<br />
	\]
	By Gram-Schmidt orthogonalization, $\{\mathbf{u}_{1},\mathbf{u}_{2}\}$ is an orthogonal basis for the span of the vectors $\mathbf{w}_{1}$ and $\mathbf{w}_{2}$.</p>
<h2>Remark </h2>
<p>		Note that since scalar multiplication by a nonzero number does not change the orthogonality of vectors and the new vectors still form a basis, we could have used $5\mathbf{u}_2$, instead of $\mathbf{u}_2$ to avoid a fraction in our computation.<br />
		We have<br />
		\[5\mathbf{u}_2=\begin{bmatrix}<br />
	  10 \\<br />
	   -5 \\<br />
	    0<br />
	  \end{bmatrix}-\begin{bmatrix}<br />
	  1 \\<br />
	   0 \\<br />
	    3<br />
	  \end{bmatrix}=\begin{bmatrix}<br />
	  9 \\<br />
	   -5 \\<br />
	    -3<br />
	  \end{bmatrix},\]
	  and $\{\mathbf{u}_1, 5\mathbf{u}_2\}$ is an orthogonal basis for the span.</p>
<button class="simplefavorite-button has-count" data-postid="6977" data-siteid="1" data-groupid="1" data-favoritecount="84" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">84</span></button><p>The post <a href="https://yutsumura.com/using-gram-schmidt-orthogonalization-find-an-orthogonal-basis-for-the-span/" target="_blank">Using Gram-Schmidt Orthogonalization, Find an Orthogonal Basis for the Span</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></content:encoded>
							<wfw:commentRss>https://yutsumura.com/using-gram-schmidt-orthogonalization-find-an-orthogonal-basis-for-the-span/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">6977</post-id>	</item>
		<item>
		<title>Normalize Lengths to Obtain an Orthonormal Basis</title>
		<link>https://yutsumura.com/normalize-lengths-to-obtain-an-orthonormal-basis/</link>
				<comments>https://yutsumura.com/normalize-lengths-to-obtain-an-orthonormal-basis/#respond</comments>
				<pubDate>Thu, 22 Mar 2018 03:57:05 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[basis for a vector space]]></category>
		<category><![CDATA[dot product]]></category>
		<category><![CDATA[inner product]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[orthogonal basis]]></category>
		<category><![CDATA[orthogonal vector]]></category>
		<category><![CDATA[orthonormal basis]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=6973</guid>
				<description><![CDATA[<p>Let \[ \mathbf{v}_{1} = \begin{bmatrix} 1 \\ 1 \end{bmatrix} ,\; \mathbf{v}_{2} = \begin{bmatrix} 1 \\ -1 \end{bmatrix} . \] Let $V=\Span(\mathbf{v}_{1},\mathbf{v}_{2})$. Do $\mathbf{v}_{1}$ and $\mathbf{v}_{2}$ form an orthonormal basis for $V$? If not, then&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/normalize-lengths-to-obtain-an-orthonormal-basis/" target="_blank">Normalize Lengths to Obtain an Orthonormal Basis</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 715</h2>
<p>	Let<br />
	\[<br />
	\mathbf{v}_{1}<br />
	=<br />
	\begin{bmatrix}<br />
	1 \\ 1<br />
	\end{bmatrix}<br />
	,\;<br />
	\mathbf{v}_{2}<br />
	=<br />
	\begin{bmatrix}<br />
	1 \\ -1<br />
	\end{bmatrix}<br />
	.<br />
	\]
	Let $V=\Span(\mathbf{v}_{1},\mathbf{v}_{2})$. Do $\mathbf{v}_{1}$ and $\mathbf{v}_{2}$ form an orthonormal basis for $V$? </p>
<p>If not, then find an orthonormal basis for $V$.</p>
<p>&nbsp;<br />
<span id="more-6973"></span></p>
<h2>Solution.</h2>
<p>	We begin by computing<br />
	\begin{align*}<br />
	\mathbf{v}_{1}\cdot\mathbf{v}_{2}<br />
	&#038;=<br />
	\mathbf{v}_{1}^{T}\mathbf{v}_{2}<br />
	=<br />
	\begin{bmatrix}<br />
	1 &#038; 1<br />
	\end{bmatrix}<br />
	\begin{bmatrix}<br />
	1 \\ -1<br />
	\end{bmatrix}<br />
	=<br />
	1\cdot 1+1\cdot -1<br />
	=<br />
	1-1<br />
	=<br />
	0,<br />
	\\<br />
	\mathbf{v}_{1}\cdot\mathbf{v}_{1}<br />
	&#038;=<br />
	\begin{bmatrix}<br />
	1 &#038; 1<br />
	\end{bmatrix}<br />
	\begin{bmatrix}<br />
	1 \\ 1<br />
	\end{bmatrix}<br />
	=<br />
	1+1<br />
	=<br />
	2,<br />
	\\<br />
	\mathbf{v}_{2}\cdot\mathbf{v}_{2}<br />
	&#038;=<br />
	\begin{bmatrix}<br />
	1 &#038; -1<br />
	\end{bmatrix}<br />
	\begin{bmatrix}<br />
	1 \\ -1<br />
	\end{bmatrix}<br />
	=<br />
	1+1<br />
	=<br />
	2.<br />
	\end{align*}<br />
	Since $\mathbf{v}_{1}\cdot\mathbf{v}_{2}=0$, the vectors $\mathbf{v}_1$ and $\mathbf{v}_2$ are orthogonal. Since  $\mathbf{v}_{1}$ and $\mathbf{v}_{2}$ are nonzero orthogonal vectors, they are linearly independent, and it follows that $\mathbf{v}_{1}$ and $\mathbf{v}_{2}$ form an orthogonal basis for $V$. However, since $\mathbf{v}_{i}\cdot\mathbf{v}_{i}=2\neq 1$ for $i=1,2$, we know that $\mathbf{v}_{1}$ and $\mathbf{v}_{2}$ do not form an orthonormal basis for $V$.</p>
<hr />
<p>	To find an orthonormal basis for $V$, note that for any scalars $a$ and $b$, $(a\mathbf{v}_{1})\cdot(b\mathbf{v}_{2})=ab(\mathbf{v}_{1}\cdot\mathbf{v}_{2})=ab\cdot 0=0$. Therefore, $a\mathbf{v}_{1}$ and $b\mathbf{v}_{2}$ will always form an orthogonal basis for $V$. All we need to do is choose $a$ and $b$ so that $a\mathbf{v}_{1}$ and $b\mathbf{v}_{2}$ form an orthonormal set. For $a$, we require<br />
	\[<br />
	1<br />
	=\|a\mathbf{v}\|=a\|\mathbf{v}\|<br />
	\]
	and so<br />
	\[<br />
	a=\frac{1}{\|\mathbf{v}\|}=\frac{1}{\sqrt{2}}.<br />
	\]
	 (Note that $\|\mathbf{v}\| \neq 0$ as $\mathbf{v}\neq \mathbf{0}$. Also, note that to obtain a length 1 vector, we just needed divide the vector by its length.)<br />
	  Similarly, $b=1/\sqrt{2}$. Therefore, if we define<br />
	\begin{align*}<br />
	\mathbf{w}_{1}<br />
	&#038;=<br />
	\dfrac{1}{\sqrt{2}}<br />
	\mathbf{v}_{1}<br />
	=<br />
	\dfrac{1}{\sqrt{2}}<br />
	\begin{bmatrix}<br />
	1 \\ 1<br />
	\end{bmatrix}<br />
	,<br />
	\\<br />
	\mathbf{w}_{2}<br />
	&#038;=<br />
	\dfrac{1}{\sqrt{2}}<br />
	\mathbf{v}_{2}<br />
	=<br />
	\dfrac{1}{\sqrt{2}}<br />
	\begin{bmatrix}<br />
	1 \\ -1<br />
	\end{bmatrix}<br />
	,<br />
	\end{align*}<br />
	then $\mathbf{w}_{1}$ and $\mathbf{w}_{2}$ form an orthonormal basis for $V$.</p>
<button class="simplefavorite-button has-count" data-postid="6973" data-siteid="1" data-groupid="1" data-favoritecount="71" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">71</span></button><p>The post <a href="https://yutsumura.com/normalize-lengths-to-obtain-an-orthonormal-basis/" target="_blank">Normalize Lengths to Obtain an Orthonormal Basis</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></content:encoded>
							<wfw:commentRss>https://yutsumura.com/normalize-lengths-to-obtain-an-orthonormal-basis/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">6973</post-id>	</item>
		<item>
		<title>Determine Bases for Nullspaces $\calN(A)$ and $\calN(A^{T}A)$</title>
		<link>https://yutsumura.com/determine-bases-for-nullspaces-calna-and-calnata/</link>
				<comments>https://yutsumura.com/determine-bases-for-nullspaces-calna-and-calnata/#respond</comments>
				<pubDate>Thu, 08 Mar 2018 04:29: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[linear algebra]]></category>
		<category><![CDATA[nullity]]></category>
		<category><![CDATA[nullspace of a matrix]]></category>
		<category><![CDATA[rank]]></category>
		<category><![CDATA[rank-nullity theorem]]></category>
		<category><![CDATA[transpose]]></category>
		<category><![CDATA[vector space]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=6960</guid>
				<description><![CDATA[<p>Determine bases for $\calN(A)$ and $\calN(A^{T}A)$ when \[ A= \begin{bmatrix} 1 &#038; 2 &#038; 1 \\ 1 &#038; 1 &#038; 3 \\ 0 &#038; 0 &#038; 0 \end{bmatrix} . \] Then, determine the ranks&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/determine-bases-for-nullspaces-calna-and-calnata/" target="_blank">Determine Bases for Nullspaces $\calN(A)$ and $\calN(A^{T}A)$</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 713</h2>
<p>	Determine bases for $\calN(A)$ and $\calN(A^{T}A)$ when<br />
	\[<br />
	A=<br />
	\begin{bmatrix}<br />
	1 &#038; 2 &#038; 1 \\<br />
	1 &#038; 1 &#038; 3 \\<br />
	0 &#038; 0 &#038; 0<br />
	\end{bmatrix}<br />
	.<br />
	\]
	Then, determine the ranks and nullities of the matrices $A$ and $A^{\trans}A$.</p>
<p>&nbsp;<br />
<span id="more-6960"></span></p>
<h2>Solution.</h2>
<p>	We will first compute<br />
	\begin{align*}<br />
	A^{T}<br />
	=&#038;<br />
	\begin{bmatrix}<br />
	1 &#038; 1 &#038; 0 \\<br />
	2 &#038; 1 &#038; 0 \\<br />
	1 &#038; 3 &#038; 0<br />
	\end{bmatrix}<br />
	\;\text{and}\\<br />
	A^{T}A<br />
	=&#038;<br />
	\begin{bmatrix}<br />
	1 &#038; 1 &#038; 0 \\<br />
	2 &#038; 1 &#038; 0 \\<br />
	1 &#038; 3 &#038; 0<br />
	\end{bmatrix}<br />
	\begin{bmatrix}<br />
	1 &#038; 2 &#038; 1 \\<br />
	1 &#038; 1 &#038; 3 \\<br />
	0 &#038; 0 &#038; 0<br />
	\end{bmatrix}<br />
	=<br />
	\begin{bmatrix}<br />
	1+1 &#038; 2+1 &#038; 1+3 \\<br />
	2+1 &#038; 4+1 &#038; 2+3 \\<br />
	1+3 &#038; 2+3 &#038; 1+9<br />
	\end{bmatrix}<br />
	=<br />
	\begin{bmatrix}<br />
	2 &#038; 3 &#038; 4 \\<br />
	3 &#038; 5 &#038; 5 \\<br />
	4 &#038; 5 &#038; 10<br />
	\end{bmatrix}<br />
	.<br />
	\end{align*}</p>
<hr />
<p>	Next, we will find $\calN(A)$ by row reducing $[A\mid\mathbf{0}]$:<br />
	\[<br />
	\left[\begin{array}{ccc|c}<br />
	1 &#038; 2 &#038; 1 &#038; 0 \\<br />
	1 &#038; 1 &#038; 3 &#038; 0 \\<br />
	0 &#038; 0 &#038; 0 &#038; 0<br />
	\end{array}\right]
	\xrightarrow{R_{2}-R_{1}}<br />
	\left[\begin{array}{ccc|c}<br />
	1 &#038; 2 &#038; 1 &#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}{ccc|c}<br />
	1 &#038; 2 &#038; 1 &#038; 0 \\<br />
	0 &#038; 1 &#038; -2 &#038; 0 \\<br />
	0 &#038; 0 &#038; 0 &#038; 0<br />
	\end{array}\right]
	\]
	\[<br />
	\xrightarrow{R_{1}-2R_{2}}<br />
	\left[\begin{array}{ccc|c}<br />
	1 &#038; 0 &#038; 5 &#038; 0 \\<br />
	0 &#038; 1 &#038; -2 &#038; 0 \\<br />
	0 &#038; 0 &#038; 0 &#038; 0<br />
	\end{array}\right]
	.<br />
	\]
	Thus the solution to $A\mathbf{x}=\mathbf{0}$ is given by<br />
	\[<br />
	\mathbf{x}<br />
	=<br />
	\begin{bmatrix}<br />
	x_{1} \\ x_{2} \\ x_{3}<br />
	\end{bmatrix}<br />
	=<br />
	\begin{bmatrix}<br />
	-5x_{3} \\ 2x_{3} \\ x_{3}<br />
	\end{bmatrix}<br />
	=<br />
	x_{3}<br />
	\begin{bmatrix}<br />
	-5 \\ 2 \\ 1<br />
	\end{bmatrix}<br />
	.<br />
	\]
	Thus<br />
	\begin{align*}<br />
	\calN(A)<br />
	=<br />
	\left\{\mathbf{x}\in \R^3 \quad\middle|\quad \mathbf{x}=x_{3}<br />
	\begin{bmatrix}<br />
	-5 \\ 2 \\ 1<br />
	\end{bmatrix} \text{ for any } x_{3}\in\R<br />
	\right\}<br />
	=\Span\left\{<br />
	\begin{bmatrix}<br />
	-5 \\ 2 \\ 1<br />
	\end{bmatrix}<br />
	\right\}<br />
	.<br />
	\end{align*}<br />
	Therefore,<br />
	\[<br />
	\left\{<br />
	\begin{bmatrix}<br />
	-5 \\ 2 \\ 1<br />
	\end{bmatrix}<br />
	\right\}<br />
	\]
	is a basis for $\calN(A)$.</p>
<hr />
<p>	Similarly, we will compute $\calN(A^{T}A)$ by row reducing $[A^{T}A\mid\mathbf{0}]$:<br />
	\[<br />
	\left[\begin{array}{ccc|c}<br />
	2 &#038; 3 &#038; 4 &#038; 0 \\<br />
	3 &#038; 5 &#038; 5 &#038; 0 \\<br />
	4 &#038; 5 &#038; 10 &#038; 0<br />
	\end{array}\right]
	\xrightarrow[R_{3}-2R_{1}]{R_{2}-R_{1}}<br />
	\left[\begin{array}{ccc|c}<br />
	2 &#038; 3 &#038; 4 &#038; 0 \\<br />
	1 &#038; 2 &#038; 1 &#038; 0 \\<br />
	0 &#038; -1 &#038; 2 &#038; 0<br />
	\end{array}\right]
	\xrightarrow{R_{1}-2R_{2}}<br />
	\left[\begin{array}{ccc|c}<br />
	0 &#038; -1 &#038; 2 &#038; 0 \\<br />
	1 &#038; 2 &#038; 1 &#038; 0 \\<br />
	0 &#038; -1 &#038; 2 &#038; 0<br />
	\end{array}\right]
	\]
	\[<br />
	\xrightarrow{R_{3}-R_{1}}<br />
	\left[\begin{array}{ccc|c}<br />
	0 &#038; -1 &#038; 2 &#038; 0 \\<br />
	1 &#038; 2 &#038; 1 &#038; 0 \\<br />
	0 &#038; 0 &#038; 0 &#038; 0<br />
	\end{array}\right]
	\xrightarrow{R_{1}\leftrightarrow R_{2}}<br />
	\left[\begin{array}{ccc|c}<br />
	1 &#038; 2 &#038; 1 &#038; 0 \\<br />
	0 &#038; -1 &#038; 2 &#038; 0 \\<br />
	0 &#038; 0 &#038; 0 &#038; 0<br />
	\end{array}\right]
	\]
	\[<br />
	\xrightarrow[\text{then}\;-R_{2}]{R_{1}+2R_{2}}<br />
	\left[\begin{array}{ccc|c}<br />
	1 &#038; 0 &#038; 5 &#038; 0 \\<br />
	0 &#038; 1 &#038; -2 &#038; 0 \\<br />
	0 &#038; 0 &#038; 0 &#038; 0<br />
	\end{array}\right]
	.<br />
	\]
	Since the row reduced matrices for $[A\mid\mathbf{0}]$ and $[A^{T}A\mid\mathbf{0}]$ are identical, we can immediately conclude that<br />
	\[<br />
	\calN\left(A^{T}A\right)<br />
	=<br />
	\Span\left\{<br />
	\begin{bmatrix}<br />
	-5 \\ 2 \\ 1<br />
	\end{bmatrix}<br />
	\right\}<br />
	,<br />
	\]
	and that<br />
	\[<br />
	\left\{<br />
	\begin{bmatrix}<br />
	-5 \\ 2 \\ 1<br />
	\end{bmatrix}<br />
	\right\}<br />
	\]
	is a basis for $\calN(A^{T}A)$.</p>
<hr />
<p>	It follows that the nullities of $A$ and $A^{\trans}A$ are both $1$.<br />
	The rank-nullity theorem tells<br />
	\[\text{rank of $A$} + \text{nullity of $A$} =3.\]
	Hence the rank of $A$ is $2$. Similarly, the rank of $A^{\trans}A$ is $2$.</p>
<button class="simplefavorite-button has-count" data-postid="6960" data-siteid="1" data-groupid="1" data-favoritecount="158" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">158</span></button><p>The post <a href="https://yutsumura.com/determine-bases-for-nullspaces-calna-and-calnata/" target="_blank">Determine Bases for Nullspaces $\calN(A)$ and $\calN(A^{T}A)$</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></content:encoded>
							<wfw:commentRss>https://yutsumura.com/determine-bases-for-nullspaces-calna-and-calnata/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">6960</post-id>	</item>
		<item>
		<title>Find a basis for $\Span(S)$, where $S$ is a Set of Four Vectors</title>
		<link>https://yutsumura.com/find-a-basis-for-spans-where-s-is-a-set-of-four-vectors/</link>
				<comments>https://yutsumura.com/find-a-basis-for-spans-where-s-is-a-set-of-four-vectors/#respond</comments>
				<pubDate>Mon, 26 Feb 2018 14:10:52 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[basis for a vector space]]></category>
		<category><![CDATA[leading 1 method]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[linear combination]]></category>
		<category><![CDATA[span]]></category>
		<category><![CDATA[spanning set]]></category>
		<category><![CDATA[subspace]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=6933</guid>
				<description><![CDATA[<p>Find a basis for $\Span(S)$ where $S= \left\{ \begin{bmatrix} 1 \\ 2 \\ 1 \end{bmatrix} , \begin{bmatrix} -1 \\ -2 \\ -1 \end{bmatrix} , \begin{bmatrix} 2 \\ 6 \\ -2 \end{bmatrix} , \begin{bmatrix} 1&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/find-a-basis-for-spans-where-s-is-a-set-of-four-vectors/" target="_blank">Find a basis for $\Span(S)$, where $S$ is a Set of Four Vectors</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 710</h2>
<p>Find a basis for $\Span(S)$ where $S=<br />
\left\{<br />
\begin{bmatrix}<br />
1 \\ 2 \\ 1<br />
\end{bmatrix}<br />
,<br />
\begin{bmatrix}<br />
-1 \\ -2 \\ -1<br />
\end{bmatrix}<br />
,<br />
\begin{bmatrix}<br />
2 \\ 6 \\ -2<br />
\end{bmatrix}<br />
,<br />
\begin{bmatrix}<br />
1 \\ 1 \\ 3<br />
\end{bmatrix}<br />
\right\}$.</p>
<p>&nbsp;<br />
<span id="more-6933"></span><br />

<h2>Solution.</h2>
<p>	We will first use the leading $1$ method. Consider the system<br />
	\[<br />
	x_{1}<br />
	\begin{bmatrix}<br />
	1 \\ 2 \\ 1<br />
	\end{bmatrix}<br />
	+x_{2}<br />
	\begin{bmatrix}<br />
	-1 \\ -2 \\ -1<br />
	\end{bmatrix}<br />
	+x_{3}<br />
	\begin{bmatrix}<br />
	2 \\ 6 \\ -2<br />
	\end{bmatrix}<br />
	+x_{4}<br />
	\begin{bmatrix}<br />
	1 \\ 1 \\ 3<br />
	\end{bmatrix}<br />
	=<br />
	\begin{bmatrix}<br />
	0 \\ 0 \\ 0<br />
	\end{bmatrix}<br />
	.\]
	The augmented matrix for this system is<br />
	\[<br />
	\left[\begin{array}{cccc|c}<br />
	1 &#038; -1 &#038; 2 &#038; 1 &#038; 0 \\<br />
	2 &#038; -2 &#038; 6 &#038; 1 &#038; 0 \\<br />
	1 &#038; -1 &#038; -2 &#038; 3 &#038; 0<br />
	\end{array}\right]
	\xrightarrow{\substack{R_{2}-2R_{1} \\ R_{3}-R_{1}}}<br />
	\left[\begin{array}{cccc|c}<br />
	1 &#038; -1 &#038; 2 &#038; 1 &#038; 0 \\<br />
	0 &#038; 0 &#038; 2 &#038; -1 &#038; 0 \\<br />
	0 &#038; 0 &#038; -4 &#038; 2 &#038; 0<br />
	\end{array}\right]
	\]
	\[<br />
	\to<br />
	\left[\begin{array}{cccc|c}<br />
	1 &#038; -1 &#038; 0 &#038; 2 &#038; 0 \\<br />
	0 &#038; 0 &#038; 1 &#038; -1/2 &#038; 0 \\<br />
	0 &#038; 0 &#038; 0 &#038; 0<br />
	\end{array}\right].<br />
	\]
	Since the above matrix has leading $1$&#8217;s in the first and third columns, we can conclude that the first and third vectors of $S$ form a basis of $\Span(S)$. Thus<br />
	\[<br />
	\left\{<br />
	\begin{bmatrix}<br />
	1 \\ 2 \\ 1<br />
	\end{bmatrix}<br />
	,<br />
	\begin{bmatrix}<br />
	2 \\ 6 \\ -2<br />
	\end{bmatrix}<br />
	\right\}<br />
	\]
	is a basis for $\Span(S)$.</p>
<button class="simplefavorite-button has-count" data-postid="6933" data-siteid="1" data-groupid="1" data-favoritecount="100" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">100</span></button><p>The post <a href="https://yutsumura.com/find-a-basis-for-spans-where-s-is-a-set-of-four-vectors/" target="_blank">Find a basis for $\Span(S)$, where $S$ is a Set of Four Vectors</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-spans-where-s-is-a-set-of-four-vectors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">6933</post-id>	</item>
		<item>
		<title>Vector Space of Functions from a Set to a Vector Space</title>
		<link>https://yutsumura.com/vector-space-of-functions-from-a-set-to-a-vector-space/</link>
				<comments>https://yutsumura.com/vector-space-of-functions-from-a-set-to-a-vector-space/#respond</comments>
				<pubDate>Fri, 23 Feb 2018 04:36:17 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[basis for a vector space]]></category>
		<category><![CDATA[dimension of a vector space]]></category>
		<category><![CDATA[isomorphism]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[vector space]]></category>
		<category><![CDATA[vector space of functions]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=6911</guid>
				<description><![CDATA[<p>For a set $S$ and a vector space $V$ over a scalar field $\K$, define the set of all functions from $S$ to $V$ \[ \Fun ( S , V ) = \{ f&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/vector-space-of-functions-from-a-set-to-a-vector-space/" target="_blank">Vector Space of Functions from a Set to a Vector Space</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 705</h2>
<p> For a set $S$ and a vector space $V$ over a scalar field $\K$, define the set of all functions from $S$ to $V$<br />
\[ \Fun ( S , V ) = \{ f : S \rightarrow V \} . \]
<p>For $f, g \in \Fun(S, V)$, $z \in \K$, addition and scalar  multiplication can be defined by<br />
\[ (f+g)(s) = f(s) + g(s) \, \mbox{ and } (cf)(s) = c (f(s)) \, \mbox{ for all } s \in S . \]
<p><strong>(a)</strong> Prove that $\Fun(S, V)$ is a vector space over $\K$.  What is the zero element?  </p>
<p><strong>(b)</strong> Let $S_1 = \{ s \}$ be a set consisting of one element.  Find an isomorphism between $\Fun(S_1 , V)$ and $V$ itself.  Prove that the map you find is actually a linear isomorpism.</p>
<p><strong>(c)</strong> Suppose that $B = \{ e_1 , e_2 , \cdots , e_n \}$ is a basis of $V$.  Use $B$ to construct a basis of $\Fun(S_1 , V)$.  </p>
<p><strong>(d)</strong> Let $S = \{ s_1 , s_2 , \cdots , s_m \}$.  Construct a linear isomorphism between $\Fun(S, V)$ and the vector space of $n$-tuples of $V$, defined as<br />
\[ V^m = \{ (v_1 , v_2 , \cdots , v_m ) \mid v_i \in V \mbox{ for all } 1 \leq i \leq m \} . \]
<p><strong>(e)</strong> Use the basis $B$ of $V$ to constract a basis of $\Fun(S, V)$ for an arbitrary finite set $S$.  What is the dimension of $\Fun(S, V)$?</p>
<p><strong>(f)</strong> Let $W \subseteq V$ be a subspace.  Prove that $\Fun(S, W)$ is a subspace of $\Fun(S, V)$.</p>
<p>&nbsp;<br />
<span id="more-6911"></span><br />

<h2> Proof. </h2>
<h3>(a) Prove that $\Fun(S, V)$ is a vector space over $\K$.  What is the zero element? </h3>
<p>We will prove that each vector space axioms holds for $\Fun(S, V)$. </p>
<p><strong>Closed under addition and scalar multiplication</strong>: For $f , g \in \Fun(S, V)$ and $c, d \in \K$, $cf+dg$ is another function with domain $S$ defined by<br />
\[ (cf+dg)(s) = cf(s) + dg(s) \in V \, \mbox{ for all } s \in S . \]
Thus $cf+dg \in \Fun(S, V)$.  This proves that $\Fun(S, V)$ is closed under addition and scalar multiplication.</p>
<hr />
<p><strong>Addition is associative</strong>:  For $f, g, h \in \Fun(S, V)$ and $s \in S$ we have<br />
\begin{align*}<br />
((f+g)+h)(s) &#038;= (f+g)(s) + h(s) \\<br />
&#038;= ( f(s) + g(s) ) + h(s) \\<br />
&#038;= f(s) + ( g(s) + h(s) ) \\<br />
&#038;= f(s) + (g+h)(s) \\<br />
&#038;= (f+(g+h))(s) . \end{align*}</p>
<p>Because $((f+g)+h)(s) = (f+(g+h))(s)$ holds for each $s \in S$, we can say that $(f+g)+h = f+(g+h)$.</p>
<hr />
<p><strong>Addition is commutative</strong>: Notice that for $s \in S$ we have<br />
\[ (f+g)(s) = f(s) + g(s) = g(s) + f(s) = (g+f)(s) . \]
Because this holds for every $s \in S$, we can say that $f+g = g+f$.</p>
<hr />
<p><strong>Zero vector</strong>: The zero vector is the function $\mathbf{0}$, defined by $\mathbf{0}(s) = 0 \in V$ for each $s \in S$.  To check that $\mathbf{0}$ is the additive identity, we check for any $f \in \Fun(S, V)$ and $s \in S$,<br />
\[ (f+ \mathbf{0})(s) = f(s) + \mathbf{0}(s) = f(s) + 0 = f(s) . \]
Because this holds for each $s \in S$, we can say that $f + \mathbf{0} = f$.  </p>
<hr />
<p><strong>Inverse vectors</strong>: For $f \in \Fun(S, V)$, its additive inverse is the function $(-f)$ defined by<br />
\[ (-f)(s) = &#8211; f(s) \, \mbox{ for all } s \in S . \]
To check that $-f$ is the inverse of $f$, we check for all $s \in S$<br />
\[ (f + (-f))(s) = f(s) + (-f)(s) = f(s) &#8211; f(s) = 0 = \mathbf{0}(s) . \]
<hr />
<p><strong>Scalar multiplication is associative</strong>: For $c, d \in \K$, $f \in \Fun(S, V)$ and $s \in S$ we have<br />
\[ ((cd)(f))(s) = (cd) f(s) = c ( d f(s) ) = c ( df)(s) = (c (df) )(s) . \]
Because this holds for each $s \in S$, we conclude that $(cd)(f) = c (df)$.</p>
<hr />
<p><strong>Scalar identity element</strong>: Let $1 \in \K$ be the multiplicative identity.  Then for $f \in \Fun(S, V)$ and $s \in S$ we have<br />
\[ (1f)(s) = 1 f(s) = f(s) . \]
Because this holds for all $s \in S$, we conclude that $1f = f$.</p>
<hr />
<p><strong>Distributivity</strong>: Next we check distributivity. For $c, d \in \K$, $f \in \Fun(S, V)$ and $s \in S$, we have<br />
\[ ( (c+d)(f) )(s) = (c+d) f(s) = c f(s) + d f(s) = (cf + df)(s) . \]
Because this holds for all $s \in S$, we can conclude that<br />
\[ (c+d)f = cf + df . \]
<p>For $c \in \K$, $f, g \in \Fun(S, V)$ and $s \in S$ we have<br />
\begin{align*}<br />
( c(f+g))(s) &#038;= c ( (f+g)(s) ) \\<br />
&#038;= c ( f(s) + g(s) ) \\<br />
&#038;= cf(s) + cg(s) \\<br />
&#038;= (cf + cg)(s) . \end{align*}</p>
<p>Because this holds for all $s \in S$, we conclude that<br />
\[ c(f+g) = cf + cg . \]
<p>We have shown that $\Fun(S, V)$ satisfies all of the vector space axioms, so it is a vector space.</p>
<h3>(b) Let $S_1 = \{ s \}$ be a set consisting of one element.  Find an isomorphism between $\Fun(S_1 , V)$ and $V$ itself.  Prove that the map you find is actually a linear isomorpism.</h3>
<p>Define the map $T : \Fun(S_1 , V) \rightarrow V$ by<br />
\[ T(f) = f(s) \, \mbox{ for all } f \in \Fun(S_1 , V) . \]
<p>We check that $T$ is a linear map.  For $f, g \in \Fun(S_1, V)$ we have<br />
\[ T(f+g) = (f+g)(s) = f(s) + g(s) = T(f) + T(g) . \]
Thus $T$ is additive.  Next, for $c \in \K$ and $f \in \Fun(S_1, V)$ we have<br />
\[ T(cf) = (cf)(s) = c f(s) = c T(f) . \]
This shows that $T$ respects scalar multiplication, and so $T$ is a linear map.</p>
<hr />
<p>Next we prove that $T$ is an isomorphism.  To see that $T$ is surjective, pick any $v \in V$.  Define the map $f_v \in \Fun(S_1, V)$ by $f_v(s) = v$.  Then $T(f_v) = f_v(s) = v$, and so $v$ lies in the range of $T$.  </p>
<p>To see that $T$ is injective, it is enough to show that if $T(f) = 0 \in V$ then $f = \mathbf{0} \in \Fun(S_1, V)$.  So suppose that $T(f) = 0$.  Because $T(f) = f(s)$, this implies that $f(s) = 0$. But $\mathbf{0}(s) = 0$ as well.  Because $f(s) = \mathbf{0}(s)$ for each $s \in S_1$ (which, remember, contains only the one element), we can conclude that $f = \mathbf{0}$.</p>
<p>We have shown that $T$ is linear, injective, and surjective.  This finishes the proof that $T$ is a linear isomorphism.</p>
<h3>(c) Find a basis of $\Fun(S_1 , V)$. </h3>
<p>We can use the basis $B$ of $V$ and the linear isomorphism $T$ found in the previous part to define a basis of $\Fun(S_1, V)$.  More specifically, the image of $B$ under the inverse isomorphism<br />
\[ T^{-1} : V \rightarrow \Fun(S_1 , V) \]
will define a basis of $\Fun(S_1 , V)$.</p>
<p>For $v \in V$ define the function $f_v$ by $f_v(s) = v$.  It is clear that $T(f_v) = v$, and so $T^{-1}(v) = f_v$ for all $v \in V$.  In particular, $T^{-1}(e_i) = f_{e_i}$ for each $1 \leq i \leq n$, and so the set $\{ f_{e_1} , f_{e_2} , \cdots , f_{e_n} \}$ forms a basis of $\Fun(S, V)$.</p>
<h3>(d)  Construct a linear isomorphism between $\Fun(S, V)$ and the vector space $V^m$</h3>
<p>Define the map $T : \Fun(S, V) \rightarrow V^m$ by<br />
\[ T(f) = ( f(s_1) , f(s_2) , \cdots , f(s_m) ) \in V^m \, \mbox{ for all } f \in \Fun(S, V) . \]
<p>First we show that $T$ is linear.  For $f, g \in \Fun(S, V)$ and $c, d \in \K$ we have<br />
\begin{align*}<br />
T(cf+dg) &#038;= \left( (cf + dg)(s_1) , (cf + dg)(s_2) , \cdots , (cf + dg)(s_m) \right) \\<br />
&#038;= \left( (cf)(s_1) + (dg)(s_1) ,  (cf)(s_2) + (dg)(s_2) , \cdots , (cf)(s_m) + (dg)(s_m) \right) \\<br />
&#038;= \left( c f(s_1) , c f(s_2) , \cdots , c f(s_m) \right) + \left( d g(s_1) , d g(s_2) , \cdots , d g(s_m) \right) \\<br />
&#038;= c \left( f(s_1) , f(s_2) , \cdots , f(s_m) \right) + d \left( g(s_1) , g(s_2) , \cdots , g(s_m) \right) \\<br />
&#038;= c T(f) + d T(g) . \end{align*}</p>
<p>This proves that $T$ is a linear map. </p>
<hr />
<p>Next we show that it is an isomorphism.</p>
<p>First we show surjectivity.  For $(v_1 , v_2 , \cdots , v_m) \in V^m$ define the function $f$ by<br />
\[ f(s_i) = v_i \, \mbox{ for } 1 \leq i \leq m . \]
<p>Then<br />
\[ T(f) = ( f(s_1) , f(s_2) , \cdots , f(s_m) ) = ( v_1 , v_2 , \cdots , v_m ) . \]
Thus every element of $V^m$ lies in the range of $T$.</p>
<hr />
<p>Next we check injectivity.  Suppose that $T(f) = (0 , 0 , \cdots , 0) \in V^m$.  This means that $f(s_i) = 0$ for each $1 \leq i \leq m$.  Thus $f(s) = \mathbf{0}(s)$ for all $s \in S$, and so $f = \mathbf{0}$.  This proves that $T$ is injective.  Together with surjectivity and linearity, we have proven that $T$ is an isomorphism.</p>
<h3>(e) Constract a basis of $\Fun(S, V)$ for an arbitrary finite set $S$.  What is the dimension of $\Fun(S, V)$?</h3>
<p>We will use the basis $B = \{ e_1 , \cdots , e_n \}$ of $V$ to create a basis for $V^m$.  We will translate this basis into a basis of $\Fun(S, V)$ using the isomorphism $T$, or actually its inverse $T^{-1}$.</p>
<p>For integers $i, j$ with $1 \leq i \leq n$ and $1 \leq j \leq m$, define the vector<br />
\[ d_i^j = ( 0 , \cdots , e_i , \cdots , 0 ) . \]
Notice that every component is $0$ except for the $j$-th component, which is the vector $e_i$.  The set $\{ d_i^j \}_{ \substack{1 \leq i \leq n \\ 1 \leq j \leq m} }$ is the standard basis of $V^m$ defined by $B$.  The set $\{ T^{-1} ( d_i^j ) \}_{ \substack{ 1 \leq i \leq n \\ 1 \leq j \leq m}}$ will then be a basis of $\Fun(S, V)$.</p>
<hr />
<p>To find $T^{-1}$, suppose that $T(f) = d_i^j$.  Because the $j$-th component of $d_i^j$ is $e_i$, we must have that $f(s_j) = e_i$.  Because all of the other components are $0$, we must have $f(s_k) = 0$ for all $k \neq j$.  This information completely determines the function $f$.  Define the function $\delta_i^j$ by<br />
\[ \delta_i^j ( s_k ) = \left\{ \begin{array}{cl} e_i &#038; \mbox{ if } k = j \\ 0 &#038; \mbox{ if } k \neq j \end{array} \right. . \]
<p>Then it is clear that $T(\delta_i^j) = d_i^j$; that is, $T^{-1}(d_i^j) = \delta_i^j$.  Thus a basis of $\Fun(S, V)$ is formed by the set $\{ \delta_i^j \}_{ \substack{ 1 \leq i \leq n \\ 1 \leq j \leq m }}$.  There are exactly $nm$ elements in this basis, thus $\Fun(S, V)$ has dimension $nm$.</p>
<h3>(f) Prove that $\Fun(S, W)$ is a subspace of $\Fun(S, V)$.</h3>
<p>We will show in one step that $\Fun(S, W)$ is closed under addition and scalar multiplication. For $f, g \in \Fun(S, W)$, $c, d \in \K$ and $s \in S$ we have<br />
\[ (cf + dg)(s) = c f(s) + d g(s) \in W . \]
This proves that $(cf + dg) : S \rightarrow W$, and so $(cf + dg) \in \Fun(S, W)$.</p>
<button class="simplefavorite-button has-count" data-postid="6911" data-siteid="1" data-groupid="1" data-favoritecount="20" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">20</span></button><p>The post <a href="https://yutsumura.com/vector-space-of-functions-from-a-set-to-a-vector-space/" target="_blank">Vector Space of Functions from a Set to a Vector Space</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></content:encoded>
							<wfw:commentRss>https://yutsumura.com/vector-space-of-functions-from-a-set-to-a-vector-space/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">6911</post-id>	</item>
		<item>
		<title>Find a Basis for Nullspace, Row Space, and Range of a Matrix</title>
		<link>https://yutsumura.com/find-a-basis-for-nullspace-row-space-and-range-of-a-matrix/</link>
				<comments>https://yutsumura.com/find-a-basis-for-nullspace-row-space-and-range-of-a-matrix/#respond</comments>
				<pubDate>Wed, 21 Feb 2018 20:52:29 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[basis for a vector space]]></category>
		<category><![CDATA[leading 1 method]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[linear combination]]></category>
		<category><![CDATA[null space]]></category>
		<category><![CDATA[range of a matrix]]></category>
		<category><![CDATA[row space]]></category>
		<category><![CDATA[row space method]]></category>
		<category><![CDATA[vector space]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=6906</guid>
				<description><![CDATA[<p>Let $A=\begin{bmatrix} 2 &#038; 4 &#038; 6 &#038; 8 \\ 1 &#038;3 &#038; 0 &#038; 5 \\ 1 &#038; 1 &#038; 6 &#038; 3 \end{bmatrix}$. (a) Find a basis for the nullspace of $A$.&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/find-a-basis-for-nullspace-row-space-and-range-of-a-matrix/" target="_blank">Find a Basis for Nullspace, Row Space, and Range 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 704</h2>
<p> Let $A=\begin{bmatrix}<br />
  2 &#038; 4 &#038; 6 &#038;   8 \\<br />
  1 &#038;3 &#038;  0 &#038; 5  \\<br />
  1 &#038; 1 &#038; 6 &#038; 3<br />
  \end{bmatrix}$.<br />
<strong>(a)</strong> Find a basis for the nullspace of $A$.</p>
<p><strong>(b)</strong> Find a basis for the row space of $A$.</p>
<p><strong>(c)</strong> Find a basis for the range of $A$ that consists of column vectors of $A$.</p>
<p><strong>(d)</strong> For each column vector which is not a basis vector that you obtained in part (c), express it as a linear combination of the basis vectors for the range of $A$.</p>
<p>&nbsp;<br />
<span id="more-6906"></span><br />

<h2>Solution.</h2>
<p>	We first obtain the reduced row echelon form matrix corresponding to the matrix $A$.<br />
We reduce the matrix $A$ as follows:<br />
\begin{align*}<br />
A=\begin{bmatrix}<br />
  2 &#038; 4 &#038; 6 &#038;   8 \\<br />
  1 &#038;3 &#038;  0 &#038; 5  \\<br />
  1 &#038; 1 &#038; 6 &#038; 3<br />
  \end{bmatrix}<br />
  \xrightarrow{\frac{1}{2}R_1}<br />
  \begin{bmatrix}<br />
  1 &#038; 2 &#038; 3 &#038;   4 \\<br />
  1 &#038;3 &#038;  0 &#038; 5  \\<br />
  1 &#038; 1 &#038; 6 &#038; 3<br />
  \end{bmatrix}\\[6pt]
  \xrightarrow[R_3-R_1]{R_2-R_1}<br />
  \begin{bmatrix}<br />
  1 &#038; 2 &#038; 3 &#038;   4 \\<br />
  0 &#038;1 &#038;  -3 &#038; 1  \\<br />
  0 &#038; -1 &#038; 3 &#038; -1<br />
  \end{bmatrix}<br />
  \xrightarrow[R_3+R_2]{R_1-2R_2}<br />
  \begin{bmatrix}<br />
  1 &#038; 0 &#038; 9 &#038;   2 \\<br />
  0 &#038;1 &#038;  -3 &#038; 1  \\<br />
  0 &#038; 0 &#038; 0 &#038; 0<br />
  \end{bmatrix}.<br />
\end{align*}<br />
The last matrix is in reduced row echelon form. That is,<br />
\[\rref(A)=\begin{bmatrix}<br />
  1 &#038; 0 &#038; 9 &#038;   2 \\<br />
  0 &#038;1 &#038;  -3 &#038; 1  \\<br />
  0 &#038; 0 &#038; 0 &#038; 0<br />
  \end{bmatrix}. \tag{*}\]
<h3>(a) Find a basis for the nullspace of $A$.</h3>
<p>By the computation above, we see that the general solution of $A\mathbf{x}=\mathbf{0}$ is<br />
\begin{align*}<br />
x_1&#038;=-9x_3-2x_4\\<br />
x_2&#038;=3x_3-x_4,<br />
\end{align*}<br />
where $x_3$ and $x_4$ are free variables.<br />
Thus, the vector form solution to $A\mathbf{x}=\mathbf{0}$ is<br />
\begin{align*}<br />
\mathbf{x}=\begin{bmatrix}<br />
  x_1 \\<br />
   x_2 \\<br />
    x_3 \\<br />
   x_4<br />
   \end{bmatrix}<br />
   =\begin{bmatrix}<br />
  -9x_3-2x_4 \\<br />
   3x_3-x_4 \\<br />
    x_3 \\<br />
   x_4<br />
   \end{bmatrix}<br />
 =x_3\begin{bmatrix}<br />
  -9 \\<br />
   3 \\<br />
    1 \\<br />
   0<br />
   \end{bmatrix}+x_4\begin{bmatrix}<br />
  -2 \\<br />
   -1 \\<br />
    0 \\<br />
   1<br />
   \end{bmatrix}.<br />
\end{align*}<br />
It follows that the nullspace of the matrix $A$ is given by<br />
\begin{align*}<br />
\calN(A)&#038;=\left\{ \mathbf{x}\in \R^4 \quad \middle | \quad  \mathbf{x}= x_3\begin{bmatrix}<br />
  -9 \\<br />
   3 \\<br />
    1 \\<br />
   0<br />
   \end{bmatrix}+x_4\begin{bmatrix}<br />
  -2 \\<br />
   -1 \\<br />
    0 \\<br />
   1<br />
   \end{bmatrix}, \text{ for all } x_3, x_4 \in \R^4 \right \}\\[6pt]
   &#038;= \Span \left\{ \begin{bmatrix}<br />
  -9 \\<br />
   3 \\<br />
    1 \\<br />
   0<br />
   \end{bmatrix}, \begin{bmatrix}<br />
  -2 \\<br />
   -1 \\<br />
    0 \\<br />
   1<br />
   \end{bmatrix} \right \}.<br />
\end{align*}<br />
 Thus, the set<br />
 \[\left\{ \begin{bmatrix}<br />
  -9 \\<br />
   3 \\<br />
    1 \\<br />
   0<br />
   \end{bmatrix}, \begin{bmatrix}<br />
  -2 \\<br />
   -1 \\<br />
    0 \\<br />
   1<br />
   \end{bmatrix} \right \}\]
   is a spanning set for the nullspace $\calN(A)$.<br />
   It is straightforward to see that this set is linearly independent, and hence it is a basis for $\calN(A)$.</p>
<h3>(b) Find a basis for the row space of $A$.</h3>
<p>Recall that the nonzero rows of $\rref(A)$ form a basis for the row space of $A$. (The row space method.)</p>
<p>Thus,<br />
\[\left\{\begin{bmatrix}<br />
  1 \\<br />
   0 \\<br />
    9 \\<br />
   2<br />
   \end{bmatrix}, \quad \begin{bmatrix}<br />
  0 \\<br />
   1 \\<br />
    -3 \\<br />
   1<br />
   \end{bmatrix} \right \}\]
   is a basis for the row space of $A$.</p>
<h3>(c) Find a basis for the range of $A$ that consists of column vectors of $A$.</h3>
<p>Recall that by the leading 1 method, the columns of $A$ corresponding to columns of $\rref(A)$ that contain leading 1 entries form a basis for the range $\calR(A)$ of $A$.<br />
	From (*), we see that the first and the second columns contain the leading 1 entries. Thus,<br />
	\[\left\{\begin{bmatrix}<br />
  2 \\<br />
   1 \\<br />
    1<br />
  \end{bmatrix}, \begin{bmatrix}<br />
  4 \\<br />
   3 \\<br />
    1<br />
  \end{bmatrix}\right \}\]
  is a basis for the range $\calR(A)$ of $A$.</p>
<h3>(d) For each column vector which is not a basis vector that you obtained in part (c), express it as a linear combination of the basis vectors for the range of $A$.</h3>
<p>Let us write $A_1, A_2, A_3$, and $A_4$ for the column vectors of the matrix $A$.<br />
  In part (c), we showed that $\{A_1, A_2\}$ is a basis for the range $\calR(A)$.<br />
  Thus, we need to express the vectors $A_3$ and $A_4$ as a linear combination of $A_1$ and $A_2$, respectively.</p>
<p>  A shortcut is to note that the entries of third column vector of $\rref(A)$ give the coefficients of the linear combination for $A_3$. That is, we have<br />
  \[A_3=9A_1-3A_2.\]
  Similarly, the entries of the fourth column of $\rref(A)$ yield<br />
  \[A_4=2A_1+A_2.\]
<button class="simplefavorite-button has-count" data-postid="6906" data-siteid="1" data-groupid="1" data-favoritecount="94" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">94</span></button><p>The post <a href="https://yutsumura.com/find-a-basis-for-nullspace-row-space-and-range-of-a-matrix/" target="_blank">Find a Basis for Nullspace, Row Space, and Range of a Matrix</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></content:encoded>
							<wfw:commentRss>https://yutsumura.com/find-a-basis-for-nullspace-row-space-and-range-of-a-matrix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">6906</post-id>	</item>
		<item>
		<title>Describe the Range of the Matrix Using the Definition of the Range</title>
		<link>https://yutsumura.com/describe-the-range-of-the-matrix-using-the-definition-of-the-range/</link>
				<comments>https://yutsumura.com/describe-the-range-of-the-matrix-using-the-definition-of-the-range/#respond</comments>
				<pubDate>Fri, 16 Feb 2018 04:58:27 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[basis for a vector space]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[range]]></category>
		<category><![CDATA[range of a matrix]]></category>
		<category><![CDATA[spanning set]]></category>
		<category><![CDATA[subspace]]></category>
		<category><![CDATA[vector space]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=6892</guid>
				<description><![CDATA[<p>Using the definition of the range of a matrix, describe the range of the matrix \[A=\begin{bmatrix} 2 &#038; 4 &#038; 1 &#038; -5 \\ 1 &#038;2 &#038; 1 &#038; -2 \\ 1 &#038; 2&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/describe-the-range-of-the-matrix-using-the-definition-of-the-range/" target="_blank">Describe the Range of the Matrix Using the Definition of the Range</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 703</h2>
<p>	Using the definition of the range of a matrix, describe the range of the matrix<br />
	\[A=\begin{bmatrix}<br />
  2 &#038; 4 &#038; 1 &#038;   -5 \\<br />
  1 &#038;2 &#038;  1 &#038; -2  \\<br />
  1 &#038; 2 &#038; 0 &#038; -3<br />
  \end{bmatrix}.\]
<p> &nbsp;<br />
<span id="more-6892"></span></p>
<h2>Solution.</h2>
<p>  	By definition, the range $\calR(A)$ of the matrix $A$ is given by<br />
	\[\calR(A)=\left \{ \mathbf{b} \in \R^3 \quad \middle | \quad  A\mathbf{x}=\mathbf{b} \text{ for some } \mathbf{x} \in \R^4 \right \}.\]
<p>	Thus, a vector $\mathbf{b}=\begin{bmatrix}<br />
  b_1 \\<br />
   b_2 \\<br />
    b_3<br />
  \end{bmatrix}$ in $\R^3$ is in the range $\calR(A)$ if and only if the system $A\mathbf{x}=\mathbf{b}$ is consistent.<br />
  So, let us find the conditions on $\mathbf{b}$ so that the system is consistent.</p>
<hr />
<p>To do this, we consider the augmented matrix of the system and reduce it as follows.<br />
  \begin{align*}<br />
\left[\begin{array}{rrrr|r}<br />
   2 &#038; 4 &#038; 1 &#038;   -5 &#038; b_1\\<br />
  1 &#038;2 &#038;  1 &#038; -2 &#038; b_2 \\<br />
  1 &#038; 2 &#038; 0 &#038; -3 &#038;b_3<br />
  \end{array}\right]
  \xrightarrow{R_1 \leftrightarrow R_2}<br />
  \left[\begin{array}{rrrr|r}<br />
  1 &#038;2 &#038;  1 &#038; -2 &#038; b_2 \\<br />
   2 &#038; 4 &#038; 1 &#038;   -5 &#038; b_1\\<br />
  1 &#038; 2 &#038; 0 &#038; -3 &#038;b_3<br />
  \end{array}\right]
  \xrightarrow[R_3-R_1]{R_2-2R_1}\\[6pt]
   \left[\begin{array}{rrrr|r}<br />
  1 &#038;2 &#038;  1 &#038; -2 &#038; b_2 \\<br />
   0 &#038; 0 &#038; -1 &#038;   -1 &#038; b_1-2b_2\\<br />
 0 &#038; 0 &#038; 0 &#038; -1 &#038; b_3-b_2<br />
  \end{array}\right]
  \xrightarrow{-R_2}<br />
   \left[\begin{array}{rrrr|r}<br />
  1 &#038;2 &#038;  1 &#038; -2 &#038; b_2 \\<br />
   0 &#038; 0 &#038; 1 &#038;  1 &#038; -b_1+2b_2\\<br />
 0 &#038; 0 &#038; -1 &#038; -1 &#038; b_3-b_2<br />
  \end{array}\right]\\[6pt]
  \xrightarrow[R_3+R_2]{R_1-R_2}<br />
     \left[\begin{array}{rrrr|r}<br />
  1 &#038;2 &#038;  0 &#038; -3 &#038; b_1-b_2 \\<br />
   0 &#038; 0 &#038; 1 &#038;  1 &#038; -b_1+2b_2\\<br />
 0 &#038; 0 &#038; 0 &#038; 0 &#038; -b_1 +b_2 +b_3<br />
  \end{array}\right].<br />
\end{align*}</p>
<hr />
<p>Note that if the $(3, 5)$-entry $-b_1+b_2+b_3$ is not zero, then the system $A\mathbf{x}=\mathbf{0}$ is inconsistent because this implies $0=1$.<br />
On the other hand, if $-b_1+b_2+b_3=0$, then we see that the system is consistent.<br />
Hence, the vector $\mathbf{b}$ is in the range $\calR(A)$ if and only if $-b_1+b_2+b_3=0$.</p>
<hr />
<p>In summary, we have<br />
\[\calR(A)=\left\{ \begin{bmatrix}<br />
  b_1 \\<br />
   b_2 \\<br />
    b_3<br />
  \end{bmatrix}\in \R^3 \quad \middle | \quad -b_1+b_2+b_3=0 \right \}.\]
<h3>Spanning set for the range</h3>
<p>With a little bit additional computation, we can find the spanning set for the range as follows.</p>
<hr />
<p>	Thus, $\mathbf{b} \in \calR(A)$ if and only if<br />
	\begin{align*}<br />
\mathbf{b}=\begin{bmatrix}<br />
  b_1 \\<br />
   b_2 \\<br />
    b_3<br />
  \end{bmatrix}=\begin{bmatrix}<br />
  b_2+b_3 \\<br />
   b_2 \\<br />
    b_3<br />
  \end{bmatrix}=b_2\begin{bmatrix}<br />
  1 \\<br />
   1 \\<br />
    0<br />
  \end{bmatrix}+b_3\begin{bmatrix}<br />
  1 \\<br />
   0 \\<br />
    1<br />
  \end{bmatrix}.<br />
\end{align*}</p>
<p>	In summary, we have<br />
\begin{align*}<br />
\calR(A)&#038;=\left\{ \mathbf{b} \in \R^3 \quad \middle | \quad \mathbf{b}=b_2\begin{bmatrix}<br />
  1 \\<br />
   1 \\<br />
    0<br />
  \end{bmatrix}+b_3\begin{bmatrix}<br />
  1 \\<br />
   0 \\<br />
    1<br />
  \end{bmatrix} \right \}\\[6pt]
  &#038;=\Span\left\{ \begin{bmatrix}<br />
  1 \\<br />
   1 \\<br />
    0<br />
  \end{bmatrix}, \begin{bmatrix}<br />
  1 \\<br />
   0 \\<br />
    1<br />
  \end{bmatrix} \right \}.<br />
  \end{align*}<br />
  Hence, the spanning set is<br />
 \[ \left\{ \begin{bmatrix}<br />
  1 \\<br />
   1 \\<br />
    0<br />
  \end{bmatrix}, \begin{bmatrix}<br />
  1 \\<br />
   0 \\<br />
    1<br />
  \end{bmatrix} \right \}.\]
<hr />
<p>This spanning set is linearly independent, hence it&#8217;s a basis for the range. </p>
<p>Thus, the dimension of the range is $2$.</p>
<button class="simplefavorite-button has-count" data-postid="6892" data-siteid="1" data-groupid="1" data-favoritecount="49" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">49</span></button><p>The post <a href="https://yutsumura.com/describe-the-range-of-the-matrix-using-the-definition-of-the-range/" target="_blank">Describe the Range of the Matrix Using the Definition of the Range</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></content:encoded>
							<wfw:commentRss>https://yutsumura.com/describe-the-range-of-the-matrix-using-the-definition-of-the-range/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">6892</post-id>	</item>
		<item>
		<title>The Coordinate Vector for a Polynomial with respect to the Given Basis</title>
		<link>https://yutsumura.com/the-coordinate-vector-for-a-polynomial-with-respect-to-the-given-basis/</link>
				<comments>https://yutsumura.com/the-coordinate-vector-for-a-polynomial-with-respect-to-the-given-basis/#respond</comments>
				<pubDate>Mon, 29 Jan 2018 04:39:09 +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[coordinate vector]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[vector space of polynomials]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=6791</guid>
				<description><![CDATA[<p>Let $\mathrm{P}_3$ denote the set of polynomials of degree $3$ or less with real coefficients. Consider the ordered basis \[B = \left\{ 1+x , 1+x^2 , x &#8211; x^2 + 2x^3 , 1 &#8211;&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/the-coordinate-vector-for-a-polynomial-with-respect-to-the-given-basis/" target="_blank">The Coordinate Vector for a Polynomial with respect to the Given Basis</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 683</h2>
<p>Let $\mathrm{P}_3$ denote the set of polynomials of degree $3$ or less with real coefficients.  Consider the ordered basis<br />
\[B = \left\{ 1+x , 1+x^2 , x &#8211; x^2 + 2x^3 , 1 &#8211; x &#8211; x^2 \right\}.\]
Write the coordinate vector for the polynomial $f(x) = -3 + 2x^3$ in terms of the basis $B$.</p>
<p>&nbsp;<br />
<span id="more-6791"></span><br />

<h2>Solution.</h2>
<p>We will use the standard basis $C = \{ 1 , x , x^2 , x^3 \}$ to write the coordinate vectors for $f$ and each element of $B$.  We then use the simpler coordinate vectors to find a solution to the equation<br />
\begin{equation}\tag{*}<br />
c_1 ( 1 + x ) + c_2 ( 1 + x^2 ) + c_3 ( x &#8211; x^2 + 2 x^3 ) + c_4 ( 1 &#8211; x &#8211; x^2 ) = -3 + 2 x^3 . \end{equation}</p>
<p>The coordinate vectors are found by writing an element as a linear sum of elements of $C$.  The coefficients in the linear sum become the entries in the coordinate vector.  Thus we have the following coordinate vectors:<br />
\[[ 1 + x ]_{C} = \begin{bmatrix} 1 \\ 1 \\ 0 \\ 0 \end{bmatrix} , \, [ 1 + x^2 ]_{C} = \begin{bmatrix} 1 \\ 0 \\ 1 \\ 0 \end{bmatrix} , \, [ x &#8211; x^2 + 2 x^3 ]_{C} = \begin{bmatrix} 0 \\ 1 \\ -1 \\ 2 \end{bmatrix},\]
\[[ 1 &#8211; x &#8211; x^2 ]_{C} = \begin{bmatrix} 1 \\ -1 \\ -1 \\ 0 \end{bmatrix} , \, [ -3 + 2 x^3 ]_{C} = \begin{bmatrix} -3 \\ 0 \\ 0 \\ 2 \end{bmatrix}.\]
<p>Plugging these coordinate vectors into Equation (*), we get the equation<br />
\[c_1 \begin{bmatrix} 1 \\ 1 \\ 0 \\ 0 \end{bmatrix} + c_2  \begin{bmatrix} 1 \\ 0 \\ 1 \\ 0 \end{bmatrix} + c_3 \begin{bmatrix} 0 \\ 1 \\ -1 \\ 2 \end{bmatrix} + c_4 \begin{bmatrix} 1 \\ -1 \\ -1 \\ 0 \end{bmatrix}  = \begin{bmatrix} -3 \\ 0 \\ 0 \\ 2 \end{bmatrix}.\]
<hr />
<p>We can now create the augmented matrix which represents this equation:<br />
\[ \left[\begin{array}{rrrr|r}<br />
   1 &#038; 1 &#038; 0 &#038; 1 &#038; -3 \\ 1 &#038; 0 &#038; 1 &#038; -1 &#038; 0 \\ 0 &#038; 1 &#038; -1 &#038; -1 &#038; 0 \\ 0 &#038; 0 &#038; 2 &#038; 0 &#038; 2<br />
  \end{array} \right].\]
<hr />
<p>Now the equation is solved by reducing the augmented matrix:<br />
\begin{align*}<br />
 \left[\begin{array}{rrrr|r} 1 &#038; 1 &#038; 0 &#038; 1 &#038; -3 \\ 1 &#038; 0 &#038; 1 &#038; -1 &#038; 0 \\ 0 &#038; 1 &#038; -1 &#038; -1 &#038; 0 \\ 0 &#038; 0 &#038; 2 &#038; 0 &#038; 2 \end{array} \right] \xrightarrow{ R_2 &#8211; R_1 } \left[\begin{array}{rrrr|r} 1 &#038; 1 &#038; 0 &#038; 1 &#038; -3 \\ 0 &#038; -1 &#038; 1 &#038; -2 &#038; 3 \\ 0 &#038; 1 &#038; -1 &#038; -1 &#038; 0 \\ 0 &#038; 0 &#038; 2 &#038; 0 &#038; 2 \end{array} \right] \xrightarrow{ (-1) R_2 } \left[\begin{array}{rrrr|r} 1 &#038; 1 &#038; 0 &#038; 1 &#038; -3 \\ 0 &#038; 1 &#038; -1 &#038; 2 &#038; -3 \\ 0 &#038; 1 &#038; -1 &#038; -1 &#038; 0 \\ 0 &#038; 0 &#038; 2 &#038; 0 &#038; 2 \end{array} \right]  \\[6pt]
 \xrightarrow[R_3 &#8211; R_2]{ R_1 &#8211; R_2 } \left[\begin{array}{rrrr|r} 1 &#038; 0 &#038; 1 &#038; -1 &#038; 0 \\ 0 &#038; 1 &#038; -1 &#038; 2 &#038; -3 \\ 0 &#038; 0 &#038; 0 &#038; -3 &#038; 3 \\ 0 &#038; 0 &#038; 2 &#038; 0 &#038; 2 \end{array} \right] \xrightarrow[ \frac{1}{2} R_4]{ \left( \frac{-1}{3} \right) R_3 } \left[\begin{array}{rrrr|r} 1 &#038; 0 &#038; 1 &#038; -1 &#038; 0 \\ 0 &#038; 1 &#038; -1 &#038; 2 &#038; -3 \\ 0 &#038; 0 &#038; 0 &#038; 1 &#038; -1 \\ 0 &#038; 0 &#038; 1 &#038; 0 &#038; 1 \end{array} \right]  \\[6pt]
 \xrightarrow{ R_3 \leftrightarrow R_4 } \left[\begin{array}{rrrr|r} 1 &#038; 0 &#038; 1 &#038; -1 &#038; 0 \\ 0 &#038; 1 &#038; -1 &#038; 2 &#038; -3 \\ 0 &#038; 0 &#038; 1 &#038; 0 &#038; 1 \\ 0 &#038; 0 &#038; 0 &#038; 1 &#038; -1 \end{array} \right] \xrightarrow[ R_2 &#8211; 2 R_4 ]{ R_1 + R_4 } \left[\begin{array}{rrrr|r} 1 &#038; 0 &#038; 1 &#038; 0 &#038; -1 \\ 0 &#038; 1 &#038; -1 &#038; 0 &#038; -1 \\ 0 &#038; 0 &#038; 1 &#038; 0 &#038; 1 \\ 0 &#038; 0 &#038; 0 &#038; 1 &#038; -1 \end{array} \right]   \\[6pt]
  \xrightarrow[R_2 + R_3]{ R_1 &#8211; R_3 } \left[\begin{array}{rrrr|r} 1 &#038; 0 &#038; 0 &#038; 0 &#038; -2 \\ 0 &#038; 1 &#038; 0 &#038; 0 &#038; 0 \\ 0 &#038; 0 &#038; 1 &#038; 0 &#038; 1 \\ 0 &#038; 0 &#038; 0 &#038; 1 &#038; -1 \end{array} \right] .<br />
\end{align*}</p>
<hr />
<p>We can now read off the solution $c_1 = -2$, $c_2 = 0$ , $c_3 = 1$, and $c_4 = -1$.  We can now plug these coefficients into Equation (*), yielding the equation<br />
\[-2 (1 + x) +  ( x &#8211; x^2 + 2x^3 ) &#8211; ( 1 &#8211; x &#8211; x^2 ) = -3 + 2x^3.\]
<p>Finally, we use these coefficients to write the coordinate vector for $f$ in terms of the basis $B$:<br />
\[ [ -3 + 2x^3 ]_{B} = \begin{bmatrix} -2 \\ 0 \\ 1 \\ -1 \end{bmatrix}.\]
<button class="simplefavorite-button has-count" data-postid="6791" data-siteid="1" data-groupid="1" data-favoritecount="39" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">39</span></button><p>The post <a href="https://yutsumura.com/the-coordinate-vector-for-a-polynomial-with-respect-to-the-given-basis/" target="_blank">The Coordinate Vector for a Polynomial with respect to the Given Basis</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></content:encoded>
							<wfw:commentRss>https://yutsumura.com/the-coordinate-vector-for-a-polynomial-with-respect-to-the-given-basis/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">6791</post-id>	</item>
		<item>
		<title>Find a Basis for the Range of a Linear Transformation of Vector Spaces of Matrices</title>
		<link>https://yutsumura.com/find-a-basis-for-the-range-of-a-linear-transformation-of-vector-spaces-of-matrices/</link>
				<comments>https://yutsumura.com/find-a-basis-for-the-range-of-a-linear-transformation-of-vector-spaces-of-matrices/#respond</comments>
				<pubDate>Fri, 26 Jan 2018 14:54:39 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[basis for a vector space]]></category>
		<category><![CDATA[coordinate vector]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[linear transformation]]></category>
		<category><![CDATA[range]]></category>
		<category><![CDATA[standard basis]]></category>
		<category><![CDATA[vector space]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=6773</guid>
				<description><![CDATA[<p>Let $V$ denote the vector space of $2 \times 2$ matrices, and $W$ the vector space of $3 \times 2$ matrices. Define the linear transformation $T : V \rightarrow W$ by \[T \left( \begin{bmatrix}&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/find-a-basis-for-the-range-of-a-linear-transformation-of-vector-spaces-of-matrices/" target="_blank">Find a Basis for the Range of a Linear Transformation of Vector Spaces of Matrices</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 682</h2>
<p>Let $V$ denote the vector space of $2 \times 2$ matrices, and $W$ the vector space of $3 \times 2$ matrices.  Define the linear transformation $T : V \rightarrow W$ by<br />
\[T \left( \begin{bmatrix} a &#038; b \\ c &#038; d \end{bmatrix} \right) = \begin{bmatrix} a+b &#038; 2d \\ 2b &#8211; d &#038; -3c \\ 2b &#8211; c &#038; -3a \end{bmatrix}.\]
<p>Find a basis for the range of $T$.</p>
<p>&nbsp;<br />
<span id="more-6773"></span></p>
<h2>Solution.</h2>
<p>For any matrix $M \in V$ we can write $T(M)$ as a sum<br />
\[T \left( \begin{bmatrix} a &#038; b \\ c &#038; d \end{bmatrix} \right) = a \begin{bmatrix} 1 &#038; 0 \\ 0 &#038; 0 \\ 0 &#038; -3 \end{bmatrix} + b \begin{bmatrix} 1 &#038; 0 \\ 2 &#038; 0 \\ 2 &#038; 0 \end{bmatrix} + c \begin{bmatrix} 0 &#038; 0 \\ 0 &#038; -3 \\ -1 &#038; 0 \end{bmatrix} + d \begin{bmatrix} 0 &#038; 2 \\ -1 &#038; 0 \\ 0 &#038; 0 \end{bmatrix}.\]
<p>From this, we see that any element in the range of $T$ can be written as a linear sum of four elements<br />
\[\mathbf{v}_1 = \begin{bmatrix} 1 &#038; 0 \\ 0 &#038; 0 \\ 0 &#038; -3 \end{bmatrix} , \quad \mathbf{v}_2 = \begin{bmatrix} 1 &#038; 0 \\ 2 &#038; 0 \\ 2 &#038; 0 \end{bmatrix},\]
\[\mathbf{v}_3 = \begin{bmatrix} 0 &#038; 0 \\ 0 &#038; -3 \\ -1 &#038; 0 \end{bmatrix} , \quad \mathbf{v}_4 = \begin{bmatrix} 0 &#038; 2 \\ -1 &#038; 0 \\ 0 &#038; 0 \end{bmatrix}.\]
<p>This means that the set $\{ \mathbf{v}_1 , \mathbf{v}_2 , \mathbf{v}_3 , \mathbf{v}_4 \}$ is a basis of $W$ as long as the four vectors are linearly independent.  To check this, we will show that the coordinate vectors for the $\mathbf{v}_i$, relative to the standard basis, are linearly independent.  The standard basis is composed of the matrices<br />
\[\mathbf{e}_1 = \begin{bmatrix} 1 &#038; 0 \\ 0 &#038; 0 \\ 0 &#038; 0 \end{bmatrix} , \, \mathbf{e}_2 = \begin{bmatrix} 0 &#038; 1 \\ 0 &#038; 0 \\ 0 &#038; 0 \end{bmatrix} , \, \mathbf{e}_3 = \begin{bmatrix} 0 &#038; 0 \\ 1 &#038; 0 \\ 0 &#038; 0 \end{bmatrix},\]
\[\mathbf{e}_4 = \begin{bmatrix} 0 &#038; 0 \\ 0 &#038; 1 \\ 0 &#038; 0 \end{bmatrix} , \, \mathbf{e}_5 = \begin{bmatrix} 0 &#038; 0 \\ 0 &#038; 0 \\ 1 &#038; 0 \end{bmatrix} , \, \mathbf{e}_6 = \begin{bmatrix} 0 &#038; 0 \\ 0 &#038; 0 \\ 0 &#038; 1 \end{bmatrix}.\]
<hr />
<p>Relative to the standard basis $B = \{ \mathbf{e}_1 , \mathbf{e}_2 , \mathbf{e}_3 , \mathbf{e}_4 , \mathbf{e}_5 , \mathbf{e}_6 \}$, the coordinate vectors for the $\mathbf{v}_i$ are<br />
$$ [ \mathbf{v}_1 ]_{B} = \begin{bmatrix} 1 \\ 0 \\ 0 \\ 0 \\ 0 \\ -3 \end{bmatrix} , \, [ \mathbf{v}_2 ]_{B} = \begin{bmatrix} 1 \\ 0 \\ 2 \\ 0 \\ 2 \\ 0 \end{bmatrix} , \, [ \mathbf{v}_3 ]_{B} = \begin{bmatrix} 0 \\ 0 \\ 0 \\ -3 \\ -1 \\ 0 \end{bmatrix} , \, [ \mathbf{v}_4 ]_{B} = \begin{bmatrix} 0 \\ 2 \\ -1 \\ 0 \\ 0 \\ 0 \end{bmatrix} . $$</p>
<p>To show that these are linearly independent, we put these vectors in order and obtain the matrix<br />
\[ \begin{bmatrix} 1 &#038; 1 &#038; 0 &#038; 0 \\ 0 &#038; 0 &#038; 0 &#038; 2 \\ 0 &#038; 2 &#038; 0 &#038; -1 \\ 0 &#038; 0 &#038; -3 &#038; 0 \\ 0 &#038; 2 &#038; -1 &#038; 0 \\ -3 &#038; 0 &#038; 0 &#038; 0 \end{bmatrix} . \]
<p>To show linear independence of the columns, it suffices to show that this matrix has rank $4$.  To do this, we will row-reduce it.</p>
<p>\begin{align*}<br />
\begin{bmatrix} 1 &#038; 1 &#038; 0 &#038; 0 \\ 0 &#038; 0 &#038; 0 &#038; 2 \\ 0 &#038; 2 &#038; 0 &#038; -1 \\ 0 &#038; 0 &#038; -3 &#038; 0 \\ 0 &#038; 2 &#038; -1 &#038; 0 \\ -3 &#038; 0 &#038; 0 &#038; 0 \end{bmatrix} \xrightarrow[\frac{-1}{3} R_6]{ \substack{ \frac{1}{2} R_2 \\[4pt] \frac{-1}{3} R_4  } } \begin{bmatrix} 1 &#038; 1 &#038; 0 &#038; 0 \\ 0 &#038; 0 &#038; 0 &#038; 1 \\ 0 &#038; 2 &#038; 0 &#038; -1 \\ 0 &#038; 0 &#038; 1 &#038; 0 \\ 0 &#038; 2 &#038; -1 &#038; 0 \\ 1 &#038; 0 &#038; 0 &#038; 0 \end{bmatrix} \xrightarrow{ R_1 \leftrightarrow R_6 } \begin{bmatrix} 1 &#038; 0 &#038; 0 &#038; 0 \\ 0 &#038; 0 &#038; 0 &#038; 1 \\ 0 &#038; 2 &#038; 0 &#038; -1 \\ 0 &#038; 0 &#038; 1 &#038; 0 \\ 0 &#038; 2 &#038; -1 &#038; 0 \\ 1 &#038; 1 &#038; 0 &#038; 0  \end{bmatrix} \\[6pt]
 \xrightarrow{ R_6 &#8211; R_1 } \begin{bmatrix} 1 &#038; 0 &#038; 0 &#038; 0 \\ 0 &#038; 0 &#038; 0 &#038; 1 \\ 0 &#038; 2 &#038; 0 &#038; -1 \\ 0 &#038; 0 &#038; 1 &#038; 0 \\ 0 &#038; 2 &#038; -1 &#038; 0 \\ 0 &#038; 1 &#038; 0 &#038; 0  \end{bmatrix} \xrightarrow[R_5 &#8211; 2 R_6 + R_4]{ R_3 &#8211; 2 R_6 + R_2} \begin{bmatrix} 1 &#038; 0 &#038; 0 &#038; 0 \\ 0 &#038; 0 &#038; 0 &#038; 1 \\ 0 &#038; 0 &#038; 0 &#038; 0 \\ 0 &#038; 0 &#038; 1 &#038; 0 \\ 0 &#038; 0 &#038; 0 &#038; 0 \\ 0 &#038; 1 &#038; 0 &#038; 0  \end{bmatrix} .<br />
\end{align*}</p>
<hr />
<p>The four columns of this matrix are clearly linearly independent, and so it has rank $4$.  Thus the original matrix has rank $4$ as well, and so the set $\{ \mathbf{v}_1 , \mathbf{v}_2 , \mathbf{v}_3 , \mathbf{v}_4 \}$ is linearly independent and is a basis of $W$.</p>
<button class="simplefavorite-button has-count" data-postid="6773" data-siteid="1" data-groupid="1" data-favoritecount="59" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">59</span></button><p>The post <a href="https://yutsumura.com/find-a-basis-for-the-range-of-a-linear-transformation-of-vector-spaces-of-matrices/" target="_blank">Find a Basis for the Range of a Linear Transformation of Vector Spaces of Matrices</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-range-of-a-linear-transformation-of-vector-spaces-of-matrices/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">6773</post-id>	</item>
		<item>
		<title>The Range and Nullspace of the Linear Transformation $T (f) (x) = x f(x)$</title>
		<link>https://yutsumura.com/the-range-and-nullspace-of-the-linear-transformation-t-f-x-x-fx/</link>
				<comments>https://yutsumura.com/the-range-and-nullspace-of-the-linear-transformation-t-f-x-x-fx/#respond</comments>
				<pubDate>Tue, 16 Jan 2018 03:48:31 +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[linear algebra]]></category>
		<category><![CDATA[linear combination]]></category>
		<category><![CDATA[linear transformation]]></category>
		<category><![CDATA[nullspace]]></category>
		<category><![CDATA[range]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=6696</guid>
				<description><![CDATA[<p>For an integer $n > 0$, let $\mathrm{P}_n$ be the vector space of polynomials of degree at most $n$. The set $B = \{ 1 , x , x^2 , \cdots , x^n \}$&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/the-range-and-nullspace-of-the-linear-transformation-t-f-x-x-fx/" target="_blank">The Range and Nullspace of the Linear Transformation $T (f) (x) = x f(x)$</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 672</h2>
<p>For an integer $n > 0$, let $\mathrm{P}_n$ be the vector space of polynomials of degree at most $n$. The set $B = \{ 1 , x , x^2 , \cdots , x^n \}$ is a basis of $\mathrm{P}_n$, called the standard basis. </p>
<p>Let $T : \mathrm{P}_n \rightarrow \mathrm{P}_{n+1}$ be the map defined by, for $f \in \mathrm{P}_n$,<br />
\[T (f) (x) = x f(x).\]
<p>	Prove that $T$ is a linear transformation, and find its range and nullspace.</p>
<p>&nbsp;<br />
<span id="more-6696"></span><br />

<h2> Solution. </h2>
<h3>$T$ is a linear transformation</h3>
<p>	We must show that for polynomials $f, g \in \mathrm{P}_n$ and scalar $c \in \mathbb{R}$, the function $T$ satisfies $T(f+g) = T(f) + T(g)$ and $T(cf) = c T(f)$.  The first is checked using associativity of multiplication:<br />
\[T(f+g)(x) = x (f+g)(x) = x f(x) + x g(x) = T(f)(x) + T(g)(x) . \]
	Similarly,<br />
	\[T(cf)(x) = x (cf)(x) = c x f(x) = c T(f)(x).\]
<h3>The nullspace of $T$</h3>
<p>	The nullspace of $T$ is the set of polynomials $f(x)$ such that $T(f) = 0$.  That is, $x f(x) = 0$.  But this product can only be $0$ if one of the terms being multiplied is $0$.  Because $x \neq 0$, we must have that $f(x) = 0$.  Thus the nullspace is the trivial vector subspace $\{ 0 \}$.  </p>
<h3>The range of $T$</h3>
<p>	The range of $T$ is the set of polynomials of the form $x f(x)$ for an arbitrary polynomial $f \in \mathrm{P}_n$.  We can calculate this by calculating $T$ for a basis of $\mathrm{P}_n$.  Let $B = \{ 1 , x , x^2 , \cdots , x^n \}$ be a basis of $\mathrm{P}_n$. </p>
<p>We see that $T(x^i) = x^{i+1}$ for $ 0 \leq i \leq n$, and so the image of the basis is the set<br />
\[T( B ) = \{ x , x^2 , x^3 , \cdots , x^{n+1} \}.\]
	Then the range of $T$ must be the span of this set.  Specifically,<br />
\[\mathcal{R} ( T ) = \Span ( T( B ) ) = \Span ( x , x^2 , x^3 , \cdots , x^{n+1} ).\]
<button class="simplefavorite-button has-count" data-postid="6696" data-siteid="1" data-groupid="1" data-favoritecount="37" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">37</span></button><p>The post <a href="https://yutsumura.com/the-range-and-nullspace-of-the-linear-transformation-t-f-x-x-fx/" target="_blank">The Range and Nullspace of the Linear Transformation $T (f) (x) = x f(x)$</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></content:encoded>
							<wfw:commentRss>https://yutsumura.com/the-range-and-nullspace-of-the-linear-transformation-t-f-x-x-fx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">6696</post-id>	</item>
	</channel>
</rss>
