ArticleslgStudy

science

Jacobi's formula

Jacobi's formula is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Jacobi's formula rather than just read about it. In short: In matrix calculus, Jacobi's formula expresses the derivative of the determinant of a matrix A in terms of the adjugate of A and the derivative of A. If A is a differentiable map from the real numbers to n × n matrices, then ddtdet⁡A(t)=tr⁡(adj⁡(A(t))dA(t)dt)=(det⁡A(t))⋅tr⁡(A(t)−1⋅dA(t)dt) where tr(X) is the trace of the matrix X and adj⁡(X) is its adjugate matrix.

Key takeaways

  • Jacobi's formula belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Jacobi's formula to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Jacobi's formula from memory before moving on to harder problems.

Reference excerpt

In matrix calculus, Jacobi's formula expresses the derivative of the determinant of a matrix A in terms of the adjugate of A and the derivative of A. If A is a differentiable map from the real numbers to n × n matrices, then

ddtdet⁡A(t)=tr⁡(adj⁡(A(t))dA(t)dt)=(det⁡A(t))⋅tr⁡(A(t)−1⋅dA(t)dt) where tr(X) is the trace of the matrix X and adj⁡(X) is its adjugate matrix. (The latter equality only holds if A(t) is invertible.) As a special case,

∂det⁡(A)∂Aij=adj⁡(A)ji=adj⁡(A)ijT⟹∂det⁡(A)∂A=det⁡(A)A−T if A invertible. Equivalently, if dA stands for the differential of A, the general formula is

ddet⁡(A)=tr⁡(adj⁡(A)dA)=det⁡(A)tr⁡(A−1dA) The formula is named after the mathematician Carl Jacobi.

Derivation

Via matrix computation Theorem. (Jacobi's formula) For any differentiable map A from the real numbers to n × n matrices,

ddet⁡(A)=tr⁡(adj⁡(A)dA). Proof. Laplace's formula for the determinant of a matrix A can be stated as

det⁡(A)=∑jAijadjT(A)ij. Notice that the summation is performed over some arbitrary row i of the matrix. The determinant of A can be considered to be a function of the elements of A:

det⁡(A)=F(A11,A12,…,A21,A22,…,Ann) so that, by the chain rule, its differential is

ddet⁡(A)=∑i∑j∂F∂AijdAij. This summation is performed over all n×n elements of the matrix. To find ∂F/∂Aij consider that on the right hand side of Laplace's formula, the index i can be chosen at will. (In order to optimize calculations: Any other choice would eventually yield the same result, but it could be much harder). In particular, it can be chosen to match the first index of ∂ / ∂Aij:

∂det⁡(A)∂Aij=∂∑kAikadjT(A)ik∂Aij=∑k∂(AikadjT(A)ik)∂Aij Thus, by the product rule,

∂det⁡(A)∂Aij=∑k∂Aik∂AijadjT(A)ik+∑kAik∂adjT(A)ik∂Aij. Now, if an element of a matrix Aij and a cofactor adjT(A)ik of element Aik lie on the same row (or column), then the cofactor will not be a function of Aij, because the cofactor of Aik is expressed in terms of elements not in its own row (nor column). Thus,

∂adjT(A)ik∂Aij=0, so

∂det⁡(A)∂Aij=∑kadjT(A)ik∂Aik∂Aij. All the elements of A are independent of each other, i.e.

∂Aik∂Aij=δjk, where δ is the Kronecker delta, so

∂det⁡(A)∂Aij=∑kadjT(A)ikδjk=adjT(A)ij. Therefore,

d(det⁡(A))=∑i∑jadjT(A)ijdAij=∑j∑iadj⁡(A)jidAij=∑j(adj⁡(A)dA)jj=tr⁡(adj⁡(A)dA). ◻

Via chain rule Lemma 1. det′⁡(I)=tr, where det′⁡ is the differential of det. This equation means that the differential of det, evaluated at the identity matrix, is equal to the trace. The differential det′⁡(I) is a linear operator that maps an n × n matrix to a real number. Proof. Using the definition of a directional derivative together with one of its basic properties for differentiable functions, we have

det′⁡(I)(T)=∇Tdet⁡(I)=limε→0det⁡(I+εT)−det⁡Iε det⁡(I+εT) is a polynomial in ε of order n. It is closely related to the characteristic polynomial of T. The constant term in that polynomial (the term with ε=0) is 1, while the linear term in ε is tr T. Therefore the limit equals tr T which is the claim. Lemma 2. For an invertible matrix A, we have: det′⁡(A)(T)=det⁡Atr(A−1T). Proof.det′⁡(A)(T)≡limϵ→0(det⁡(A+ϵT)−det⁡(A)ϵ)=det⁡(A)limϵ→0(det⁡(I+ϵA−1T)−det⁡(I)ϵ)=det⁡(A)(det′⁡(I)(A−1T)) =det⁡(A)tr(A−1T) The first line is the definition, the second line is because the determinant of the product of two square matrices is the product of their determinants, and the last step in the third line follows from Lemma 1.

Theorem (Jacobi's formula) ddtdet⁡A=tr(adj AdAdt) Proof. If A is invertible, by Lemma 2, with T=dA/dt

ddtdet⁡A=det⁡Atr(A−1dAdt)=tr(adj AdAdt) using the equation relating the adjugate of A to A−1. Now, the formula holds for all matrices, since the set of invertible linear matrices is dense in the space of matrices and continuity exists.

Via diagonalization Both sides of the Jacobi formula are polynomials in the matrix coefficients of A and A'. It is therefore sufficient to verify the polynomial identity on the dense subset where the eigenvalues of A are distinct and nonzero. If A factors differentiably as A=BC, then

tr(A−1A′)=tr((BC)−1(BC)′)=tr(B−1B′)+tr(C−1C′). In particular, if L is invertible, then I=L−1L and

0=tr(I−1I′)=tr(L(L−1)′)+tr(L−1L′). Since A has distinct eigenvalues, there exists a differentiable complex invertible matrix L such that A=L−1DL and D is diagonal. Then

tr(A−1A′)=tr(L(L−1)′)+tr(D−1D′)+tr(L−1L′)=tr(D−1D′). Let λi, i=1,…,n be the eigenvalues of A. Then

(ln⁡det⁡A)′=(∑i=1nln⁡λi)′=∑i=1nλi′/λi=tr(D−1D′)=tr(A−1A′), which is the Jacobi formula for matrices A with distinct nonzero eigenvalues.

Corollary The following is a useful relation connecting the trace to the determinant of the associated matrix exponential:

This statement is clear for diagonal matrices, and a proof of the general claim follows. For any invertible matrix A(t), in the previous section "Via Chain Rule", we showed that

ddtdet⁡A(t)=det⁡A(t)tr⁡(A(t)−1ddtA(t)) Considering A(t)=exp⁡(tB) in this equation yields:

ddtdet⁡etB=tr⁡(B)det⁡etB The desired result follows as the solution to this ordinary differential equation.

Applications Several forms of the formula underlie the Faddeev–LeVerrier algorithm for computing the characteristic polynomial, and explicit applications of the Cayley–Hamilton theorem. For example, starting from the following equation, which was proved above:

ddtdet⁡A(t)=det⁡A(t) tr⁡(A(t)−1ddtA(t)) and using A(t)=tI−B, we get:

ddtdet⁡(tI−B)=det⁡(tI−B)tr⁡[(tI−B)−1]=tr⁡[adj⁡(tI−B)] where adj denotes the adjugate matrix. Another application is in general relativity, where one needs to evaluate the contraction of the Christoffel symbols, which are the metric-compatible torsion-free connection coefficients Γμνμ where, using the Einstein summation convention, the index μ is to be summed over μ=0,1,2,3. They are given by Γμνρ=12gρλ(∂μgλν+∂νgμλ−∂λgμν) Here ∂μ is shorthand for ∂∂xμ and gμν is the 4×4 symmetric non-degenerate metric tensor which has the inverse gμν, which is also symmetric. Doing the contraction gives Γμνμ=12gλμ∂νgμλ Let G represent the matrix gμλ. Then this can be rewritten as Γμνμ=12tr(G−1∂νG) Let g denote the determinant |G|. From Jacobi's formula, it follows that Γμνμ=121g∂g∂xν=1|g|∂|g|∂xν This is the needed result.

Remarks

References Magnus, Jan R.; Neudecker, Heinz (1999). Matrix Differential Calculus with Applications in Statistics and Econometrics (Revised ed.). Wiley. ISBN 0-471-98633-X. Bellman, Richard (1997). Introduction to Matrix Analysis. SIAM. ISBN 0-89871-399-4.

Worked examples

Example 1 — a first encounter with Jacobi's formula

Start with the simplest possible case. Write down what Jacobi's formula claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Jacobi's formula before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Jacobi's formula ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Jacobi's formula

In research
Jacobi's formula appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Jacobi's formula in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Jacobi's formula is common in secondary-school and first-year university syllabi. It links to neighbouring topics Determinants, Matrix theory, so understanding it makes those chapters shorter.
In everyday life
Look for Jacobi's formula outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Jacobi's formula” →

How to study Jacobi's formula in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Jacobi's formula means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Jacobi's formula out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Jacobi's formula in simple terms?

In matrix calculus, Jacobi's formula expresses the derivative of the determinant of a matrix A in terms of the adjugate of A and the derivative of A. If A is a differentiable map from the real numbers to n × n matrices, then ddtdet⁡A(t)=tr⁡(adj⁡(A(t))dA(t)dt)=(det⁡A(t))⋅tr⁡(A(t)−1⋅dA(t)dt) where tr…

Why does Jacobi's formula matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Jacobi's formula?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Jacobi's formula.

Tags

  • Determinants
  • Matrix theory

Keep exploring