Pivoting (Gaussian elimination)

fonseh
Messages
521
Reaction score
2

Homework Statement



x1 + 2x2 = 9 ,
6x1 + 6x2 -8x3 = 1 ,
-3x2 +x3 = 0 [/B]
Here's a question from my book . I'm asked to find the x1 , x2 and x3 by using the gaussian elimination with pivoting .

Homework Equations

The Attempt at a Solution



Pls refer to this thread for the lecturer's method
https://www.physicsforums.com/threads/gaussian-elimination-pivoting.905132/#post-5699372[/B]
By using the lecturer's method ( circle out the max element in each column ) , I found that all the greatest element lies in 6x1+ 6x2 - 8x3 = 1 ...
So , how could all the largest element lies in the same row ?
 
Last edited:
Physics news on Phys.org
fonseh said:
So , how could all the largest element lies in the same row ?
Fate, coincidence, exercise composer's whim, anything. It happens. You just play along and swap rows 1 and 2 -- by the book . :wink:
 
  • Like
Likes fonseh and Logical Dog
And if we are going to do much more of this, you should learn a bit of ##\LaTeX## instead of making photos. It's fun and pretty easy.
Code:
$$\begin{pmatrix}
1 & 2& 0 & 9 \\
6 & 6 & -8 & 1 \\
0 & -3 & 1 & 0
\end {pmatrix} $$
gives you
$$\begin{pmatrix}
1 & 2& 0 & 9 \\
6 & 6 & -8 & 1 \\
0 & -3 & 1 & 0
\end {pmatrix} $$
 
  • Like
Likes fonseh
So
BvU said:
Fate, coincidence, exercise composer's whim, anything. It happens. You just play along and swap rows 1 and 2 -- by the book . :wink:
So , I can't use the lecturer's method to do this question ?
 
fonseh said:
So

So , I can't use the lecturer's method to do this question ?

In the thread

https://www.physicsforums.com/threads/gaussian-elimination.904589/

I gave you a detailed explanation of Gaussian elimination and pivoting, along with the main reasons that pivoting is performed at all. You should go back and actually READ that explantion.
 
  • Like
Likes BvU
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top