I suppose K is the matrix
To compute det(K), you can use a simple cofactor expansion along the first row:
5.7m questions
7.4m answers