Sponsored links: Algebra eBooks
 

Related

triangularize

triangularize ([2+12*...

Calculate

triangularize

? triangularize;

Calculate

triangularize

triangularize([1,1,1,...

Calculate

triangularize

triangularize ([3, 7,...

Calculate

triangularize

triangularize ([2+12*...

Calculate

triangularize

triangularize([1,1,1,...

Calculate

triangularize

triangularize([{10,9,...

Calculate

triangularize

triangularize([1,1,1,...

Calculate

triangularize

triangularize ([2+12*...

Calculate

triangularize

? triangularize;

Calculate

triangularize

Run Example
(%i1)M: matrix ([1, 3, 6], [-3, -5, -6], [3, 3, 4]);
                               [  1    3    6  ]
                               [               ]
(%o1)                          [ - 3  - 5  - 6 ]
                               [               ]
                               [  3    3    4  ]
(%i2)  triangularize (M);
                                 [ 1  3  6  ]
                                 [          ]
(%o2)                            [ 0  4  12 ]
                                 [          ]
                                 [ 0  0  16 ]
(%i3) 
Run Example
p: c[1]*x+c[0];
(%o1)                              c  x + c
                                    1      0
(%i2) l1: [0,1,2,3];
(%o2)                            [0, 1, 2, 3]
(%i3) l2: [0,1,3,2];
(%o3)                            [0, 1, 3, 2]
(%i4) eqlist: makelist(subst([x=l1[ii]],p)-l2[ii],ii,1,4);
(%o4)           [c , c  + c  - 1, 2 c  + c  - 3, 3 c  + c  - 2]
                  0   1    0         1    0         1    0
(%i5) m: augcoefmatrix(eqlist,[c[0],c[1]]);
                                 [ 1  0   0  ]
                                 [           ]
                                 [ 1  1  - 1 ]
(%o5)                            [           ]
                                 [ 1  2  - 3 ]
                                 [           ]
                                 [ 1  3  - 2 ]
(%i6) m: triangularize(m);
                                 [ 1  0   0  ]
                                 [           ]
                                 [ 0  1  - 1 ]
(%o6)                            [           ]
                                 [ 0  0  - 1 ]
                                 [           ]
                                 [ 0  0   0  ]
(%i7) 
Run Example
m: matrix([1,2,3,4],[0,5,6,7],[0,1,1,1],[0,0,0,8],[0,0,0,9]);
                                [ 1  2  3  4 ]
                                [            ]
                                [ 0  5  6  7 ]
                                [            ]
(%o1)                           [ 0  1  1  1 ]
                                [            ]
                                [ 0  0  0  8 ]
                                [            ]
                                [ 0  0  0  9 ]
(%i2) rank(m);
(%o2)                                  4
(%i3) triangularize(m);
                              [ 1  2   3    4  ]
                              [                ]
                              [ 0  5   6    7  ]
                              [                ]
(%o3)                         [ 0  0  - 1  - 2 ]
                              [                ]
                              [ 0  0   0   - 8 ]
                              [                ]
                              [ 0  0   0    0  ]
(%i4) 

Related Help

Help for Triangularize