Is simultaneous row operation allowed in reducing a matrix to row echelon form?

  • Context: Undergrad 
  • Thread starter Thread starter MathewsMD
  • Start date Start date
  • Tags Tags
    Matrix
Click For Summary

Discussion Overview

The discussion revolves around the rules governing row operations used to reduce a matrix to row echelon form, specifically focusing on the allowance of simultaneous operations and the nature of elementary row operations.

Discussion Character

  • Debate/contested
  • Technical explanation
  • Mathematical reasoning

Main Points Raised

  • Some participants question why only elementary row operations (like scaling, swapping, and adding multiples of rows) are permitted in reducing a matrix to row echelon form, suggesting that other operations (e.g., 3R1 + 2R2) could also be valid.
  • One participant explains that the operations are closed over linear spaces and that these elementary operations preserve the solution to the system.
  • Another participant provides a detailed example of how row operations correspond to multiplying by elementary matrices, illustrating the relationship between these operations and matrix multiplication.
  • Some participants express uncertainty about whether operations like R1 + R2 and R2 + R1 can be performed simultaneously, with one asserting that they cannot due to the risk of changing the solution set.
  • However, it is noted that certain operations can be performed simultaneously if they do not affect the same row, providing a counterpoint to the earlier claim.

Areas of Agreement / Disagreement

Participants do not reach a consensus on whether simultaneous row operations are allowed. While some argue against it, others suggest that it depends on the specific operations being performed.

Contextual Notes

There are unresolved questions regarding the implications of performing certain operations simultaneously and the conditions under which they may or may not preserve the solution set of the system.

MathewsMD
Messages
430
Reaction score
7
For any given 2 x 3 matrix,

Why are only elementary steps allowed (i.e. aR1, R1 +/- R2, R1 <--> R2) and not any other operation (e.g. 3R1 + 2R2) when reducing the matrix to row echelon form?

Also, is the operation R1 + R2 and R2 + R1 allowed simultaneously? I realize this would just output the exact same equation, which isn't incredibly useful, but is it allowed?
 
Physics news on Phys.org
The operations plus and times are closed over linear spaces that are mapped by matrices.
 
j
MathewsMD said:
For any given 2 x 3 matrix,

Why are only elementary steps allowed (i.e. aR1, R1 +/- R2, R1 <--> R2) and not any other operation (e.g. 3R1 + 2R2) when reducing the matrix to row echelon form?
The way I've usually seen these elementary row operations is like so (http://en.wikipedia.org/wiki/Elementary_matrix#Operations):
Ri <--> Rj Switch two rows
Ri <-- kRi (k a nonzero scalar) Replace a row with a nonzero multiple of itself
Ri <-- Ri +kRj (k a nonzero scalar) Replace a row by itself plus a nonzero multiple of another row

3R1 + 2R2 could be effected by replacing R1 by itself plus 2/3 R2, followed by replacing R1 by 3 times itself.
MathewsMD said:
Also, is the operation R1 + R2 and R2 + R1 allowed simultaneously?
I don't understand what your notation means. Which row gets changed?
MathewsMD said:
I realize this would just output the exact same equation, which isn't incredibly useful, but is it allowed?
 
Last edited:
If you apply the "row operations", "multiply a row by a constant", "swap two rows", and "add a multiple of one row to another" to the identity matrix, you get an "elementary matrix". Applying that row operation to any matrix, A, is the same as multiplying the corresponding elementary matrix by A. For example, if you "add 4 times the first row to the third row" of the identity matrix you get
\begin{bmatrix}1 &amp; 0 &amp; 0 \\ 0 &amp; 1 &amp; 0 \\ 4 &amp; 0 &amp; 1\end{bmatrix}
and adding four times the first row to the second row of
\begin{bmatrix}a_{11} &amp; a_{12} &amp; a_{13} \\ a_{21} &amp; a_{22} &amp; a_{23} \\ a_{31} &amp; a_{32} &amp; a_{33} \end{bmatrix}
gives
\begin{bmatrix}a_{11} &amp; a_{12} &amp; a_{13} \\ a_{21} &amp; a_{22} &amp; a_{23} \\ a_{31}+ 4a_{11} &amp; a_{32}+ 4a_{12} &amp; a_{33}+ a_{13} \end{bmatrix}

That is exactly the same as
\begin{bmatrix}1 &amp; 0 &amp; 0 \\ 0 &amp; 1 &amp; 0 \\ 4 &amp; 0 &amp; 1\end{bmatrix}\begin{bmatrix}a_{11} &amp; a_{12} &amp; a_{13} \\ a_{21} &amp; a_{22} &amp; a_{23} \\ a_{31} &amp; a_{32} &amp; a_{33}\end{bmatrix}

In other words, those row operations are exactly the same as multiplying by matrices. If I apply row operations to reduce matrix A to the identity matrix, then multiplying together the corresponding matrices would give the inverse matrix. Applying those row operations to the identity matrix is the same as multiplying all those elementary matrices together, which gives the inverse matrix.
 
Last edited by a moderator:
  • Like
Likes   Reactions: platetheduke
MathewsMD said:
For any given 2 x 3 matrix,

Why are only elementary steps allowed (i.e. aR1, R1 +/- R2, R1 <--> R2) and not any other operation (e.g. 3R1 + 2R2) when reducing the matrix to row echelon form?

Also, is the operation R1 + R2 and R2 + R1 allowed simultaneously? I realize this would just output the exact same equation, which isn't incredibly useful, but is it allowed?

Because these operations are the only ones that preserve the solution to the system. This is obvious for swaps and scaling, but a bit harder for linear combinations. It is also hard (at least for me ; can't think of a way of doing it) to show these are the only operations with those properties.
Still, you can get ##3R_1+2R_2## as a combination of elementary operations.
 
MathewsMD said:
Also, is the operation R1 + R2 and R2 + R1 allowed simultaneously? I realize this would just output the exact same equation, which isn't incredibly useful, but is it allowed?
No, the operations
1. R1 <-- R1 + R2
2. R2 <-- R2 + R1
(I assume that this was what you meant)
cannot be performed simultaneously.

This is easily seen for the matrix

\begin{bmatrix}1 &amp; 1 \\ -1 &amp; -1 \end{bmatrix}
which is then transformed into the zero matrix

\begin{bmatrix}0 &amp; 0 \\ 0&amp; 0 \end{bmatrix}
and these two matrices are clearly not row equivalent: the corresponding homogeneous systems have different solution sets, the latter is satisfied by any pair (x,y), which the first one is not.

So, row operations must in principle be performed sequentially. But in many cases, the operations are independent of the operations immediately before, and then they can be performed simultaneously, for example:

1. R2 <-- R2 + R1
2. R3 <-- R3 + R1

Since 1 does not change R1, 1 and 2 can be performed simultaneously. This is a difference from the previous case.
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
Replies
3
Views
2K
  • · Replies 8 ·
Replies
8
Views
10K
  • · Replies 4 ·
Replies
4
Views
3K