Coefficient Matrix — Definition, Examples & Table
Key Formula
For the system ⎩⎨⎧a11x1+a12x2+⋯+a1nxn=b1a21x1+a22x2+⋯+a2nxn=b2⋮am1x1+am2x2+⋯+amnxn=bmthe coefficient matrix is A=a11a21⋮am1a12a22⋮am2⋯⋯⋱⋯a1na2n⋮amn
Where:
- aij = The coefficient of the j-th variable in the i-th equation
- x1,x2,…,xn = The unknowns (variables) in the system
- b1,b2,…,bm = The constants on the right-hand side (not included in the coefficient matrix)
- m = The number of equations
- n = The number of variables
Worked Example
Problem: Write the coefficient matrix for the following system of equations:
2x + 3y − z = 7
4x − y + 5z = −3
x + 6y + 2z = 10
Step 1: Identify the variables. The system has three variables: x, y, and z.
Step 2: Read off the coefficients from each equation. From the first equation, the coefficients of x, y, and z are 2, 3, and −1.
Equation 1: 2x+3y−z=7⟹[2,3,−1]
Step 3: Do the same for the second and third equations.
Equation 2: [4,−1,5]Equation 3: [1,6,2]
Step 4: Arrange these rows into a matrix. Each row corresponds to one equation, and each column corresponds to one variable.
A=2413−16−152
Answer: The coefficient matrix is A = [[2, 3, −1], [4, −1, 5], [1, 6, 2]]. Notice that the constants 7, −3, and 10 are not included.
Another Example
This example uses a simpler 2×2 system and shows how to write the entire system in compact matrix form Ax = b, which is the primary reason coefficient matrices are useful.
Problem: Write the coefficient matrix for the system and then express the system in the form Ax = b:
x + 2y = 5
3x − 4y = 1
Step 1: This is a 2×2 system (two equations, two variables). Extract the coefficients of x and y from each equation.
Equation 1: [1,2]Equation 2: [3,−4]
Step 2: Form the coefficient matrix A.
A=[132−4]
Step 3: Write the variable vector x and the constant vector b.
x=[xy],b=[51]
Step 4: Express the full system in matrix form Ax = b.
[132−4][xy]=[51]
Answer: The coefficient matrix is A = [[1, 2], [3, −4]], and the system is written compactly as Ax = b.
Frequently Asked Questions
What is the difference between a coefficient matrix and an augmented matrix?
A coefficient matrix contains only the coefficients of the variables from the system of equations. An augmented matrix includes those same coefficients plus an extra column on the right containing the constants from each equation, separated by a vertical bar. For example, if the coefficient matrix is [[1, 2], [3, 4]], and the constants are 5 and 6, then the augmented matrix is [[1, 2 | 5], [3, 4 | 6]].
How do you find the coefficient matrix of a system of equations?
First, make sure each equation is written in standard form with the variables in the same order and the constant on the right-hand side. Then, read off the coefficient of each variable from each equation. If a variable is missing from an equation, its coefficient is 0. Arrange these values in a matrix where each row is one equation and each column is one variable.
When is a coefficient matrix used to solve a system?
You use the coefficient matrix whenever you apply matrix methods to solve a linear system. These include Gaussian elimination (via the augmented matrix), computing the inverse matrix to find x = A⁻¹b, or using Cramer's rule with determinants. The coefficient matrix must be square and have a nonzero determinant for the inverse method and Cramer's rule to work.
Coefficient Matrix vs. Augmented Matrix
| Coefficient Matrix | Augmented Matrix | |
|---|---|---|
| Definition | Matrix of only the variable coefficients | Coefficient matrix with an extra column for the constants |
| Size (for m equations, n variables) | m × n | m × (n + 1) |
| Includes constants (b values)? | No | Yes, as the last column |
| Primary use | Matrix equations Ax = b, Cramer's rule, determinants | Row reduction (Gaussian elimination) |
| Notation | A | [A | b] |
Why It Matters
The coefficient matrix appears throughout algebra and linear algebra courses whenever you study systems of equations. It is the foundation for matrix methods like Gaussian elimination, finding inverse matrices, and computing determinants — all standard topics on the SAT, ACT, and college algebra exams. Understanding how to form it correctly is the first step toward using any of these powerful solving techniques.
Common Mistakes
Mistake: Including the constants from the right-hand side in the coefficient matrix.
Correction: The coefficient matrix contains only the coefficients of the variables. The constants belong in a separate vector b or, if needed, in the augmented matrix [A | b].
Mistake: Writing 0 for a missing coefficient or forgetting it entirely when a variable does not appear in an equation.
Correction: If a variable is absent from an equation (e.g., 3x + z = 4 has no y-term), you must place a 0 in that variable's column. Skipping it shifts all subsequent entries into the wrong columns, producing an incorrect matrix.
Related Terms
- Matrix — General structure that a coefficient matrix is
- Coefficient — The individual entries that fill the matrix
- Linear System of Equations — The system from which the matrix is formed
- Augmented Matrix — Coefficient matrix extended with the constant column
- Determinant — Used with coefficient matrix in Cramer's rule
- Inverse of a Matrix — Solving Ax = b via x = A⁻¹b
- Gaussian Elimination — Row reduction method using the augmented form

![System: 2x-3y=8, 4x+5y=1. Coefficient Matrix: [[2,-3],[4,5]]](c_assets/c40.gif)