Augmented Matrix in LaTeX
Paste your coefficient matrix with the constants as the last column.
Free · Runs in your browser · Your text is never uploaded
How augmented matrices are written
LaTeX has no built-in augmented environment. The usual approach is an array with a column specification such as {cc|c}, wrapped in \left( and \right). This tool builds that for you.
Entering the data
Put one row per line. The last column is separated from the others by the bar, so for a 2×3 system enter the coefficients followed by the constant on each line.
Alternative
The mathtools package provides pmatrix* with an optional alignment argument if you prefer an environment.
Need more options? Open the full LaTeX Matrix Generator.
Related guides
Frequently asked questions
How do I put a line in a matrix in LaTeX?
Use an array environment with | in the column specification.
Can I use brackets instead of parentheses?
Yes. Choose square brackets in the options.