Simple Gauss-Jordan Elimination

  • Thread starter Saladsamurai
  • Start date
  • Tags
    Elimination
In summary, the conversation involves someone struggling with a problem and questioning whether they are making a mistake or if the book answer is incorrect. They share their steps and ask for clarification, ultimately realizing their mistake.
  • #1
Saladsamurai
3,020
7
I have done the following problem over and over and keep getting the same result. So either the book answer is wrong or I am making the same mistake over again:

[tex]\left[\begin{array} {cccc}
5&-2&6&0\\
-2&1&3&1\\
\end{array}\right] [/tex]

[tex]\left[\begin{array} {cccc}
1&-\frac25&\frac65&0\\
-2&1&3&1\\
\end{array}\right] [/tex]

[tex]\left[\begin{array} {cccc}
1&-\frac25&\frac65&0\\
0&\frac15&\frac{17}{5}&1\\
\end{array}\right] [/tex]

[tex]\left[\begin{array} {cccc}
1&0&8&2\\
0&1&17&5\\
\end{array}\right] [/tex]

Am I screwing this up somewhere?
 
Physics news on Phys.org
  • #2
Saladsamurai said:
I have done the following problem over and over and keep getting the same result. So either the book answer is wrong or I am making the same mistake over again:

[tex]\left[\begin{array} {cccc}
5&-2&6&0\\
-2&1&3&1\\
\end{array}\right] [/tex]

[tex]\left[\begin{array} {cccc}
1&-\frac25&\frac65&0\\
-2&1&3&1\\
\end{array}\right] [/tex]

[tex]\left[\begin{array} {cccc}
1&-\frac25&\frac65&0\\
0&\frac15&\frac{17}{5}&1\\
\end{array}\right] [/tex]

[tex]\left[\begin{array} {cccc}
1&0&8&2\\
0&1&17&5\\
\end{array}\right] [/tex]

Am I screwing this up somewhere?
I ended up with different numbers in the 3rd column.
[tex]\left[\begin{array} {cccc}
1&0&12&2\\
0&1&27&5\\
\end{array}\right] [/tex]

In my first step, I added 2 times row 1 to -5 times row 2. Then I added 2 times row 2 to row 1. Finally, I replaced row 1 with 1/5 of itself. It is usually simpler to keep integer values for as long as possible.
 
  • #3
@Saladsamurai, [STRIKE]When you go to eliminate the -2, you want to add row 1 to row 2. You're subtracting it.[/STRIKE]

3 + 12/5 = 15/5 + 12/5 = 27/5
 
  • #4
Yeah! I just caught that :/ Man.. I must have added 6/5+3=17/5
like ten times! Stupid brain gets sucked into following
a pattern

thanks! :smile:
 

1. What is Simple Gauss-Jordan Elimination?

Simple Gauss-Jordan Elimination is a mathematical method used for solving systems of linear equations. It involves transforming a matrix into its reduced row-echelon form through a series of elementary row operations.

2. How does Simple Gauss-Jordan Elimination work?

The process of Simple Gauss-Jordan Elimination involves eliminating unknown variables from equations by using row operations such as swapping, scaling, and adding rows. This results in a matrix with a diagonal of 1s and 0s in all other positions, making it easier to solve for the remaining variables.

3. What are the advantages of using Simple Gauss-Jordan Elimination?

Simple Gauss-Jordan Elimination allows for a more efficient and straightforward solution to systems of linear equations compared to other methods such as substitution or elimination. It also gives a unique solution, even for inconsistent systems.

4. Can Simple Gauss-Jordan Elimination be used for any type of matrix?

Yes, Simple Gauss-Jordan Elimination can be used for any type of matrix as long as the matrix is square and has a non-singular coefficient matrix. This means that the determinant of the matrix is non-zero.

5. Are there any limitations to using Simple Gauss-Jordan Elimination?

One limitation of Simple Gauss-Jordan Elimination is that it involves a lot of computation and is not very efficient for larger matrices. It also cannot be used if the coefficient matrix is singular, as this would result in a division by zero.

Similar threads

  • Calculus and Beyond Homework Help
Replies
6
Views
530
  • Calculus and Beyond Homework Help
Replies
0
Views
148
Replies
1
Views
720
  • Linear and Abstract Algebra
Replies
1
Views
753
  • MATLAB, Maple, Mathematica, LaTeX
Replies
3
Views
542
  • Linear and Abstract Algebra
Replies
4
Views
2K
  • Calculus and Beyond Homework Help
Replies
9
Views
990
  • Calculus and Beyond Homework Help
Replies
7
Views
3K
Replies
5
Views
1K
  • Calculus and Beyond Homework Help
Replies
14
Views
735
Back
Top