TL;DR
Many evolution problems have a rule of the form "the change is the sum of two effects". The exact solution is the exponential of the sum, which is hard to compute. Trotter's idea is to apply each effect separately, in short alternating steps, and to multiply the resulting simple exponentials. The product approximates the exact answer, and the approximation gets better as the steps get smaller.
Where you'll see it: in split-operator methods that solve the Schrödinger equation for a quantum particle, in the velocity Verlet integrator that moves atoms in molecular dynamics, and in the operator-splitting schemes used to simulate fluids and sampling dynamics.
Intuition
Two effects, taken in turns
Picture a boat on a river. The water carries it downstream at a steady speed. The engine pushes it sideways at another steady speed. The exact path combines both at once. A simple way to approximate it is to alternate: let the current carry the boat for a tenth of a second, then let the engine push it for a tenth of a second, and repeat. Each step is easy to compute on its own. If the steps are short, the zigzag you draw is almost the smooth diagonal path.
That is the whole of the Trotter idea. In an equation , the matrix is one effect and is the other. The exact evolution is , and it is awkward because the two effects do not separate. Trotter replaces it with , which is just repetitions of two easy steps.
The approximation only works because the two effects do not fully interfere with each other. If and commute, meaning the order of applying them makes no difference, the boat analogy is exact and the splitting is perfect. The error comes entirely from the way they fail to commute. That is why the commutator governs the accuracy.
The plot below sketches how the error shrinks with the number of steps for the two standard versions. The exact curves depend on the matrices; the shapes are the point.
- Lie-Trotter, error ~ 1/n
- symmetric, error ~ 1/n²
Why symmetry helps
The ordering of the two steps matters. Doing then leaves a small bias in one direction. Sandwiching between two half-steps of cancels the first bias, because the mistake made on the way in is undone on the way out. This is the idea behind the Strang splitting, and it is why the Verlet integrator in molecular dynamics, which kicks the velocities, drifts the positions, and kicks again, is so widely used.
flowchart LR E["exact: e^(A+B) t"] -->|approximate| P["Lie-Trotter: (e^(A t/n) e^(B t/n))^n"] E -->|approximate| S["symmetric: (e^(A t/2n) e^(B t/n) e^(A t/2n))^n"] P --> P1[error of order 1/n] S --> S1[error of order 1/n squared]
The math
Matrix exponentials and commutators
The Lie–Trotter product formula
For square matrices and ,
The limit exists for any pair of matrices. For finite it is an approximation, and the question is how fast the error vanishes.
Deriving the first-order error
Expand the two exponentials to second order in , writing :
where . Write this as with . The matrix logarithm satisfies , and . So
Now expand , so
Therefore
Raise both sides to the power . Multiplying the exponent by gives
The leading error is . It is of order and it vanishes exactly when the commutator does.
The symmetric (Strang) version
Use the product instead. The same expansion, carried out to the same order, shows that the term in each step cancels between the two sides of the sandwich. What is left is an error of order per step, which becomes over the whole evolution:
Higher-order splittings, built by composing symmetric steps with carefully chosen coefficients, reach and beyond. The Lie–Trotter form is the simplest; the symmetric form is the one used in practice.
Worked examples
Take the two nilpotent matrices
Their sum is , whose exponential has entries on the diagonal and off it. This is the exact answer to compare against.
- Since , we have . By symmetry .
- Lie–Trotter with : . The entry is off by .
- Lie–Trotter with : and , so . Then . The error is now .
- The ratio of the two errors, , is in the direction the law predicts (it would be in the asymptotic regime; is still too small to be there).
- Symmetric with : . The entry errors against the exact are , , and , so the largest is . For Lie–Trotter at the largest entry error is , in the entry.
Interpretation: with a single step, the symmetric splitting has a largest entry error about three times smaller than Lie–Trotter on the same matrices ( against ), and it is exactly symmetric in the diagonal entries as the true answer is. That is the practical argument for using the symmetric form.
A particle of mass 1 with position , momentum and potential energy moves by the Hamiltonian . Split it into a kinetic part that moves position at fixed momentum, and a potential part that changes momentum at fixed position. Velocity Verlet uses the symmetric sequence: a half kick, a full drift, a half kick.
- Start with , and a time step .
- Half kick: the force is , so .
- Drift: .
- Second half kick at the new position, force : .
- After one step, the state is , . The exact value at is and . The two agree to about .
Interpretation: the Verlet scheme is a symmetric Trotter splitting of the kinetic and potential exponentials. It is cheap, conserves energy well over long runs, and its error is of the second order in the step size, as the theory predicts.
Tradeoffs and failure modes
| Situation | What goes wrong | Better choice |
|---|---|---|
| The two parts nearly commute | The splitting error is small, so a few steps suffice | Lie–Trotter is fine and cheap |
| The two parts strongly fail to commute | The error from is large unless is big | Symmetric (Strang) splitting, or a higher-order composition |
| Each part is exactly solvable but the sum is not | Splitting uses only the exact pieces | This is the intended use: split into solvable pieces |
| Very large step with a symmetric scheme on a stiff problem | Stability can fail even when accuracy looks fine | Smaller steps, or an implicit method |
| The problem has a conserved quantity such as energy | Non-symmetric splittings can show a systematic bias in it | Symmetric splitting, which is time-reversible and whose energy error stays small and oscillating |
| Only a rough answer is needed | Higher-order splittings cost more per step | Lie–Trotter with more steps |
The main cost is the number of pieces. A Strang step needs two exponentials of the first part and one of the second, so the work per step is about 1.5 times that of Lie–Trotter at the same (adjacent half-steps of the first part can be merged between steps, which brings the cost close to equal). The symmetric form usually wins anyway because it needs far fewer steps for the same accuracy.
History
The product formula for operators was proved in full generality by Hale Trotter in 1959, in a paper on products of semigroups of operators. The simplest form is also called the Lie product formula, after Sophus Lie, whose work on transformation groups involved products of exponentials. Masuo Suzuki developed higher-order versions in the 1970s and 1980s, giving the general family of Trotter–Suzuki decompositions.
The symmetric form had a practical life before it had a name. Loup Verlet used the scheme in 1967 for computer simulations of liquids, and it is still the default integrator in molecular dynamics. In the early 1980s, Feit, Fleck and Steiger used a split-operator version to solve the time-dependent Schrödinger equation numerically, splitting the kinetic and potential parts of the Hamiltonian. Both are now recognised as symmetric Trotter splittings.
Check yourself
QuestionState the Lie–Trotter product formula. What does the approximation converge to as ?Show answer
It converges to . Each factor is one short step that applies the two effects in turn, and raising it to the -th power gives the total evolution over the full time. The limit holds for all square matrices and , even when they do not commute, which is what makes the formula useful.
QuestionLet and . Compute the entry of .Show answer
Since and are nilpotent, and . Then . The entry is . The exact value, , is lower, which shows the single-step error.
QuestionWhy does the symmetric splitting have a smaller error than the Lie–Trotter splitting for the same number of steps?Show answer
The leading error of Lie–Trotter is , which is order and does not cancel. In the symmetric form the step is , so the bias introduced by applying before is undone by the half-step of on the other side. The second-order commutator term cancels, and the global error becomes order . Doubling the number of steps then cuts the error by four rather than two.
QuestionA simulation must reach a fixed accuracy. Would you rather use 1000 symmetric steps or 1000 Lie–Trotter steps, and why?Show answer
Both use the same number of steps, but the symmetric one has error of order and the Lie–Trotter one has error of order . At the symmetric error is roughly a thousand times smaller in scale (ignoring constant factors), so it gives much better accuracy for the same cost (the symmetric step costs about one and a half times as much per step). In practice you can also use fewer symmetric steps to reach the same accuracy as many more Lie–Trotter steps.