6.1 - Matrices and Systems of Equations

Definition of a MatrixDefinition of Matrix

Terminology

Converting Systems of Linear Equations to Matrices

Each equation in the system becomes a row. Each variable in the system becomes a column. The variables are dropped and the coefficients are placed into a matrix. If the right hand side is included, it's called an augmented matrix. If the right hand side isn't included, it's called a coefficient matrix.

The system of linear equations ...

 x +  y -  z = 1
3x - 2y +  z = 3
4x +  y - 2z = 9

becomes the augmented matrix ...

  x y z rhs  
  1 1 -1 1  
  3 -2 1 3  
  4 1 -2 9  

Elementary Row Operations

Elementary Row Operations are operations that can be performed on a matrix that will produce a row-equivalent matrix. If the matrix is an augmented matrix, constructed from a system of linear equations, then the row-equivalent matrix will have the same solution set as the original matrix.

When working with systems of linear equations, there were three operations you could perform which would not change the solution set.

  1. Interchange two equations.
  2. Multiply an equation by a non-zero constant.
  3. Multiply an equation by a non-zero constant and add it to another equation, replacing that equation.

When a system of linear equations is converted to an augmented matrix, each equation becomes a row. So, there are now three elementary row operations which will produce a row-equivalent matrix.

  1. Interchange two rows
  2. Multiply a row by a non-zero constant
  3. Multiply a row by a non-zero constant and add it to another row, replacing that row.

Row-Echelon and Reduced Row-Echelon Forms

These are Row-equivalent forms of a matrix. One can easily solve a system of linear equations when matrices are in one of these forms.

Row-Echelon Form

A matrix is in row-echelon form when the following conditions are met.

  1. If there is a row of all zeros, then it is at the bottom of the matrix.
  2. The first non-zero element of any row is a one. That element is called the leading one.
  3. The leading one of any row is to the right of the leading one of the previous row.

Notes

Reduced Row-Echelon Form

A matrix is in reduced row-echelon form when all of the conditions of row-echelon form are met and all elements above, as well as below, the leading ones are zero.

  1. If there is a row of all zeros, then it is at the bottom of the matrix.
  2. The first non-zero element of any row is a one. That element is called the leading one.
  3. The leading one of any row is to the right of the leading one of the previous row.
  4. All elements above and below a leading one are zero.

Notes

Gaussian Elimination

Gauss-Jordan Elimination

Pivoting

Types of Solutions

There are three types of solutions which are possible when solving a system of linear equations

Independent

  x y z rhs  
  1 0 0 3  
  0 1 0 1  
  0 0 1 2  

When you convert the augmented matrix back into equation form, you get x=3, y=1, and z=2.

Dependent

  x y z rhs  
  1 0 3 4  
  0 1 -2 3  
  0 0 0 0  

The first equation will be x + 3z = 4. Solving for x gives x = 4 - 3z.

The second equation will be y - 2z = 3. Solving for y gives y = 3 + 2z.

The z column is not cleared out (all zeros except for one number) so the other variables will be defined in terms of z. Therefore, z will be the parameter t and the solution is ...

x = 4 - 3t, y = 3 + 2t, z = t

Inconsistent

  x y z rhs  
  1 0 3 4  
  0 1 -2 3  
  0 0 0 2  

There is no solution here. You can write that as the null set Ø, the empty set {}, or no solution.