Can You Use Non-Pivot Rows to Scale a Matrix?

In summary, the conversation discusses the use of the Gauss algorithm to scale a matrix and the teacher's insistence on using only the pivot line to null the rest of the numbers in the column. The person speaking argues that they have successfully used other lines to null with the right solutions, but the teacher disagrees. The person gives a simple example to demonstrate their point and also mentions that using the largest number as the pivot may increase accuracy.
  • #1
Metame
1
0
Hello, here's my problem : I was introduced the Gauss algorithm used to scale a matrix (to obtain a triangular matrix in order to solve a system of equations), but my teacher says that we can only use the pivot line to null the rest of the numbers of the column.

The fact is I have done quite a lot of exercises where I have to scale a matrix, but I don't necessaryly null with the pivot line, but any line (and often, by doing the right operations, I save a lot lot of time). She says I can't do that, even if I have the right solutions, and I don't see why. So why? I'm trying to demonstrate I can.

(Here's a very simple example to show what I'm talking about:

We have the matrix :
2 1 0 1 L1 first pivot line here
-1 2 0 1 L2
1 0 1 1 L3

Following carefully the Gauss algorithm :
2 1 0 1 L1
0 5 0 3 L2'=2*L2+L1 (forced to use L1, the pivot line)
0 -1 2 1 L3'=2*L3-L1 (forced to use L1 too)

Then L2' is the new pivot line, so I must do :
2 1 0 1 L1
0 5 0 3 L2
0 0 10 8 L3''=5*L3'+L2 (forced to use L2, pivot line)

and I have S={(1/5,3/5,4/5)})
 
Mathematics news on Phys.org
  • #2
If I remember correctly, the "pivot" is the largest number on the diagonal. You don't have to use that but, under some circumstances, using the largest number will increase the accuracy.
 
  • #3


Hello,

Thank you for sharing your experience with scaling matrices. It is true that the Gauss algorithm is commonly used to scale a matrix, but there are other methods that can also be used.

One alternative method is to use row operations, such as multiplying a row by a constant or adding or subtracting rows, to transform the matrix into an upper triangular form. This can be done by choosing any pivot element, not necessarily the first one, and performing row operations until all the elements below the pivot are zero.

Another approach is the LU decomposition method, which involves decomposing the original matrix into a lower triangular matrix and an upper triangular matrix. This can be useful for solving systems of equations and can also be used for scaling a matrix.

Ultimately, the choice of method depends on the specific problem and the desired outcome. While the Gauss algorithm may be the most commonly used, it is not the only option and it is important to be open to different approaches. As long as the final solution is correct, the method used to obtain it should not matter.
 

FAQ: Can You Use Non-Pivot Rows to Scale a Matrix?

What is matrix scaling?

Matrix scaling refers to the process of multiplying each element in a matrix by a constant value. This can result in a larger or smaller matrix, depending on the value of the constant.

What are some common methods for scaling a matrix?

Some common methods for scaling a matrix include uniform scaling, non-uniform scaling, and shear scaling. These methods involve multiplying each element in the matrix by a specific value or performing a specific transformation on the matrix.

How does matrix scaling affect the elements within the matrix?

Matrix scaling can change the magnitude and direction of the elements within the matrix. If the scaling factor is greater than 1, the elements will increase in size, and if it is less than 1, they will decrease in size. Scaling can also change the position of the elements in the matrix.

Are there any limitations to scaling a matrix?

Yes, there are limitations to scaling a matrix. One limitation is that the scaling factor must be a real number. Additionally, scaling can only be performed on square matrices (same number of rows and columns).

How is matrix scaling used in real-world applications?

Matrix scaling has various applications in fields such as computer graphics, data analysis, and engineering. In computer graphics, scaling is used to resize and transform images. In data analysis, scaling is used to normalize data and improve the accuracy of statistical models. In engineering, scaling is used to simulate the effects of different forces on a system.

Similar threads

Replies
2
Views
1K
Replies
1
Views
941
Replies
1
Views
4K
Replies
5
Views
2K
Replies
10
Views
2K
Replies
5
Views
1K
Back
Top