Why doesn't it work? Because the matrix is singular? The adjoint is the transpose of the matrix of cofactors. The cofactors of A are given by c[i,j=(-1)^(i+j)*|A|. If A is singular then |A|=0, and all the cofactors are zero. So it's just a matrix of zeros. Richard