<?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>Gauss-Jordan elimination &#8211; Problems in Mathematics</title>
	<atom:link href="https://yutsumura.com/tag/gauss-jordan-elimination/feed/" rel="self" type="application/rss+xml" />
	<link>https://yutsumura.com</link>
	<description></description>
	<lastBuildDate>Fri, 26 Jan 2018 15:31:01 +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>Gauss-Jordan elimination &#8211; Problems in Mathematics</title>
	<link>https://yutsumura.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">114989322</site>	<item>
		<title>Determine Trigonometric Functions with Given Conditions</title>
		<link>https://yutsumura.com/determine-trigonometric-functions-with-given-conditions/</link>
				<comments>https://yutsumura.com/determine-trigonometric-functions-with-given-conditions/#respond</comments>
				<pubDate>Mon, 25 Dec 2017 19:21:46 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[augmented matrix]]></category>
		<category><![CDATA[Gauss-Jordan elimination]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[system of linear equations]]></category>
		<category><![CDATA[trigonometric function]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=6351</guid>
				<description><![CDATA[<p>(a) Find a function \[g(\theta) = a \cos(\theta) + b \cos(2 \theta) + c \cos(3 \theta)\] such that $g(0) = g(\pi/2) = g(\pi) = 0$, where $a, b, c$ are constants. (b) Find real&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/determine-trigonometric-functions-with-given-conditions/" target="_blank">Determine Trigonometric Functions with Given Conditions</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 651</h2>
<p><strong>(a) </strong>Find a function<br />
\[g(\theta) = a \cos(\theta) + b \cos(2 \theta) + c \cos(3 \theta)\]
		such that $g(0) = g(\pi/2) = g(\pi) = 0$, where $a, b, c$ are constants.</p>
<p><strong>(b)</strong> Find real numbers $a, b, c$ such that the function<br />
\[g(\theta) = a \cos(\theta) + b \cos(2 \theta) + c \cos(3 \theta)\]
		satisfies $g(0) = 3$, $g(\pi/2) = 1$, and $g(\pi) = -5$.</p>
<p>&nbsp;<br />
<span id="more-6351"></span><br />

<h2>Solution.</h2>
<h3>(a) Condition: $g(0) = g(\pi/2) = g(\pi) = 0$</h3>
<p>	Each condition required on $g$ can be turned into an equation involving the constants $a, b, c$.  In particular, we have the system of linear equations<br />
	\begin{align*}<br />
	g(0) &#038;= a + b + c = 0 \\[6pt]
	g \left( \frac{\pi}{2} \right) &#038;= -b = 0 \\[6pt]
	g(\pi) &#038;= -a + b &#8211; c = 0.<br />
	 \end{align*}</p>
<hr />
<p>	To solve this system, we will use Gauss-Jordan elimination to reduce its augmented matrix.<br />
	\begin{align*}<br />
\left[\begin{array}{rrr|r} 1 &#038; 1 &#038; 1 &#038; 0 \\ 0 &#038; -1 &#038; 0 &#038; 0 \\ -1 &#038; 1 &#038; -1 &#038; 0 \end{array} \right] \xrightarrow[R_3 + R_2]{R_1 + R_2} \left[\begin{array}{rrr|r} 1 &#038; 0 &#038; 1 &#038; 0 \\ 0 &#038; -1 &#038; 0 &#038; 0 \\ -1 &#038; 0 &#038; -1 &#038; 0 \end{array} \right] \xrightarrow[R_3 + R_1]{(-1) R_2} \left[\begin{array}{rrr|r} 1 &#038; 0 &#038; 1 &#038; 0 \\ 0 &#038; 1 &#038; 0 &#038; 0 \\ 0 &#038; 0 &#038; 0 &#038; 0 \end{array} \right].<br />
\end{align*}</p>
<p>	The solution can now be read off: $a+c = 0$ and $b=0$.<br />
Thus a general solution is of the form $g(\theta) = a \cos(\theta) &#8211; a \cos ( 3 \theta) $, where $a$ is any real number.</p>
<h3>(b) Condition: $g(0) = 3$, $g(\pi/2) = 1$, and $g(\pi) = -5$</h3>
<p>	Each condition required on $g$ can be turned into an equation involving the constants $a, b, c$.  In particular, we have</p>
<p>	\begin{align*}<br />
g(0) &#038;= a + b + c = 3\\<br />
g(\pi/2) &#038;= -b = 1\\<br />
g(\pi) &#038;= -a + b &#8211; c = -5.<br />
\end{align*}</p>
<hr />
<p>	To solve this system, we will use Gauss-Jordan elimination to reduce its augmented matrix.<br />
	\begin{align*}<br />
\left[\begin{array}{rrr|r} 1 &#038; 1 &#038; 1 &#038; 3 \\ 0 &#038; -1 &#038; 0 &#038; 1 \\ -1 &#038; 1 &#038; -1 &#038; -5 \end{array} \right] \xrightarrow[R_3 + R_2]{R_1 + R_2} \left[\begin{array}{rrr|r} 1 &#038; 0 &#038; 1 &#038; 4 \\ 0 &#038; -1 &#038; 0 &#038; 1 \\ -1 &#038; 0 &#038; -1 &#038; -4 \end{array} \right] \xrightarrow[R_3 + R_1]{(-1) R_2} \left[\begin{array}{rrr|r} 1 &#038; 0 &#038; 1 &#038; 4 \\ 0 &#038; 1 &#038; 0 &#038; -1 \\ 0 &#038; 0 &#038; 0 &#038; 0 \end{array} \right]
\end{align*}</p>
<p>	The solution can now be read off: $a+c = 4$ and $b=-1$.  Thus a general solution is of the form<br />
	$$ g(\theta) = a \cos(\theta) &#8211; \cos(2 \theta) + (4 &#8211; a) \cos(3 \theta) , $$<br />
	where $a$ is any real number.</p>
<button class="simplefavorite-button has-count" data-postid="6351" data-siteid="1" data-groupid="1" data-favoritecount="48" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">48</span></button><p>The post <a href="https://yutsumura.com/determine-trigonometric-functions-with-given-conditions/" target="_blank">Determine Trigonometric Functions with Given Conditions</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></content:encoded>
							<wfw:commentRss>https://yutsumura.com/determine-trigonometric-functions-with-given-conditions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">6351</post-id>	</item>
		<item>
		<title>Express a Vector as a Linear Combination of Given Three Vectors</title>
		<link>https://yutsumura.com/express-a-vector-as-a-linear-combination-of-given-three-vectors/</link>
				<comments>https://yutsumura.com/express-a-vector-as-a-linear-combination-of-given-three-vectors/#comments</comments>
				<pubDate>Mon, 13 Feb 2017 22:02:29 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[augmented matrix]]></category>
		<category><![CDATA[exam]]></category>
		<category><![CDATA[Gauss-Jordan elimination]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[linear combination]]></category>
		<category><![CDATA[Ohio State]]></category>
		<category><![CDATA[Ohio State.LA]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=2181</guid>
				<description><![CDATA[<p>Let \[\mathbf{v}_1=\begin{bmatrix} 1 \\ 5 \\ -1 \end{bmatrix}, \mathbf{v}_2=\begin{bmatrix} 1 \\ 4 \\ 3 \end{bmatrix}, \mathbf{v}_3=\begin{bmatrix} 1 \\ 2 \\ 1 \end{bmatrix}, \mathbf{b}=\begin{bmatrix} 2 \\ 13 \\ 6 \end{bmatrix}.\] Express the vector $\mathbf{b}$ as&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/express-a-vector-as-a-linear-combination-of-given-three-vectors/" target="_blank">Express a Vector as a Linear Combination of Given Three Vectors</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 298</h2>
<p>Let<br />
\[\mathbf{v}_1=\begin{bmatrix}<br />
  1 \\<br />
   5 \\<br />
    -1<br />
  \end{bmatrix}, \mathbf{v}_2=\begin{bmatrix}<br />
  1 \\<br />
   4 \\<br />
    3<br />
  \end{bmatrix}, \mathbf{v}_3=\begin{bmatrix}<br />
  1 \\<br />
   2 \\<br />
    1<br />
  \end{bmatrix}, \mathbf{b}=\begin{bmatrix}<br />
  2 \\<br />
   13 \\<br />
    6<br />
  \end{bmatrix}.\]
  Express the vector $\mathbf{b}$ as a linear combination of the vector $\mathbf{v}_1, \mathbf{v}_2, \mathbf{v}_3$.</p>
<p>(<em>The Ohio State University, Linear Algebra Midterm Exam Problem</em>)<br />
&nbsp;<br />
<span id="more-2181"></span><br />

<h2>Solution.</h2>
<p>	We want to find scalars $x_1, x_2, x_3$ such that<br />
	\[\mathbf{b}=x_1\mathbf{v}_1+x_2\mathbf{v}_2+x_3\mathbf{v}_3.\]
	This is equivalent to solving the matrix equation $A\mathbf{x}=\mathbf{b}$, where<br />
	\[A=[\mathbf{v}_1, \mathbf{v}_2, \mathbf{v}_3]=\begin{bmatrix}<br />
  1 &#038; 1 &#038; 1 \\<br />
   5 &#038;4 &#038;2 \\<br />
   -1 &#038; 3 &#038; 1<br />
\end{bmatrix} \text{ and } \mathbf{x}=\begin{bmatrix}<br />
  x_1 \\<br />
   x_2 \\<br />
    x_3<br />
  \end{bmatrix}.\]
<p>  We solve this by Gauss-Jordan elimination.<br />
  The augmented matrix is<br />
  \[ \left[\begin{array}{rrr|r}<br />
 1 &#038; 1 &#038; 1 &#038;   2 \\<br />
  5 &#038;4 &#038;  2 &#038; 13  \\<br />
  -1 &#038; 3 &#038; 1 &#038; 6<br />
    \end{array} \right].\]
    We apply elementary row operations as follows.<br />
    \begin{align*}<br />
 \left[\begin{array}{rrr|r}<br />
 1 &#038; 1 &#038; 1 &#038;   2 \\<br />
  5 &#038;4 &#038;  2 &#038; 13  \\<br />
  -1 &#038; 3 &#038; 1 &#038; 6<br />
    \end{array} \right]
    \xrightarrow{\substack{R_2-5R_1\\R_3+R_1}}<br />
     \left[\begin{array}{rrr|r}<br />
 1 &#038; 1 &#038; 1 &#038;   2 \\<br />
  0 &#038;-1 &#038;  -3 &#038; 3  \\<br />
  0 &#038; 4 &#038; 2 &#038; 8<br />
    \end{array} \right]\\[10pt]
    \xrightarrow{\substack{-R_2\\ \frac{1}{2}R_3}}<br />
     \left[\begin{array}{rrr|r}<br />
 1 &#038; 1 &#038; 1 &#038;   2 \\<br />
  0 &#038;1 &#038;  3 &#038; -3  \\<br />
  0 &#038; 2 &#038; 1 &#038; 4<br />
    \end{array} \right]
    \xrightarrow{\substack{R_1-R_2\\ R_3-2R_2}}<br />
     \left[\begin{array}{rrr|r}<br />
 1 &#038; 0 &#038; -2 &#038;   5 \\<br />
  0 &#038;1 &#038;  3 &#038; -3  \\<br />
  0 &#038; 0 &#038; -5 &#038; 10<br />
    \end{array} \right]\\[10pt]
    \xrightarrow{-\frac{1}{2}R_3}<br />
     \left[\begin{array}{rrr|r}<br />
 1 &#038; 0 &#038; -2 &#038;   5 \\<br />
  0 &#038;1 &#038;  3 &#038; -3  \\<br />
  0 &#038; 0 &#038; 1 &#038; -2<br />
    \end{array} \right]
    \xrightarrow{\substack{R_1+2R_3 \\ R_2-3R_3}}<br />
     \left[\begin{array}{rrr|r}<br />
 1 &#038; 0 &#038; 0 &#038;   1 \\<br />
  0 &#038;1 &#038;  0 &#038; 3  \\<br />
  0 &#038; 0 &#038; 1 &#038; -2<br />
    \end{array} \right].<br />
\end{align*}<br />
The last matrix is in reduced row echelon form.<br />
Therefore, the solution is<br />
\[x_1=1, x_2=3, x_3=-2.\]
Thus the linear combination we are looking for is<br />
\[\mathbf{b}=\mathbf{v}_1+3\mathbf{v}_2-2\mathbf{v}_3.\]
<h2>Comment.</h2>
<p>This is one of the midterm exam 1 problems of linear algebra (Math 2568) at the Ohio State University.</p>
<p>Many of students started their solutions by writing the augmented matrix.<br />
But it is good to start with the linear combination (because that&#8217;s what we need to find) and proceed to the augmented matrix to find the coefficients.</p>
<h3>Double check</h3>
<p>Once you obtained the linear combination<br />
\[\mathbf{b}=\mathbf{v}_1+3\mathbf{v}_2-2\mathbf{v}_3,\]
you should check whether this equality really holds.<br />
Since vectors $\mathbf{b}, \mathbf{v}_1, \mathbf{v}_2, \mathbf{v}_3$ are given explicitly, checking this won&#8217;t take time.<br />
If the equality doesn&#8217;t hold, then you must have made a computational error.</p>
<h2>Midterm 1 problems and solutions </h2>
<p>The following list is the problems and solutions/proofs of midterm exam 1 of linear algebra at the Ohio State University in Spring 2017.</p>
<ol>
<li><a href="//yutsumura.com/the-possibilities-for-the-number-of-solutions-of-systems-of-linear-equations-that-have-more-equations-than-unknowns/" target="_blank">Problem 1 and its solution</a>: Possibilities for the solution set of a system of linear equations</li>
<li><a href="//yutsumura.com/solve-the-system-of-linear-equations-and-give-the-vector-form-for-the-general-solution/" target="_blank">Problem 2 and its solution</a>: The vector form of the general solution of a system</li>
<li><a href="//yutsumura.com/compute-and-simplify-the-matrix-expression-including-transpose-and-inverse-matrices/" target="_blank">Problem 3 and its solution</a>: Matrix operations (transpose and inverse matrices)</li>
<li>Problem 4 and its solution (The current page): Linear combination</li>
<li><a href="//yutsumura.com/find-the-inverse-matrix-of-a-3times-3-matrix-if-exists/" target="_blank">Problem 5 and its solution</a>: Inverse matrix</li>
<li><a href="//yutsumura.com/quiz-4-inverse-matrix-nonsingular-matrix-satisfying-a-relation/" target="_blank">Problem 6 and its solution</a>: Nonsingular matrix satisfying a relation</li>
<li><a href="//yutsumura.com/solve-a-system-by-the-inverse-matrix-and-compute-a2017mathbfx/" target="_blank">Problem 7 and its solution</a>: Solve a system by the inverse matrix</li>
<li><a href="//yutsumura.com/if-a-matrix-a-is-singular-then-exists-nonzero-b-such-that-ab-is-the-zero-matrix/" target="_blank">Problem 8 and its solution</a>:A proof problem about nonsingular matrix</li>
</ol>
<button class="simplefavorite-button has-count" data-postid="2181" data-siteid="1" data-groupid="1" data-favoritecount="61" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">61</span></button><p>The post <a href="https://yutsumura.com/express-a-vector-as-a-linear-combination-of-given-three-vectors/" target="_blank">Express a Vector as a Linear Combination of Given Three Vectors</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></content:encoded>
							<wfw:commentRss>https://yutsumura.com/express-a-vector-as-a-linear-combination-of-given-three-vectors/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">2181</post-id>	</item>
		<item>
		<title>Solve the System of Linear Equations and Give the Vector Form for the General Solution</title>
		<link>https://yutsumura.com/solve-the-system-of-linear-equations-and-give-the-vector-form-for-the-general-solution/</link>
				<comments>https://yutsumura.com/solve-the-system-of-linear-equations-and-give-the-vector-form-for-the-general-solution/#comments</comments>
				<pubDate>Mon, 13 Feb 2017 21:31:24 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[exam]]></category>
		<category><![CDATA[Gauss-Jordan elimination]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[Ohio State]]></category>
		<category><![CDATA[Ohio State.LA]]></category>
		<category><![CDATA[system of linear equations]]></category>
		<category><![CDATA[vector]]></category>
		<category><![CDATA[vector form for the general solution]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=2175</guid>
				<description><![CDATA[<p>Solve the following system of linear equations and give the vector form for the general solution. \begin{align*} x_1 -x_3 -2x_5&#038;=1 \\ x_2+3x_3-x_5 &#038;=2 \\ 2x_1 -2x_3 +x_4 -3x_5 &#038;= 0 \end{align*} (The Ohio State&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/solve-the-system-of-linear-equations-and-give-the-vector-form-for-the-general-solution/" target="_blank">Solve the System of Linear Equations and Give the Vector Form for the General Solution</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 296</h2>
<p>Solve the following system of linear equations and give the vector form for the general solution.<br />
\begin{align*}<br />
x_1 -x_3 -2x_5&#038;=1 \\<br />
   x_2+3x_3-x_5 &#038;=2 \\<br />
   2x_1 -2x_3 +x_4 -3x_5 &#038;= 0<br />
\end{align*} </p>
<p>(The Ohio State University, linear algebra midterm exam problem)<br />
&nbsp;<br />
<span id="more-2175"></span><br />

<h2>Solution.</h2>
<p> 		We solve the system by Gauss-Jordan elimination.<br />
 		The augmented matrix of the system is given by</p>
<p> 		\[\left[\begin{array}{rrrrr|r}<br />
  1 &#038; 0 &#038; -1 &#038; 0 &#038;-2 &#038; 1 \\<br />
   0 &#038; 1 &#038; 3 &#038; 0 &#038; -1 &#038; 2 \\<br />
   2 &#038; 0 &#038; -2 &#038; 1 &#038; -3 &#038; 0 \\<br />
  \end{array}\right].\]
  We apply the elementary row operations as follows.<br />
  \begin{align*}<br />
 		\left[\begin{array}{rrrrr|r}<br />
  1 &#038; 0 &#038; -1 &#038; 0 &#038;-2 &#038; 1 \\<br />
   0 &#038; 1 &#038; 3 &#038; 0 &#038; -1 &#038; 2 \\<br />
   2 &#038; 0 &#038; -2 &#038; 1 &#038; -3 &#038; 0 \\<br />
  \end{array}\right]
  \xrightarrow{R_3-2R_1}<br />
   		\left[\begin{array}{rrrrr|r}<br />
  1 &#038; 0 &#038; -1 &#038; 0 &#038;-2 &#038; 1 \\<br />
   0 &#038; 1 &#038; 3 &#038; 0 &#038; -1 &#038; 2 \\<br />
   0 &#038; 0 &#038; 0 &#038; 1 &#038; 1 &#038; -2 \\<br />
  \end{array}\right].<br />
  \end{align*}<br />
  Then the last matrix is in reduced row echelon form.<br />
  The variables $x_1, x_2, x_4$ correspond to the leading $1$&#8217;s of the last matrix, hence they are dependent variables and the rest $x_3, x_5$ are free variables.<br />
  From the last matrix we obtain the general solution<br />
  \begin{align*}<br />
x_1&#038;=x_3+2x_5+1\\<br />
x_2&#038;=-3x_3+x_5+2\\<br />
x_4&#038;=-x_5-2.<br />
\end{align*}<br />
The vector form for the general solution is obtained by substituting these into the vector $\mathbf{x}$.<br />
We have<br />
\begin{align*}<br />
\mathbf{x}&#038;=\begin{bmatrix}<br />
  x_1 \\<br />
   x_2 \\<br />
    x_3 \\<br />
   x_4 \\<br />
   x_5<br />
   \end{bmatrix}=\begin{bmatrix}<br />
  x_3+2x_5+1 \\<br />
   -3x_3+x_5+2 \\<br />
    x_3 \\<br />
   -x_5-2 \\<br />
   x_5<br />
   \end{bmatrix}\\[10pt]
   &#038;=x_3\begin{bmatrix}<br />
  1 \\<br />
   -3 \\<br />
    1 \\<br />
   0 \\<br />
   0<br />
   \end{bmatrix}+x_5\begin{bmatrix}<br />
  2 \\<br />
   1 \\<br />
    0 \\<br />
   -1 \\<br />
   1<br />
   \end{bmatrix}<br />
   +\begin{bmatrix}<br />
  1 \\<br />
   2 \\<br />
    0 \\<br />
   -2 \\<br />
   0<br />
   \end{bmatrix}.<br />
   \end{align*}<br />
   Therefore, the vector form for the general solution is given by<br />
   \[\mathbf{x}=x_3\begin{bmatrix}<br />
  1 \\<br />
   -3 \\<br />
    1 \\<br />
   0 \\<br />
   0<br />
   \end{bmatrix}+x_5\begin{bmatrix}<br />
  2 \\<br />
   1 \\<br />
    0 \\<br />
   -1 \\<br />
   1<br />
   \end{bmatrix}<br />
   +\begin{bmatrix}<br />
  1 \\<br />
   2 \\<br />
    0 \\<br />
   -2 \\<br />
   0<br />
   \end{bmatrix},\]
   where $x_3, x_5$ are free variables.</p>
<h2>Comment.</h2>
<p>This is one of the midterm exam 1 problems of linear algebra (Math 2568) at the Ohio State University.</p>
<h2>Midterm 1 problems and solutions </h2>
<p>The following list is the problems and solutions/proofs of midterm exam 1 of linear algebra at the Ohio State University in Spring 2017.</p>
<ol>
<li><a href="//yutsumura.com/the-possibilities-for-the-number-of-solutions-of-systems-of-linear-equations-that-have-more-equations-than-unknowns/" target="_blank">Problem 1 and its solution</a>: Possibilities for the solution set of a system of linear equations</li>
<li>Problem 2 and its solution (The current page): The vector form of the general solution of a system</li>
<li><a href="//yutsumura.com/compute-and-simplify-the-matrix-expression-including-transpose-and-inverse-matrices/" target="_blank">Problem 3 and its solution</a>: Matrix operations (transpose and inverse matrices)</li>
<li><a href="//yutsumura.com/express-a-vector-as-a-linear-combination-of-given-three-vectors/" target="_blank">Problem 4 and its solution</a>: Linear combination</li>
<li><a href="//yutsumura.com/find-the-inverse-matrix-of-a-3times-3-matrix-if-exists/" target="_blank">Problem 5 and its solution</a>: Inverse matrix</li>
<li><a href="//yutsumura.com/quiz-4-inverse-matrix-nonsingular-matrix-satisfying-a-relation/" target="_blank">Problem 6 and its solution</a>: Nonsingular matrix satisfying a relation</li>
<li><a href="//yutsumura.com/solve-a-system-by-the-inverse-matrix-and-compute-a2017mathbfx/" target="_blank">Problem 7 and its solution</a>: Solve a system by the inverse matrix</li>
<li><a href="//yutsumura.com/if-a-matrix-a-is-singular-then-exists-nonzero-b-such-that-ab-is-the-zero-matrix/" target="_blank">Problem 8 and its solution</a>:A proof problem about nonsingular matrix</li>
</ol>
<button class="simplefavorite-button has-count" data-postid="2175" data-siteid="1" data-groupid="1" data-favoritecount="53" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">53</span></button><p>The post <a href="https://yutsumura.com/solve-the-system-of-linear-equations-and-give-the-vector-form-for-the-general-solution/" target="_blank">Solve the System of Linear Equations and Give the Vector Form for the General Solution</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></content:encoded>
							<wfw:commentRss>https://yutsumura.com/solve-the-system-of-linear-equations-and-give-the-vector-form-for-the-general-solution/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">2175</post-id>	</item>
		<item>
		<title>Find a Nonsingular Matrix Satisfying Some Relation</title>
		<link>https://yutsumura.com/find-a-nonsingular-matrix-satisfying-some-relation/</link>
				<comments>https://yutsumura.com/find-a-nonsingular-matrix-satisfying-some-relation/#respond</comments>
				<pubDate>Wed, 01 Feb 2017 00:33:52 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[elementary row operations]]></category>
		<category><![CDATA[Gauss-Jordan elimination]]></category>
		<category><![CDATA[inverse matrix]]></category>
		<category><![CDATA[invertible matrix]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[matrix]]></category>
		<category><![CDATA[nonsingular matrix]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=2085</guid>
				<description><![CDATA[<p>Determine whether there exists a nonsingular matrix $A$ if \[A^2=AB+2A,\] where $B$ is the following matrix. If such a nonsingular matrix $A$ exists, find the inverse matrix $A^{-1}$. (a) \[B=\begin{bmatrix} -1 &#038; 1 &#038;&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/find-a-nonsingular-matrix-satisfying-some-relation/" target="_blank">Find a Nonsingular Matrix Satisfying Some Relation</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 280</h2>
<p> Determine whether there exists a nonsingular matrix $A$ if<br />
	\[A^2=AB+2A,\]
	where $B$ is the following matrix.<br />
	If such a nonsingular matrix $A$ exists, find the inverse matrix $A^{-1}$.</p>
<p><strong>(a)</strong> \[B=\begin{bmatrix}<br />
	  -1 &#038; 1 &#038; -1 \\<br />
	   0 &#038;-1 &#038;0 \\<br />
	   1 &#038; 2 &#038; -2<br />
	\end{bmatrix}\]
<p><strong>(b)</strong> \[B=\begin{bmatrix}<br />
	  -1 &#038; 1 &#038; -1 \\<br />
	   0 &#038;-1 &#038;0 \\<br />
	   2 &#038; 1 &#038; -4<br />
	\end{bmatrix}.\]
<p>&nbsp;<br />
<span id="more-2085"></span></p>
<h2>Solution.</h2>
<p>		Suppose that a nonsingular matrix $A$ satisfying $A^2=AB+2A$ exists.<br />
		Then $A$ is invertible since $A$ is nonsingular, and thus the inverse $A^{-1}$ exists.</p>
<p>		Multiplying by $A^{-1}$ on the left, we have<br />
		\begin{align*}<br />
	A=&#038;A^{-1}A^2=A^{-1}(AB+2A)\\<br />
	&#038;=A^{-1}AB+2A^{-1}A\\<br />
	&#038;=B+2I,<br />
	\end{align*}<br />
	where $I$ is the $3\times 3$ identity matrix.<br />
	Therefore, if such a nonsingular matrix exists, it must be<br />
	\[A=B+2I. \tag{*}\]
<h3>(a) The first case</h3>
<p> Let us consider the case<br />
	\[B=\begin{bmatrix}<br />
	  -1 &#038; 1 &#038; -1 \\<br />
	   0 &#038;-1 &#038;0 \\<br />
	   1 &#038; 2 &#038; -2<br />
	\end{bmatrix}.\]
	In this case, we have from (*)<br />
	\[A=B+2I=\begin{bmatrix}<br />
	  1 &#038; 1 &#038; -1 \\<br />
	   0 &#038;1 &#038;0 \\<br />
	   1 &#038; 2 &#038; 0<br />
	\end{bmatrix}.\] </p>
<p>	We still need to check that this matrix is in fact a nonsingular matrix.<br />
	To check the non-singularity and to find the inverse matrix at once, we consider the augmented matrix $[A\mid I]$ and apply elementary row operations.<br />
	We have<br />
	\begin{align*}<br />
	&#038;[A\mid I] =<br />
	 \left[\begin{array}{rrr|rrr}<br />
	 1 &#038; 1 &#038; -1 &#038; 1 &#038;0 &#038; 0 \\<br />
	   0 &#038; 1 &#038; 0 &#038; 0 &#038; 1 &#038; 0 \\<br />
	   1 &#038; 2 &#038; 0 &#038; 0 &#038; 0 &#038; 1 \\<br />
	  \end{array} \right]\\[10pt]
	  &#038; \xrightarrow{R_3-R_1}<br />
	  \left[\begin{array}{rrr|rrr}<br />
	  1 &#038; 1 &#038; -1 &#038; 1 &#038;0 &#038; 0 \\<br />
	   0 &#038; 1 &#038; 0 &#038; 0 &#038; 1 &#038; 0 \\<br />
	   0 &#038; 1 &#038; 1 &#038; -1 &#038; 0 &#038; 1 \\<br />
	  \end{array} \right]
	  \xrightarrow{\substack{R_1-R_2 \\ R_3-R_2}}<br />
	   \left[\begin{array}{rrr|rrr}<br />
	  1 &#038; 0 &#038; -1 &#038; 1 &#038; -1&#038; 0 \\<br />
	   0 &#038; 1 &#038; 0 &#038; 0 &#038; 1 &#038; 0 \\<br />
	   0 &#038; 0 &#038; 1 &#038; -1 &#038; -1 &#038; 1 \\<br />
	  \end{array} \right] \\[10pt]
	  &#038;\xrightarrow{R_1+R_3}<br />
	   \left[\begin{array}{rrr|rrr}<br />
	  1 &#038; 0 &#038; 0 &#038; 0 &#038; -2&#038; 1 \\<br />
	   0 &#038; 1 &#038; 0 &#038; 0 &#038; 1 &#038; 0 \\<br />
	   0 &#038; 0 &#038; 1 &#038; -1 &#038; -1 &#038; 1 \\<br />
	  \end{array} \right].<br />
	 \end{align*}</p>
<p>	 The left part of the last matrix is the identity matrix, and thus the matrix $A$ is invertible and the inverse matrix is the right half:<br />
	 \[A^{-1}=\begin{bmatrix}<br />
	  0 &#038; -2 &#038; 1 \\<br />
	   0 &#038;1 &#038;0 \\<br />
	   -1 &#038; -1 &#038; 1<br />
	\end{bmatrix}.\]
<h3>(b) The second case</h3>
<p> Next let us consider the case<br />
	\[B=\begin{bmatrix}<br />
	  -1 &#038; 1 &#038; -1 \\<br />
	   0 &#038;-1 &#038;0 \\<br />
	   2 &#038; 1 &#038; -4<br />
	\end{bmatrix}.\]
	By (*), if a nonsingular matrix $A$ exists, it must be<br />
	\[A=B+2I=\begin{bmatrix}<br />
	  1 &#038; 1 &#038; -1 \\<br />
	   0 &#038;1 &#038;0 \\<br />
	   2 &#038; 1 &#038; -2<br />
	\end{bmatrix}.\]
<p>	We need to determine whether this matrix is actually nonsingular.<br />
	In fact, we prove that this matrix is singular.<br />
	That is, we show that $A\mathbf{x}=\mathbf{0}$ has a nonzero solution.<br />
	Consider the augmented matrix $[A\mid \mathbf{0}]$. By Gauss-Jordan elimination, we have<br />
	\begin{align*}<br />
	&#038;[A\mid \mathbf{0}] = \left[\begin{array}{rrr|r}<br />
	 1 &#038; 1 &#038; -1 &#038;   0 \\<br />
	  0 &#038;1 &#038;  0 &#038; 0  \\<br />
	  2 &#038; 1 &#038; -2 &#038; 0<br />
	    \end{array} \right]
	    \xrightarrow{R_3-2R_1}\\[10pt]
	    &#038;    \left[\begin{array}{rrr|r}<br />
	 1 &#038; 1 &#038; -1 &#038;   0 \\<br />
	  0 &#038;1 &#038;  0 &#038; 0  \\<br />
	  0 &#038; -1 &#038; 0 &#038; 0<br />
	    \end{array} \right]
	    \xrightarrow{\substack{R_1-R_2\\ R_3+R_2}}<br />
	     \left[\begin{array}{rrr|r}<br />
	 1 &#038; 0&#038; -1 &#038;   0 \\<br />
	  0 &#038;1 &#038;  0 &#038; 0  \\<br />
	  0 &#038; 0 &#038; 0 &#038; 0<br />
	    \end{array} \right].<br />
	\end{align*}</p>
<p>	The last matrix is in reduced row echelon form and it has a zero row. From this, we see that $x_3$ must be a free variable, and the matrix $A$ is singular.<br />
	(The general solution is $x_1=x_3, x_2=0$. Thus for example, $x_1=1, x_2=0, x_3=1$ is a nonzero solution of $A\mathbf{x}=\mathbf{0}$.)</p>
<p>	Thus, we conclude that there is no nonsingular matrix $A$ satisfying $A^2=AB+2A$ in this case.</p>
<button class="simplefavorite-button has-count" data-postid="2085" 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/find-a-nonsingular-matrix-satisfying-some-relation/" target="_blank">Find a Nonsingular Matrix Satisfying Some Relation</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-nonsingular-matrix-satisfying-some-relation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">2085</post-id>	</item>
		<item>
		<title>Determine Linearly Independent or Linearly Dependent. Express as a Linear Combination</title>
		<link>https://yutsumura.com/determine-linearly-independent-or-linearly-dependent-express-as-a-linear-combination/</link>
				<comments>https://yutsumura.com/determine-linearly-independent-or-linearly-dependent-express-as-a-linear-combination/#respond</comments>
				<pubDate>Sun, 29 Jan 2017 01:36:39 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[elementary row operations]]></category>
		<category><![CDATA[Gauss-Jordan elimination]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[linear combination]]></category>
		<category><![CDATA[linearly dependent]]></category>
		<category><![CDATA[linearly independent]]></category>
		<category><![CDATA[vector]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=2069</guid>
				<description><![CDATA[<p>Determine whether the following set of vectors is linearly independent or linearly dependent. If the set is linearly dependent, express one vector in the set as a linear combination of the others. \[\left\{\, \begin{bmatrix}&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/determine-linearly-independent-or-linearly-dependent-express-as-a-linear-combination/" target="_blank">Determine Linearly Independent or Linearly Dependent. Express as a Linear Combination</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 277</h2>
<p>	Determine whether the following set of vectors is linearly independent or linearly dependent. If the set is linearly dependent, express one vector in the set as a linear combination of the others.<br />
	\[\left\{\, \begin{bmatrix}<br />
	  1 \\<br />
	   0 \\<br />
	    -1 \\<br />
	   0<br />
	   \end{bmatrix}, \begin{bmatrix}<br />
	  1 \\<br />
	   2 \\<br />
	    3 \\<br />
	   4<br />
	   \end{bmatrix}, \begin{bmatrix}<br />
	  -1 \\<br />
	   -2 \\<br />
	    0 \\<br />
	   1<br />
	   \end{bmatrix},<br />
	   \begin{bmatrix}<br />
	  -2 \\<br />
	   -2 \\<br />
	    7 \\<br />
	   11<br />
	   \end{bmatrix}\, \right\}.\]
<p>	&nbsp;<br />
<span id="more-2069"></span></p>
<h2>Solution.</h2>
<p>		Consider the linear combination<br />
		\[x_1\begin{bmatrix}<br />
	  1 \\<br />
	   0 \\<br />
	    -1 \\<br />
	   0<br />
	   \end{bmatrix}+x_2 \begin{bmatrix}<br />
	  1 \\<br />
	   2 \\<br />
	    3 \\<br />
	   4<br />
	   \end{bmatrix}+x_3\begin{bmatrix}<br />
	  -1 \\<br />
	   -2 \\<br />
	    0 \\<br />
	   1<br />
	   \end{bmatrix}+x_4<br />
	   \begin{bmatrix}<br />
	  -2 \\<br />
	   -2 \\<br />
	    7 \\<br />
	   11<br />
	   \end{bmatrix}=\mathbf{0} \tag{*}\]
	   with variables $x_1, x_2, x_3, x_4$.<br />
	   We determine whether there is $(x_1, x_2, x_3, x_4)\neq (0,0,0,0)$ satisfying the linear combination (*).</p>
<p>	  The linear combination (*) is written as the matrix equation<br />
	  \[\begin{bmatrix}<br />
	  1 &#038; 1 &#038; -1 &#038;   -2 \\<br />
	  0 &#038;2 &#038;  -2 &#038; -2  \\<br />
	  -1 &#038; 3 &#038; 0 &#038; 7 \\<br />
	  0 &#038; 4 &#038; 1 &#038; 11<br />
	\end{bmatrix}<br />
	\begin{bmatrix}<br />
	  x_1 \\<br />
	   x_2 \\<br />
	    x_3 \\<br />
	   x_4<br />
	   \end{bmatrix}=\mathbf{0}.\]
<hr />
<p>	   To find the solutions of the equation, we apply the Gauss-Jordan elimination.<br />
	   The augmented matrix $[A\mid \mathbf{0}]$ can be reduced by elementary row operations as follows.<br />
	   \begin{align*}<br />
	[A\mid \mathbf{0}]=  \left[\begin{array}{rrrr|r}<br />
	  1 &#038; 1 &#038; -1 &#038;   -2 &#038; 0\\<br />
	  0 &#038;2 &#038;  -2 &#038; -2 &#038; 0 \\<br />
	  -1 &#038; 3 &#038; 0 &#038; 7&#038; 0 \\<br />
	  0 &#038; 4 &#038; 1 &#038; 11&#038; 0 \\<br />
	  \end{array} \right]
	  \xrightarrow{\substack{R_3+R_1 \\ \frac{1}{2}R_2}}<br />
	  \left[\begin{array}{rrrr|r}<br />
	  1 &#038; 1 &#038; -1 &#038;   -2 &#038; 0\\<br />
	  0 &#038; 1 &#038;  -1 &#038; -1 &#038; 0 \\<br />
	  0 &#038; 4 &#038; -1 &#038; 5&#038; 0 \\<br />
	  0 &#038; 4 &#038; 1 &#038; 11&#038; 0 \\<br />
	  \end{array} \right]\\[10pt]
	  \xrightarrow{\substack{R_1-R_2\\ R_3-4R_2\\ R_4-4R_2}}<br />
	    \left[\begin{array}{rrrr|r}<br />
	  1 &#038; 0 &#038; 0 &#038;   -1 &#038; 0\\<br />
	  0 &#038; 1 &#038;  -1 &#038; -1 &#038; 0 \\<br />
	  0 &#038; 0 &#038; 3 &#038; 9&#038; 0 \\<br />
	  0 &#038; 0 &#038; 5 &#038; 15 &#038; 0 \\<br />
	  \end{array} \right]
	  \xrightarrow{\substack{\frac{1}{3}R_3\\ \frac{1}{5}R_4}}<br />
	      \left[\begin{array}{rrrr|r}<br />
	  1 &#038; 0 &#038; 0 &#038;   -1 &#038; 0\\<br />
	  0 &#038; 1 &#038;  -1 &#038; -1 &#038; 0 \\<br />
	  0 &#038; 0 &#038; 1 &#038; 3 &#038; 0 \\<br />
	  0 &#038; 0 &#038; 1 &#038; 3 &#038; 0 \\<br />
	  \end{array} \right]\\[10pt]
	  \xrightarrow{\substack{R_2+R_3\\R_4-R_3}}<br />
	       \left[\begin{array}{rrrr|r}<br />
	  1 &#038; 0 &#038; 0 &#038;   -1 &#038; 0\\<br />
	  0 &#038; 1 &#038;  0 &#038; 2 &#038; 0 \\<br />
	  0 &#038; 0 &#038; 1 &#038; 3 &#038; 0 \\<br />
	  0 &#038; 0 &#038; 0 &#038; 0 &#038; 0 \\<br />
	  \end{array} \right].<br />
	\end{align*}<br />
	Thus, the general solution is given by<br />
	\begin{align*}<br />
	x_1&#038;=x_4\\<br />
	x_2&#038;=-2x_4\\<br />
	x_3&#038;=-3x_4,<br />
	\end{align*}<br />
	where $x_4$ is a free variable.</p>
<hr />
<p>	If we let $x_4=1$, then we have a nonzero solution $x_1=1, x_2=-2, x_3=-3, x_4=1$.<br />
	Thus the set is linearly dependent.</p>
<p>	Substituting these values into (*), we have<br />
	\[\begin{bmatrix}<br />
	  1 \\<br />
	   0 \\<br />
	    -1 \\<br />
	   0<br />
	   \end{bmatrix}-2 \begin{bmatrix}<br />
	  1 \\<br />
	   2 \\<br />
	    3 \\<br />
	   4<br />
	   \end{bmatrix}-3\begin{bmatrix}<br />
	  -1 \\<br />
	   -2 \\<br />
	    0 \\<br />
	   1<br />
	   \end{bmatrix}+<br />
	   \begin{bmatrix}<br />
	  -2 \\<br />
	   -2 \\<br />
	    7 \\<br />
	   11<br />
	   \end{bmatrix}=\mathbf{0}.\]
	   Solving this for the last vector we obtain the linear combination<br />
	   \[ \begin{bmatrix}<br />
	  -2 \\<br />
	   -2 \\<br />
	    7 \\<br />
	   11<br />
	   \end{bmatrix}<br />
	   =<br />
	   -\begin{bmatrix}<br />
	  1 \\<br />
	   0 \\<br />
	    -1 \\<br />
	   0<br />
	   \end{bmatrix}+2 \begin{bmatrix}<br />
	  1 \\<br />
	   2 \\<br />
	    3 \\<br />
	   4<br />
	   \end{bmatrix}+3\begin{bmatrix}<br />
	  -1 \\<br />
	   -2 \\<br />
	    0 \\<br />
	   1<br />
	   \end{bmatrix}.\]
<button class="simplefavorite-button has-count" data-postid="2069" 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/determine-linearly-independent-or-linearly-dependent-express-as-a-linear-combination/" target="_blank">Determine Linearly Independent or Linearly Dependent. Express as a Linear Combination</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></content:encoded>
							<wfw:commentRss>https://yutsumura.com/determine-linearly-independent-or-linearly-dependent-express-as-a-linear-combination/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">2069</post-id>	</item>
		<item>
		<title>Find All Matrices $B$ that Commutes With a Given Matrix $A$: $AB=BA$</title>
		<link>https://yutsumura.com/find-all-matrices-b-that-commutes-with-a-given-matrix-a-abba/</link>
				<comments>https://yutsumura.com/find-all-matrices-b-that-commutes-with-a-given-matrix-a-abba/#respond</comments>
				<pubDate>Wed, 25 Jan 2017 04:28:08 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[elementary row operations]]></category>
		<category><![CDATA[Gauss-Jordan elimination]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[matrix product]]></category>
		<category><![CDATA[reduced row echelon form]]></category>
		<category><![CDATA[system of linear equations]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=2045</guid>
				<description><![CDATA[<p>Let \[A=\begin{bmatrix} 1 &#038; 3\\ 2&#038; 4 \end{bmatrix}.\] Then (a) Find all matrices \[B=\begin{bmatrix} x &#038; y\\ z&#038; w \end{bmatrix}\] such that $AB=BA$. (b) Use the results of part (a) to exhibit $2\times 2$&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/find-all-matrices-b-that-commutes-with-a-given-matrix-a-abba/" target="_blank">Find All Matrices $B$ that Commutes With a Given Matrix $A$: $AB=BA$</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 272</h2>
<p>Let<br />
\[A=\begin{bmatrix}<br />
  1 &#038; 3\\<br />
  2&#038; 4<br />
\end{bmatrix}.\]
Then </p>
<p><strong>(a)</strong> Find all matrices<br />
\[B=\begin{bmatrix}<br />
  x &#038; y\\<br />
  z&#038; w<br />
\end{bmatrix}\]
such that $AB=BA$.</p>
<p><strong>(b)</strong> Use the results of part (a) to exhibit $2\times 2$ matrices $B$ and $C$ such that<br />
\[AB=BA \text{ and } AC \neq CA.\]
<p>&nbsp;<br />
<span id="more-2045"></span><br />

<h2>Solution.</h2>
<h3> Find all matrices $B$ such that $AB=BA$</h3>
<p> Since we want to find $B$ such that $AB=BA$, we need to find $x, y, z, w$ satisfying<br />
	\[\begin{bmatrix}<br />
  1 &#038; 3\\<br />
  2&#038; 4<br />
\end{bmatrix}\begin{bmatrix}<br />
  x &#038; y\\<br />
  z&#038; w<br />
\end{bmatrix}=\begin{bmatrix}<br />
  x &#038; y\\<br />
  z&#038; w<br />
\end{bmatrix}\begin{bmatrix}<br />
  1 &#038; 3\\<br />
  2&#038; 4<br />
\end{bmatrix}.\]
<p>Comparing entries, we have the following system of linear equations.<br />
\begin{align*}<br />
x+3z&#038;=x+2y\\<br />
y+3w&#038;=3x+4y\\<br />
2x+4z&#038;=z+2w\\<br />
2y+4w&#038;=3z+4w.<br />
\end{align*}</p>
<p>Simplifying this, we obtain<br />
\begin{align*}<br />
2y-3z &#038;=0\\<br />
3x+3y-3w &#038;=0\\<br />
2x+3z-2w &#038;=0\\<br />
2y-3z &#038;=0.<br />
\end{align*}</p>
<p>Note that the first and the last equations are identical. So we omit the first equation from our consideration. </p>
<p>To solve this system, we use the Gauss-Jordan elimination method. Namely we form the augmented matrix of this system and apply elementary row operations as follows.<br />
\begin{align*}<br />
\left[\begin{array}{rrrr|r}<br />
  3 &#038; 3 &#038; 0 &#038; -3 &#038;0 \\<br />
  2 &#038; 0 &#038; 3 &#038; -2 &#038; 0 \\<br />
  0 &#038; 2 &#038; -3 &#038; 0 &#038; 0<br />
  \end{array}\right]
  \xrightarrow{\frac{1}{3}R_1}<br />
  \left[\begin{array}{rrrr|r}<br />
  1 &#038; 1 &#038; 0 &#038; -1 &#038;0 \\<br />
  2 &#038; 0 &#038; 3 &#038; -2 &#038; 0 \\<br />
  0 &#038; 2 &#038; -3 &#038; 0 &#038; 0<br />
  \end{array}\right]
  \xrightarrow{R_2-2R_1}\\[10pt]
  \left[\begin{array}{rrrr|r}<br />
  1 &#038; 1 &#038; 0 &#038; -1 &#038;0 \\<br />
  0 &#038; -2 &#038; 3 &#038; 0 &#038; 0 \\<br />
  0 &#038; 2 &#038; -3 &#038; 0 &#038; 0<br />
  \end{array}\right]
  \xrightarrow{\substack{R_1+\frac{1}{2}R_2 \\ R_2+R_3}}<br />
  \left[\begin{array}{rrrr|r}<br />
  1 &#038; 0 &#038; 3/2  &#038; -1 &#038;0 \\<br />
  0 &#038; -2 &#038; 3 &#038; 0 &#038; 0 \\<br />
  0 &#038; 0 &#038; 0 &#038; 0 &#038; 0<br />
  \end{array}\right]\\[10pt]
  \xrightarrow{-\frac{1}{2}R_2}<br />
    \left[\begin{array}{rrrr|r}<br />
  1 &#038; 0 &#038; 3/2  &#038; -1 &#038;0 \\<br />
  0 &#038; 1 &#038; -3/2 &#038; 0 &#038; 0 \\<br />
  0 &#038; 0 &#038; 0 &#038; 0 &#038; 0<br />
  \end{array}\right].<br />
\end{align*}</p>
<p>The last matrix is in reduced row echelon form. From this, we obtain the general solution<br />
\begin{align*}<br />
x&#038;=-\frac{3}{2}z+w\\<br />
y&#038;=\frac{3}{2}z,<br />
\end{align*}<br />
where $z$ and $w$ are free variables.</p>
<p>Therefore the matrix $B$ such that $AB=BA$ must be<br />
\begin{align*}<br />
B&#038;=\begin{bmatrix}<br />
  -\frac{3}{2}z+w &#038; \frac{3}{2}z\\<br />
  z&#038; w<br />
\end{bmatrix}\\<br />
&#038;=z\begin{bmatrix}<br />
  -\frac{3}{2} &#038; \frac{3}{2}\\<br />
  1&#038; 0<br />
\end{bmatrix}<br />
+w<br />
\begin{bmatrix}<br />
  1 &#038; 0\\<br />
  0&#038; 1<br />
\end{bmatrix}<br />
\end{align*}<br />
for any $z$ and $w$.</p>
<h3>(b) Find matrices $B, C$ such that $AB=BA$, $AC\neq CA$</h3>
<p>By part (a), if<br />
\[B=z\begin{bmatrix}<br />
  -\frac{3}{2} &#038; \frac{3}{2}\\<br />
  1&#038; 0<br />
\end{bmatrix}<br />
+w<br />
\begin{bmatrix}<br />
  1 &#038; 0\\<br />
  0&#038; 1<br />
\end{bmatrix}\]
for some $z, w$, then we have $AB=BA$.</p>
<p>For example, let $z=2, w=0$. Then the matrix<br />
\[B=\begin{bmatrix}<br />
  -3 &#038; 3\\<br />
  2&#038; 0<br />
\end{bmatrix}\]
satisfies $AB=BA$.</p>
<p>To find a matrix $C$ such that $AC \neq CA$, the matrix $C$ must not be of the form of the formula of $B$.</p>
<p>For example, let<br />
\[C=\begin{bmatrix}<br />
  0 &#038; 0\\<br />
  1&#038; 0<br />
\end{bmatrix}.\]
You may directly check that $AC\neq CA$.</p>
<p>Or, we can show that $C$ is never be the matrix of the form<br />
\[\begin{bmatrix}<br />
  -\frac{3}{2}z+w &#038; \frac{3}{2}z\\<br />
  z&#038; w<br />
\end{bmatrix}.\]
<p>To see this, compare $(1,2)$ and $(2,1)$ entries. There is no $z$ such that<br />
\[\frac{3}{2}z=0 \text{ and } z=1.\]
(This is how I found the matrix $C$ as above.)</p>
<button class="simplefavorite-button has-count" data-postid="2045" data-siteid="1" data-groupid="1" data-favoritecount="60" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">60</span></button><p>The post <a href="https://yutsumura.com/find-all-matrices-b-that-commutes-with-a-given-matrix-a-abba/" target="_blank">Find All Matrices $B$ that Commutes With a Given Matrix $A$: $AB=BA$</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></content:encoded>
							<wfw:commentRss>https://yutsumura.com/find-all-matrices-b-that-commutes-with-a-given-matrix-a-abba/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">2045</post-id>	</item>
		<item>
		<title>Vector Form for the General Solution of a System of Linear Equations</title>
		<link>https://yutsumura.com/vector-form-for-the-general-solution-of-a-system-of-linear-equations/</link>
				<comments>https://yutsumura.com/vector-form-for-the-general-solution-of-a-system-of-linear-equations/#respond</comments>
				<pubDate>Sat, 21 Jan 2017 05:53:58 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[elementary row operations]]></category>
		<category><![CDATA[Gauss-Jordan elimination]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[linear equation]]></category>
		<category><![CDATA[reduced echelon form]]></category>
		<category><![CDATA[reduced row echelon form]]></category>
		<category><![CDATA[system of linear equations]]></category>
		<category><![CDATA[vector]]></category>
		<category><![CDATA[vector form for the general solution]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=2015</guid>
				<description><![CDATA[<p>Solve the following system of linear equations by transforming its augmented matrix to reduced echelon form (Gauss-Jordan elimination). Find the vector form for the general solution. \begin{align*} x_1-x_3-3x_5&#038;=1\\ 3x_1+x_2-x_3+x_4-9x_5&#038;=3\\ x_1-x_3+x_4-2x_5&#038;=1. \end{align*} &#160; Solution. The&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/vector-form-for-the-general-solution-of-a-system-of-linear-equations/" target="_blank">Vector Form for the General Solution of a System of Linear Equations</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 267</h2>
<p> Solve the following system of linear equations by transforming its augmented matrix to reduced echelon form (Gauss-Jordan elimination). </p>
<p>Find the vector form for the general solution.<br />
\begin{align*}<br />
x_1-x_3-3x_5&#038;=1\\<br />
3x_1+x_2-x_3+x_4-9x_5&#038;=3\\<br />
x_1-x_3+x_4-2x_5&#038;=1.<br />
\end{align*}</p>
<p>&nbsp;<br />
<span id="more-2015"></span></p>
<h2> Solution. </h2>
<p>	The augmented matrix of the given system is<br />
	\begin{align*}<br />
\left[\begin{array}{rrrrr|r}<br />
 1 &#038; 0 &#038; -1 &#038; 0 &#038;-3 &#038; 1 \\<br />
   3 &#038; 1 &#038; -1 &#038; 1 &#038; -9 &#038; 3 \\<br />
   1 &#038; 0 &#038; -1 &#038; 1 &#038; -2 &#038; 1 \\<br />
  \end{array} \right].<br />
\end{align*}<br />
We apply the elementary row operations as follows.<br />
We have<br />
\begin{align*}<br />
\left[\begin{array}{rrrrr|r}<br />
 1 &#038; 0 &#038; -1 &#038; 0 &#038;-3 &#038; 1 \\<br />
   3 &#038; 1 &#038; -1 &#038; 1 &#038; -9 &#038; 3 \\<br />
   1 &#038; 0 &#038; -1 &#038; 1 &#038; -2 &#038; 1 \\<br />
  \end{array} \right]
  \xrightarrow{\substack{R_2-3R_1\\R_3-R_1}}<br />
  \left[\begin{array}{rrrrr|r}<br />
 1 &#038; 0 &#038; -1 &#038; 0 &#038;-3 &#038; 1 \\<br />
   0 &#038; 1 &#038; 2 &#038; 1 &#038; 0 &#038; 0 \\<br />
   0 &#038; 0 &#038; 0 &#038; 1 &#038; 1 &#038; 0 \\<br />
  \end{array} \right]\\[10pt]
  \xrightarrow{R_2-R_3}<br />
  \left[\begin{array}{rrrrr|r}<br />
 1 &#038; 0 &#038; -1 &#038; 0 &#038;-3 &#038; 1 \\<br />
   0 &#038; 1 &#038; 2 &#038; 0 &#038; -1 &#038; 0 \\<br />
   0 &#038; 0 &#038; 0 &#038; 1 &#038; 1 &#038; 0 \\<br />
  \end{array} \right].<br />
\end{align*}<br />
The last matrix is in reduced row echelon form.<br />
From this reduction, we see that the general solution is<br />
\begin{align*}<br />
x_1&#038;=x_3+3x_5+1\\<br />
x_2&#038;=-2x_3+x_5\\<br />
x_4&#038;=-x_5.<br />
\end{align*}<br />
Here $x_3, x_5$ are free (independent) variables and $x_1, x_2, x_4$ are dependent variables.</p>
<p>To find the vector form for the general solution, we substitute these equations into the vector $\mathbf{x}$ as follows.<br />
We have<br />
\begin{align*}<br />
\mathbf{x}=\begin{bmatrix}<br />
  x_1 \\<br />
   x_2 \\<br />
    x_3 \\<br />
   x_4 \\<br />
   x_5<br />
   \end{bmatrix}&#038;=<br />
   \begin{bmatrix}<br />
  x_3+3x_5+1 \\<br />
   -2x_3+x_5 \\<br />
    x_3 \\<br />
   -x_5 \\<br />
   x_5<br />
   \end{bmatrix}\\[10pt]
   &#038;=<br />
   \begin{bmatrix}<br />
  x_3 \\<br />
   -2x_3 \\<br />
    x_3 \\<br />
   0 \\<br />
   0<br />
   \end{bmatrix}<br />
   +<br />
   \begin{bmatrix}<br />
  3x_5 \\<br />
   x_5 \\<br />
    0 \\<br />
   -x_5 \\<br />
   x_5<br />
   \end{bmatrix}<br />
   +<br />
   \begin{bmatrix}<br />
  1 \\<br />
   0 \\<br />
   0 \\<br />
   0 \\<br />
   0<br />
   \end{bmatrix}\\[10pt]
   &#038;=x_3\begin{bmatrix}<br />
  1 \\<br />
   -2 \\<br />
    1 \\<br />
   0 \\<br />
   0<br />
   \end{bmatrix}+x_5 \begin{bmatrix}<br />
  3 \\<br />
   1 \\<br />
    0 \\<br />
   -1 \\<br />
   1<br />
   \end{bmatrix}+\begin{bmatrix}<br />
  1 \\<br />
   0 \\<br />
    0 \\<br />
   0 \\<br />
   0<br />
   \end{bmatrix}.<br />
\end{align*}<br />
Therefore <strong>the vector form for the general solution</strong> is given by<br />
\[\mathbf{x}=x_3\begin{bmatrix}<br />
  1 \\<br />
   -2 \\<br />
    1 \\<br />
   0 \\<br />
   0<br />
   \end{bmatrix}+x_5 \begin{bmatrix}<br />
  3 \\<br />
   1 \\<br />
    0 \\<br />
   -1 \\<br />
   1<br />
   \end{bmatrix}+\begin{bmatrix}<br />
  1 \\<br />
   0 \\<br />
    0 \\<br />
   0 \\<br />
   0<br />
   \end{bmatrix},\]
   where $x_3, x_5$ are free variables.</p>
<h2> Related Question. </h2>
<p>For a similar question, check out the post &#8628;<br />
<a href="//yutsumura.com/solve-the-system-of-linear-equations-and-give-the-vector-form-for-the-general-solution/" target="_blank">Solve the System of Linear Equations and Give the Vector Form for the General Solution</a>.</p>
<button class="simplefavorite-button has-count" data-postid="2015" data-siteid="1" data-groupid="1" data-favoritecount="68" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">68</span></button><p>The post <a href="https://yutsumura.com/vector-form-for-the-general-solution-of-a-system-of-linear-equations/" target="_blank">Vector Form for the General Solution of a System of Linear Equations</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></content:encoded>
							<wfw:commentRss>https://yutsumura.com/vector-form-for-the-general-solution-of-a-system-of-linear-equations/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">2015</post-id>	</item>
		<item>
		<title>Quiz 1. Gauss-Jordan Elimination / Homogeneous System. Math 2568 Spring 2017.</title>
		<link>https://yutsumura.com/quiz-1-gauss-jordan-elimination-homogeneous-system-math-2568-spring-2017/</link>
				<comments>https://yutsumura.com/quiz-1-gauss-jordan-elimination-homogeneous-system-math-2568-spring-2017/#comments</comments>
				<pubDate>Wed, 18 Jan 2017 23:30:01 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[elementary row operations]]></category>
		<category><![CDATA[Gauss-Jordan elimination]]></category>
		<category><![CDATA[homogeneous system]]></category>
		<category><![CDATA[Ohio State]]></category>
		<category><![CDATA[Ohio State.LA]]></category>
		<category><![CDATA[quiz]]></category>
		<category><![CDATA[system of linear equations]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=1987</guid>
				<description><![CDATA[<p>(a) Solve the following system by transforming the augmented matrix to reduced echelon form (Gauss-Jordan elimination). Indicate the elementary row operations you performed. \begin{align*} x_1+x_2-x_5&#038;=1\\ x_2+2x_3+x_4+3x_5&#038;=1\\ x_1-x_3+x_4+x_5&#038;=0 \end{align*} (b) Determine all possibilities for the&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/quiz-1-gauss-jordan-elimination-homogeneous-system-math-2568-spring-2017/" target="_blank">Quiz 1. Gauss-Jordan Elimination / Homogeneous System. Math 2568 Spring 2017.</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 262</h2>
<p><strong>(a)</strong> Solve the following system by transforming the augmented matrix to reduced echelon form (Gauss-Jordan elimination). Indicate the elementary row operations you performed.<br />
                \begin{align*}<br />
x_1+x_2-x_5&#038;=1\\<br />
x_2+2x_3+x_4+3x_5&#038;=1\\<br />
x_1-x_3+x_4+x_5&#038;=0<br />
\end{align*}</p>
<p><strong>(b)</strong> Determine all possibilities for the solution set of a homogeneous system of $2$ equations in $2$ unknowns that has a solution $x_1=1, x_2=5$.</p>
<p>&nbsp;<br />
<span id="more-1987"></span><br />

<h2>Solution.</h2>
<h3>(a) Solve the following system by Gauss-Jordan elimination</h3>
<p>	The augmented matrix of the system is<br />
	\[ \left[\begin{array}{rrrrr|r}<br />
 1 &#038; 1 &#038; 0 &#038; 0 &#038;-1 &#038; 1 \\<br />
   0 &#038; 1 &#038; 2 &#038; 1 &#038; 3 &#038; 1 \\<br />
   1 &#038; 0 &#038; -1 &#038; 1 &#038; 1 &#038; 0 \\<br />
  \end{array} \right].\]
  We apply elementary row operations as follows.<br />
  \begin{align*}<br />
\left[\begin{array}{rrrrr|r}<br />
 1 &#038; 1 &#038; 0 &#038; 0 &#038;-1 &#038; 1 \\<br />
   0 &#038; 1 &#038; 2 &#038; 1 &#038; 3 &#038; 1 \\<br />
   1 &#038; 0 &#038; -1 &#038; 1 &#038; 1 &#038; 0 \\<br />
  \end{array} \right]
  \xrightarrow{R_3-R_1}<br />
  \left[\begin{array}{rrrrr|r}<br />
 1 &#038; 1 &#038; 0 &#038; 0 &#038;-1 &#038; 1 \\<br />
   0 &#038; 1 &#038; 2 &#038; 1 &#038; 3 &#038; 1 \\<br />
   0 &#038; -1 &#038; -1 &#038; 1 &#038; 2 &#038; -1 \\<br />
  \end{array} \right]
  \xrightarrow{\substack{R_1-R_2\\ R_3+R_2}}\\[6pt]
   \left[\begin{array}{rrrrr|r}<br />
 1 &#038; 0 &#038; -2 &#038; -1 &#038;-4 &#038; 0 \\<br />
   0 &#038; 1 &#038; 2 &#038; 1 &#038; 3 &#038; 1 \\<br />
   0 &#038; 0 &#038; 1 &#038; 2 &#038; 5 &#038; 0 \\<br />
  \end{array} \right]
  \xrightarrow{\substack{R_1+2R_3\\ R_2-2R_3}}<br />
  \left[\begin{array}{rrrrr|r}<br />
 1 &#038; 0 &#038; 0 &#038; 3 &#038; 6 &#038; 0 \\<br />
   0 &#038; 1 &#038; 0 &#038; -3 &#038; -7 &#038; 1 \\<br />
   0 &#038; 0 &#038; 1 &#038; 2 &#038; 5 &#038; 0 \\<br />
  \end{array} \right].<br />
\end{align*}</p>
<p>The last matrix is in reduced row echelon form.<br />
The unknowns $x_1, x_2, x_3$ correspond to the leading $1$&#8217;s. Thus they are dependent variables and $x_4$ and $x_5$ are independent (free) variables.<br />
From the last matrix, we see that the solution set is given by<br />
\begin{align*}<br />
x_1&#038;=-3x_4-6x_5\\<br />
x_2&#038;=3x_4+7x_5+1\\<br />
x_3&#038;=-2x_4-5x_5<br />
\end{align*}<br />
for any numbers $x_4, x_5$.</p>
<h3>(b) Determine all possibilities for the solution set of a homogeneous system</h3>
<p>	A homogeneous system is always consistent because it has the zero solution $x_1=0, x_2=0$.<br />
	So, we already know the possibilities for the solution set are either a unique solution or infinitely many solutions.</p>
<p>	Note that the homogeneous system we are inspecting has a solution $x_1=1, x_2=5$, which is different from the zero solution $x_1=0, x_2=0$. Thus, the homogeneous system has at least two solutions.<br />
	Thus, the only possibility is that the homogeneous system has infinitely many solutions.</p>
<h2>Comment.</h2>
<p>These are Quiz 1 problems for Math 2568 (Introduction to Linear Algebra) at OSU in Spring 2017.</p>
<h3>List of Quiz Problems of Linear Algebra (Math 2568) at OSU in Spring 2017</h3>
<p>There were 13 weekly quizzes. Here is the list of links to the quiz problems and solutions.</p>
<ul>
<li><a href="//yutsumura.com/quiz-1-gauss-jordan-elimination-homogeneous-system-math-2568-spring-2017/" target="_blank">Quiz 1. Gauss-Jordan elimination / homogeneous system. </a></li>
<li><a href="//yutsumura.com/quiz-2-the-vector-form-for-the-general-solution-transpose-matrices-math-2568-spring-2017/" target="_blank">Quiz 2. The vector form for the general solution / Transpose matrices. </a></li>
<li><a href="//yutsumura.com/quiz-3-condition-that-vectors-are-linearly-dependent-orthogonal-vectors-are-linearly-independent/" target="_blank">Quiz 3. Condition that vectors are linearly dependent/ orthogonal vectors are linearly independent</a></li>
<li><a href="//yutsumura.com/quiz-4-inverse-matrix-nonsingular-matrix-satisfying-a-relation/" target="_blank">Quiz 4. Inverse matrix/ Nonsingular matrix satisfying a relation</a></li>
<li><a href="//yutsumura.com/quiz-5-example-and-non-example-of-subspaces-in-3-dimensional-space/" target="_blank">Quiz 5. Example and non-example of subspaces in 3-dimensional space</a></li>
<li><a href="//yutsumura.com/quiz-6-determine-vectors-in-null-space-range-find-a-basis-of-null-space/" target="_blank">Quiz 6. Determine vectors in null space, range / Find a basis of null space</a></li>
<li><a href="//yutsumura.com/quiz-7-find-a-basis-of-the-range-rank-and-nullity-of-a-matrix/" target="_blank">Quiz 7. Find a basis of the range, rank, and nullity of a matrix</a></li>
<li><a href="//yutsumura.com/quiz-8-determine-subsets-are-subspaces-functions-taking-integer-values-set-of-skew-symmetric-matrices/" target="_blank">Quiz 8. Determine subsets are subspaces: functions taking integer values / set of skew-symmetric matrices</a></li>
<li><a href="//yutsumura.com/quiz-9-find-a-basis-of-the-subspace-spanned-by-four-matrices/" target="_blank">Quiz 9. Find a basis of the subspace spanned by four matrices</a></li>
<li><a href="//yutsumura.com/quiz-10-find-orthogonal-basis-find-value-of-linear-transformation/" target="_blank">Quiz 10. Find orthogonal basis / Find value of linear transformation</a></li>
<li><a href="//yutsumura.com/quiz-11-find-eigenvalues-and-eigenvectors-properties-of-determinants/" target="_blank">Quiz 11. Find eigenvalues and eigenvectors/ Properties of determinants</a></li>
<li><a href="//yutsumura.com/quiz-12-find-eigenvalues-and-their-algebraic-and-geometric-multiplicities/" target="_blank">Quiz 12. Find eigenvalues and their algebraic and geometric multiplicities</a></li>
<li><a href="//yutsumura.com/quiz-13-part-1-diagonalize-a-matrix/" target="_blank">Quiz 13 (Part 1). Diagonalize a matrix.</a></li>
<li><a href="//yutsumura.com/quiz-13-part-2-find-eigenvalues-and-eigenvectors-of-a-special-matrix/" target="_blank">Quiz 13 (Part 2). Find eigenvalues and eigenvectors of a special matrix</a></li>
</ul>
<button class="simplefavorite-button has-count" data-postid="1987" 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/quiz-1-gauss-jordan-elimination-homogeneous-system-math-2568-spring-2017/" target="_blank">Quiz 1. Gauss-Jordan Elimination / Homogeneous System. Math 2568 Spring 2017.</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></content:encoded>
							<wfw:commentRss>https://yutsumura.com/quiz-1-gauss-jordan-elimination-homogeneous-system-math-2568-spring-2017/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">1987</post-id>	</item>
		<item>
		<title>Determine Null Spaces of Two Matrices</title>
		<link>https://yutsumura.com/determine-null-spaces-of-two-matrices/</link>
				<comments>https://yutsumura.com/determine-null-spaces-of-two-matrices/#comments</comments>
				<pubDate>Wed, 04 Jan 2017 11:14:07 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[augmented matrix]]></category>
		<category><![CDATA[dimension of a vector space]]></category>
		<category><![CDATA[elementary row operations]]></category>
		<category><![CDATA[Gauss-Jordan elimination]]></category>
		<category><![CDATA[kernel of a matrix]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[linear system]]></category>
		<category><![CDATA[matrix]]></category>
		<category><![CDATA[null space]]></category>
		<category><![CDATA[nullity]]></category>
		<category><![CDATA[nullity of a matrix]]></category>
		<category><![CDATA[subspace]]></category>
		<category><![CDATA[vector space]]></category>

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

<h2> Proof. </h2>
<h3>The null space of the matrix $A$</h3>
<p>	We first determine the null space of the matrix $A$.<br />
	By definition, the null space is<br />
	\[\calN(A):=\{\mathbf{x}\in \R^3 \mid A\mathbf{x}=\mathbf{0}\},\]
	that is, the null space of $A$ consists of the solution $\mathbf{x}$ of the linear system $A\mathbf{x}=\mathbf{0}$.</p>
<p>	To solve the system $A\mathbf{x}=\mathbf{0}$, we apply the Gauss-Jordan elimination. We reduce the augmented matrix $[A|\mathbf{0}]$ by elementary row operations as follows.<br />
	\begin{align*}<br />
 \left[\begin{array}{rrr|r}<br />
 1 &#038; 2 &#038; 2 &#038;   0 \\<br />
  2 &#038;3 &#038;  2 &#038; 0  \\<br />
  -1 &#038; -3 &#038; -4 &#038; 0<br />
    \end{array} \right]
    \xrightarrow{\substack{R_2-2R_1\\R_3+R_1}}<br />
     \left[\begin{array}{rrr|r}<br />
 1 &#038; 2 &#038; 2 &#038;   0 \\<br />
  0 &#038; -1 &#038;  -2 &#038; 0  \\<br />
  0 &#038; -1 &#038; -2 &#038; 0<br />
    \end{array} \right]
    \xrightarrow{\substack{R_1+2R_2\\R_3-5R_2}}\\<br />
     \left[\begin{array}{rrr|r}<br />
 1 &#038; 0 &#038; -2 &#038;   0 \\<br />
  0 &#038; -1 &#038;  -2 &#038; 0  \\<br />
  0 &#038; 0 &#038; 0 &#038; 0<br />
    \end{array} \right]
    \xrightarrow{-R_2}<br />
     \left[\begin{array}{rrr|r}<br />
 1 &#038; 0 &#038; -2 &#038;   0 \\<br />
  0 &#038; 1 &#038;  2 &#038; 0  \\<br />
  0 &#038; 0 &#038; 0 &#038; 0<br />
    \end{array} \right].<br />
\end{align*}<br />
	The last matrix is in reduced row echelon form, and the solutions $\mathbf{x}=\begin{bmatrix}<br />
  x_1 \\<br />
   x_2 \\<br />
    x_3<br />
  \end{bmatrix}$ of $A\mathbf{x}=\mathbf{0}$ satisfy<br />
  \[x_1=2x_3 \text{ and } x_2=-2x_3\]
  and $x_3$ is a free variable.<br />
  Thus we have<br />
  \[\mathbf{x}=\begin{bmatrix}<br />
  2x_3 \\<br />
   -2x_3 \\<br />
    x_3<br />
  \end{bmatrix}=x_3\begin{bmatrix}<br />
  2 \\<br />
   -2 \\<br />
    1<br />
  \end{bmatrix}\]
  for any $x_3$ are solutions.</p>
<p>  Therefore the null space of the matrix $A$ is<br />
  \begin{align*}<br />
\calN(A)&#038;=\left\{\mathbf{x}\in \R^3 \quad \middle| \quad \mathbf{x}=x_3\begin{bmatrix}<br />
  2 \\<br />
   -2 \\<br />
    1<br />
  \end{bmatrix} \text{ for any } x_3\in \R \right\}\\<br />
  &#038;=\Span\left(\begin{bmatrix}<br />
  2 \\<br />
   -2 \\<br />
    1<br />
  \end{bmatrix}\right),<br />
\end{align*}<br />
the subspace of $\R^3$ spanned by the vector $\begin{bmatrix}<br />
  2 \\<br />
   -2 \\<br />
    1<br />
  \end{bmatrix}$.</p>
<h3>The null space of the matrix $B$</h3>
<p>  The same procedure works for the matrix $B$. Thus we omit some detail below.<br />
  For the matrix $B$, the augmented matrix is reduced to<br />
  \[ \left[\begin{array}{rrr|r}<br />
 1 &#038; 2 &#038; 2 &#038;   0 \\<br />
  2 &#038;3 &#038;  2 &#038; 0  \\<br />
  5 &#038; 3 &#038; 3 &#038; 0<br />
    \end{array} \right]
    \to \cdots \to  \left[\begin{array}{rrr|r}<br />
 1 &#038; 0 &#038; 0 &#038;   0 \\<br />
  0 &#038;1 &#038;  0 &#038; 0  \\<br />
  0 &#038; 0 &#038; 1 &#038; 0<br />
    \end{array} \right].\]
    (Check the computation by yourself.)<br />
    This implies that $\mathbf{x}=\mathbf{0}$ is the only solution of the system $B\mathbf{x}=\mathbf{0}$.<br />
    Therefore, the null space $\calN(B)$ of the matrix $B$ consists of just the zero vector:<br />
    \[\calN(B)=\left\{\begin{bmatrix}<br />
  0 \\<br />
   0 \\<br />
    0<br />
  \end{bmatrix} \right\}.\]
<h2>Comment.</h2>
<p>The dimension of the null space $\calN(A)$ is $1$, and the dimension of the null space $\calN(B)$ is $0$.<br />
In other words, the nullity of the matrix $A$ is $1$, and the nullity of the matrix $B$ is $0$.<br />
(Recall that the nullity of a matrix is just the dimension of the null space of the matrix.)</p>
<h2> Related Question. </h2>
<p>The proof of the fact that a null space of a matrix is a subspace is give in the post <a href="//yutsumura.com/the-null-space-the-kernel-of-a-matrix-is-a-subspace-of-rn/" target="_blank">The null space (the kernel) of a matrix is a subspace of $\R^n$</a>.</p>
<button class="simplefavorite-button has-count" data-postid="1766" data-siteid="1" data-groupid="1" data-favoritecount="34" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">34</span></button><p>The post <a href="https://yutsumura.com/determine-null-spaces-of-two-matrices/" target="_blank">Determine Null Spaces of Two Matrices</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></content:encoded>
							<wfw:commentRss>https://yutsumura.com/determine-null-spaces-of-two-matrices/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">1766</post-id>	</item>
		<item>
		<title>Given All Eigenvalues and Eigenspaces, Compute a Matrix Product</title>
		<link>https://yutsumura.com/given-all-eigenvalues-and-eigenspaces-compute-a-matrix-product/</link>
				<comments>https://yutsumura.com/given-all-eigenvalues-and-eigenspaces-compute-a-matrix-product/#respond</comments>
				<pubDate>Sat, 19 Nov 2016 17:39:27 +0000</pubDate>
		<dc:creator><![CDATA[Yu]]></dc:creator>
				<category><![CDATA[Linear Algebra]]></category>
		<category><![CDATA[eigenspace]]></category>
		<category><![CDATA[eigenvalue]]></category>
		<category><![CDATA[eigenvector]]></category>
		<category><![CDATA[exam]]></category>
		<category><![CDATA[Gauss-Jordan elimination]]></category>
		<category><![CDATA[linear algebra]]></category>
		<category><![CDATA[linear combination]]></category>
		<category><![CDATA[matrix]]></category>
		<category><![CDATA[Ohio State]]></category>
		<category><![CDATA[Ohio State.LA]]></category>
		<category><![CDATA[span]]></category>
		<category><![CDATA[subspace]]></category>
		<category><![CDATA[vector]]></category>
		<category><![CDATA[vector space]]></category>

		<guid isPermaLink="false">https://yutsumura.com/?p=1423</guid>
				<description><![CDATA[<p>Let $C$ be a $4 \times 4$ matrix with all eigenvalues $\lambda=2, -1$ and eigensapces \[E_2=\Span\left \{\quad \begin{bmatrix} 1 \\ 1 \\ 1 \\ 1 \end{bmatrix} \quad\right \} \text{ and } E_{-1}=\Span\left \{ \quad\begin{bmatrix}&#46;&#46;&#46;</p>
<p>The post <a href="https://yutsumura.com/given-all-eigenvalues-and-eigenspaces-compute-a-matrix-product/" target="_blank">Given All Eigenvalues and Eigenspaces, Compute a Matrix Product</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></description>
								<content:encoded><![CDATA[<h2> Problem 189</h2>
<p>Let $C$ be a $4 \times 4$ matrix with all eigenvalues $\lambda=2, -1$ and eigensapces<br />
\[E_2=\Span\left \{\quad \begin{bmatrix}<br />
  1 \\<br />
   1 \\<br />
    1 \\<br />
   1<br />
   \end{bmatrix} \quad\right \} \text{ and } E_{-1}=\Span\left \{ \quad\begin{bmatrix}<br />
  1 \\<br />
   2 \\<br />
    1 \\<br />
   1<br />
   \end{bmatrix},\quad \begin{bmatrix}<br />
  1 \\<br />
   1 \\<br />
    1 \\<br />
   2<br />
   \end{bmatrix} \quad\right\}.\]
<p>   Calculate $C^4 \mathbf{u}$ for $\mathbf{u}=\begin{bmatrix}<br />
  6 \\<br />
   8 \\<br />
    6 \\<br />
   9<br />
   \end{bmatrix}$ if possible. Explain why if it is not possible!</p>
<p>(<em>The Ohio State University Linear Algebra Exam Problem</em>)<br />
&nbsp;<br />
<span id="more-1423"></span></p>
<h2>Solution.</h2>
<p>   	Let<br />
   	\[\mathbf{v}_1=\begin{bmatrix}<br />
  1 \\<br />
   1 \\<br />
    1 \\<br />
   1<br />
   \end{bmatrix}, \mathbf{v}_2=\begin{bmatrix}<br />
  1 \\<br />
   2 \\<br />
    1 \\<br />
   1<br />
   \end{bmatrix} \mathbf{v}_3=\begin{bmatrix}<br />
  1 \\<br />
   1 \\<br />
    1 \\<br />
   2<br />
   \end{bmatrix}.\]
   The vector $\mathbf{v}_1$ is an eigenvector corresponding to eigenvalue $\lambda=2$ and the vectors $\mathbf{v}_2, \mathbf{v}_2$ are eigenvectors corresponding to $\lambda=-1$.</p>
<hr />
<p>   If the vector $\mathbf{u}$ is a linear combination of $\mathbf{v}_1, \mathbf{v}_2, \mathbf{v}_3$, then we can compute $C\mathbf{u}$ and hence $C^4\mathbf{u}$.<br />
   So let us first determine whether<br />
   \[x_1 \mathbf{v}_1+x_2\mathbf{v}_2+x_3 \mathbf{v}_3=\mathbf{u}\]
   has a solution or not.</p>
<p>   We use Gauss-Jordan elimination method to find the solution.<br />
   The augmented matrix for this system is<br />
   \[\left[\begin{array}{rrr|rrr}<br />
  1 &#038; 1 &#038; 1 &#038;   6 \\<br />
  1 &#038;2 &#038;  1 &#038; 8  \\<br />
  1 &#038; 1 &#038; 1 &#038; 6 \\<br />
  1 &#038; 1 &#038; 2 &#038; 9<br />
  \end{array}\right].\]
  By elementary row operations, this matrix reduces to<br />
  \[\left[\begin{array}{rrr|rrr}<br />
  1 &#038; 0 &#038; 0 &#038;   1 \\<br />
  0 &#038;1 &#038;  0 &#038; 2  \\<br />
  0 &#038; 0 &#038; 1 &#038; 3 \\<br />
  0 &#038; 0 &#038; 0 &#038; 0<br />
 \end{array}\right].\]
Thus the solution is<br />
\[x_1=1, x_2=2, x_3=3\]
and we have the linear combination<br />
 \[ \mathbf{v}_1+2\mathbf{v}_2+3 \mathbf{v}_3=\mathbf{u}.\]
<hr />
<p> Now we have<br />
 \begin{align*}<br />
C^4\mathbf{u}&#038;= C^4\mathbf{v}_1+2C^4\mathbf{v}_2+3C^4 \mathbf{v}_3\\<br />
&#038;=2^4\mathbf{v}_1+2(-1)^4\mathbf{v}_2+3(-1)^4 \mathbf{v}_3\\<br />
&#038;=16\begin{bmatrix}<br />
  1 \\<br />
   1 \\<br />
    1 \\<br />
   1<br />
   \end{bmatrix}+2\begin{bmatrix}<br />
  1 \\<br />
   2 \\<br />
    1 \\<br />
   1<br />
   \end{bmatrix}+3\begin{bmatrix}<br />
  1 \\<br />
   1 \\<br />
    1 \\<br />
   2<br />
   \end{bmatrix}\\<br />
   &#038;=\begin{bmatrix}<br />
  21 \\<br />
   23 \\<br />
    21 \\<br />
   24<br />
   \end{bmatrix}.<br />
\end{align*}<br />
Therefore we obtain<br />
\[C^4=\begin{bmatrix}<br />
  21 \\<br />
   23 \\<br />
    21 \\<br />
   24<br />
   \end{bmatrix}.\]
<button class="simplefavorite-button has-count" data-postid="1423" data-siteid="1" data-groupid="1" data-favoritecount="8" style="">Click here if solved <i class="sf-icon-star-empty"></i><span class="simplefavorite-button-count" style="">8</span></button><p>The post <a href="https://yutsumura.com/given-all-eigenvalues-and-eigenspaces-compute-a-matrix-product/" target="_blank">Given All Eigenvalues and Eigenspaces, Compute a Matrix Product</a> first appeared on <a href="https://yutsumura.com/" target="_blank">Problems in Mathematics</a>.</p>]]></content:encoded>
							<wfw:commentRss>https://yutsumura.com/given-all-eigenvalues-and-eigenspaces-compute-a-matrix-product/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
						<post-id xmlns="com-wordpress:feed-additions:1">1423</post-id>	</item>
	</channel>
</rss>
