<exercise checkit-seed="0005" checkit-slug="M2" checkit-title="Row operations as matrix multiplication">
<statement>
<p>Let <m>A</m> be a <m>4 \times 4</m> matrix.</p>
<ol>
<li>Give a <m>4 \times 4</m> matrix <m>P</m> that may be used to perform the row operation <m> R_1 \to 3R_1 </m>.</li>
<li>Give a <m>4 \times 4</m> matrix <m>N</m> that may be used to perform the row operation <m> R_1 \to R_1 + 4R_3 </m>.</li>
<li>Use matrix multiplication to describe the matrix obtained by applying
<m> R_1 \to R_1 + 4R_3 </m> and then <m> R_1 \to 3R_1 </m>
to <m>A</m> (note the order).
</li>
</ol>
</statement>
<answer>
<ol>
<li>
<m>P= \left[\begin{array}{cccc}
3 & 0 & 0 & 0 \\
0 & 1 & 0 & 0 \\
0 & 0 & 1 & 0 \\
0 & 0 & 0 & 1
\end{array}\right] </m>
</li>
<li>
<m>N= \left[\begin{array}{cccc}
1 & 0 & 4 & 0 \\
0 & 1 & 0 & 0 \\
0 & 0 & 1 & 0 \\
0 & 0 & 0 & 1
\end{array}\right] </m>
</li>
<li>
<m>PNA</m>
</li>
</ol>
</answer>
</exercise>