






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







Augmented matrices can be used as a simplified way of writing a system of linear equations. In an augmented matrix , a vertical line is placed inside the matrix to represent a series of equal signs and dividing the matrix into two sides.
Thus, for example, the matrix
would represent the set of linear equations
2x – 3y + 4z = – 3
In the above augmented matrix, each row represents an equation. The numbers in the left side of the matrix represent the coefficients of the variables in the set of equations. The numbers in the right side of the matrix represent the constant values to the right of the equal signs. Note that if one or more of the variables did not exist in a particular equation, the coefficient associated with that variable would be zero, and a 0 would appear at that position in the matrix.
We can now use the elimination method of solving a system of linear equations on our augmented matrix. Row operations will be performed on the matrix to reduce it to a simpler form containing the solutions to the equations. The matrix can be reduced and solved by the two different methods – Gaussian Elimination with back-substitution (row-echelon form) or Gauss- Jordan elimination (reduced row-echelon form).
The matrix is reduced through a series of row operations that can include any of the following procedures:
Example: Switching rows 1 and 2
(^2 1 6 41 ) 3 0 3 9 3 4 1 10
would give
1/3R 1 = 1/3[3 0 -3 9] = [1/3(3) 1/3(0) 1/3(-3) 1/3(9)] = [1 0 -1 3]
(^3 0 3 ) 2 1 6 4 3 4 1 10
⎥ would give
Example: Multiplying row 1 by two and adding it to row 2 2[1 0 -1 3] = [2 0 -2 6] [2 0 -2 6] + [-2 -1 6 -4] = [(2 – 2) (0 – 1) (-2 + 6) (6 – 4)] = [0 -1 4 2]
1
would give
To solve a system of linear equations using Gaussian elimination with back-substitution the goal is to reduce the augmented matrix into the form where there are 1’s going down the main diagonal (upper left corner to the lower right corner) and 0’s below and to the left of the main diagonal.
1 * * * 0 1 * * 0 0 1 *
The steps for Gaussian elimination are:
Example 1 (Continued):
For the third row we can simply add row 1 to row 3.
1 3
Step 4: Get a 1 in the second row of the second column To get the 1, we can multiply row 2 by one-third
(^132)
Step 5: Use row 2 to get a 0 in the second column of row 3
To make the second column of row 3 a zero, we can add row 2 to row 3
2 3
Example 1 (Continued):
Step 6: Get a 1 in the third row of the third column To make the -2 a 1, we can multiply row 3 by a negative one-half
(^123)
Step 7: Change the augmented matrix back into a system of equations x – 2y – z = 2 y + z = 0 z = 1 Step 8: Use back-substitution to solve for the variables
z = 1 so we can substitute it into the second equation to find y
y + z = 0 y + 1 = 0 y = – 1
Now we can substitute the values for y and z into the first equation to find x x – 2y – z = 2 x – 2(–1) – (1) = 2 x + 2 – 1 = 2 x + 1 = 2 x = 1 The solution set for this system of equations is (1, -1, 1).
The simplest matrix containing the solutions to the linear equations is called a reduced row- echelon matrix. Normally, we can solve a system of linear equations if the number of variables is equal to the number of independent equations. For example, if there are three variables in a system of linear equations, we will need three of these independent equations in order to obtain a unique solution for each of the variables.
Example 2: Solve the system of equations with augmented matrices using the Gauss-Jordan elimination method. x – 3z = – 2 2x + 2y + z = 4 3x + y – 2z = 5
Solution:
Step 1: Write the system of equations in an augmented matrix
1 0 3 2 2 2 1 4 3 1 2 5
Always enter a 0 for any missing variables such as the y in the first equation.
Step 2: Get a 1 in the first row of the first column This is already done so we can skip to the next step.
Step 3: Use row 1 to get 0’s in the first column of rows 2 and 3 For the second row we can obtain a zero by multiplying row 1 by - and adding it to row 2.
1 2
Example 2 (Continued):
For the third row we can obtain a zero by multiplying row 1 by - and adding it to row 3.
1 3
Step 4: Get a 1 in the second row of the second column We can get a 1 in the second row of the second column by multiplying row 2 by one-half. However, doing this will give us a fraction within the matrix. Another option we can use to avoid having to deal with fractions is to switch rows 2 and 3 since there is already a 1 in the second column of row 3.
2 3
Example 2 (Continued):
Row 2 has a 7 in the third column. We can, therefore, multiply row 3 by -7 and add it to row 2.
3 2
Now that we have successfully manipulated the matrix into the reduced row- echelon form we can get the solution set as x = 4, y = -3, and z = 2; which can also be written as (4, -3, 2).