Can you switch rows in a matrix without actually switching them?

  • Context: Undergrad 
  • Thread starter Thread starter aaaa202
  • Start date Start date
  • Tags Tags
    Echelon Form Row
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 3K views
aaaa202
Messages
1,144
Reaction score
2
Suppose you weren't allowed to switch rows, would it then always be possible to turn a regular matrix into the unit matrix or would the operation be needed in some cases?
 
Physics news on Phys.org
no, you don't need it.

let's say we want to switch row j and row k. add row j to row k. then add the new row k back to row j.

now multiply row k by -1, and then add row j to row k again. you should now have what row j originally was in the k-th row (and twice the original row j + the original row k in the j-th row).

now subtract twice the current k-th row from the current j-th row. voila! rows j and k have been switched.

(there may be a shorter way to do this, don't know, don't care).