Post · 4 min read· pp. 574–576

What Is the Adjugate of a Matrix?

The adjugate of an n×nn\times n matrix AA is defined by

adj(A)=((−1)i+jdet⁡(Aji)),\mathrm{adj}(A) = \bigl( (-1)^{i+j} \det(A_{ji}) \bigr),

where ApqA_{pq} denotes the submatrix of AA obtained by deleting row pp and column qq. It is the transposed matrix of cofactors. The adjugate is sometimes called the (classical) adjoint and is sometimes written as AAA^\mathrm{A}.

The adjugate satisfies

Aadj(A)=adj(A)A=det⁡(A)I,A \mathrm{adj}(A) = \mathrm{adj}(A) A = \det(A)I,

so for nonsingular AA,

adj(A)=det⁡(A)A−1,\mathrm{adj}(A) = \det(A) A^{-1},

and this equation is often used to give a formula for A−1A^{-1} in terms of determinants.

Since the adjugate is a scalar multiple of the inverse, we would expect it to share some properties of the inverse. Indeed we have

adj(AB)=adj(B)adj(A),adj(A∗)=adj(A)∗.\begin{aligned} \mathrm{adj}(AB) &= \mathrm{adj}(B) \mathrm{adj}(A),\\ \mathrm{adj}(A^*) &= \mathrm{adj}(A)^*. \end{aligned}

These properties can be proved by first assuming the matrices are nonsingular—in which case they follow from properties of the determinant and the inverse—and then using continuity of the entries of adj(A)\mathrm{adj}(A) and the fact that every matrix is the limit of a sequence of nonsingular matrices. Another property that can be proved in a similar way is

adj(adj(A))=(det⁡A)n−2A.\mathrm{adj}\bigl(\mathrm{adj}(A)\bigr) = (\det A)^{n-2} A.

If AA has rank n−2n-2 or less then adj(A)\mathrm{adj}(A) is just the zero matrix. Indeed in this case every (n−1)×(n−1)(n-1)\times(n-1) submatrix of AA is singular, so det⁡(Aji)≡0\det(A_{ji}) \equiv 0 in the definition of adj(A)\mathrm{adj}(A). In particular, adj(0)=0\mathrm{adj}(0) = 0 and adj(xy∗)=0\mathrm{adj}(xy^*) = 0 for any rank-1 matrix xy∗xy^*

Less obviously, if rank(A)=n−1\mathrm{rank}(A) = n-1 then adj(A)\mathrm{adj}(A) has rank 1. This can be seen from the formula below that expresses the adjugate in terms of the singular value decomposition (SVD).

If x,y∈Cnx,y\in\mathbb{C}^n, then for nonsingular AA,

det⁡(A+xy∗)=det⁡(A(I+A−1xy∗))=det⁡(A)det⁡(I+A−1xy∗)=det⁡(A)(1+y∗A−1x)=det⁡(A)+y∗(det⁡(A)A−1)x=det⁡(A)+y∗adj(A)x.\begin{aligned} \det(A + xy^*) &= \det\bigl( A(I + A^{-1}x y^*) \bigr)\\ &= \det(A) \det( I + A^{-1}x y^*)\\ &= \det(A) (1+ y^*A^{-1}x)\\ &= \det(A) + y^* (\det(A)A^{-1})x\\ &= \det(A) + y^* \mathrm{adj}(A)x. \end{aligned}

Again it follows by continuity that for any AA,

det⁡(A+xy∗)=det⁡(A)+y∗adj(A)x.\det(A + xy^*) = \det(A) + y^* \mathrm{adj}(A)x.

This expression is useful when we need to deal with a rank-1 perturbation to a singular matrix. A related identity is

det⁡([Axy∗α])=αdet⁡(A)−y∗adj(A)x.\det\left( \begin{bmatrix} A & x \\ y^* & \alpha \\ \end{bmatrix}\right) = \alpha \det(A) - y^* \mathrm{adj}(A) x.

Let A=UΣV∗A = U\Sigma V^* be an SVD, where UU and VV are unitary and Σ=diag(σi)\Sigma = \mathrm{diag}(\sigma_i), with σ1≥σ2≥⋯≥σn≥0\sigma_1 \ge \sigma_2 \ge \cdots \ge \sigma_n \ge 0. Then

adj(A)=adj(V∗)adj(Σ)adj(U)=adj(V)∗adj(Σ)adj(U).\mathrm{adj}(A) = \mathrm{adj}(V^*) \mathrm{adj}(\Sigma) \mathrm{adj}(U) = \mathrm{adj}(V)^* \mathrm{adj}(\Sigma) \mathrm{adj}(U).

It is easy to see that D=adj(Σ)D = \mathrm{adj}(\Sigma) is diagonal, with

dkk=∏i=1i≠knσi.d_{kk} = \displaystyle\prod_{i=1\atop i\ne k }^n \sigma_i.

Since UU and VV are unitary and hence nonsingular,

adj(A)=adj(V)∗adj(Σ)adj(U)=det⁡(V)‾V−∗adj(Σ)det⁡(U)U−1=det⁡(V)‾Vadj(Σ)det⁡(U)U∗=det⁡(V)‾det⁡(U)⋅Vadj(Σ)U∗.\begin{aligned} \mathrm{adj}(A) &= \mathrm{adj}(V)^* \mathrm{adj}(\Sigma) \mathrm{adj}(U)\\ &= \overline{\det(V)} V^{-*} \mathrm{adj}(\Sigma) \det(U) U^{-1}\\ &= \overline{\det(V)} V \mathrm{adj}(\Sigma) \det(U) U^*\\ &= \overline{\det(V)} \det(U) \cdot V \mathrm{adj}(\Sigma) U^*. \end{aligned}

If rank(A)=n−1\mathrm{rank}(A) = n-1 then σn=0\sigma_n = 0 and so

adj(A)=ρ σ1σ2⋯σn−1vnun∗,\mathrm{adj}(A) = \rho\, \sigma_1 \sigma_2 \cdots \sigma_{n-1}v_n^{} u_n^*,

where ρ=det⁡(V)‾det⁡(U)\rho = \overline{\det(V)} \det(U) has modulus 11 and vnv_n and unu_n are the last columns of VV and UU, respectively.

The definition of adj(A)\mathrm{adj}(A) does not provide a good means for computing it, because the determinant computations are prohibitively expensive. The following MATLAB function (which is very similar to the function adjoint in the Symbolic Math Toolbox) uses the SVD formula.

text
function X = adj(A)
%ADJ     Adjugate of a matrix.
%   X = ADJ(A) computes the adjugate of the square matrix A via
%   the singular value decomposition.

n = length(A);
[U,S,V] = svd(A);
D = zeros(n);
for i=1:n
    d = diag(S);
    d(i) = 1;
    D(i,i) = prod(d);
end
X = conj(det(V))*det(U)*V*D*U';

Note that, in common with most SVD codes, the svd function does not return det⁡(U)\det(U) and det⁡(V)\det(V), so we must compute them. This function is numerically stable, as shown by Stewart (1998).

Finally, we note that Richter (1954) and Mirsky (1956) obtained the Frobenius norm bound

∥adj(A)∥F≤∥A∥Fn−1n(n−2)/2.\|\mathrm{adj}(A) \|_F \le \displaystyle\frac{ \|A\|_F^{n-1} }{ n^{(n-2)/2} }.

References

This is a minimal set of references, which contain further useful references within.

This article is part of the “What Is” series, available from https://nhigham.com/category/what-is and in PDF form from the GitHub repository https://github.com/higham/what-is.

Update (August 10, 2020): added the second displayed equation.