Skip to main content
Mathematics LibreTexts

42.5: LaTeX Math

  • Page ID
    70557
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    Direct Link to the Youtube video.

    from IPython.display import YouTubeVideo
    YouTubeVideo("qgSa7n_zQ3A",width=640,height=320, cc_load_policy=True)

    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 \]

    Do This

    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 \]

    Question

    In LaTeX, what special characters is used to separate elements inside a row?


    This page titled 42.5: LaTeX Math is shared under a CC BY-NC 4.0 license and was authored, remixed, and/or curated by Dirk Colbry via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.

    • Was this article helpful?