How to Represent Systems of Linear Equations Using Matrices?
A system of linear equations can be represented as a matrix. In this step-by-step guide, you learn how to represent systems of linear equations using matrices.
Represent Systems of Linear Equations Using Matrices: what to notice and how to work it
What to notice first
Common student mistake
Key formulas and cues
A reliable path
- Check dimensionsRows by columns determines what operation is legal.
- Use the correct ruleAddition is entry-by-entry; multiplication is row-by-column.
- Interpret the resultFor systems, translate the matrix answer back into variables.
Worked examples
Add matrices
- The matrices have the same size.
- Add matching entries.
- Compute each position.
Multiplication size
- Inner dimensions match: 3 and 3.
- The product is allowed.
- Outer dimensions give the result size.
Try one before moving on
Represent Systems of Linear Equations Using Matrices: pop-up practice
A matrix equation consists of three matrices: the first matrix shows the values of the coefficients of the variables, the second lists the symbols of the variables themselves, and following an equal sign the third matrix represents the constant values to the right of the equal signs in the equations.
Type the problems from this lesson and check each step.
Related Topics
A step-by-step guide to representing systems of linear equations using matrices
A system of linear equations can be represented as a matrix using a coefficient matrix, a variable matrix, and a constant matrix.
Consider the system:
The coefficient matrix can be formed by aligning the coefficients of the variables of each equation in a row. Make sure that each equation is written in the standard form with a constant expression on the right. Then the coefficient matrix for the above system:
The variables we have are and . So we can write the variable matrix .
To the right of the equation, we have the constant terms of equations, and . The two numbers correspond to the first and second equations, respectively, and therefore take the place of the first and second rows in the constant matrix. So, the matrix becomes .
Now, the system can be displayed as:
Using matrix multiplication we can see that the matrix representation is equivalent to the system of equations.
That is,
Similarly, for a system of three equations in three variables:
The matrix representation would be:
We can generalize the result to variables.
Representing Systems of Linear Equations Using Matrices, Example 1:
Represent the system of linear equations as a matrix.
solution:
Representing Systems of Linear Equations Using Matrices, Example 2:
What linear system of equations does the matrix represent?
solution:
Exercises for Representing Systems of Equations with Matrices
Try these 10 questions one at a time. After each answer you will see a step-by-step explanation, so you can learn from every question, right or wrong.
Question 1 of 10
1. Which augmented matrix represents 2x + 3y = 5 and x − y = 1? (Matrices are written row by row, with rows separated by semicolons.)
- [2 3 | 5; 1 −1 | 1]
- [2 3 | 1; 1 −1 | 5]
- [2 1 | 5; 3 −1 | 1]
- [5 3 | 2; 1 −1 | 1]
Show the answer and explanation
Answer: A. [2 3 | 5; 1 −1 | 1]
Each row holds one equation: the x-coefficient, the y-coefficient, then the constant after the bar.
Row 1: 2, 3 | 5. Row 2: 1, −1 | 1.
Notice x − y means the y-coefficient is −1.
2. In the matrix equation for 4x − 2y = 7 and x + 5y = 3, what is the coefficient matrix entry in row 1, column 2?
Type your answer.
Show the answer and explanation
Answer: −2
The coefficient matrix is [4 −2; 1 5].
Row 1 comes from the first equation; column 2 holds the y-coefficients.
So the entry is −2.
3. The system x + 2y = 4, 3x + 4y = 10 is written as AX = B. What is B?
- [4; 10]
- [1 2; 3 4]
- [x; y]
- [4 10]
Show the answer and explanation
Answer: A. [4; 10]
A is the coefficient matrix and X = [x; y] is the variable column.
B is the column of constants on the right side.
So B = [4; 10].
4. Solve the system from the augmented matrix [1 0 | 3; 0 1 | −2]. What is x?
Type your answer.
Show the answer and explanation
Answer: x = 3
Row 1 says 1x + 0y = 3, so x = 3.
Row 2 says 0x + 1y = −2, so y = −2.
This is reduced row echelon form, where the answers can be read directly.
5. Which system does [3 −1 | 4; 2 5 | 0] represent?
- 3x − y = 4 and 2x + 5y = 0
- 3x + 2y = 4 and −x + 5y = 0
- 3x − y = 0 and 2x + 5y = 4
- 3 − x = 4 and 2 + 5y = 0
Show the answer and explanation
Answer: A. 3x − y = 4 and 2x + 5y = 0
Read each row as coefficients of x and y, then the constant.
Row 1: 3x − y = 4. Row 2: 2x + 5y = 0.
Choice B reads down the columns instead of across the rows.
6. Solve: x + y = 5 and x − y = 1. What is y?
Type your answer.
Show the answer and explanation
Answer: y = 2
Add the two equations: 2x = 6, so x = 3.
Then 3 + y = 5, so y = 2.
In matrix terms, the row operation R1 + R2 does the same elimination.
7. For AX = B with A invertible, how is X found?
- X = A⁻¹B
- X = BA⁻¹
- X = B − A
- X = A/B
Show the answer and explanation
Answer: A. X = A⁻¹B
Multiply both sides on the left by A⁻¹: A⁻¹AX = A⁻¹B.
A⁻¹A = I, so X = A⁻¹B.
The order matters, because matrix multiplication is not commutative.
8. How many rows does the augmented matrix of a system with 3 equations and 3 unknowns have?
Type your answer.
Show the answer and explanation
Answer: 3
Each equation becomes one row.
So 3 equations give 3 rows.
It has 4 columns: 3 for coefficients and 1 for constants.
9. What does the row [0 0 | 5] mean in an augmented matrix?
- The system has no solution
- x = 5
- Infinitely many solutions
- y = 5
Show the answer and explanation
Answer: A. The system has no solution
The row says 0x + 0y = 5, which means 0 = 5.
That is impossible.
So the system has no solution (it is inconsistent).
10. Solve: 2x = 8 and 3y = 9 (matrix [2 0 | 8; 0 3 | 9]). What is x + y?
Type your answer.
Show the answer and explanation
Answer: 7
Row 1: 2x = 8, so x = 4.
Row 2: 3y = 9, so y = 3.
x + y = 4 + 3 = 7. When the matrix has zeros off the diagonal, each row gives one variable directly.
Related to This Article
More math articles
- Deviance, Crime, and Social Control
- Free Grade 4 English Worksheets for Washington Students
- Free Grade 6 English Worksheets for New York Students
- Absolute Value Equations Practice — |ax + b| = c (Free)
- Detour of Variable Changes: A Complete Exploration of Related Rates
- Codon Chart and DNA to Protein Translator
- Significant Figures Calculator
- Trigonometry Basics: SOH-CAH-TOA Made Easy
- 6th Grade OAA Math Worksheets: FREE & Printable
- Top 5 Graphing Calculators for Physics



What people say about "How to Represent Systems of Linear Equations Using Matrices"?
No one replied yet.