Basic Examples 
(4)
 

Find the matrix of cofactors of an input matrix:
In[1]:=
[◼]
CofactorMatrix
[{{3,2,5},{4,3,-1},{2,3,4}}]
Out[1]=
{{15,-18,6},{7,2,-5},{-17,23,1}}
———
The identity matrix is equal to its own cofactor matrix:
In[7]:=
[◼]
CofactorMatrix
[{{1,0},{0,1}}]
Out[7]=
{{1,0},{0,1}}
———
Find the matrix of cofactors of another matrix:
In[3]:=
[◼]
CofactorMatrix
[{{3,0,2},{2,0,-2},{0,1,1}}]
Out[3]=
{{2,-2,2},{2,3,-3},{0,10,0}}
———
Find the cofactor matrix of a matrix having symbolic elements:
In[4]:=
[◼]
CofactorMatrix
[{{1,1,1},{a^2,a,1},{b^2,b,1}}]
Out[4]=
{{a-b,-
2
a
+
2
b
,
2
a
b-a
2
b
},{-1+b,1-
2
b
,-b+
2
b
},{1-a,-1+
2
a
,a-
2
a
}}

Scope 
(1)
 


Properties and Relations 
(1)
 
