Can Gauss-Jordan Elimination simplify a matrix into a reduced row echelon form?

In summary: From the last matrix, we have##x_4 = 0####x_3 = -\frac{2}{3}x_4 = 0####x_2 = -\frac{7}{6}x_4 = 0####x_1 = -\frac{2}{6}x_4 = 0##So the solution is ##(0,0,0,0)##In summary, by using row operations, we can transform the given matrix into an upper triangular matrix with all zero entries, indicating the solution to be a trivial one.
  • #1
askor
169
9
By using row operation, how can

##
\left(
\begin{array}{rrrr|r}
2 & 0 & -1 & 0 & 0 \\ 6 & 0 & 0 & -2 & 0 \\ 0 & 2 & -2 & -1 & 0
\end{array}
\right)
##

be

##
\left(
\begin{array}{rrrr|r}
1 & 0 & 0 & -\frac{1}{3} & 0 \\ 0 & 1 & 0 & -\frac{7}{6} & 0 \\ 0 & 0 & 1 & -\frac{2}{3} & 0
\end{array}
\right)
##

?

I am trying to write my attempt on this problem but I don't know how to write matrix with row operation in Latex. Please show me example.
 
Mathematics news on Phys.org
  • #2
Hi askor, :welcome:

There's a link to the LateX Tutorial in the homework guidelines and an extensive one in general math.
Is there a speecific question you need answered ?

Your matrix looks rather straightforward to me:
Subtract 1/3 x row 2 from row 1 to get 2 x new row 3.
Add row 1 to new row 3 to get 2 x new row 1
Add 2 x new row 3 to row 3 to get 2 x new row 2

But I expect you already found this ? If so where do you get stuck ?

--
 
  • #3
Mod note: Corrected what appeared to be a typo in the second vector, below. I'm almost certain that the corrected version was what was intended.
It should be obvious, seeing [itex]\begin{pmatrix}0 \\ 0 \\ 2 \end{pmatrix}[/itex] in the middle column of the original matrix and [itex]\begin{pmatrix} 0 \\ 1 \\ 0 \end{pmatrix}[/itex] in the result you want, that you will want to swap the second and third rows. If you do that as the first step, you get [tex]\left(\begin{array}{cccc|c} 2 & -1 & 0 & 1 & 0 \\ 0 & 2 & -2 & -1 & 0 \\ 6 & 0 & 0 & -2 & 0 \end{array}\right)[/tex].

The rest should be easy.
 
Last edited by a moderator:
  • #4
BvU said:
Subtract 1/3 x row 2 from row 1 to get 2 x new row 3.
Add row 1 to new row 3 to get 2 x new row 1
Add 2 x new row 3 to row 3 to get 2 x new row 2

But I expect you already found this ? If so where do you get stuck ?

--

Could you write it in matrix rather than words? I am confuse.

My attempt is:

##
\left(
\begin{array}{rrrr|r}
2 & 0 & -1 & 0 & 0 \\ 6 & 0 & 0 & -2 & 0 \\ 0 & 2 & -2 & -1 & 0
\end{array}
\right)
##

R1 divided by 2, R2 swap to R3, then I get

##
\left(
\begin{array}{rrrr|r}
1 & 0 & -\frac{1}{2} & 0 & 0 \\ 0 & 2 & -2 & -1 & 0 \\ 6 & 0 & 0 & -2 & 0
\end{array}
\right)
##

R2 divided by 2, then I get

##
\left(
\begin{array}{rrrr|r}
1 & 0 & -\frac{1}{2} & 0 & 0 \\ 0 & 1 & -1 & -\frac{1}{2} & 0 \\ 6 & 0 & 0 & -2 & 0
\end{array}
\right)
##

R3 - 6R1, then I get lower triangular matrix

##
\left(
\begin{array}{rrrr|r}
1 & 0 & -\frac{1}{2} & 0 & 0 \\ 0 & 1 & -1 & -\frac{1}{2} & 0 \\ 0 & 0 & 3 & -2 & 0
\end{array}
\right)
##

Why the result is different?
 
Last edited:
  • #5
askor said:
Could you write it in matrix rather than words? I am confuse.
Which one is confusing you ?

Subtract 1/3 x row 2 from row 1 to get 2 x new row 3 is so clear to me that I don't know how to simplify it!
Perhaps:

Subtract 1/3 x row 2 from row 1 to and divide the resulting row by -2 to get new row 3​
?
 
  • #6
BvU said:
Which one is confusing you ?

Subtract 1/3 x row 2 from row 1 to get 2 x new row 3 is so clear to me that I don't know how to simplify it!
Perhaps:

Subtract 1/3 x row 2 from row 1 to and divide the resulting row by -2 to get new row 3​
?

Could you write it in my style as above.
 
  • #7
I could, but if it is unclear the way I write it now, you still have a problem. What is it that makes it undecipherable for you ?
 
  • #8
You said "Subtract 1/3 x row 2 from row 1..."

If written by R1 = row 1, R2 = row 2, which one of below is correct according your above statement?

1/3*R2 - R1

or

R1 - 1/3*R2
 
  • #9
R1 - 1/3*R2

Gives you ## (0,0,-1, {2\over 3}) ## which is minus the new row 3. (new meaning: as in the final answer)

So not +2 or -2 x new row 3 as I stupidly typed - twice . I fixed the - sign in post #5 and now I fix the 2 that should have been a 1. o:)

Sorry for the mistakes. No wonder you get confused.
 
  • #10
OK, R1 - 1/3*R2 give me

##
\left(
\begin{array}{rrrr|r}
0 & 0 & -1 & \frac{2}{3} & 0 \\ 6 & 0 & 0 & -2 & 0 \\ 0 & 2 & -2 & -1 & 0
\end{array}
\right)
##

Now, what is the next step?
 
  • #11
From what you post now (#10): line 3 minus 2 x line 1 is ## (0,2,0,-7/3)##, then divide by 2 to get line 2 in the answer in post #1.
 
  • #12
Why the result is different with the post #4?
 
  • #13
askor said:
Why the result is different with the post #4?
In that post you have not finished the computations!
 
  • #14
Svein said:
In that post you have not finished the computations!

How to finish it? Please tell step-by-step.

Here is my step:

##
\left(
\begin{array}{rrrr|r}
1 & 0 & -\frac{1}{2} & 0 & 0 \\ 0 & 1 & -1 & -\frac{1}{2} & 0 \\ 0 & 0 & 3 & -2 & 0
\end{array}
\right)
##

R3 / 3

##
\left(
\begin{array}{rrrr|r}
1 & 0 & -\frac{1}{2} & 0 & 0 \\ 0 & 1 & -1 & -\frac{1}{2} & 0 \\ 0 & 0 & 1 & -\frac{2}{3} & 0
\end{array}
\right)
##

The matrix is already in form of Lower triangular matrix, how to obtain the upper triangular matrix?

What next?
 
  • #15
askor said:
How to finish it? Please tell step-by-step.

Here is my step:

##
\left(
\begin{array}{rrrr|r}
1 & 0 & -\frac{1}{2} & 0 & 0 \\ 0 & 1 & -1 & -\frac{1}{2} & 0 \\ 0 & 0 & 3 & -2 & 0
\end{array}
\right)
##

R3 / 3

##
\left(
\begin{array}{rrrr|r}
1 & 0 & -\frac{1}{2} & 0 & 0 \\ 0 & 1 & -1 & -\frac{1}{2} & 0 \\ 0 & 0 & 1 & -\frac{2}{3} & 0
\end{array}
\right)
##

The matrix is already in form of Lower triangular matrix, how to obtain the upper triangular matrix?

What next?
Use the bottom row (3rd column entry) to eliminate the entries directly above it.

Some notation I have seen is this:
##R_2## ← ##R_2 + R_3##
##R_1## ← ##R_1 + \frac 1 2 R_3##
The arrow, ←, means "is replaced by".
 
  • #16
Mark44 said:
Use the bottom row (3rd column entry) to eliminate the entries directly above it.

Some notation I have seen is this:
##R_2## ← ##R_2 + R_3##
##R_1## ← ##R_1 + \frac 1 2 R_3##
The arrow, ←, means "is replaced by".

OK, I rewrite it with matrix

##
\left(
\begin{array}{rrrr|r}
1 & 0 & -\frac{1}{2} & 0 & 0 \\ 0 & 1 & -1 & -\frac{1}{2} & 0 \\ 0 & 0 & 1 & -\frac{2}{3} & 0
\end{array}
\right)
##

##R_2## ← ##R_2 + R_3##

##
\left(
\begin{array}{rrrr|r}
1 & 0 & -\frac{1}{2} & 0 & 0 \\ 0 & 1 & 0 & -\frac{7}{6} & 0 \\ 0 & 0 & 1 & -\frac{2}{3} & 0
\end{array}
\right)
##

##R_1## ← ##R_1 + \frac 1 2 R_3##

##
\left(
\begin{array}{rrrr|r}
1 & 0 & 0 & -\frac{2}{6} & 0 \\ 0 & 1 & 0 & -\frac{7}{6} & 0 \\ 0 & 0 & 1 & -\frac{2}{3} & 0
\end{array}
\right)
##
 
  • #17
Well done !
 

What is Gauss-Jordan Elimination?

Gauss-Jordan Elimination is a method used to solve a system of linear equations by performing row operations on an augmented matrix. It is named after mathematicians Carl Friedrich Gauss and Wilhelm Jordan.

What are the steps involved in Gauss-Jordan Elimination?

The steps involved in Gauss-Jordan Elimination include converting the system of equations into an augmented matrix, using row operations to reduce the matrix to echelon form, and then using back substitution to find the solution to the system of equations.

What are the advantages of using Gauss-Jordan Elimination?

Gauss-Jordan Elimination is advantageous because it provides an efficient and systematic way to solve a system of linear equations. It also allows for easy identification of inconsistent or dependent systems.

What are the limitations of Gauss-Jordan Elimination?

Gauss-Jordan Elimination may not always produce a solution, especially in cases where there are infinitely many solutions or no solutions at all. It is also limited in its ability to handle large systems of equations due to the increase in computation time and complexity.

How is Gauss-Jordan Elimination used in real-life applications?

Gauss-Jordan Elimination has various real-life applications, such as in engineering, economics, and physics. It can be used to solve systems of equations representing physical phenomena, to optimize production processes, and to analyze market trends. It is also applied in computer graphics to solve linear equations for rendering 3D images.

Similar threads

Replies
1
Views
840
Replies
4
Views
1K
Replies
7
Views
879
  • General Math
Replies
4
Views
810
  • Linear and Abstract Algebra
Replies
2
Views
945
Replies
1
Views
4K
  • Precalculus Mathematics Homework Help
Replies
1
Views
477
Replies
1
Views
5K
Replies
5
Views
847
  • Linear and Abstract Algebra
Replies
1
Views
863
Back
Top