A cofactor is a non-protein chemical compound or metallic ion that is required for an enzyme's catalytic activity. In the context of solving systems of equations using determinants, a cofactor is a minor determinant that is used to calculate the value of the original determinant.