Anmol Singhla Q-1, MC Lab
Anmol Singhla Q-1, MC Lab
wxmx 1 / 4
M1: matrix([1,2,3],[2,0,−1],[3,1,1]);
1 2 3
2 0 −1
3 1 1
M1;
1 2 3
2 0 −1
3 1 1
inv: invert(M1);
1 1 2
− −
3 3 3
5 8 7
−
3 3 3
2 5 4
− −
3 3 3
tr: transpose(M1);
1 2 3
2 0 1
3 −1 1
adj: adjoint[M1];
adjoint
1 2 3
2 0 −1
3 1 1
M2: matrix([5,6,7],[8,9,0],[3,2,1])
;
5 6 7
8 9 0
3 2 1
Anmol Singhla Q-1,MC Lab.wxmx 2 / 4
M1+M2;
6 8 10
10 9 − 1
6 3 2
M1·M2;
5 12 21
16 0 0
9 2 1
minorM1[1,2];
minorM1
1,2
E:echelon(M1);
1
1 0 −
2
7
0 1
4
0 0 1
D:determinant(M1);
−3
M1[2,3]:10;
10
M1: addcol(M1,[10,20,30]);
1 2 3 10
2 0 10 20
3 1 1 30
Anmol Singhla Q-1,MC Lab.wxmx 3 / 4
M1;
1 2 3 10
2 0 10 20
3 1 1 30
Z:minor(M1,1,2);
2 10 20
3 1 30
M:matrix([2,3,4],[5,6,7],[8,9,0]);
2 3 4
5 6 7
8 9 0
C11:(−1)^(1+1)·determinant(minor(M,1,1));
C12:(−1)^(1+2)·determinant(minor(M,1,2));
C13:(−1)^(1+3)·determinant(minor(M,1,3));
C21:(−1)^(2+1)·determinant(minor(M,2,1));
C22:(−1)^(2+2)·determinant(minor(M,2,2));
C23:(−1)^(2+3)·determinant(minor(M,2,3));
C31:(−1)^(3+1)·determinant(minor(M,3,1));
C32:(−1)^(3+2)·determinant(minor(M,3,2));
C33:(−1)^(3+3)·determinant(minor(M,3,3));
− 63 56 −3 36 − 32 6
−3 6 −3
Cof_M:matrix([C11,C12,C13],[C21,C22,C23],[C31,C32,C33]);
− 63 56 −3
36 − 32 6
−3 6 −3
Anmol Singhla Q-1,MC Lab.wxmx 4 / 4
M11:determinant(minor(M,1,1));
M12:determinant(minor(M,1,2));
M13:determinant(minor(M,1,3));
M21:determinant(minor(M,2,1));
M22:determinant(minor(M,2,2));
M23:determinant(minor(M,2,3));
M31:determinant(minor(M,3,1));
M32:determinant(minor(M,3,2));
M33:determinant(minor(M,3,3));
− 63 − 56 −3 − 36 − 32 −6
−3 −6 −3
Minor_N:matrix([M11,M12,M13],[M21,M22,M23],[M31,M32,M33]);
− 63 − 56 − 3
− 36 − 32 − 6
−3 −6 −3