Mathwords logoMathwords

Augmented Matrix

Augmented Matrix

A matrix form of a linear system of equations obtained from the coefficient matrix as shown below. It is created by adding an additional column for the constants on the right of the equal signs. The new column is set apart by a vertical line.

System: \(\begin{array}{l}2x - 3y = 8\\4x + 5y = 1\end{array}\) 
Augmented Matrix:  

Key Formula

System: {a1x+b1y=c1a2x+b2y=c2Augmented Matrix: [a1b1c1a2b2c2]\text{System: } \begin{cases} a_1x + b_1y = c_1 \\ a_2x + b_2y = c_2 \end{cases} \quad \Rightarrow \quad \text{Augmented Matrix: } \left[\begin{array}{cc|c} a_1 & b_1 & c_1 \\ a_2 & b_2 & c_2 \end{array}\right]
Where:
  • a1,a2a_1, a_2 = Coefficients of x in the first and second equations
  • b1,b2b_1, b_2 = Coefficients of y in the first and second equations
  • c1,c2c_1, c_2 = Constants on the right side of each equation
  • | = Vertical line separating the coefficient columns from the constants column

Worked Example

Problem: Write the augmented matrix for the system: 3x + 2y = 10 x − 4y = 6
Step 1: Identify the coefficients of x in each equation. The first equation has coefficient 3, and the second has coefficient 1.
x-coefficients: 3,  1x\text{-coefficients: } 3, \; 1
Step 2: Identify the coefficients of y. The first equation has coefficient 2, and the second has coefficient −4.
y-coefficients: 2,  4y\text{-coefficients: } 2, \; -4
Step 3: Identify the constants on the right side of each equation.
Constants: 10,  6\text{Constants: } 10, \; 6
Step 4: Arrange the coefficients in rows (one row per equation), then place the constants in a column to the right of the vertical line.
[3210146]\left[\begin{array}{cc|c} 3 & 2 & 10 \\ 1 & -4 & 6 \end{array}\right]
Answer: The augmented matrix is [3210146]\left[\begin{array}{cc|c} 3 & 2 & 10 \\ 1 & -4 & 6 \end{array}\right].

Another Example

This example extends to a 3×3 system (three equations, three unknowns) and shows how to handle a missing variable by inserting a 0 coefficient.

Problem: Write the augmented matrix for the following system of three equations in three unknowns: x + 2y − z = 4 3x − y + 2z = −1 −x + 0y + 5z = 7
Step 1: Read off the coefficients of x, y, and z from each equation. Be careful to include 0 as a coefficient if a variable is missing. Here every variable appears in every equation (the second equation has coefficient 0 for y written explicitly).
Row 1: 1,  2,  14\text{Row 1: } 1, \; 2, \; -1 \quad | \quad 4
Step 2: Write the second row from the second equation.
Row 2: 3,  1,  21\text{Row 2: } 3, \; -1, \; 2 \quad | \quad -1
Step 3: Write the third row. Note the coefficient of y is 0.
Row 3: 1,  0,  57\text{Row 3: } -1, \; 0, \; 5 \quad | \quad 7
Step 4: Assemble the full augmented matrix with three rows and four columns (three coefficient columns plus the constants column).
[121431211057]\left[\begin{array}{ccc|c} 1 & 2 & -1 & 4 \\ 3 & -1 & 2 & -1 \\ -1 & 0 & 5 & 7 \end{array}\right]
Answer: The augmented matrix is [121431211057]\left[\begin{array}{ccc|c} 1 & 2 & -1 & 4 \\ 3 & -1 & 2 & -1 \\ -1 & 0 & 5 & 7 \end{array}\right].

Frequently Asked Questions

What is the difference between an augmented matrix and a coefficient matrix?
A coefficient matrix contains only the coefficients of the variables from the system of equations. An augmented matrix includes everything in the coefficient matrix plus an extra column for the constants on the right side of the equal signs, separated by a vertical line. The augmented matrix carries all the information needed to solve the system; the coefficient matrix does not.
Why do we use an augmented matrix instead of just writing the equations?
The augmented matrix strips away the variable names and equal signs, leaving only the numbers. This makes it much easier to perform systematic row operations (like Gaussian elimination) to solve the system. It also reduces the chance of copying errors when you have many equations and variables.
How do you convert an augmented matrix back to a system of equations?
Each row becomes one equation. The entries to the left of the vertical line are the coefficients of the variables (in order), and the entry to the right of the line is the constant. For example, the row [2  3    7][2 \; -3 \;|\; 7] represents 2x3y=72x - 3y = 7. You simply reattach the variables and the equal sign.

Augmented Matrix vs. Coefficient Matrix

Augmented MatrixCoefficient Matrix
DefinitionMatrix of coefficients plus a column of constants, separated by a vertical lineMatrix containing only the coefficients of the variables
Size (for n equations, n unknowns)n × (n + 1)n × n
Includes constants?Yes — in the rightmost columnNo
When to useSolving a system via row reduction (Gaussian elimination)Computing the determinant, finding inverses, or analyzing the system's coefficient structure

Why It Matters

Augmented matrices appear throughout algebra and linear algebra courses whenever you solve systems of equations using Gaussian elimination or Gauss-Jordan elimination. They are the standard starting point for row reduction, one of the most fundamental algorithms in mathematics. In applied settings—engineering, economics, physics—large systems with dozens or hundreds of equations are routinely encoded as augmented matrices for computer-based solvers.

Common Mistakes

Mistake: Forgetting to include a 0 when a variable is missing from one equation.
Correction: If a variable does not appear in an equation, its coefficient is 0. You must place a 0 in the corresponding column so that each column consistently represents the same variable across all rows.
Mistake: Placing the constants in the wrong column or mixing up the order of variables.
Correction: Before building the matrix, rewrite every equation in standard form (e.g., ax + by + cz = d) with variables in the same order. The constants always go in the last column, after the vertical line.

Related Terms