Gaussian Elimination

Gaussian elimination is a technique to change the augmented matrix into a row echelon form.There are many echelon forms, but subsequently, we must find the reduced row echelon form. The reduced row echelon form can can be achieved through another technique called the Gauss-Jordan elimination technique.

Advertisements

Augmented Matrix To Row Echelon Form

Given an augmented matrix that represents a system of linear equations with n equations and m variables. We want to reduce the matrix to a simple form called the echelon form and solve the unknowns.

\begin{aligned}
&5x + y + z = 10\\
&2x + y - 3z = -5\\
&x - 2y + 2z = 3
\end{aligned}

These are the steps to achieve the row echelon form.

  • Begin with column 1
  • Obtain leading 1 for each row and
  • Change 0 below all leading 1s.

Example

In this example we will convert the following augmented matrix into a row echelon form by series of row operations.

Figure 1 – Change the group 1 which is column 1 to echelon form by row operation.

Step 1

The augmented matrix first row starts with a leading 1 and all other entries in the first column are zeros. If the first row starts with a 0 , then do row exchange with second or third row and bring a non-zero value.

To obtain leading 1 in the first row do following row operation.

\begin{aligned}
&R_{1} = \frac{R_{1}}{5}
\end{aligned}

Our resultant matrix is as follows.

\begin{aligned}
\begin{bmatrix} 1 & \frac{1}{5} & \frac{1}{5} & 2\\2 & 1 & -3 & -5\\1 & -2 & 2 & 3\end{bmatrix}
\end{aligned}

Step 2

Perform following row operations to make rest of the entries 0 in the first column under leading 1.

\begin{aligned}
&2R_{1}\\
&R_{3} =& R_{3} - R_{1}
\end{aligned}

Now, our matrix look like the following.

\begin{aligned}
\begin{bmatrix} 1 & \frac{1}{5} & \frac{1}{5} & 2\\0 & \frac{3}{5} & \frac{-17}{5} & -9\\0 & \frac{-11}{5} & \frac{9}{5} & 1\end{bmatrix}
\end{aligned}

We must repeat the same steps for Group 2.

Advertisements
Figure 2 - Change Group 2 into row echelon form by performing row operations.
Figure 2 – Change Group 2 into row echelon form by performing row operations.

Step 3

In the group 2 which is column 2 , first change the value to leading 1.

\begin{aligned}
&R_{2} = R_{2} * 5\\
&R_{2} = \frac{R_{2}}{3}
\end{aligned}

The result of the row operation is given below.

\begin{aligned}
\begin{bmatrix} 1 & \frac{1}{5} & \frac{1}{5} & 2\\0 & 1 & \frac{-17}{3} & -15\\0 & \frac{-11}{5} & \frac{9}{5} & 1\end{bmatrix}
\end{aligned}

Step 4

All entries below leading 1 in second row must be changed to 0. Therefore, perform following row operations.

\begin{aligned}
 R_{3} = R_{3} + \frac{11}{5}R_{2}
\end{aligned}

The result is as follows. The second row leading 1 has a 0 below it in the third row.

\begin{aligned}
\begin{bmatrix} 1 & \frac{1}{5} & \frac{1}{5} & 2\\0 & 1 & \frac{-17}{3} & -15\\0 & 0 & \frac{-32}{3} & -32\end{bmatrix}
\end{aligned}
Figure 3 - Group 3 of the augmented matrix is only leading 1 of row 3
Figure 3 – Group 3 of the augmented matrix is only leading 1 of row 3

Step 5

Now, we must find the leading 1 for row 3. Do the following row operations on

\begin{aligned}
&R_{3} = \frac{R_{3}}{-32}\\
&R_{3} = R_{3} * -3
\end{aligned}

The augmented matrix is in row echelon form and it is easy to find a solution to the matrix.

\begin{aligned}
\begin{bmatrix} 1 & \frac{1}{5} & \frac{1}{5} & 2\\0 & 1 & \frac{-17}{3} & -15\\0 & 0 & 1 & 3\end{bmatrix}
\end{aligned}

Back Substitution

The echelon form gives us the following simplified system of linear equations.

\begin{aligned}
&x + \frac{y}{5} + \frac{z}{5} = 2\\
&y + \frac{-17}{3} = -15\\
&z = 3
\end{aligned}

Using value of z = 3$ and substituting in other equations,we get

\begin{aligned}
&x + \frac{2}{5} + \frac{3}{5} = 2\\\\
&x = 2 - \frac{2}{5} - \frac{3}{5}\\\\
&x = \frac{10 - 2 - 3}{5}\\\\
&x = 1\\\\

&y - 17 = -15\\\\
&y = 17-15 = 2\\\\
&z = 3
\end{aligned}

Therefore, the solution to the equation is $x = 1, y =2, z = 3$.

Advertisements

Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.