If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

Main content

Representing linear systems with matrices

Learn how systems of linear equations can be represented by augmented matrices.
A matrix is a rectangular arrangement of numbers into rows and columns.
Matrices can be used to solve systems of equations. But first, we must learn how to represent systems with matrices.

Representing a linear system with matrices

A system of equations can be represented by an augmented matrix.
In an augmented matrix, each row represents one equation in the system and each column represents a variable or the constant terms.
In this way, we can see that augmented matrices are a shorthand way of writing systems of equations. The organization of the numbers into the matrix makes it unnecessary to write various symbols like x, y, and = , yet all of the information is still there!

Check your understanding

1) Which matrix represents the system?
2x+3y=85x+2y=2
Choose 1 answer:

2) Write the following system of equations as an augmented matrix.
7x+4y=36x+3y=5

Let's look at another example

Now that we have the basics, let's take a look at a slightly more complicated example.

Example

Write the following system of equations as an augmented matrix.
3x2y=4x+5z=34xy+3z=0

Solution

To make things easier, let's rewrite the system to show each of the coefficients clearly. If a variable term is not written in an equation, it means that the coefficient is 0.
3x+(2)y+0z=   41x+      0y+5z=34x+(1)y+3z=   0
This corresponds to the following augmented matrix.
Again, notice how each column corresponds to a variable (x, y, z) or the constants. Also notice that the numbers in each row correspond to the coefficients in the same equation.
In general, before converting a system into an augmented matrix, be sure that the variables appear in the same order in each equation, and that the constant terms are isolated on one side.

Check your understanding

3) Which matrix represents the system?
3w2x+y+5z=10w+2y4z=5
Choose 1 answer:

4) Write the following system of equations as an augmented matrix.
a+b2c=123a+b=8

Challenge problems

5*) Which system is represented by the augmented matrix?
[035841   125210]
Choose 1 answer:

6*) Which matrix represents the system?
3x+2=12y8y=2x+15
Choose 1 answer:

Want to join the conversation?