When using cofactor expansion, the sign of the term aija_{ij}aij is determined by:
(−1)i+j(-1)^{i+j}(−1)i+j
(−1)i−j(-1)^{i-j}(−1)i−j
i+ji+ji+j
i×ji \times ji×j