42.5: LaTeX Math
- Page ID
- 70557
Direct Link to the Youtube video.
Since this is a “Matrix Algebra” course, we need to learn how to do ‘matrices’ in LaTeX. Double click on the following cell to see the LaTeX code to build a matrix:
Basic matrix notation:
\[\begin{split}
\left[
\begin{matrix}
1 & 0 & 4 \\
0 & 2 & -2 \\
0 & 1 & 2
\end{matrix}
\right]
\end{split} \nonumber \]
Augmented matrix notation:
\[\begin{split}
\left[
\begin{matrix}
1 & 0 & 4 \\
0 & 2 & -2 \\
0 & 1 & 2
\end{matrix}
\, \middle\vert \,
\begin{matrix}
-10 \\ 3 \\ 1
\end{matrix}
\right]
\end{split} \nonumber \]
Using LaTeX, create an augmented matrix for the following system of equations:
\[4x + 2y -7z = 3 \nonumber \]
\[12x + z = 10 \nonumber \]
\[-3x -y + 2z = 30 \nonumber \]
In LaTeX, what special characters is used to separate elements inside a row?