By the Cayley–Hamilton theorem, f ( A ) = 0 = g ( − B ) {\displaystyle f(A)=0=g(-B)} ; hence g ( A ) q ( A ) = I {\displaystyle g(A)q(A)=I} .
依照Cayley–Hamilton定理， f ( A ) = 0 = g ( − B ) {\displaystyle f(A)=0=g(-B)} ；因此 g ( A ) q ( A ) = I {\displaystyle g(A)q(A)=I} 。