Solving linear systems is a problem core to Linear Algebra. You will notice that so far we have already encountered a few different linear systems. Being able to solve these systems is an important skill, and Linear Algebra provides some helpful techniques to be able to do this.

First, we will start by formally defining what a linear system is. This will allow us to have consistent terminology to discuss how to manipulate and solve them. A linear system is a set of linear equations. A linear equation is an equation written in the form , where are constants.

We refer to as the coefficients of the equation. The value b is typically referred to as the right hand side, and the x values are unknowns, or variables. A system has a solution at , which is often displayed as a vector

A system of linear equations is composed of many linear equations as defined above. A general definition would be:

We want to be able to establish a solution for any system of linear equations. From previous math courses, you likely learned at least one method of solving linear systems. Letâ€™s do an example to see one way that we can solve a system.

**Example:
**Find the solution to the linear system

There are many ways to come to the solution of this system. I will work by eliminating variables by subtracting the equations, allowing us to isolate for single variables.

First, subtract equation 1 from equation 2 to get: . We will call this equation 4

Next, subtract 2 times equation 2 from equation 3 to get: . We will call this equation 5

Finally, add 3 times equation 4 to equation 5 to get: . This tells us .

Now, substitute into equation 4 to get: , which tells us .

Finally substitute and into equation 1 to get: , which gives us

So, we have a solution as

This is one way that we are able to solve systems of linear equations. The general steps we can have when doing elimination are:

- Multiply one equation by a non zero constant
- Interchange the location of two equations
- Add a multiple of one equation to another equation

To be consistent with our vector notation for solutions to a linear system, we also have a matrix representation for a system. This will allow us to more easily keep track of the equations, and in turn solve them more effectively.

If we have a system of equations in the form:

The following matrix can be used to represent the system:

We call this matrix an augmented matrix. It contains all of the coefficients of our linear system, as well as the right hand side. We can use this matrix to solve our linear systems, using a process called row reduction. The idea is the exact same as our previous example, we eliminate variables until we get a solution for one of them. The only difference is that our matrix only tracks the coefficients, so we are trying to set the coefficients to 0.

**Example:
**Solve the system of equations

First, we create the matrix to represent the equation.

Now, we proceed as normal. First, I am going to subtract row 1 by row 2.

Then, subtract 2 times row 1 by row 2.

Next, add row 2 to 2 times row 3.

Now, we have a solution. Since -1 is denoting the coefficient, the last row can be rewritten as , therefore .

Row 2 can be rewritten as , so if we substitute in , we get , meaning .

Finally, row 3 can be rewritten as , so if we substitute, we get , meaning .

This gives us a final solution of . You can see that this method is rather effective for finding system solutions. Rather than having to create and track two new equations, we simply manipulate what is inside the matrix, only needing to rewrite the matrix each time.

We refer to the final product of the row
reduction as a matrix in **row echelon
form**. Row echelon form in general has the following properties.

- When all entries in a row are 0, this row appears below all rows containing non zero entries
- When two non zero rows are compared, the first non zero entry on the top equation is to the left of the leading entry of the lower row.

This creates a structure that looks like this:

Using the matrix representation of a linear system, we will be able to find some interesting manipulations to solve linear systems quickly and effectively. These sorts of solutions are often used by computer systems that need to implement algorithms to solve linear systems.

## One Reply to “Matrix Representations of Systems”