Online Algebra Calculator
Many of users do not use powerful Maxima computer algebra system for systematic work, but for ad hoc algebraic calculations – equations, functions, matrixes, etc. only. To do this job, it is not useful to download the whole application from a web site.
Function: echelon (<M>) Returns the echelon form of the matrix <M>, as produced by Gaussian elimination. The echelon form is computed from <M> by elementary row operations such that the first non-zero element in each row in the resulting matrix is one and the column elements under the first one in each row are all zero.
![Echelon Example eqlist: [lu-lt-l,2*lu-lx-l,lu-3*lx-l];
eliminate(eqlist,[lx]);
m: matrix([0,-1,1,-1],[-1,0,-2,-1],[-3,0,1,-1]);
triangularize(m);
echelon(m);](http://maxima-online.org//plot.html?g=i-364994913.png&t=img&db=r-1455766369)
triangularize also carries out Gaussian elimination, but it does not normalize the leading non-zero element in each row.
lu_factor and cholesky are other functions which yield triangularized matrices.
(%i1) M: matrix ([3, 7, aa, bb], [-1, 8, 5, 2], [9, 2, 11, 4]);
[ 3 7 aa bb ]
[ ]
(%o1) [ - 1 8 5 2 ]
[ ]
[ 9 2 11 4 ]
(%i2) echelon (M);
[ 1 - 8 - 5 - 2 ]
[ ]
[ 28 11 ]
[ 0 1 -- -- ]
(%o2) [ 37 37 ]
[ ]
[ 37 bb - 119 ]
[ 0 0 1 ----------- ]
[ 37 aa - 313 ](%o1) true (%i2)
solve(a*x^2+b*x+c=0,a);
solve(a*x^2+b*x+c=0,b);
solve(a*x^2+b*x+c=0,x);
eqlist: [lu-lt-l,2*lu...
eliminate(eqlist,[lu]);
m: matrix([0,-1,1,-1]...
eqlist: [lu-lt-l,2*lu...
eliminate(eqlist,[lu]);
m: matrix([0,-1,1,-1]...