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