\begin{exercise}{M2}{Row operations as matrix multiplication}{0007}
\begin{exerciseStatement}
Let \(A\) be a \(4 \times 4\) matrix.
\begin{enumerate}[(a)]
\item Give a \(4 \times 4\) matrix \(C\) that may be used to perform the row operation \( R_4 \to R_4 + 5R_1 \).
\item Give a \(4 \times 4\) matrix \(P\) that may be used to perform the row operation \( R_1 \leftrightarrow R_3 \).
\item Use matrix multiplication to describe the matrix obtained by applying \( R_1 \leftrightarrow R_3 \) and then \( R_4 \to R_4 + 5R_1 \) to \(A\) (note the order).
\end{enumerate}
\end{exerciseStatement}
\begin{exerciseAnswer}
\begin{enumerate}[(a)]
\item \(C= \left[\begin{array}{cccc}
1 & 0 & 0 & 0 \\
0 & 1 & 0 & 0 \\
0 & 0 & 1 & 0 \\
5 & 0 & 0 & 1
\end{array}\right] \)
\item \(P= \left[\begin{array}{cccc}
0 & 0 & 1 & 0 \\
0 & 1 & 0 & 0 \\
1 & 0 & 0 & 0 \\
0 & 0 & 0 & 1
\end{array}\right] \)
\item \(CPA\)
\end{enumerate}
\end{exerciseAnswer}
\end{exercise}