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