Let A=\sqbrkan be a square matrix of order n. Let D=\mapdetA be the determinant of A\mapdetA:=λ∑\paren\map\sgnλk=1∏nak\mapλk=λ∑\map\sgnλa1\mapλ1a2\mapλ2⋯an\mapλn where the summation λ∑ goes over all the n! permutations of {1,2,…,n}\map\sgnλ is the sign of the permutation λ. Let apq be an element of A. Let Apq be the cofactor of apq in D. Then (1):∀r∈\closedint1n:D=k=1∑narkArk(2):∀r∈\closedint1n:D=k=1∑nakrAkr Thus the value of a determinant can be found either by multiplying all the elements in a row by their cofactors and adding up the products or multiplying all the elements in a column by their cofactors and adding up the products. The identity D=k=1∑narkArk is known as the '''expansion of D in terms of row r''', while D=k=1∑nakrAkr is known as the '''expansion of D in terms of column r'''.