<?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>general vector space &#8211; Problems in Mathematics</title>
	<atom:link href="https://yutsumura.com/tag/general-vector-space/feed/" rel="self" type="application/rss+xml" />
	<link>https://yutsumura.com</link>
	<description></description>
	<lastBuildDate>Thu, 28 Dec 2017 03:50:51 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.3.6</generator>

<image>
	<url>https://i2.wp.com/yutsumura.com/wp-content/uploads/2016/12/cropped-question-logo.jpg?fit=32%2C32&#038;ssl=1</url>
	<title>general 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>Find a Basis of the Subspace Spanned by Four Polynomials of Degree 3 or Less</title>
		<link>https://yutsumura.com/find-a-basis-of-the-subspace-spanned-by-four-polynomials-of-degree-3-or-less/</link>
				<comments>https://yutsumura.com/find-a-basis-of-the-subspace-spanned-by-four-polynomials-of-degree-3-or-less/#comments</comments>
				<pubDate>Wed, 08 Nov 2017 16:25:29 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[basis]]></category>
		<category><![CDATA[coordinate vector]]></category>
		<category><![CDATA[exam]]></category>
		<category><![CDATA[general vector space]]></category>
		<category><![CDATA[leading 1 method]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[Ohio State]]></category>
		<category><![CDATA[Ohio State.LA]]></category>
		<category><![CDATA[polynomial]]></category>
		<category><![CDATA[span]]></category>
		<category><![CDATA[vector space]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=5273</guid>
				<description><![CDATA[<p>Let $\calP_3$ be the vector space of all polynomials of degree $3$ or less. Let \[S=\{p_1(x), p_2(x), p_3(x), p_4(x)\},\] where \begin{align*} p_1(x)&#038;=1+3x+2x^2-x^3 &#038; p_2(x)&#038;=x+x^3\\ p_3(x)&#038;=x+x^2-x^3 &#038; p_4(x)&#038;=3+8x+8x^3. \end{align*} (a) Find a basis $Q$ of&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/find-a-basis-of-the-subspace-spanned-by-four-polynomials-of-degree-3-or-less/" target="_blank">Find a Basis of the Subspace Spanned by Four Polynomials of Degree 3 or Less</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 607</h2>
<p>Let $\calP_3$ be the vector space of all polynomials of degree $3$ or less.<br />
		     Let<br />
		     \[S=\{p_1(x), p_2(x), p_3(x), p_4(x)\},\]
		     where<br />
		     \begin{align*}<br />
		p_1(x)&#038;=1+3x+2x^2-x^3 &#038; p_2(x)&#038;=x+x^3\\<br />
		p_3(x)&#038;=x+x^2-x^3 &#038; p_4(x)&#038;=3+8x+8x^3.<br />
		\end{align*}</p>
<p><strong>(a)</strong> Find a basis $Q$ of the span $\Span(S)$ consisting of polynomials in $S$.</p>
<p><strong>(b)</strong> For each polynomial in $S$ that is not in $Q$, find the coordinate vector with respect to the basis $Q$.</p>
<p><em>(The Ohio State University, Linear Algebra Midterm)</em><br />
&nbsp;<br />
<span id="more-5273"></span><br />

<h2>Solution.</h2>
<h3>(a) Find a basis $Q$ of the span $\Span(S)$ consisting of polynomials in $S$.</h3>
<p> Let $B=\{1, x, x^2, x^3\}$ be the standard basis for $\calP_3$.<br />
			With respect to the basis $B$, the coordinate vectors of the given polynomials are<br />
			\begin{align*}<br />
		\mathbf{v}_1:=[p_1(x)]_B&#038;=\begin{bmatrix}<br />
		  1 \\<br />
		   3 \\<br />
		    2 \\<br />
		   -1<br />
		   \end{bmatrix}, &#038;\mathbf{v}_2:=[p_2(x)]_B=\begin{bmatrix}<br />
		  0 \\<br />
		   1 \\<br />
		    0 \\<br />
		   1<br />
		   \end{bmatrix}\\[6pt]
		   \mathbf{v}_3:=[p_3(x)]_B&#038;=\begin{bmatrix}<br />
		  0 \\<br />
		   1 \\<br />
		    1 \\<br />
		   -1<br />
		   \end{bmatrix}, &#038;\mathbf{v}_4:=[p_4(x)]_B=\begin{bmatrix}<br />
		  3 \\<br />
		   8 \\<br />
		    0 \\<br />
		   8<br />
		   \end{bmatrix}.<br />
		\end{align*}<br />
		Let $T=\{\mathbf{v}_1, \mathbf{v}_2, \mathbf{v}_3, \mathbf{v}_4\}$ be the set of these coordinate vectors.</p>
<hr />
<p>		We find a basis for $\Span(T)$ among the vectors in $T$ by the leading 1 method.<br />
		We form the matrix whose column vectors are the vectors in $T$ and apply elementary row operations as follows.</p>
<p>			\begin{align*}<br />
		\begin{bmatrix}<br />
		  1 &#038; 0 &#038; 0 &#038;   3 \\<br />
		  3 &#038;1 &#038;  1 &#038; 8  \\<br />
		  2 &#038; 0 &#038; 1 &#038; 0 \\<br />
		  -1 &#038; 1 &#038; -1 &#038; 8<br />
		\end{bmatrix}<br />
		\xrightarrow{\substack{R_2-3R_1\\R_3-2R_1\\R_4+R_1}}<br />
		\begin{bmatrix}<br />
		  1 &#038; 0 &#038; 0 &#038;   3 \\<br />
		  0 &#038;1 &#038;  1 &#038; -1  \\<br />
		  0 &#038; 0 &#038; 1 &#038; -6 \\<br />
		  0 &#038; 1 &#038; -1 &#038; 11<br />
		\end{bmatrix}<br />
		\xrightarrow{R_4-R_2}\\[6pt]
		\begin{bmatrix}<br />
		  1 &#038; 0 &#038; 0 &#038;   3 \\<br />
		  0 &#038;1 &#038;  1 &#038; -1  \\<br />
		  0 &#038; 0 &#038; 1 &#038; -6 \\<br />
		  0 &#038; 0 &#038; -2 &#038; 12<br />
		\end{bmatrix}<br />
		\xrightarrow{R_4+2R_2}<br />
		\begin{bmatrix}<br />
		  1 &#038; 0 &#038; 0 &#038;   3 \\<br />
		  0 &#038;1 &#038;  0 &#038; 5  \\<br />
		  0 &#038; 0 &#038; 1 &#038; -6 \\<br />
		  0 &#038; 0 &#038; 0 &#038; 0<br />
		\end{bmatrix}.<br />
		\end{align*}</p>
<p>		The first three columns of the reduced row echelon form matrix contain the leading 1&#8217;s.<br />
		Thus, $\{\mathbf{v}_1, \mathbf{v}_2, \mathbf{v}_3\}$ is a basis for $\Span(T)$.<br />
		It follows that $Q:=\{p_1(x), p_2(x), p_3(x)\}$ is a basis for $\Span(S)$.</p>
<h3>(b) For each polynomial in $S$ that is not in $Q$, find the coordinate vector with respect to the basis $Q$.</h3>
<p>Note that $p_4(x)$ is not in the basis $Q$.</p>
<p>		The fourth column of the matrix in reduced row echelon form of part (a) gives the coefficients of the linear combination:<br />
		\[p_4(x)=3p_1(x)+5p_2(x)-6p_3(x).\]
<p>		Thus, the coordinate vector of $p_4(x)$ with respect to the basis $Q$ is<br />
		\[[p_4(x)]_Q=\begin{bmatrix}<br />
		  3 \\<br />
		   5 \\<br />
		    -6<br />
		  \end{bmatrix}.\]
<h2>Comment.</h2>
<p>This is one of the midterm 2 exam problems for Linear Algebra (Math 2568) in Autumn 2017.</p>
<p>In part (b), some students stopped after obtaining the linear combination $p_4(x)=3p_1(x)+5p_2(x)-6p_3(x)$.<br />
You must read the problem carefully. You are asked to find the coordinate vector of $p_4(x)$ with respect to $Q$.</p>
<h2>List of Midterm 2 Problems for Linear Algebra (Math 2568) in Autumn 2017</h2>
<ol>
<li><a href="//yutsumura.com/vector-space-of-2-by-2-traceless-matrices/" rel="noopener" target="_blank">Vector Space of 2 by 2 Traceless Matrices</a></li>
<li><a href="//yutsumura.com/find-an-orthonormal-basis-of-the-given-two-dimensional-vector-space/" rel="noopener" target="_blank">Find an Orthonormal Basis of the Given Two Dimensional Vector Space</a></li>
<li><a href="//yutsumura.com/are-the-trigonometric-functions-sin2x-and-cos2x-linearly-independent/" rel="noopener" target="_blank">Are the Trigonometric Functions $\sin^2(x)$ and $\cos^2(x)$ Linearly Independent?</a></li>
<li><a href="//yutsumura.com/find-bases-for-the-null-space-range-and-the-row-space-of-a-5times-4-matrix/" rel="noopener" target="_blank">Find Bases for the Null Space, Range, and the Row Space of a $5\times 4$ Matrix</a></li>
<li><a href="//yutsumura.com/matrix-representation-rank-and-nullity-of-a-linear-transformation-tr2to-r3/" rel="noopener" target="_blank">Matrix Representation, Rank, and Nullity of a Linear Transformation $T:\R^2\to \R^3$</a></li>
<li><a href="//yutsumura.com/determine-the-dimension-of-a-mysterious-vector-space-from-coordinate-vectors/" rel="noopener" target="_blank">Determine the Dimension of a Mysterious Vector Space From Coordinate Vectors</a></li>
<li>Find a Basis of the Subspace Spanned by Four Polynomials of Degree 3 or Less ←The current problem </li>
</ol>
<button class="simplefavorite-button has-count" data-postid="5273" data-siteid="1" data-groupid="1" data-favoritecount="28" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">28</span></button><p>The post <a href="https://yutsumura.com/find-a-basis-of-the-subspace-spanned-by-four-polynomials-of-degree-3-or-less/" target="_blank">Find a Basis of the Subspace Spanned by Four Polynomials of Degree 3 or Less</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-of-the-subspace-spanned-by-four-polynomials-of-degree-3-or-less/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">5273</post-id>	</item>
		<item>
		<title>Are the Trigonometric Functions $\sin^2(x)$ and $\cos^2(x)$ Linearly Independent?</title>
		<link>https://yutsumura.com/are-the-trigonometric-functions-sin2x-and-cos2x-linearly-independent/</link>
				<comments>https://yutsumura.com/are-the-trigonometric-functions-sin2x-and-cos2x-linearly-independent/#comments</comments>
				<pubDate>Wed, 08 Nov 2017 06:56:19 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[cosine function]]></category>
		<category><![CDATA[exam]]></category>
		<category><![CDATA[general vector space]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[linearly dependent]]></category>
		<category><![CDATA[linearly independent]]></category>
		<category><![CDATA[Ohio State]]></category>
		<category><![CDATA[Ohio State.LA]]></category>
		<category><![CDATA[sine function]]></category>
		<category><![CDATA[trigonometric function]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=5256</guid>
				<description><![CDATA[<p>Let $C[-2\pi, 2\pi]$ be the vector space of all continuous functions defined on the interval $[-2\pi, 2\pi]$. Consider the functions \[f(x)=\sin^2(x) \text{ and } g(x)=\cos^2(x)\] in $C[-2\pi, 2\pi]$. Prove or disprove that the functions&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/are-the-trigonometric-functions-sin2x-and-cos2x-linearly-independent/" target="_blank">Are the Trigonometric Functions $\sin^2(x)$ and $\cos^2(x)$ Linearly Independent?</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 603</h2>
<p>	Let $C[-2\pi, 2\pi]$ be the vector space of all continuous functions defined on the interval $[-2\pi, 2\pi]$.<br />
		Consider the functions \[f(x)=\sin^2(x) \text{ and } g(x)=\cos^2(x)\]
		in $C[-2\pi, 2\pi]$.</p>
<p>		Prove or disprove that the functions $f(x)$ and $g(x)$ are linearly independent.</p>
<p><em>(The Ohio State University, Linear Algebra Midterm)</em><br />
&nbsp;<br />
<span id="more-5256"></span><br />

<h2> Proof. </h2>
<p>			To determine whether $f(x)$ and $g(x)$ are linearly independent or not, consider the linear combination<br />
			\[c_1f(x)+c_2g(x)=0,\]
			equivalently<br />
			\[c_1\sin^2(x)+c_2 \cos^2(x)=0, \tag{*}\]
			where $c_1, c_2$ are scalars.</p>
<p>		If the only scalars satisfying the above equality are $c_1=0, c_2=0$, then $f(x)$ and $g(x)$ are linearly independent, otherwise they are linearly dependent.</p>
<hr />
<p>		Note that this is an equality as functions.<br />
		That is, this equality must hold for any $x$ in the interval $[-2\pi, 2\pi]$.</p>
<p>		Let $x=0$. Then as $\sin(0)=0$ and $\cos(0)=1$, we obtain $c_2=0$ from (*).<br />
		Next, let $x=\pi/2$. Then as $\sin(\pi/2)=1$ and $\cos(\pi/2)=0$, we obtain $c_1=0$ from (*).</p>
<p>		Therefore, we must have $c_1=c_2=0$, and hence the functions $f(x)=\sin^2(x)$ and $g(x)=\cos^2(x)$ are linearly independent.</p>
<h2>Comment.</h2>
<p>This is one of the midterm 2 exam problems for Linear Algebra (Math 2568) in Autumn 2017.</p>
<p>Here is the most common mistake.<br />
The linear combination $c_1\sin^2(x)+c_2 \cos^2(x)$ is a function defined over the interval $[-2\pi, 2\pi]$ and we are assuming it is the zero function.</p>
<p>So saying that &#8220;if $c_1=1, c_2=0$, then $c_1\sin^2(x)+c_2 \cos^2(x)$ is zero at $x=0$, hence $f(x)$ and $g(x)$ are linearly independent&#8221; is totally wrong.</p>
<p>What you are claiming here is that the function $\sin^2(x)$ is zero at $x=0$, hence it is the zero function.<br />
This is clearly wrong as $\sin^2(x)$ is not the zero function.</p>
<h2>List of Midterm 2 Problems for Linear Algebra (Math 2568) in Autumn 2017</h2>
<ol>
<li><a href="//yutsumura.com/vector-space-of-2-by-2-traceless-matrices/" rel="noopener" target="_blank">Vector Space of 2 by 2 Traceless Matrices</a></li>
<li><a href="//yutsumura.com/find-an-orthonormal-basis-of-the-given-two-dimensional-vector-space/" rel="noopener" target="_blank">Find an Orthonormal Basis of the Given Two Dimensional Vector Space</a></li>
<li>Are the Trigonometric Functions $\sin^2(x)$ and $\cos^2(x)$ Linearly Independent?←The current problem</li>
<li><a href="//yutsumura.com/find-bases-for-the-null-space-range-and-the-row-space-of-a-5times-4-matrix/" rel="noopener" target="_blank">Find Bases for the Null Space, Range, and the Row Space of a $5\times 4$ Matrix</a></li>
<li><a href="//yutsumura.com/matrix-representation-rank-and-nullity-of-a-linear-transformation-tr2to-r3/" rel="noopener" target="_blank">Matrix Representation, Rank, and Nullity of a Linear Transformation $T:\R^2\to \R^3$</a></li>
<li><a href="//yutsumura.com/determine-the-dimension-of-a-mysterious-vector-space-from-coordinate-vectors/" rel="noopener" target="_blank">Determine the Dimension of a Mysterious Vector Space From Coordinate Vectors</a></li>
<li><a href="//yutsumura.com/find-a-basis-of-the-subspace-spanned-by-four-polynomials-of-degree-3-or-less/" rel="noopener" target="_blank">Find a Basis of the Subspace Spanned by Four Polynomials of Degree 3 or Less</a></li>
</ol>
<button class="simplefavorite-button has-count" data-postid="5256" data-siteid="1" data-groupid="1" data-favoritecount="11" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">11</span></button><p>The post <a href="https://yutsumura.com/are-the-trigonometric-functions-sin2x-and-cos2x-linearly-independent/" target="_blank">Are the Trigonometric Functions $\sin^2(x)$ and $\cos^2(x)$ Linearly Independent?</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></content:encoded>
							<wfw:commentRss>https://yutsumura.com/are-the-trigonometric-functions-sin2x-and-cos2x-linearly-independent/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">5256</post-id>	</item>
		<item>
		<title>12 Examples of Subsets that Are Not Subspaces of Vector Spaces</title>
		<link>https://yutsumura.com/10-examples-of-subsets-that-are-not-subspaces-of-vector-spaces/</link>
				<comments>https://yutsumura.com/10-examples-of-subsets-that-are-not-subspaces-of-vector-spaces/#comments</comments>
				<pubDate>Thu, 16 Mar 2017 01:38:48 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[continuous function]]></category>
		<category><![CDATA[counterexample]]></category>
		<category><![CDATA[derivative]]></category>
		<category><![CDATA[determinant]]></category>
		<category><![CDATA[determinant of a matrix]]></category>
		<category><![CDATA[general vector space]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[matrix]]></category>
		<category><![CDATA[subspace]]></category>
		<category><![CDATA[subspace criteria]]></category>
		<category><![CDATA[vector space]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=2443</guid>
				<description><![CDATA[<p>Each of the following sets are not a subspace of the specified vector space. For each set, give a reason why it is not a subspace. (1) \[S_1=\left \{\, \begin{bmatrix} x_1 \\ x_2 \\&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/10-examples-of-subsets-that-are-not-subspaces-of-vector-spaces/" target="_blank">12 Examples of Subsets that Are Not Subspaces of Vector Spaces</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 338</h2>
<p> Each of the following sets are not a subspace of the specified vector space. For each set, give a reason why it is not a subspace.<br />
<strong>(1)</strong> \[S_1=\left \{\, \begin{bmatrix}<br />
	  x_1 \\<br />
	   x_2 \\<br />
	    x_3<br />
	  \end{bmatrix} \in \R^3 \quad \middle | \quad x_1\geq 0 \,\right \}\]
	  in the vector space $\R^3$.</p>
<hr />
<p><strong>(2)</strong> \[S_2=\left \{\, \begin{bmatrix}<br />
	  x_1 \\<br />
	   x_2 \\<br />
	    x_3<br />
	  \end{bmatrix} \in \R^3 \quad \middle | \quad x_1-4x_2+5x_3=2 \,\right \}\]
	  in the vector space $\R^3$.</p>
<hr />
<p><strong>(3)</strong> \[S_3=\left \{\, \begin{bmatrix}<br />
	  x \\<br />
	  y<br />
	\end{bmatrix}\in \R^2 \quad \middle | \quad y=x^2 \quad \,\right \}\]
	in the vector space $\R^2$.</p>
<hr />
<p><strong>(4)</strong> Let $P_4$ be the vector space of all polynomials of degree $4$ or less with real coefficients.<br />
	\[S_4=\{ f(x)\in P_4 \mid f(1) \text{ is an integer}\}\]
	in the vector space $P_4$.</p>
<hr />
<p><strong>(5)</strong> \[S_5=\{ f(x)\in P_4 \mid f(1) \text{ is a rational number}\}\]
	in the vector space $P_4$.</p>
<hr />
<p><strong>(6)</strong>  Let $M_{2 \times 2}$ be the vector space of all $2\times 2$ real matrices.<br />
	\[S_6=\{ A\in M_{2\times 2} \mid \det(A) \neq 0\} \]
	in the vector space $M_{2\times 2}$.</p>
<hr />
<p><strong>(7)</strong> \[S_7=\{ A\in M_{2\times 2} \mid \det(A)=0\} \]
	in the vector space $M_{2\times 2}$.</p>
<p>(<em>Linear Algebra Exam Problem, the Ohio State University</em>)</p>
<hr />
<p><strong>(8)</strong> Let $C[-1, 1]$ be the vector space of all real continuous functions defined on the interval $[a, b]$.<br />
	\[S_8=\{ f(x)\in C[-2,2] \mid f(-1)f(1)=0\} \]
	in the vector space $C[-2, 2]$.</p>
<hr />
<p><strong>(9)</strong> \[S_9=\{ f(x) \in C[-1, 1] \mid f(x)\geq 0 \text{ for all } -1\leq x \leq 1\}\]
	in the vector space $C[-1, 1]$.</p>
<hr />
<p><strong>(10)</strong> Let $C^2[a, b]$ be the vector space of all real-valued functions $f(x)$ defined on $[a, b]$, where $f(x), f'(x)$, and $f^{\prime\prime}(x)$ are continuous on $[a, b]$. Here $f'(x), f^{\prime\prime}(x)$ are the first and second derivative of $f(x)$.<br />
	\[S_{10}=\{ f(x) \in C^2[-1, 1] \mid f^{\prime\prime}(x)+f(x)=\sin(x) \text{ for all } -1\leq x \leq 1\}\]
	in the vector space $C[-1, 1]$.</p>
<hr />
<p><strong>(11)</strong> Let $S_{11}$ be the set of real polynomials of degree exactly $k$, where $k \geq 1$ is an integer, in the vector space $P_k$.</p>
<hr />
<p><strong>(12)</strong> Let $V$ be a vector space and $W \subset V$ a vector subspace.  Define the subset $S_{12}$ to be the <strong>complement</strong> of $W$,<br />
\[ V \setminus W = \{ \mathbf{v} \in V \mid \mathbf{v} \not\in W \}.\]
<p>&nbsp;<br />
<span id="more-2443"></span><br />

<h2>Solution.</h2>
<p>	Recall the following subspace criteria.<br />
	A subset $W$ of a vector space $V$ over the scalar field $K$ is a subspace of $V$ if and only if the following three criteria are met.</p>
<div style="padding: 16px; border: none 3px #4169e1; border-radius: 10px; background-color: #f0f8ff; margin-top: 30px; margin-bottom: 30px;">
<ol>
<li> The subset $W$ contains the zero vector of $V$.</li>
<li>If $u, v\in W$, then $u+v\in W$.</li>
<li>If $u\in W$ and $a\in K$, then $au\in W$.</li>
</ol>
</div>
<p>	Thus, to prove a subset $W$ is not a subspace, we just need to find a counterexample of any of the three criteria.<br />
	&nbsp;&nbsp;</p>
<h3>Solution (1). $S_1=\{ \mathbf{x} \in \R^3 \mid x_1\geq 0  \}$</h3>
<p>	 The subset $S_1$ does not satisfy condition 3. For example, consider the vector<br />
		 \[\mathbf{x}=\begin{bmatrix}<br />
	  1 \\<br />
	   0 \\<br />
	    0<br />
	  \end{bmatrix}.\]
	  Then since $x_1=1\geq 0$, the vector $\mathbf{x}\in S_1$. Then consider the scalar product of $\mathbf{x}$ and the scalar $-1$. Then we have<br />
	  \[(-1)\cdot\mathbf{x}=\begin{bmatrix}<br />
	  -1 \\<br />
	   0 \\<br />
	    0<br />
	  \end{bmatrix},\]
	  and the first entry is $-1$, hence $-\mathbf{x}$ is not in $S_1$. Thus $S_1$ does not satisfy condition 3 and it is not a subspace of $\R^3$.<br />
	  (You can check that conditions 1, 2 are met.)<br />
	  &nbsp;&nbsp;</p>
<h3>Solution (2). $S_2= \{ \mathbf{x}\in \R^3\mid x_1-4x_2+5x_3=2  \}$</h3>
<p> The zero vector of the vector space $\R^3$ is<br />
	  \[\mathbf{0}=\begin{bmatrix}<br />
	  0 \\<br />
	   0 \\<br />
	    0<br />
	  \end{bmatrix}.\]
	  Since the zero vector $\mathbf{0}$ does not satisfy the defining relation $x_1-4x_2+5x_3=2$, it is not in $S_2$. Hence condition 1 is not met, hence $S_2$ is not a subspace of $\R^3$.<br />
	  (You can check that conditions 2, 3 are not met as well.)<br />
	  &nbsp;&nbsp;</p>
<h3>Solution (3). $S_3=\{\mathbf{x}\in \R^2 \mid y=x^2 \quad  \}$</h3>
<p> Consider vectors<br />
	  \[\begin{bmatrix}<br />
	  1 \\<br />
	  1<br />
	\end{bmatrix} \text{ and } \begin{bmatrix}<br />
	  -1 \\<br />
	  1<br />
	\end{bmatrix}.\]
	These are vectors in $S_3$ since both vectors satisfy the defining relation $y=x^2$.</p>
<p>	However, their sum<br />
	\[\begin{bmatrix}<br />
	  1 \\<br />
	  1<br />
	\end{bmatrix} + \begin{bmatrix}<br />
	  -1 \\<br />
	  1<br />
	\end{bmatrix}<br />
	=<br />
	\begin{bmatrix}<br />
	  0 \\<br />
	  1<br />
	\end{bmatrix}\]
	is not in $S_3$ since $1\neq 0^2$.<br />
	Hence condition 2 is not met, and thus $S_3$ is not a subspace of $\R^2$.<br />
	(You can check that condition 1 is fulfilled yet condition 3 is not met.)<br />
	&nbsp;&nbsp;</p>
<h3>Solution (4). $S_4=\{ f(x)\in P_4 \mid f(1) \text{ is an integer}\}$</h3>
<p>Consider the polynomial $f(x)=x$. Since the degree of $f(x)$ is $1$ and $f(1)=1$ is an integer, it is in $S_4$. Consider the scalar product of $f(x)$ and the scalar $1/2\in \R$.<br />
	 Then we evaluate the scalar product at $x=1$ and we have<br />
	 \begin{align*}<br />
	\frac{1}{2}f(1)=\frac{1}{2},<br />
	\end{align*}<br />
	which is not an integer.<br />
	Thus $(1/2)f(x)$ is not in $S_4$, hence condition 3 is not met. Thus $S_4$ is not a subspace of $P_4$.<br />
	(You can check that conditions 1, 2 are met.)<br />
	&nbsp;&nbsp;</p>
<h3>Solution (5). $S_5=\{ f(x)\in P_4 \mid f(1) \text{ is a rational number}\}$</h3>
<p> Let $f(x)=x$. Then $f(x)$ is a degree $1$ polynomial and $f(1)=1$ is a rational number.<br />
	However, the scalar product $\sqrt{2} f(x)$ of $f(x)$ and the scalar $\sqrt{2} \in \R$ is not in $S_5$ since<br />
	\[\sqrt{2}f(1)=\sqrt{2},\]
	which is not a rational number. Hence condition 3 is not met and $S_5$ is not a subspace of $P_4$.<br />
	(You can check that conditions 1, 2 are met.)<br />
	&nbsp;&nbsp;</p>
<h3>Solution (6). $S_6=\{ A\in M_{2\times 2} \mid \det(A) \neq 0\}$</h3>
<p> The zero vector of the vector space $M_{2 \times 2}$ is the $2\times 2$ zero matrix $O$.<br />
	Since the determinant of the zero matrix $O$ is $0$, it is not in $S_6$. Thus, condition 1 is not met and $S_6$ is not a subspace of $M_{2 \times 2}$.<br />
	(You can check that conditions 2, 3 are not met as well.)<br />
	&nbsp;&nbsp;</p>
<h3>Solution (7). $S_7=\{ A\in M_{2\times 2} \mid \det(A)=0\}$</h3>
<p>Consider the matrices<br />
	\[A=\begin{bmatrix}<br />
	  1 &#038; 0\\<br />
	  0&#038; 0<br />
	\end{bmatrix} \text{ and } B=\begin{bmatrix}<br />
	  0 &#038; 0\\<br />
	  0&#038; 1<br />
	\end{bmatrix}.\]
	The determinants of $A$ and $B$ are both $0$, hence they belong to $S_7$.<br />
	However, their sum<br />
	\[A+B=\begin{bmatrix}<br />
	  1 &#038; 0\\<br />
	  0&#038; 1<br />
	\end{bmatrix}\]
	has the determinant $1$, hence the sum $A+B$ is not in $S_7$.<br />
	So condition 2 is not met and $S_7$ is not a subspace of $M_{2 \times 2}$.<br />
	(You can check that conditions 1, 3 are met.)<br />
	&nbsp;&nbsp;</p>
<h3>Solution (8). $S_8=\{ f(x)\in C[-2,2] \mid f(-1)f(1)=0\}$</h3>
<p> Consider the continuous functions<br />
	\[f(x)=x-1 \text{ and } g(x)=x+1.\]
	(These are polynomials, hence they are continuous.)<br />
	We have<br />
	\begin{align*}<br />
	&#038;f(-1)f(1)=(-2)\cdot(0)=0 \text{ and }\\<br />
	&#038;g(-1)g(1)=(0)\cdot 2=0.<br />
	\end{align*}<br />
	So these functions are in $S_8$.</p>
<p>	However, their sum $h(x):=f(x)+g(x)$ does not belong to $S_8$ since we have<br />
	\begin{align*}<br />
	h(-1)h(1)&#038;=\big(f(-1)+g(-1)\big) \big(f(1)+g(1) \big)\\<br />
	&#038;=(-2+0)(0+2)=-4\neq 0.<br />
	\end{align*}<br />
	Therefore, condition 2 is not met and $S_8$ is not a subspace of $C[-1, 1]$.<br />
	(You can check that conditions 1, 3 are met.)<br />
&nbsp;&nbsp;</p>
<h3>Solution (9). $S_9=\{ f(x) \in C[-1, 1] \mid f(x)\geq 0 \text{ for all } -1\leq x \leq 1\}$</h3>
<p>Let $f(x)=x^2$, an open-up parabola.<br />
	Then $f(x)$ is continuous and non-negative for $-1 \leq x \leq 1$. Hence $f(x)=x^2$ is in $S_9$.<br />
	However, the scalar product $(-1)f(x)$ of $f(x)$ and the scalar $-1$ is not in $S_9$ since, say,<br />
	\[(-1)f(1)=-1\]
	is negative.<br />
	So condition 3 is not met and $S_9$ is not a subspace of $C[-1, 1]$.<br />
	(You can check that conditions 1, 2 are met.)<br />
	&nbsp;&nbsp;</p>
<h3>Solution (10). $S_{10}=\{ f(x) \in C^2[-1, 1] \mid f^{\prime\prime}(x)+f(x)=\sin(x) \text{ for all } -1\leq x \leq 1\}$</h3>
<p>The zero vector of the vector space $C^2[-1, 1]$ is the zero function $\theta(x)=0$.<br />
	The second derivative of the zero function is still the zero function.<br />
	Thus,<br />
	\[\theta^{\prime\prime}(x)+\theta(x)=0\]
	and since $\sin(x)$ is not the zero function, $\theta(x)$ is not in $S_{10}$.<br />
	Hence $S_{10}$ is not a subspace of $C^2[-1, 1]$.</p>
<p>	(You can check that conditions 2, 3 are not met as well.<br />
For example, consider the function $f(x)=-\frac{1}{2}x\cos(x)\in S_{10}$.)</p>
<h3>Solution (11). Let $S_{11}$ be the set of real polynomials of degree exactly $k$.</h3>
<p>The set $S_{11}$ is not a vector subspace of $\mathbf{P}_k$.  One reason is that the zero function $\mathbf{0}$ has degree $0$, and so does not lie in $S_{11}$.  The set $S_{11}$ is also not closed under addition.  Consider the two polynomials $f(x) = x^k + 1$ and $g(x) = &#8211; x^k + 1$.  Both of these polynomials lie in $S_{11}$, however $f(x) + g(x) = 2$ has degree $0$ and so does not lie in $S_{11}$.</p>
<h3>Solution (12). The complement </h3>
<p>The complement $S_{12}= V \setminus W$ is not a vector subspace.  Specifically, if $\mathbf{0} \in V$ is the zero vector, then we know $\mathbf{0} \in W$ because $W$ is a subspace.  But then $\mathbf{0} \not\in V \setminus W$, and so $V \setminus W$ cannot be a vector subspace. </p>
<h2>Linear Algebra Midterm Exam 2 Problems and Solutions </h2>
<ul>
<li><a href="//yutsumura.com/true-or-false-problems-of-vector-spaces-and-linear-transformations/" target="_blank">True of False Problems  and Solutions</a>: True or False problems of vector spaces and linear transformations</li>
<li>Problem 1 and its solution (current problem): See (7) in the post &#8220;10 examples of subsets that are not subspaces of vector spaces&#8221;</li>
<li><a href="//yutsumura.com/determine-whether-trigonometry-functions-sin2x-cos2x-1-are-linearly-independent-or-dependent/" target="_blank">Problem 2 and its solution</a>: Determine whether trigonometry functions $\sin^2(x), \cos^2(x), 1$ are linearly independent or dependent</li>
<li><a href="//yutsumura.com/orthonormal-basis-of-null-space-and-row-space/" target="_blank">Problem 3 and its solution</a>: Orthonormal basis of null space and row space</li>
<li><a href="//yutsumura.com/basis-of-span-in-vector-space-of-polynomials-of-degree-2-or-less/" target="_blank">Problem 4 and its solution</a>: Basis of span in vector space of polynomials of degree 2 or less</li>
<li><a href="//yutsumura.com/determine-value-of-linear-transformation-from-r3-to-r2/" target="_blank">Problem 5 and its solution</a>: Determine value of linear transformation from $R^3$ to $R^2$</li>
<li><a href="//yutsumura.com/rank-and-nullity-of-linear-transformation-from-r3-to-r2/" target="_blank">Problem 6 and its solution</a>: Rank and nullity of linear transformation from $R^3$ to $R^2$</li>
<li><a href="//yutsumura.com/find-matrix-representation-of-linear-transformation-from-r2-to-r2/" target="_blank">Problem 7 and its solution</a>: Find matrix representation of linear transformation from $R^2$ to $R^2$</li>
<li><a href="//yutsumura.com/hyperplane-through-origin-is-subspace-of-4-dimensional-vector-space/" target="_blank">Problem 8 and its solution</a>: Hyperplane through origin is subspace of 4-dimensional vector space</li>
</ul>
<button class="simplefavorite-button has-count" data-postid="2443" data-siteid="1" data-groupid="1" data-favoritecount="38" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">38</span></button><p>The post <a href="https://yutsumura.com/10-examples-of-subsets-that-are-not-subspaces-of-vector-spaces/" target="_blank">12 Examples of Subsets that Are Not Subspaces of Vector Spaces</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></content:encoded>
							<wfw:commentRss>https://yutsumura.com/10-examples-of-subsets-that-are-not-subspaces-of-vector-spaces/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">2443</post-id>	</item>
		<item>
		<title>Determine Whether a Set of Functions $f(x)$ such that $f(x)=f(1-x)$ is a Subspace</title>
		<link>https://yutsumura.com/determine-whether-a-set-of-functions-fx-such-that-fxf1-x-is-a-subspace/</link>
				<comments>https://yutsumura.com/determine-whether-a-set-of-functions-fx-such-that-fxf1-x-is-a-subspace/#respond</comments>
				<pubDate>Mon, 06 Feb 2017 04:35:18 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[general vector space]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[subspace]]></category>
		<category><![CDATA[subspace criteria]]></category>
		<category><![CDATA[vector]]></category>
		<category><![CDATA[vector space]]></category>
		<category><![CDATA[zero vector]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=2115</guid>
				<description><![CDATA[<p>Let $V$ be the vector space over $\R$ of all real valued function on the interval $[0, 1]$ and let \[W=\{ f(x)\in V \mid f(x)=f(1-x) \text{ for } x\in [0,1]\}\] be a subset of&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/determine-whether-a-set-of-functions-fx-such-that-fxf1-x-is-a-subspace/" target="_blank">Determine Whether a Set of Functions $f(x)$ such that $f(x)=f(1-x)$ is a Subspace</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 285</h2>
<p>	Let $V$ be the vector space over $\R$ of all real valued function on the interval $[0, 1]$ and let<br />
	\[W=\{ f(x)\in V \mid f(x)=f(1-x) \text{ for } x\in [0,1]\}\]
	be a subset of $V$. Determine whether the subset $W$ is a subspace of the vector space $V$.</p>
<p>&nbsp;<br />
<span id="more-2115"></span><br />

<h2> Proof. </h2>
<p>	We claim that $W$ is a subspace of $V$.<br />
		To show the claim, we need to check that the following subspace criteria.</p>
<div style="padding: 16px; border: none 3px #4169e1; border-radius: 10px; background-color: #f0f8ff; margin-top: 30px; margin-bottom: 30px;">
<strong>Subspace Criteria.</strong></p>
<ol>
<li>The zero vector in $V$ is in $W$.</li>
<li>For any two elements $f(x), g(x) \in W$, we have $f(x)+g(x) \in W$.</li>
<li>For any scalar $c$ and any element $f(x) \in W$, we have $cf(x) \in W$.</li>
</ol>
</div>
<hr />
<p>		The zero vector of $V$ is the zero function $\theta(x)=0$.<br />
		Since we have<br />
		\[\theta(x)=0=\theta(1-x)\]
		for any $x\in [0, 1]$, the zero vector $\theta$ is in $W$, hence condition 1 is met.</p>
<hr />
<p>		Let $f(x), g(x)$ be arbitrary elements in $W$. Then these functions satisfy<br />
		\[f(x)=f(1-x) \text{ and } g(x)=g(1-x)\]
		for any $x\in [0,1]$.<br />
		We want to show that the sum $h(x):=f(x)+g(x)$ is in $W$. This follows since we have<br />
		\[h(x)=f(x)+g(x)=f(1-x)+g(1-x)=h(1-x).\]
		Thus, condition 2 is satisfied.</p>
<hr />
<p>		Finally, we check condition 3. Let $c$ be a scalar and let $f(x)$ be an element in $W$.<br />
		Then we have<br />
		\[f(x)=f(1-x).\]
		It follows from this that<br />
		\[cf(x)=cf(1-x),\]
		and this shows that the scalar product $cf(x)$ is in $W$. </p>
<p>		Therefore condition 3 holds, and we have proved the subspace criteria for $W$. Thus $W$ is a subspace of the vector space $V$.</p>
<button class="simplefavorite-button has-count" data-postid="2115" data-siteid="1" data-groupid="1" data-favoritecount="26" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">26</span></button><p>The post <a href="https://yutsumura.com/determine-whether-a-set-of-functions-fx-such-that-fxf1-x-is-a-subspace/" target="_blank">Determine Whether a Set of Functions $f(x)$ such that $f(x)=f(1-x)$ is 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/determine-whether-a-set-of-functions-fx-such-that-fxf1-x-is-a-subspace/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">2115</post-id>	</item>
		<item>
		<title>Vector Space of Polynomials and a Basis of  Its Subspace</title>
		<link>https://yutsumura.com/vector-space-of-polynomials-and-a-basis-of-its-subspace/</link>
				<comments>https://yutsumura.com/vector-space-of-polynomials-and-a-basis-of-its-subspace/#respond</comments>
				<pubDate>Wed, 02 Nov 2016 17:29:36 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[basis]]></category>
		<category><![CDATA[coordinate vector]]></category>
		<category><![CDATA[general vector space]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[linear combination]]></category>
		<category><![CDATA[linear transformation]]></category>
		<category><![CDATA[matrix]]></category>
		<category><![CDATA[subspace]]></category>
		<category><![CDATA[vector space]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=1307</guid>
				<description><![CDATA[<p>Let $P_2$ be the vector space of all polynomials of degree two or less. Consider the subset in $P_2$ \[Q=\{ p_1(x), p_2(x), p_3(x), p_4(x)\},\] where \begin{align*} &#038;p_1(x)=1, &#038;p_2(x)=x^2+x+1, \\ &#038;p_3(x)=2x^2, &#038;p_4(x)=x^2-x+1. \end{align*} (a) Use&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/vector-space-of-polynomials-and-a-basis-of-its-subspace/" target="_blank">Vector Space of Polynomials and a Basis of  Its Subspace</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 165</h2>
<p>Let $P_2$ be the vector space of all polynomials of degree two or less.<br />
Consider the subset in $P_2$<br />
\[Q=\{ p_1(x), p_2(x), p_3(x), p_4(x)\},\]
where<br />
\begin{align*}<br />
&#038;p_1(x)=1, &#038;p_2(x)=x^2+x+1, \\<br />
&#038;p_3(x)=2x^2,  &#038;p_4(x)=x^2-x+1.<br />
\end{align*} </p>
<p><strong>(a)</strong> Use the basis $B=\{1, x, x^2\}$ of $P_2$, give the coordinate vectors of the vectors in $Q$.</p>
<p><strong>(b)</strong> Find a basis of the span $\Span(Q)$ consisting of vectors in $Q$.</p>
<p><strong>(c)</strong> For each vector in $Q$ which is not a basis vector you obtained in (b), express the vector as a linear combination of basis vectors.</p>
<p>(<em>The Ohio State University Linear Algebra Exam Problem</em>)<br />
&nbsp;<br />
<span id="more-1307"></span><br />

<h2> Solution. </h2>
<h3>(a) Use the basis $B=\{1, x, x^2\}$ of $P_2$, give the coordinate vectors of the vectors in $Q$</h3>
<p> To obtain the coordinate vectors with respect to the given basis $B=\{1, x, x^2\}$, we fist express a given vector as a linear combination of basis vectors. ( You need to take care of the order of the basis vectors.)</p>
<p>		For example, for the vector $p_4(x)$, we have the linear combination<br />
		\[p_4(x)=1\cdot 1+(-1)\cdot x+1\cdot x^2.\]
		Thus reading the coefficient of the basis vectors $1, x, x^2$, we see that the coordinate vector of $p_4(x)$ with respect to the basis $B$ is<br />
		\[[p_4(x)]_B=\begin{bmatrix}<br />
		1 \\<br />
		-1 \\<br />
		1<br />
		\end{bmatrix}.\]
<p>	By the similar argument, the coordinate vectors are<br />
		\begin{align*}<br />
		&#038;[p_1(x)]_B=\begin{bmatrix}<br />
		1 \\<br />
		0 \\<br />
		0<br />
		\end{bmatrix}, &#038;[p_2(x)]_B=\begin{bmatrix}<br />
		1 \\<br />
		1 \\<br />
		1<br />
		\end{bmatrix},\\<br />
		&#038; [p_3(x)]_B=\begin{bmatrix}<br />
		0 \\<br />
		0 \\<br />
		2<br />
		\end{bmatrix}, &#038;[p_4(x)]_B=\begin{bmatrix}<br />
		1 \\<br />
		-1 \\<br />
		1<br />
		\end{bmatrix}.<br />
		\end{align*}</p>
<h3>(b) Find a basis of the span $\Span(Q)$ consisting of vectors in $Q$</h3>
<p> Let<br />
		\begin{align*}<br />
		T:&#038;=\{[p_1(x)]_B, [p_2(x)]_B, [p_3(x)]_B, [p_4(x)]_B\}\\<br />
		&#038;=\left\{\begin{bmatrix}<br />
		1 \\<br />
		0 \\<br />
		0<br />
		\end{bmatrix}, \begin{bmatrix}<br />
		1 \\<br />
		1 \\<br />
		1<br />
		\end{bmatrix}, \begin{bmatrix}<br />
		0 \\<br />
		0 \\<br />
		2<br />
		\end{bmatrix}, \begin{bmatrix}<br />
		1 \\<br />
		-1 \\<br />
		1<br />
		\end{bmatrix}\right\}.<br />
		\end{align*}<br />
		Then a basis of $\Span(Q)$ consisting of vectors in $Q$ corresponds to a basis of $\Span(T)$ consisting of vectors in $T$.</p>
<p>		Consider the matrix whose columns are the vectors in $T$. We reduce it by elementary row operations as follows.<br />
		\begin{align*}<br />
		\begin{bmatrix}<br />
		1 &#038; 1 &#038; 0 &#038;   1 \\<br />
		0 &#038;1 &#038;  0 &#038; -1  \\<br />
		0 &#038; 1 &#038; 2 &#038; 1<br />
		\end{bmatrix}<br />
		\xrightarrow[R_3-R_2]{R_1-R_2}<br />
		\begin{bmatrix}<br />
		1 &#038; 0 &#038; 0 &#038;   2 \\<br />
		0 &#038;1 &#038;  0 &#038; -1  \\<br />
		0 &#038; 0 &#038; 2 &#038; 2<br />
		\end{bmatrix}<br />
		\xrightarrow{\frac{1}{2}R_3}<br />
		\begin{bmatrix}<br />
		1 &#038; 0 &#038; 0 &#038;   2 \\<br />
		0 &#038;1 &#038;  0 &#038; -1  \\<br />
		0 &#038; 0 &#038; 1 &#038; 1<br />
		\end{bmatrix}.<br />
		\end{align*}<br />
		The last matrix is in reduced row echelon form and the first three columns contain the leading 1&#8217;s.<br />
		Therefore the set consisting of the first three vectors in $T$<br />
		\[\left\{ \begin{bmatrix}<br />
		1 \\<br />
		0 \\<br />
		0<br />
		\end{bmatrix}, \begin{bmatrix}<br />
		1 \\<br />
		1 \\<br />
		1<br />
		\end{bmatrix}, \begin{bmatrix}<br />
		0 \\<br />
		0 \\<br />
		2<br />
		\end{bmatrix}\right\}\]
		is a basis for $\Span(T)$.<br />
		(This is what I call the leading 1 method.)</p>
<p>		Therefore by the coordinate vector correspondence, it follows that the set<br />
		\[\{p_1(x), p_2(x), p_3(x)\}\]
		is a basis for $\Span(Q)$ consisting of vectors in $Q$.</p>
<h3>(c) For each vector in $Q$ which is not a basis vector you obtained in (b), express the vector as a linear combination of basis vectors</h3>
<p> From the solution of part (b), we see that the vector $p_4(x)$ is the only vector in $Q$ which is not a basis vector.<br />
		Thus we want to express $p_4(x)$ as a linear combination of $p_1(x), p_2(x), p_3(x)$.</p>
<p>		Consider a linear combination<br />
		\[a_1p_1(x)+a_2 p_2(x)+a_3p_3(x)+a_4p_4(x)=0 \tag{*}.\]
		By taking coordinate vectors, we obtain<br />
		\[a_1\begin{bmatrix}<br />
		1 \\<br />
		0 \\<br />
		0<br />
		\end{bmatrix}+a_2\begin{bmatrix}<br />
		1 \\<br />
		1 \\<br />
		1<br />
		\end{bmatrix}+a_3\begin{bmatrix}<br />
		0 \\<br />
		0 \\<br />
		2<br />
		\end{bmatrix}+a_4\begin{bmatrix}<br />
		1 \\<br />
		-1 \\<br />
		1<br />
		\end{bmatrix}=\begin{bmatrix}0\\0\\0 \end{bmatrix}.\]
<p>		The augmented matrix is<br />
		\[\left[\begin{array}{rrrr|r}<br />
		1 &#038; 1 &#038; 0 &#038;   1 &#038;0\\<br />
		0 &#038;1 &#038;  0 &#038; -1  &#038;0\\<br />
		0 &#038; 1 &#038; 2 &#038; 1 &#038;0<br />
		\end{array} \right].\]
		Note that this is the matrix we considered in part (b) except for the last zero column.<br />
		Thus by the same elementary row operations, we obtain the reduced row echelon form of this matrix<br />
		\[\left[\begin{array}{rrrr|r}<br />
		1 &#038; 0 &#038; 0 &#038;   2 &#038;0\\<br />
		0 &#038;1 &#038;  0 &#038; -1 &#038;0 \\<br />
		0 &#038; 0 &#038; 1 &#038; 1&#038;0<br />
		\end{array} \right].\]
<p>		Therefore we obtain the solutions<br />
		\begin{align*}<br />
		a_1&#038;=-2a_4\\<br />
		a_2&#038;=a_4\\<br />
		a_3&#038;=-a_4\\<br />
		\end{align*}<br />
		and $a_4$ is a free variable.</p>
<p>	Setting $a_4=1$ we obtain $a_1=-2, a_2=1, a_3=-1$ from the above solutions.<br />
		We plug these values in the linear combination (*) and obtain<br />
		\[-2p_1(x)+p_2(x)-p_3(x)+p_4(x)=0.\]
		Solving this for $p_4(x)$, the vector $p_4(x)$ can be expressed as<br />
		\[p_4(x)=2p_1(x)-p_2(x)+p_3(x).\]
<button class="simplefavorite-button has-count" data-postid="1307" data-siteid="1" data-groupid="1" data-favoritecount="19" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">19</span></button><p>The post <a href="https://yutsumura.com/vector-space-of-polynomials-and-a-basis-of-its-subspace/" target="_blank">Vector Space of Polynomials and a Basis of  Its Subspace</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-polynomials-and-a-basis-of-its-subspace/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">1307</post-id>	</item>
		<item>
		<title>Find a Basis and Determine the Dimension of a Subspace of All Polynomials of Degree $n$ or Less</title>
		<link>https://yutsumura.com/find-a-basis-and-determine-the-dimension-of-a-subspace-of-all-polynomials-of-degree-n-or-less/</link>
				<comments>https://yutsumura.com/find-a-basis-and-determine-the-dimension-of-a-subspace-of-all-polynomials-of-degree-n-or-less/#respond</comments>
				<pubDate>Sat, 08 Oct 2016 14:26:12 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[basis]]></category>
		<category><![CDATA[basis of a vector space]]></category>
		<category><![CDATA[dimension]]></category>
		<category><![CDATA[dimension of a vector space]]></category>
		<category><![CDATA[general vector space]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[linear combination]]></category>
		<category><![CDATA[linear dependent]]></category>
		<category><![CDATA[linear independent]]></category>
		<category><![CDATA[polynomial]]></category>
		<category><![CDATA[subspace]]></category>
		<category><![CDATA[vector space]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=1122</guid>
				<description><![CDATA[<p>Let $P_n(\R)$ be the vector space over $\R$ consisting of all degree $n$ or less real coefficient polynomials. Let \[U=\{ p(x) \in P_n(\R) \mid p(1)=0\}\] be a subspace of $P_n(\R)$. Find a basis for&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/find-a-basis-and-determine-the-dimension-of-a-subspace-of-all-polynomials-of-degree-n-or-less/" target="_blank">Find a Basis and Determine the Dimension of a Subspace of All Polynomials of Degree $n$ or Less</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 137</h2>
<p>  Let $P_n(\R)$ be the vector space over $\R$ consisting of all degree $n$ or less real coefficient polynomials. Let<br />
  \[U=\{ p(x) \in P_n(\R) \mid p(1)=0\}\]
  be a subspace of $P_n(\R)$.</p>
<p>  Find a basis for $U$ and determine the dimension of $U$.</p>
<p>&nbsp;<br />
<span id="more-1122"></span></p>
<h2> Solution. </h2>
<p>  Let $p(x)=a_nx^n+a_{n-1}x^{n-1}+\cdots+a_1x+a_0$ be an element in $U$.<br />
  Since $p(1)=0$, we have $a_n+a_{n-1}+\cdots+a_1+a_0=0$. Thus we have<br />
  \begin{align*}<br />
p(x)&#038;=a_nx^n+a_{n-1}x^{n-1}+\cdots+a_1x-(a_n+a_{n-1}+\cdots+a_1)\\<br />
&#038;=a_n(x^n-1)+a_{n-1}(x^{n-1}-1)+\cdots a_1(x-1).<br />
\end{align*}	</p>
<hr />
<p>Let us define<br />
\[q_n(x)=x^n-1, q_{n-1}(x)=x^{n-1}-1, \dots, q_1(x)=x-1 \in U.\]
Then the above computation shows that we have<br />
\[p(x)=a_nq_n(x)+a_{n-1}q_{n-1}(x)+\cdots a_1q_1(x).\]
In other words, any element $p(x)\in U$ is a linear combination of $q_1(x), \dots, q_n(x)$.<br />
Hence $B:=\{q_1(x), \dots, q_n(x)\}$ is a spanning set for $U$.</p>
<hr />
<p>We show that $B$ is a linearly independent set.<br />
Consider a linear combination<br />
\[c_1q_1(x)+\cdots+c_n q_n(x)=\theta(x):=0x^{n}+0x^{n-1}+\cdots+0x+0.\]
<p>Then we have<br />
\begin{align*}<br />
c_nx^n+c_{n-1}x^{n-1}+\cdots+c_1x-(c_1+c_2+\cdots+c_n)=0.<br />
\end{align*}<br />
Comparing the coefficients of both sides, we obtain<br />
\[c_1=c_2=\cdots=c_n=0\]
and thus $q_1(x), \dots, q_n(x)$ are linearly independent, and hence $B=\{q_1(x), \dots, q_n(x)\}$ is a basis for the subspace $U$. Since the dimension is the number of vectors in a basis, the dimension of $U$ is $n$.</p>
<button class="simplefavorite-button has-count" data-postid="1122" data-siteid="1" data-groupid="1" data-favoritecount="26" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">26</span></button><p>The post <a href="https://yutsumura.com/find-a-basis-and-determine-the-dimension-of-a-subspace-of-all-polynomials-of-degree-n-or-less/" target="_blank">Find a Basis and Determine the Dimension of a Subspace of All Polynomials of Degree $n$ or Less</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-and-determine-the-dimension-of-a-subspace-of-all-polynomials-of-degree-n-or-less/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">1122</post-id>	</item>
		<item>
		<title>Subspaces of the Vector Space of All Real Valued Function on the Interval</title>
		<link>https://yutsumura.com/subspaces-of-the-vector-space-of-all-real-valued-function-on-the-interval/</link>
				<comments>https://yutsumura.com/subspaces-of-the-vector-space-of-all-real-valued-function-on-the-interval/#respond</comments>
				<pubDate>Thu, 06 Oct 2016 01:11:18 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[general vector space]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[scalar multiplication]]></category>
		<category><![CDATA[subspace]]></category>
		<category><![CDATA[vector]]></category>
		<category><![CDATA[vector space]]></category>
		<category><![CDATA[vector space of functions]]></category>
		<category><![CDATA[zero vector]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=1113</guid>
				<description><![CDATA[<p>Let $V$ be the vector space over $\R$ of all real valued functions defined on the interval $[0,1]$. Determine whether the following subsets of $V$ are subspaces or not. (a) $S=\{f(x) \in V \mid&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/subspaces-of-the-vector-space-of-all-real-valued-function-on-the-interval/" target="_blank">Subspaces of the Vector Space of All Real Valued Function on the Interval</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 134</h2>
<p> Let $V$ be the vector space over $\R$ of all real valued functions defined on the interval $[0,1]$. Determine whether the following subsets of $V$ are subspaces or not.</p>
<p><strong>(a)</strong> $S=\{f(x) \in V \mid f(0)=f(1)\}$.</p>
<p><strong>(b)</strong> $T=\{f(x) \in V \mid f(0)=f(1)+3\}$.</p>
<p>&nbsp;<br />
<span id="more-1113"></span><br />
&nbsp;</p>
<h2>Hint.</h2>
<p>To show that a subset $W$ of a vector space $V$ is a subspace, we need to check that</p>
<ol>
<li> the zero vector in $V$ is in $W$</li>
<li>for any two vectors $u,v \in W$, we have $u+v \in W$</li>
<li>for any scalar $c$ and any vector $u \in W$, we have $cu \in W$.</li>
</ol>
<h2> Solution. </h2>
<h3>(a) Is $S=\{f(x) \in V \mid f(0)=f(1)\}$ a subspace?</h3>
<p> We show that $S$ is a subspace of the vector space $V$ by checking conditions (1)-(3) given in the hint above.<br />
First note that the zero vector in $V$ is the zero function $\theta(x)$, that is, $\theta(x)=0$ for any $x \in [0,1]$.<br />
Since we have $\theta(0)=0=\theta(1)$, the zero function $\theta(x)\in S$.<br />
Condition (1) is met.</p>
<p>Now, take any $f(x), g(x) \in S$. By the defining relation of $S$, we have<br />
\[f(0)=f(1), \quad g(0)=g(1).\]
Consider the addition $(f+g)(x)$. We have<br />
\[(f+g)(0)=f(0)+g(0)=f(1)+g(1)=(f+g)(1)\]
and it follows that $(f+g)(x) \in S$.<br />
Thus $S$ satisfies condition (2).</p>
<p>To check the condition (3), take any scalar $c \in \R$ and $f(x) \in S$.<br />
Since $f(x)\in S$, we have $f(0)=f(1)$. The scalar multiplication $(cf)(x)$ satisfies<br />
\[(cf)(0)=c\cdot f(0)=c\cdot f(1)= (cf)(0).\]
Thus $(cf)(x) \in S$.</p>
<p>Therefore, the subset $S$ satisfies conditions (1)-(3). Hence $S$ is a subspace of $V$.</p>
<h3>(b) Is $T=\{f(x) \in V \mid f(0)=f(1)+3\}$ a subspace?</h3>
<p> We claim that $T$ is not a subspace of the vector space $V$.<br />
For example, the subset $T$ does not satisfy condition (1). </p>
<p>The zero vector of $V$ is the zero function $\theta(x)$.<br />
Then we have<br />
\[\theta(0)=0 \neq 0+3=\theta(1)+3,\]
and hence the zero vector $\theta(x) \in V$ is not in $W$.</p>
<button class="simplefavorite-button has-count" data-postid="1113" data-siteid="1" data-groupid="1" data-favoritecount="36" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">36</span></button><p>The post <a href="https://yutsumura.com/subspaces-of-the-vector-space-of-all-real-valued-function-on-the-interval/" target="_blank">Subspaces of the Vector Space of All Real Valued Function on the Interval</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></content:encoded>
							<wfw:commentRss>https://yutsumura.com/subspaces-of-the-vector-space-of-all-real-valued-function-on-the-interval/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">1113</post-id>	</item>
	</channel>
</rss>
