Výpočet determinantu - cvičení (str. 42/cv. 3)
a)
| (%i1) | M:matrix([3,1,-2],[0,4,-5],[0,3,7]); |
| (%i2) | determinant(M); |
| (%i3) | A:submatrix(2,3,M,2,3); B:submatrix(1,M,1); |
| (%i5) | determinant(A); determinant(B); |
| (%i7) | determinant(A)*determinant(B); |
b)
| (%i8) | M:matrix([1,2,-2,5],[-3,1,0,-5],[0,0,1,3],[0,0,2,-2]); |
| (%i9) | determinant(M); |
| (%i10) | A:submatrix(3,4,M,3,4); B:submatrix(1,2,M,1,2); |
| (%i12) | determinant(A); determinant(B); |
| (%i14) | determinant(A)*determinant(B); |
c)
| (%i15) | M:matrix([5,-1,0,0],[2,5,0,0],[2,4,4,-2],[3,-2,9,-5]); |
| (%i16) | determinant(M); |
| (%i17) | A:submatrix(3,4,M,3,4); B:submatrix(1,2,M,1,2); |
| (%i19) | determinant(A); determinant(B); |
| (%i21) | determinant(A)*determinant(B); |
Str. 42/cv. 4:
Určete, pro která x je daná matice regulární:
| (%i22) | load(fourier_elim); |
a)
| (%i23) | A:matrix([x,4],[3,x+1]); |
| (%i24) | regularni:expand(determinant(A))#0; |
| (%i25) | fourier_elim(regularni,[x]); |
| (%i26) | singularni:expand(determinant(A))=0; |
| (%i27) | solve(singularni,x); |
b)
| (%i28) | B:matrix([x,x],[x,5]); |
| (%i29) | regularni:expand(determinant(B))#0; |
| (%i30) | fourier_elim(regularni,[x]); |
| (%i31) | singularni:expand(determinant(B))=0; |
| (%i32) | solve(singularni,x); |
c)
| (%i33) | C:matrix([x,1,3],[0,x,2],[2,1,4]); |
| (%i34) | regularni:expand(determinant(C))#0; |
| (%i35) | fourier_elim(regularni,[x]); |
| (%i36) | singularni:expand(determinant(C))=0; |
| (%i37) | solve(singularni,x); |
d)
| (%i38) | D:matrix([1,0,x],[2,1,1],[x,0,x]); |
| (%i39) | regularni:expand(determinant(D))#0; |
| (%i40) | fourier_elim(regularni,[x]); |
| (%i41) | singularni:expand(determinant(D))=0; |
| (%i42) | solve(singularni,x); |