Sponsored links: Algebra eBooks
 

Related

addcol-bfloat-echelon-fpprec-fpprintprec-load-matrix-rowop

load(linearalgebra);

fpprec:4;

fpprintprec:fpprec;

Calculate

addcol-echelon-ident-matrix-transpose

a:matrix([0,1,0,-2],[...

b:transpose(a);

c:addcol(b,ident(4));

Calculate

addcol-echelon-ident-matrix-transpose

a:matrix([0,0,1,0],[1...

b:transpose(a);

c:addcol(b,ident(4));

Calculate

addcol-define-diff-eigenvectors-exp-ident-integrate-invert-matrix-nullity-nullspace-ratsimp

A:matrix([10, 4, 13],...

b(t):=matrix([t],[0]...

X(t) := matrix([x1(t...

Calculate

addcol-addrow-cos-matrix-sin

r1: matrix([1, 0, 0],...

M: r1;

M: addrow(M, [0,0,0]);

Calculate

addcol-addrow-col-length-matrix-matrixp-rest-row-transpose

a : matrix([-3, 4, 5,...

n : length(a);

t : matrix([1/a[1, 1]]);

Calculate

addcol-echelon-ident-matrix-transpose

a:matrix([1,1,-2,5],[...

b:transpose(a);

c:addcol(b,ident(4));

Calculate

addcol-determinant-matrix-transpose

v1:[1,2,0,1];

m:matrix(v1);

mt:transpose(m);

Calculate

addcol-matrix-row-transpose

m:matrix([1,2,0,1]);

n:transpose(m);

nm:addcol(n,[x,y,z,t]);

Calculate

addcol-echelon-ident-matrix

a:matrix([2,3,1],[-1,...

b:addcol(a,ident(3));

echelon(b);

Calculate

addcol

Run Example
(%i1)eq1:x=lambda;
(%o1)                             x = lambda
(%i2) eq2:y=lambda+mu;
(%o2)                           y = lambda + mu
(%i3) eq3:z=gamma;
(%o3)                              z = gamma
(%i4) eq4:t=mu;
(%o4)                               t = mu
(%i5) ma:coefmatrix([eq1,eq2,eq3,eq4],[lambda,mu,gamma]);
                               [ - 1   0    0  ]
                               [               ]
                               [ - 1  - 1   0  ]
(%o5)                          [               ]
                               [  0    0   - 1 ]
                               [               ]
                               [  0   - 1   0  ]
(%i6) rank(ma);
(%o6)                                  3
(%i7) transpose(ma);
                            [ - 1  - 1   0    0  ]
                            [                    ]
(%o7)                       [  0   - 1   0   - 1 ]
                            [                    ]
                            [  0    0   - 1   0  ]
(%i8) newma:addcol(ma,[x,y,z,t]);
                             [ - 1   0    0   x ]
                             [                  ]
                             [ - 1  - 1   0   y ]
(%o8)                        [                  ]
                             [  0    0   - 1  z ]
                             [                  ]
                             [  0   - 1   0   t ]
(%i9) determinant:(ma);
                               [ - 1   0    0  ]
                               [               ]
                               [ - 1  - 1   0  ]
(%o9)                          [               ]
                               [  0    0   - 1 ]
                               [               ]
                               [  0   - 1   0  ]
(%i10) 
Run Example
v1:[19,8];
(%o1)                               [19, 8]
(%i2) t1:transpose(v1);
                                    [ 19 ]
(%o2)                               [    ]
                                    [ 8  ]
(%i3) v2:[5,12];
(%o3)                               [5, 12]
(%i4) t2:transpose(v2);
                                    [ 5  ]
(%o4)                               [    ]
                                    [ 12 ]
(%i5) v3:[x,y];
(%o5)                               [x, y]
(%i6) v4:[z,t];
(%o6)                               [z, t]
(%i7) m:matrix(v3,v4);
                                   [ x  y ]
(%o7)                              [      ]
                                   [ z  t ]
(%i8) m1:m . t1;
                                [ 8 y + 19 x ]
(%o8)                           [            ]
                                [ 19 z + 8 t ]
(%i9) m2:m . t2;
                                [ 12 y + 5 x ]
(%o9)                           [            ]
                                [ 5 z + 12 t ]
(%i10) addcol(m1,[1156,-203]);
                             [ 8 y + 19 x  1156  ]
(%o10)                       [                   ]
                             [ 19 z + 8 t  - 203 ]
(%i11) addcol(m2,[624,-84]);
                             [ 12 y + 5 x  624  ]
(%o11)                       [                  ]
                             [ 5 z + 12 t  - 84 ]
(%i12) eq1:8*y+19*x=1156;
(%o12)                         8 y + 19 x = 1156
(%i13) eq2:19*z+8*t=-203;
(%o13)                        19 z + 8 t = - 203
(%i14) eq3:12*y+5*x=624;
(%o14)                         12 y + 5 x = 624
(%i15) eq4:5*z+12*t=-84 ;
(%o15)                         5 z + 12 t = - 84
(%i16) linsolve([eq1,eq2,eq3,eq4],[x,y,z,t]);
                       2220      1519        441        581
(%o16)            [x = ----, y = ----, z = - ---, t = - ---]
                        47        47         47         188
(%i17) v5:[2220/47,1519/47];
                                  2220  1519
(%o17)                           [----, ----]
                                   47    47
(%i18) v6:[-441/47,-581/188];
                                   441    581
(%o18)                          [- ---, - ---]
                                   47     188
(%i19) m3:matrix(v5,v6);
                               [ 2220   1519  ]
                               [ ----   ----  ]
                               [  47     47   ]
(%o19)                         [              ]
                               [   441    581 ]
                               [ - ---  - --- ]
                               [   47     188 ]
(%i20) invert(m3);
                              [    83     217  ]
                              [ - ----  - ---- ]
                              [   4224    1056 ]
(%o20)                        [                ]
                              [  21      185   ]
                              [  ---     ---   ]
                              [  352     616   ]
(%i21) 
Run Example
eq1:x=lambda+alfa+beta;
(%o1)                      x = lambda + beta + alfa
(%i2) eq2:y=lambda-alfa+3*beta;
(%o2)                     y = lambda + 3 beta - alfa
(%i3) eq3:z=lambda+2*alfa;
(%o3)                         z = lambda + 2 alfa
(%i4) eq4:t=2*lambda+3*alfa+beta;
(%o4)                    t = 2 lambda + beta + 3 alfa
(%i5) m:matrizasociada:coefmatrix([eq1,eq2,eq3,eq4],[lambda,alfa,beta]);
                               [ - 1  - 1  - 1 ]
                               [               ]
                               [ - 1   1   - 3 ]
(%o5)                          [               ]
                               [ - 1  - 2   0  ]
                               [               ]
                               [ - 2  - 3  - 1 ]
(%i6) rank(m);
(%o6)                                  2
(%i7) transpose(m);
                            [ - 1  - 1  - 1  - 2 ]
                            [                    ]
(%o7)                       [ - 1   1   - 2  - 3 ]
                            [                    ]
                            [ - 1  - 3   0   - 1 ]
(%i8) n:addcol(matrizasociada,[x,y,z,t]);
                             [ - 1  - 1  - 1  x ]
                             [                  ]
                             [ - 1   1   - 3  y ]
(%o8)                        [                  ]
                             [ - 1  - 2   0   z ]
                             [                  ]
                             [ - 2  - 3  - 1  t ]
(%i9) determinant(n);
(%o9)              - 3 (3 z - 2 t) + 3 (2 z - t) + 3 z - 3 t
(%i10) 
[abs,addcol,addrow,floor,fullmap,matrix,mod,transpose] [addcol,addrow,block,col,do,length,matrix,matrixp,rest,row,transpose] [addcol,addrow,cos,invert,matrix,sin,transpose] [addcol,addrow,cos,matrix,sin] [addcol,addrow,diff,do,ev,genmatrix,invert,kill,load,matrix,plot2d,romberg,sqrt,submatrix] [addcol,addrow,diff,ev,genmatrix,invert,kill,length,linsolve,lmax,lmin,load,matrix,plot2d,romberg,sqrt,submatrix] [addcol,addrow,diff,ev,genmatrix,invert,kill,length,lmax,lmin,load,matrix,plot2d,print,romberg,sqrt,submatrix] [addcol,addrow,diff,ev,genmatrix,invert,kill,length,lmax,lmin,load,matrix,plot2d,romberg,sqrt,submatrix] [addcol,addrow,diff,ev,genmatrix,invert,kill,length,load,matrix,plot2d,romberg,sqrt,submatrix] [addcol,addrow,hessian] [addcol,addrow,invert,matrix,transpose] [addcol,beta,coefmatrix,determinant,echelon,gamma,lambda,rank,row] [addcol,beta,coefmatrix,determinant,echelon,linsolve,rank,transpose] [addcol,beta,coefmatrix,determinant,echelon,rank,row,transpose] [addcol,beta,coefmatrix,determinant,echelon,rank,row] [addcol,beta,coefmatrix,determinant,echelon,rank,transpose] [addcol,beta,coefmatrix,determinant,expand,rank,transpose] [addcol,beta,coefmatrix,determinant,rank,solve,transpose] [addcol,beta,coefmatrix,determinant,rank,transpose] [addcol,beta,coefmatrix,echelon,rank,row,transpose] [addcol,beta,coefmatrix,echelon,rank,transpose] [addcol,beta,coefmatrix,rank,transpose] [addcol,bfloat,echelon,fpprec,fpprintprec,load,matrix,rowop] [addcol,coefmatrix,determinant,echelon,gamma,lambda,matrix,rank,row,transpose] [addcol,coefmatrix,determinant,echelon,gamma,lambda,rank,row] [addcol,coefmatrix,determinant,echelon,gamma,lambda,rank,transpose] [addcol,coefmatrix,determinant,gamma,lambda,rank,transpose] [addcol,coefmatrix,determinant,lambda] [addcol,coefmatrix,determinant,rank,transpose] [addcol,coefmatrix,gamma,lambda,rank,transpose] [addcol,coefmatrix,lambda] [addcol,col,define,diff,do,eigenvectors,exp,ident,invert,matrix,nullity,nullspace,ratsimp] [addcol,col,define,diff,do,eigenvectors,exp,ident,matrix,nullity,nullspace] [addcol,define,determinant,diff,eigenvectors,exp,imagpart,integrate,invert,matrix,ratsimp,realpart,trigreduce,trigsimp] [addcol,define,determinant,eigenvectors,exp,imagpart,matrix,realpart,trigreduce] [addcol,define,diff,eigenvectors,exp,function,ident,integrate,invert,load,matrix,nullity,nullspace,psi,ratsimp] [addcol,define,eigenvectors,exp,ident,integrate,invert,matrix,nullity,nullspace,ratsimp] [addcol,determinant,matrix,transpose] [addcol,determinant,matrix] [addcol,echelon,float,matrix,rowop] [addcol,echelon,ident,matrix,transpose] [addcol,echelon,ident,matrix] [addcol,echelon,load,matrix,rowop] [addcol,echelon,matrix,numer,rowop] [addcol,echelon,matrix,transpose] [addcol,invert,linsolve,matrix,transpose] [addcol,length,makelist,matrix,triangularize] [addcol,matrix,transpose] [addcol,matrix] [addcol]

Related Help

Help for Addcol