Maths WorkshopMaths problems with full solutions
Exercise 1428Topology › Topology of Mn(ℝ) › Continuity of matrix mapsL3Added 7 Nov 2026

The derivative of the determinant (Jacobi's formula)

#derivative of determinant#Jacobi formula#adjugate#density

Statement

Show that ddtdet⁡(I+tB)∣t=0=tr⁡B\frac d{dt}\det(I+tB)\big|_{t=0}=\operatorname{tr}B, and more generally ddtdet⁡(A+tB)∣t=0=tr⁡(adj⁡(A) B)\frac d{dt}\det(A+tB)\big|_{t=0}=\operatorname{tr}(\operatorname{adj}(A)\,B) for all A,B∈Mn(R)A,B\in M_n(\mathbb{R}).

Hint

Expand det⁡(I+tB)\det(I+tB) with the Leibniz formula and keep only the terms of order ≤1\le1 in tt.

For general AA, first treat the invertible case, then use density of GLnGL_n.

Show solutionHide solution

Solution

Idea. The determinant is a polynomial in tt; its linear coefficient is read off from the identity permutation. Jacobi's formula follows by factoring out AA, and extends to singular AA because both sides are continuous in AA.

Step 1: A=IA=I. By Leibniz,
det⁡(I+tB)=∑σsgn⁡(σ)∏i=1n(δiσ(i)+tbiσ(i)).\det(I+tB)=\sum_\sigma\operatorname{sgn}(\sigma)\prod_{i=1}^n(\delta_{i\sigma(i)}+tb_{i\sigma(i)}).
For σ≠id\sigma\ne\mathrm{id}, at least two indices have σ(i)≠i\sigma(i)\ne i, so the product contains at least two factors tbiσ(i)tb_{i\sigma(i)}: the term is O(t2)O(t^2). For σ=id\sigma=\mathrm{id}, ∏i(1+tbii)=1+t∑ibii+O(t2)\prod_i(1+tb_{ii})=1+t\sum_ib_{ii}+O(t^2). Hence
det⁡(I+tB)=1+ttr⁡B+O(t2),\det(I+tB)=1+t\operatorname{tr}B+O(t^2),
and the derivative at 00 is tr⁡B\operatorname{tr}B.

Step 2: AA invertible. A+tB=A(I+tA−1B)A+tB=A(I+tA^{-1}B), so
det⁡(A+tB)=det⁡A⋅det⁡(I+tA−1B)=det⁡A (1+ttr⁡(A−1B)+O(t2)).\det(A+tB)=\det A\cdot\det(I+tA^{-1}B)=\det A\,\big(1+t\operatorname{tr}(A^{-1}B)+O(t^2)\big).
The derivative at 00 is det⁡Atr⁡(A−1B)=tr⁡(det⁡A⋅A−1B)=tr⁡(adj⁡(A)B)\det A\operatorname{tr}(A^{-1}B)=\operatorname{tr}\big(\det A\cdot A^{-1}B\big)=\operatorname{tr}(\operatorname{adj}(A)B), because adj⁡A=det⁡A⋅A−1\operatorname{adj}A=\det A\cdot A^{-1}.

Step 3: all AA. Fix BB. Both sides D(A):=ddtdet⁡(A+tB)∣0D(A):=\frac d{dt}\det(A+tB)|_{0} and tr⁡(adj⁡(A)B)\operatorname{tr}(\operatorname{adj}(A)B) are polynomial in the entries of AA (the first because det⁡(A+tB)\det(A+tB) is a polynomial in tt and the entries, and its tt-coefficient is then polynomial in AA). They agree on the dense set GLnGL_n (Part 2) and are continuous, so they agree everywhere.

Numeric check. For random 3×33\times3 matrices, the difference quotient at t=10−6t=10^{-6} gave 3.244293.24429 against tr⁡(adj⁡(A)B)=3.24429\operatorname{tr}(\operatorname{adj}(A)B)=3.24429.

Remark.
- Equivalent form: ddtdet⁡A(t)=det⁡Atr⁡(A−1A′)\frac{d}{dt}\det A(t)=\det A\operatorname{tr}(A^{-1}A'), the basis of *Liouville's formula* for linear ODE.
- Taking B=IB=I: ddtdet⁡(A+tI)∣0=tr⁡adj⁡A\frac{d}{dt}\det(A+tI)|_0=\operatorname{tr}\operatorname{adj}A is the coefficient c1c_1 of the characteristic polynomial up to sign.