Sponsored links: Algebra eBooks
 

Help Index

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z

The Maxima on-line user's manual

Algebra Calculator

Search:

Echelon Calculator

Echelon

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.

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);

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) 

Echelon Example

Related Examples

echelon-matrix

M: matrix ([3, 7, aa,...

echelon (M);

Calculate

echelon-expand-factor-matrix-rank-solve

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);

Calculate

echelon-matrix

M: matrix( [1, 1, 1,...

echelon(M);

Calculate

echelon-matrix

m: matrix ([.04, 0, 0...

echelon (m);

Calculate

echelon-matrix

echelon(matrix( [1, ...

Calculate

echelon-matrix

m: matrix ([3, 7, aa,...

echelon (m);

Calculate

echelon-eliminate-matrix-triangularize

eqlist: [lu-lt-l,2*lu...

eliminate(eqlist,[lu]);

m: matrix([0,-1,1,-1]...

Calculate

echelon-eliminate-matrix-triangularize

eqlist: [lu-lt-l,2*lu...

eliminate(eqlist,[lu]);

m: matrix([0,-1,1,-1]...

Calculate

echelon-matrix

m: matrix ([.04, 0, 0...

echelon (m);

Calculate