The Baker–Campbell–Hausdorff formula
Recover a local product from sums and nested brackets, with separate formal, convergent, and nilpotent interpretations.
On this page
The question for today
What you’ll understand
- Identify the first noncommutative correction to exponential addition.
- Distinguish a locally convergent BCH expansion from a formal series.
- Compute an exact two-step nilpotent product using its terminating BCH formula.
Two successive small symmetry motions are generally not the same as one motion generated by their ordinary sum. The Baker–Campbell–Hausdorff formula, BCH, writes the missing information as nested Lie brackets. It explains how local group multiplication is encoded by the Lie algebra, but its interpretation must be precise. An infinite formal identity is not automatically a convergent formula for arbitrarily large matrices. A nilpotent algebra is a particularly useful exception: sufficiently long nested brackets vanish, and the local formula becomes a finite polynomial with a controlled global interpretation.
The first correction remembers order
Choose exponential coordinates near the identity, where a local logarithm exists. The logarithm of exp X times exp Y begins with X+Y and then one half [X,Y]. Reversing X and Y reverses this second-degree term. Commuting generators have no bracket correction and recover the ordinary additive law. For noncommuting generators, the discrepancy is second order in a simultaneous small scaling of X and Y, which explains why a first-order linear picture can hide a genuine order effect.
The next terms involve brackets of length three. Their coefficients and signs can be checked by expanding matrix exponentials and the local logarithm to the same degree. A finite truncation is an approximation whose error depends on the scale and chosen norm. Reporting only the truncated expression as an exact product would discard precisely the higher nested commutators that distinguish a general Lie algebra from a simpler one.
Formal identities and analytic neighborhoods are different
In the formal setting, X and Y are symbols and equality means that coefficients agree at every degree. Convergence is not part of that definition. In a finite-dimensional real Lie algebra, a norm and analytic local group structure give a genuine neighborhood where the series converges and agrees with the local logarithm. The size of an admissible neighborhood depends on the algebra and norm. A branch of logarithm must remain chosen consistently in a matrix calculation.
For a two-step nilpotent Lie algebra, every bracket of length three vanishes, leaving only X+Y plus one half [X,Y]. On its connected simply connected Lie group, exp is a global diffeomorphism and this finite polynomial describes the group law globally in exponential coordinates. Without the simply connected qualification, an additional discrete central quotient can identify different exponential coordinates. Termination of the polynomial and injectivity of the coordinate map are separate facts.
Use an exact small algebra to test the signs
Strictly upper-triangular three-by-three matrices give a concrete two-step nilpotent example. The first upper diagonal positions do not commute, but their commutator lands in the top-right position, which commutes with the whole algebra. The group of upper-triangular matrices with diagonal ones is diffeomorphic to real three-space. Its matrix exponential and logarithm are finite polynomials, so the BCH calculation can be checked exactly even with parameters larger than a generic local convergence neighborhood.
This model is useful for testing order-sensitive code and for understanding the central displacement generated by two horizontal motions. It does not justify truncating BCH after one commutator in a rotation algebra or any other non-nilpotent example. A reliable calculation states whether it is exact because brackets terminate, approximate because a small parameter controls a remainder, or merely formal because no convergence question is being asked. Those categories lead to different numerical and geometric claims.
Work it through
Compute the central correction exactly
In strictly upper-triangular 3-by-3 matrices let X=2E₁₂ and Y=3E₂₃. Compute exp X exp Y and its BCH logarithm.
One has X²=Y²=0, XY=6E₁₃, and YX=0. Therefore [X,Y]=6E₁₃, central in this algebra, and the product of exponentials is .
The terminating BCH formula gives . Its square is 6E₁₃ and its cube is zero. Thus exp Z=I+Z+Z²/2, whose top-right coefficient is three plus three, exactly six.
Reversing the order gives a product with zero top-right coefficient. Its BCH logarithm has central coefficient minus three instead, and adding half its square cancels that coefficient on exponentiation. The sign change is a measurable order effect, not a failure of the exponential formula.
The logarithm needs half the commutator, while the product matrix contains the full cross term. Finite nilpotence makes this calculation exact for the stated parameters.
The living notebook
Explore the model
Interactive lab · matrix
Compare two orders through their endpoint matrices
Let D=diag(2,1) and U=[[1,1],[0,1]]. Pause, Reset, then set a=2 and b=2 for DU; the image of (0,1) is (2,1). Repeat from Reset with both a=2 and b=1 for UD; its image is (1,1). The instrument shows the selected endpoints, not a sequential composition or a BCH solver, and these affine matrices are not the nilpotent 3-by-3 example.
- Area scale · det A
- 1.4
- Singular values · σmax, σmin
- 1.597, 0.876
- Condition number · κ₂(A)
- 1.823
The selected matrix is A = [[a,b],[0,1]]. Playback interpolates geometry between the identity and A; readouts always describe A. Its determinant is a and its singular values come from AᵀA. Positive a makes every supported matrix invertible. This two-dimensional family is not a general eigensolver or a learned network. Parameter changes pause playback and recompute the model at the current elapsed time. Reset restores both parameters and returns time to zero. Playback starts paused. Adjust either parameter, then choose Play or Step.
Look forMultiplication order changes a transformation endpoint; BCH organizes that difference locally through brackets.
Pause & reason
Check your understanding
Your turn
Try it yourself
Take X=E₁₂ and Y=4E₂₃ in the same nilpotent algebra. Find BCH(X,Y) and verify the product's top-right entry after exponentiation.
Take a moment to make a prediction or work it out on paper. Open a hint when you need one.
Give me a hint
Compute [X,Y] first, then remember that the exponential of their BCH sum has a quadratic term.
Compare with the solution
The commutator is 4E₁₃, so Z=BCH(X,Y)=E₁₂+4E₂₃+2E₁₃. Its square is 4E₁₃ and cube is zero. Thus exp Z=I+E₁₂+4E₂₃+4E₁₃, agreeing with (I+E₁₂)(I+4E₂₃). The central logarithm coefficient two becomes the product coefficient four only after including Z²/2.
Keep the idea
Take it with you
- The first BCH correction changes sign when multiplication order is reversed.
- Formal identities, local convergence, and exact finite nilpotent formulas are distinct claims.
- Global exponential coordinates require topology as well as bracket information.
Read further
Original sources and deeper explanations to follow at your own pace.
Optional progress, saved in this browser when available. Revisit any lesson at any time.
Lesson not marked complete.