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