blob: 5bdfc325f66101d7dc7a8e703542e3e5fbedda81 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
//Example (pg no.133)
A=[1 1;0 1]
inv(A)
B=[1 0;1 1]
inv(B)
A*B
inv(A*B)
inv(A)*inv(B)
//inv(A*B)=inv(B)*inv(A)
inv(B)*inv(A)
//Hence inv(A)*inv(B) = inv(A)*inv(B)
I=eye(3,3)
C=(A*B)*(inv(A)*inv(B))
//C!=I
//so, inv(A)*inv(B) cannot be the inverse of (A*B)
|