---
name: yoshida4
description: "More accurate long-time simulation of a conservative mechanical system with position-dependent forces (planets, molecules, particle beams) when Störmer-Verlet's second-order accuracy is not enough. Fourth order, explicit, symplectic and time-reversible; three force evaluations per step. Built by composing three Verlet substeps with tuned weights. Also known as the Forest-Ruth integrator or the triple-jump composition."
---

# Yoshida fourth-order composition

> **Placeholder (demo).** Description only: there is no reference implementation or verification for this entry yet. It belongs to a demonstration set of textbook methods.

## What it does

Applies three Störmer-Verlet substeps of sizes $w_1 h$, $w_0 h$, $w_1 h$ with $w_1 = 1/(2 - 2^{1/3})$ and $w_0 = -2^{1/3}/(2 - 2^{1/3})$. The weights cancel the second-order error terms, giving a fourth-order, symplectic, time-reversible method. The middle substep goes backwards in time ($w_0 < 0$). With the kick-drift-kick form, consecutive kicks merge and each step costs three force evaluations.

## When to use

- Separable Hamiltonian systems (force depends on position only, constant masses) with smooth forces, where you need higher accuracy than Störmer-Verlet over long runs.

## When not to use (and what to use instead)

| Situation | Use instead |
| --- | --- |
| Moderate accuracy is enough, or forces are rough (cut-offs, contacts) | `stormer-verlet`; the higher order only pays off for smooth forces and small errors |
| Force depends on velocity, or the system is not Hamiltonian | `dormand-prince-rk45` |
| Non-separable Hamiltonian | `implicit-midpoint` |
| Stiff problem | `implicit-midpoint` or `backward-euler` |

## Key facts

Order 4, explicit, symplectic, time-reversible, conditionally stable (the negative middle substep makes the stable step somewhat smaller than for three plain Verlet steps), three force evaluations per step.

## Sources

- H. Yoshida. Construction of higher order symplectic integrators. *Physics Letters A* 150 (1990) 262–268. https://doi.org/10.1016/0375-9601(90)90092-3
- E. Forest, R. D. Ruth. Fourth-order symplectic integration. *Physica D* 43 (1990) 105–117. https://doi.org/10.1016/0167-2789(90)90019-L
