MHB Is there a formula that gives me the RREF of a matrix?

  • Thread starter Thread starter Rorschach
  • Start date Start date
  • Tags Tags
    Formula Matrix
Rorschach
Messages
10
Reaction score
0
Is there formula that transforms a matrix into its row-reduced echelon form?

I know I can get there by row operations. But isn't there be like a formula?
 
Physics news on Phys.org
One possibility is to write $E_A = E_r E_{r-1} \cdots E_1 A$ where $E_A$ is the RREF of $A$ and $E_1,\ldots,E_r$ are the matrices corresponding to the elementary row operations that transform $A$ into $E_A$. Of course, the particular sequence of row operations depends on $A$, so I don't know if this is what you are looking for, but at least it gives you an equality between matrices.
 
Hi Rorschach,

It may seem a bit lame, but a formula to find the RREF of a matrix $A$ would be $\operatorname{rref}(A)$.
The function $\operatorname{rref}$ is supported by for instance the numerical programs MatLab and Octave, while Mathematica has named the function $\operatorname{RowReduce}$.
It can be calculated with the usual Gaussian elimination, but that is not necessarily the best way to do it. The reason is that Gaussian elimination is sensitive to rounding errors. Btw, in practice we generally wouldn't use RREF. Instead we would use a solution method that is the most appropriate for the actual problem that we want to solve.
 
Thread 'Determine whether ##125## is a unit in ##\mathbb{Z_471}##'
This is the question, I understand the concept, in ##\mathbb{Z_n}## an element is a is a unit if and only if gcd( a,n) =1. My understanding of backwards substitution, ... i have using Euclidean algorithm, ##471 = 3⋅121 + 108## ##121 = 1⋅108 + 13## ##108 =8⋅13+4## ##13=3⋅4+1## ##4=4⋅1+0## using back-substitution, ##1=13-3⋅4## ##=(121-1⋅108)-3(108-8⋅13)## ... ##= 121-(471-3⋅121)-3⋅471+9⋅121+24⋅121-24(471-3⋅121## ##=121-471+3⋅121-3⋅471+9⋅121+24⋅121-24⋅471+72⋅121##...

Similar threads

Back
Top