Sponsored links: Algebra eBooks
 

Related

triangularize

triangularize([0,1,1]...

Calculate

triangularize

triangularize([2+12*x...

Calculate

triangularize

triangularize([3,1,1]...

Calculate

triangularize

triangularize([0,1,1]...

Calculate

triangularize

triangularize([1,0,0]...

Calculate

triangularize

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

Calculate

triangularize

triangularize ([3, 7,...

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
A:matrix([4,3,-2],[-1,-1,3],[2,-1,5]);
                               [  4    3   - 2 ]
                               [               ]
(%o1)                          [ - 1  - 1   3  ]
                               [               ]
                               [  2   - 1   5  ]
(%i2) triangularize(A);
                                [ 4   3   - 2 ]
                                [             ]
(%o2)                           [ 0  - 1  10  ]
                                [             ]
                                [ 0   0   19  ]
(%i3) 

Related Help

Help for Triangularize