Skip to main content

Section 1.3 Row echelon form using SageMath

We use online computer algebra system SageMath 1  to compute the rank and the nullity of a given matrix. In the following example A=matrix(RR,[[1,2,0,-1],[1,6,0,1],[1,-2,2,8]]) represents \(3\times 4\) matrix \(A\) over \(\R\text{.}\) The entries [1,2,0,-1], [1,6,0,1], and [1,-2,2,8] represents the first, the second, and the third row of \(A\text{,}\) respectively.
You may input the matrix of your choice (you can change the number of rows, and column) to get row reduced echelon form. Please first do the calculations yourself and then verify using SageMath.
In the following SageMath can compute the solution of the system \(AX=Y\text{.}\) You may change (on this page itself!) \(A\) and \(Y\) appropriately.
In the following we can reduced the augmented matrix \([A|v]\) to row reduced echelon form. You may change (on this page itself!) \(A\) and \(v\) appropriately.
www.sagemath.org/