What is exactly pivoting ( in Gaussian elimination)?

Click For Summary

Discussion Overview

The discussion revolves around the concept of "pivoting" in Gaussian elimination, particularly in the context of programming and solving systems of equations. Participants explore the definition of pivoting, its steps, and the terminology used in relation to programming implementations of Gaussian elimination.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Homework-related

Main Points Raised

  • One participant inquires whether moving a constant term in an equation is what is meant by pivoting.
  • Another participant clarifies that a pivot is a specific entry in a matrix and that pivoting involves a series of steps to manipulate the matrix, including normalizing the pivot and eliminating entries below it.
  • There is a request for clarification on how to refer to the process of formatting equations for Gaussian elimination, with some participants expressing uncertainty about the terminology.
  • Some participants express a desire for programming resources or code that can handle Gaussian elimination, particularly in cases where constants need to be moved across the equation.
  • Concerns are raised about the use of non-standard terminology like "Gaussian elimination systems" and the need for clarity on what type of programming assistance is being sought.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the terminology related to Gaussian elimination and pivoting. There are differing views on the specifics of what constitutes pivoting and the best practices for programming implementations.

Contextual Notes

There are unresolved questions regarding the specific programming needs of participants, including the desired programming language and whether they seek source code or a graphical interface. Additionally, the discussion highlights a lack of clarity around the terminology used in relation to Gaussian elimination.

XodoX
Messages
195
Reaction score
0
In terms of programming. Like, let's say you have F1+F2+F3+15=0 and you move the 15 to the other side, just as you're supposed to, which would be F1+F2+F3= -15. Is that what they mean by pivoting? The code moves the 15?

thanks
 
Physics news on Phys.org
No. The "pivot" is a single entry in a row of a matrix. "Pivoting" refers to a process involving several steps. The row is divided by the value of the pivot to turn the pivot into 1. Then all the entries in the column of the pivot and directly below it are turned into zeroes by subtracting some multiple of the pivot's row from them.

If you're planning to write a serious program to solve linear equations, you should consult a text on numerical methods. The better numerical algorithms do not simply march down the main diagonal using each entry as a pivot.
 
Stephen Tashi said:
No. The "pivot" is a single entry in a row of a matrix. "Pivoting" refers to a process involving several steps. The row is divided by the value of the pivot to turn the pivot into 1. Then all the entries in the column of the pivot and directly below it are turned into zeroes by subtracting some multiple of the pivot's row from them.

If you're planning to write a serious program to solve linear equations, you should consult a text on numerical methods. The better numerical algorithms do not simply march down the main diagonal using each entry as a pivot.
Thanks. How would I call it then - to get each equation into the right format? I don't know how to program this, but I need it for reference for Gaussian elimination systems. It owuld be a nice tool to have. But usually they don't format the equations - at least the ones I could find online.
 
How would I call it then - to get each equation into the right format?

What do you mean by "it"? Do you mean the example, you gave? What you did (as best I can determine) is not a process that has a distinctive name. You transformed the equation into one that has no constant on the left hand side.


I need it for reference for Gaussian elimination systems.

I can't tell whether you are merely interested in terminology for something or whether you want to know how to write a computer program to do Gaussian elimination.
 
Stephen Tashi said:
What do you mean by "it"? Do you mean the example, you gave? What you did (as best I can determine) is not a process that has a distinctive name. You transformed the equation into one that has no constant on the left hand side.




I can't tell whether you are merely interested in terminology for something or whether you want to know how to write a computer program to do Gaussian elimination.

I'd like to have a program for my Gaussian elimination equations, but the codes I found won't do F1+F2+F3+10=0 since the 10, in this case, has to be moved over to the right. I was wondering if someone knew where to get a code like this. I want to try it out.
 
You shouldn't make up terminology like "Gaussian elimination systems" and "Gaussian elimination equations" without explaining what you mean.

I think what you're trying to say is that you would like a computer program that will solve a systems of equations by using Gaussian elimination. That still leaves questions unanswered.

You say you want "a code". Does this mean source code? If so, what computer language would you want this code to be in? Or do you want a program with a graphical interface where you can enter the equations and see the Gaussian elimination done step by step? Are you mainly interested in solving the equations or mainly interested in Gaussian elimination? (As I mentioned before, Gaussian elimination is usually not the best way to solve systems of equations. )
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 7 ·
Replies
7
Views
884
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 10 ·
Replies
10
Views
4K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 10 ·
Replies
10
Views
2K