Schwarzschild and Made-to-Measure Modeling
A galaxy sits in dynamical equilibrium, its billions of stars streaming along orbits no telescope can resolve one by one. Yet we want its mass — central black hole, stellar mass-to-light ratio, invisible dark halo — and the internal shape of its orbits, whether stars swing on radial plunges or circulate on tangential loops. The only data are a smooth image and, in each pixel, a distribution of line-of-sight velocities. How do you invert that into a six-dimensional-phase-space equilibrium? Martin Schwarzschild's 1979 answer was disarmingly constructive. Pick a trial gravitational potential; integrate a large library of orbits inside it; then find the non-negative amounts of light to place on each orbit so their superposed density and velocity structure reproduces the observations. Each orbit is a legitimate building block of an equilibrium — Jeans' theorem made numerical — and the weights are physical light, so they cannot go negative. If no non-negative combination fits, the trial potential is simply wrong, and that failure is how mass is measured. Made-to-Measure modeling, introduced by Syer and Tremaine in 1996, reaches the same equilibrium by a different road: a swarm of live particles orbits while slowly breathing their masses up or down under a force-of-change law until the model relaxes onto the data. Together these two techniques are the workhorses of modern galactic dynamics — the tools behind most dynamical black-hole masses and the only general method able to model triaxial galaxies, where the Jeans equations have no closure.
- Schwarzschild's method integrates a large library of stellar orbits in a fixed trial potential, then solves for non-negative orbit weights that reproduce the observed surface brightness and line-of-sight kinematics.
- Made-to-Measure (M2M) instead evolves a live particle system, slowly adjusting particle weights via a force-of-change equation until the model matches the data, avoiding a stored orbit library.
- Both are numerical realizations of Jeans' theorem: any steady-state distribution function is a superposition of orbits, so a galaxy's phase-space structure is a weighted sum over orbit families with .
- The fit is repeated over a grid of trial potentials (varying , black-hole mass , halo, and flattening); the best potential minimizes a combined over image and kinematic moments.
- These are the state-of-the-art tools for measuring black-hole masses, mass-to-light ratios, dark-matter fractions, and anisotropy , including triaxial systems where Jeans modeling fails.
- The chief limitation is the mass–anisotropy degeneracy, broken only by fitting the full LOSVD shape () with controlled regularization.
- Key idea: by Jeans' theorem every steady-state galaxy is a superposition of orbits; Schwarzschild and M2M modeling find the non-negative orbit (or particle) weights that reproduce the observed surface brightness and stellar kinematics in a trial potential, and the best potential is the one that fits best.
By Jeans' theorem every steady-state galaxy is a superposition of orbits; Schwarzschild and M2M modeling determine the non-negative orbit weights (or particle weights) that reproduce the observed surface brightness and stellar kinematics in a trial potential, and the best potential is the one that fits best.
Where this lives today
Orbit-based modeling is the working currency of galaxy dynamics. Schwarzschild's method, in the axisymmetric and triaxial codes of Cappellari, van den Bosch, Valluri, and Vasiliev (the open-source `forstand`), delivers most dynamical black-hole masses in nearby galaxies and underpins the – relation. The M87 mass measured this way, , was strikingly confirmed by the Event Horizon Telescope's 2019 shadow image — an independent method landing on the same number. Integral-field surveys (ATLAS3D, SAMI, MaNGA) feed these models thousands of galaxies' maps, turning orbit modeling into population statistics on anisotropy and shape. Made-to-Measure, meanwhile, is the tool of choice for the Milky Way itself: M2M models fit to Gaia proper motions, spectroscopic velocities, and infrared star counts (Portail, Wegg, Gerhard) reconstruct the mass, pattern speed, and 3D structure of the Galactic bar. The frontier now is triaxiality with dark matter and adaptive-optics kinematics inside the sphere of influence with ELT-class telescopes.
The physical picture
Think of the galaxy's light as a pile of sand you must reassemble, but each handful may only be spread along one fixed track — an orbit — inside a chosen potential. Schwarzschild's method asks: what non-negative amounts of sand on each of thousands of tracks reproduce both the observed image and the velocities pointing toward us in every pixel? Each orbit, integrated for many periods, deposits a stationary density in the cells it visits and contributes a characteristic LOSVD to each aperture. Summing orbits with weights is exactly building a distribution function as a sum over integrals of motion. The first figure shows the three orbit families that populate a general potential — loop (tube) orbits, box orbits, and precessing rosettes — each carrying a weight.
The potential search is the real physics. Orbit weights are so flexible that they adapt to almost any potential, so the discriminating power comes not from any single orbit but from whether a good non-negative fit exists at all, and how small the residual is across a grid of potentials. Add a point mass and refit; add a heavier halo and refit. The potential whose best superposition leaves the smallest is the measured one. The second figure is what a modeller reads off: the landscape versus trial black-hole mass, whose minimum weighs the black hole.
The core equations
The whole method rests on one fact: in a steady state the phase-space density does not change as you drift along an orbit. That is the steady-state collisionless Boltzmann equation (CBE), which every equilibrium galaxy obeys and the orbit library is built to satisfy term by term.
where: — phase-space distribution function; — trial gravitational potential; — velocity. In steady state the first term vanishes, leaving constant along the phase-space flow — that is, along each orbit. Jeans' theorem then says depends on phase space only through isolating integrals of motion, so each orbit is an elementary equilibrium and any galaxy is a superposition of orbits. Schwarzschild discretizes this: replace the continuous by a finite library indexed by , each orbit carrying a weight.
where: — non-negative weight (physical light or mass) on orbit ; — index over the library. The inequality is not a convenience but a physical constraint — an orbit cannot hold negative light — and it is what makes a bad potential detectable. Each orbit projects onto the data twice. Integrated for many periods it deposits a fractional time (a density) in each cell , and the observed luminosity density must equal the weighted sum of those contributions.
where: — contribution of orbit to spatial cell ; — observed luminosity density in cell . One linear constraint per cell, all linear in the weights. The kinematic constraints work the same way on velocities: each orbit contributes a line-of-sight velocity distribution (LOSVD) to every aperture , and the weighted sum must match the observed.
where: — observed LOSVD in aperture ; — LOSVD contributed by orbit ; — line-of-sight velocity. In practice the LOSVD is compressed into a few Gauss–Hermite moments. The Gauss–Hermite series expands the LOSVD about a best-fitting Gaussian; its moments (skewness) and (kurtosis) are the diagnostics that separate radial from tangential orbits — the key to breaking the mass–anisotropy degeneracy.
where: — mean velocity and dispersion; — skewness and kurtosis; — Hermite polynomials. Radially biased orbits give positive , tangential bias negative , so the LOSVD shape carries anisotropy information the dispersion alone hides. With more orbits than constraints the system is underdetermined, so a regularization term picks a smooth solution among the many that fit — the objective combines a data-mismatch with an entropy-like smoothing term.
where: — uncertainty on constraint ; — entropy/smoothing regularizer; — regularization strength. A common is the Boltzmann entropy relative to a smooth prior , suppressing spiky, noise-driven weights. Made-to-Measure reaches the same optimum without storing : it evolves live particles and nudges each weight along the gradient of a merit function, giving the force-of-change equation.
where: — learning rate; — particle 's contribution to observable ; — model-minus-data residual; — entropy weighting. The leading keeps weights positive and updates fractional, so M2M relaxes toward the same equilibrium Schwarzschild's NNLS solve reaches directly.
The goal of this derivation is to justify the central ansatz, equation (2): to show that a non-negative sum of time-averaged single-orbit densities is not merely a plausible fitting basis but an exact solution of the steady-state Boltzmann equation in the given potential, so every trial superposition is a genuine equilibrium and the only question left is which weights match the data.
Step 1. Define a single orbit's phase-space density as its time-average over one traversal (or many periods for a non-closed orbit), . Why: an orbit visited over a long time is, on average, a static smear of density — this turns a trajectory into a mass distribution the telescope could see.
Step 2. Show each solves the CBE. The trajectory obeys Hamilton's equations, so is constant along the flow; the streaming operator gives . Why: Jeans' theorem in action — a time-averaged orbit is a stationary distribution function by itself, because motion along it changes nothing about the average.
Step 3. Superpose. Because is linear, for any constant . Why: linearity is the whole engine — we are free to search over weights knowing every combination is automatically a valid equilibrium, so fitting never breaks the dynamics.
Step 4. Impose physicality and project. Requiring with each makes the total a genuine non-negative distribution function; projecting onto the sky yields the model image, equation (3), and the LOSVDs, equation (4). Why: this closes the loop — a valid, non-negative equilibrium whose projections are exactly the linear constraints the solver matches. Restricting to energy-only spherical orbits recovers the isotropic Eddington , confirming the construction against a known result.
Go deeper · Derivation B · 1 minThe Made-to-Measure force-of-change from a merit function
The goal here is to derive the M2M update law, equation (7), as plain gradient ascent on a single merit function, so the seemingly ad hoc "nudge the heavy particles where the model is wrong" prescription is revealed as the optimization dual of Schwarzschild's constrained least squares — the two methods maximize the same objective, one by linear algebra and one by relaxation.
Step 1. Combine data agreement and the entropy prior into one functional, , with the mismatch of equation (6) and the entropy. Why: turning "fit the data" and "stay smooth" into a single scalar to maximize lets a blind gradient march find the answer without ever inverting a matrix.
Step 2. Ascend the gradient with a prefactor, ; writing out recovers the bracket in equation (7). Why: the prefactor keeps every weight positive (a zero stays zero, a positive one moves fractionally) and makes the step scale-free, so light and heavy orbits adjust proportionally.
Step 3. Temporally smooth the observables over many orbital periods before forming the residual . Why: a single particle's position jitters wildly along its orbit; averaging over periods makes the force respond to the orbit's steady contribution, so the swarm relaxes onto a stationary equilibrium instead of chasing transient positions. The fixed point is exactly the stationary point of that Schwarzschild's NNLS solve locates.
Go deeper · Derivation C · 1 minEnclosed mass and the mass-anisotropy degeneracy
The goal of this derivation is to expose, from the second velocity moment of the Boltzmann equation, exactly what line-of-sight kinematics can and cannot constrain: the enclosed mass and the anisotropy enter the projected dispersion in one combination, so dispersions alone cannot separate them — and to show why fitting the full LOSVD shape breaks the tie.
Step 1. Define the anisotropy parameter , positive for radial bias, negative for tangential. Why: is the single number encoding the internal orbit mix the weights determine — exactly the structure we are trying to measure, not assume.
Step 2. The radial Jeans equation — the second moment of equation (1) — reads , which rearranges to . Why: the punchline in one line — and sit inside the same bracket, so a projected dispersion fixes the combination, not either separately.
Step 3. Read off the degeneracy: increasing (more radial orbits) lowers the required at fixed dispersion, so many pairs fit equally well. Why: this is why a dispersion profile alone cannot weigh a black hole or halo — the trap orbit modeling exists to escape.
Step 4. Break it with the LOSVD shape: radial bias gives positive , tangential bias negative. Why: Schwarzschild and M2M never assume — they fit aperture by aperture, pinning down and simultaneously wherever data quality allows. In the isotropic, flat-dispersion limit this reduces to .
Limiting cases
| Case | Result | Meaning |
|---|---|---|
| Spherical isotropic limit | Orbits reduce to a one-parameter family in energy; the method collapses to the classical Eddington inversion and agrees with the isotropic Jeans equation. | |
| Axisymmetric limit | or | Two or three integrals; short-axis tube orbits dominate. Standard for disks and rotating bulges with integral-field data. |
| Triaxial general case | Box, short-axis tube, and long-axis tube families all required; only Schwarzschild and M2M can handle this — the Jeans equations lack a closure. | |
| Isotropic isothermal | With and flat dispersion the enclosed mass reduces to the elementary circular-speed estimate — the sanity check on the machinery. | |
| Collisionless validity | The static- assumption needs the two-body relaxation time to exceed the system age, true for galaxies () but not for globular-cluster cores. |
Worked examples
1 · Weighing M87's black hole — the sphere of influence (fully worked)
A Schwarzschild model of M87 must resolve the region where the black hole dominates. For , central dispersion , and distance , find the sphere-of-influence radius and the angular resolution required.
Step 1. The sphere of influence is where the black hole's Keplerian speed matches the dispersion, . Use so units close in parsecs.
Step 2. Substitute: .
Step 3. Convert to an angle, . Multiply by arcsec per radian: .
Step 4. Interpret. A 3.8 arcsec sphere of influence is comfortably resolved by HST and adaptive-optics spectrographs (sub-arcsec PSF), so the kinematics inside are well sampled and the curve has a sharp minimum. The black hole dominates within ~311 pc ≈ 3.8 arcsec, which the data resolve. Had fallen below the PSF, would be unconstrained regardless of library size.
2 · How anisotropy fakes a factor of two in mass (fully worked)
At in a spherical elliptical, let the tracer density fall as () with radial dispersion , roughly flat (). Compare the enclosed mass for isotropy () versus radial anisotropy ().
Step 1. From the rearranged Jeans relation, .
Step 2. Isotropic : . With , .
Step 3. Radial case : the bracket halves, so — a factor of exactly two less, from the same dispersion.
Step 4. The lesson. The projected dispersion cannot tell these two galaxies apart; only the LOSVD shape can. Radial orbits at produce a positive , and it is by fitting aperture by aperture that a Schwarzschild model refuses the wrong pair. A 0.5 shift in moves the inferred mass by a factor of 2 — which is why anisotropy must be fit, not assumed.
3 · Sizing the linear system
A modern axisymmetric model might integrate orbits against constraints ( over an integral-field map plus brightness cells). Over- or under-determined?
Step 1. With the non-negative least-squares system has far more unknowns than equations, so it is under-determined — infinitely many weight sets fit within errors.
Step 2. That is why the regularizer of equation (6) is mandatory: it picks the smoothest weight set, and the recovered structure can depend on . Orbit weights are never unique — regularization chooses among solutions, and its strength must be tested.
Physics of the portrait
The method carries one man's name because he saw, before the computers were really ready, that an equilibrium galaxy could be built rather than guessed — orbit by orbit, with nothing assumed about its distribution function.
Origins · 1 minMartin Schwarzschild and how this was discovered
Martin Schwarzschild was born in Potsdam in 1912, the son of Karl Schwarzschild, who found the first exact solution of Einstein's field equations. Fleeing Nazi Germany, he settled at Princeton and became one of the twentieth century's foremost stellar astrophysicists — his 1958 Structure and Evolution of the Stars set the template for the field, and he was an early, fearless user of computers for physics. Late in his career he turned to a problem that had resisted every analytic attack: how to construct a self-consistent equilibrium model of a triaxial stellar system, the shape N-body simulations were then suggesting for elliptical galaxies. The Jeans equations were useless there — no closure exists for a triaxial potential. In his 1979 paper he cut the knot with a numerical idea of startling directness: choose the potential, integrate a library of orbits, and solve for the non-negative orbit occupation numbers that reproduce the model's own density. That a triaxial equilibrium could be assembled at all, from box and tube orbits alone, settled a real controversy about whether such galaxies could exist. The method was soon turned from a consistency demonstration into a measurement tool, and today "Schwarzschild modeling" is the standard route to dynamical black-hole masses and galaxy shapes. He completed what Jeans began: a galaxy's unseen distribution function, reconstructed from its orbits.
Going further
Texts. Binney, J. & Tremaine, S., Galactic Dynamics, 2nd ed., §4.4–4.6 (Jeans' theorem and Schwarzschild's method) · Mo, van den Bosch & White, Galaxy Formation and Evolution, Ch. 5–6 · Carroll & Ostlie, An Introduction to Modern Astrophysics, 2nd ed., Ch. 24–25 · Schwarzschild, M. (1979), ApJ 232, 236 (founding paper) · Syer, D. & Tremaine, S. (1996), MNRAS 282, 223 (made-to-measure) · van der Marel & Franx (1993), ApJ 407, 525 (Gauss–Hermite LOSVD) · Cappellari, M. (2008), MNRAS 390, 71. Key consistency checks: (1) a non-negative orbit sum solves the CBE by linearity; (2) the second moment of the CBE reduces to the Jeans equation with the – combination; (3) the isotropic limit gives ; (4) the spherical isotropic case recovers the Eddington . Worked numbers use and the M87 anchors (, , Mpc → pc ) and the factor-of-two anisotropy illustration. No galaxy-specific weights are invented.
Prerequisites. Collisionless Boltzmann Equation · Jeans' Theorem · Distribution Function and Phase Space · Orbits in Axisymmetric and Triaxial Potentials · Galactic Potential Models. Leads to. Jeans Equations · Action–Angle Variables · Gravitational N-Body Problem.
Ask the tutor: Curious how a wrong trial potential leaves no non-negative orbit combination that fits — ask me to walk through a toy two-orbit example where the NNLS residual refuses to vanish.
Why does a bad trial potential show up as a failed fit rather than just worse numbers?
Because the weights are constrained to be non-negative. In the right potential some non-negative combination of orbits reproduces both the image and the kinematics within the errors. In a wrong potential the orbit shapes are wrong, and forcing the image to match may leave no non-negative way to also match the velocities — the solver cannot drive the residual down. So a wrong potential announces itself as an irreducibly large , not a slightly worse but still-good fit. Scanning potentials and reading off where is minimized is exactly how , , and halo parameters are measured, as the second figure shows.
What is the difference between Schwarzschild's method and Made-to-Measure?
Both find the non-negative orbit weights that reproduce the data, but by opposite routes. Schwarzschild integrates a fixed library, stores each orbit's contribution to every constraint in a matrix, and solves a one-shot non-negative least-squares problem. Made-to-Measure never stores that matrix: it runs a live particle simulation and adjusts each particle's mass by the force-of-change law, relaxing toward the fit. Schwarzschild is exact and transparent but memory-hungry; M2M scales to enormous particle numbers and self-consistent, evolving potentials, which is why it is favored for the Milky Way bar. At convergence they optimize the same merit function.
Do box and tube orbits actually matter, or are they jargon?
They are the physical alphabet the method spells galaxies with. In an axisymmetric potential, angular momentum about the symmetry axis is conserved, so stars circulate on short-axis tube orbits — loops that never reach the center. A triaxial potential has no such conservation law and admits box orbits that oscillate through the center, plus long-axis tubes. A triaxial galaxy's characteristic boxy shape requires box orbits to build it — you cannot assemble a triaxial equilibrium without them. That is why Jeans modeling, which needs a smooth closure, fails for triaxial systems, while Schwarzschild's explicit orbit library succeeds.
Why is regularization necessary, and what goes wrong if you get it wrong?
Because there are far more orbits than constraints, so infinitely many weight sets fit equally well — the problem is under-determined. Regularization (typically a maximum-entropy term) picks the smoothest solution, suppressing spiky, noise-driven weight patterns. The danger is real: too strong pulls the answer toward the prior (often isotropy), biasing the recovered and even the best-fit potential; too weak overfits noise. Because recovered structure can depend on the strength , a credible result reports how the answer moves as is varied. Regularization is part of the measurement, and it must be disclosed.
How does adding a central point mass let these models weigh a black hole?
You include a Keplerian point mass in the trial potential, integrate the orbit library, fit the kinematics, then repeat over a grid of . Inside the sphere of influence, , stars move faster and the LOSVDs broaden in a way only the right can reproduce, so has a minimum. The measurement only works if the data resolve : for M87 that is about 3.8 arcsec, easily resolved, but for distant or lower-mass galaxies can drop below the PSF, and then is bounded, not measured. This is why adaptive optics and space telescopes are essential.
Why can't Jeans modeling just do everything Schwarzschild modeling does?
Jeans modeling takes velocity moments of the Boltzmann equation, but each moment introduces the next, so the chain never closes — you must assume a relation, typically a fixed anisotropy . That assumption is exactly the quantity you most want to measure, and in a triaxial potential no consistent closure even exists. Schwarzschild modeling assumes nothing about : it reconstructs the full distribution function as an orbit superposition and reads off the weights. The cost is enormous computation across a parameter grid, which is why fast Jeans-based methods (like JAM) stay popular for large surveys where the extra generality is not needed.