Skip to main content
Sandbox Physics

Galaxy Collisions and Tidal Tails

How can two galaxies come together when their stars rarely collide? Gravity shifts energy from the mutual orbit into motion inside the galaxies. A close pass can fling outer stars into tails and leave the centers with a tighter orbit. That transfer can happen even if no stars touch.

Watch gravity draw two tracer disks into tails. Drag a center to change the approach, then compare the full model orbit with a saved simulation of two self-gravitating haloes.

Interactive modelGalaxy Collisions and Tidal Tails
Center separation33.3 kpc33.3\,\mathrm{kpc}
Tracers beyond 45 kpc22.7%22.7\%

Recorded N-body simulation · viewed along the orbit axis

Distance between the two centers

Distance (kpc) against time (Gyr)

  • Recorded N-body
  • Rigid haloes with drag
  • Rigid haloes without drag
Compare the full trajectories and download native particle states

From a close pass to a tighter orbit

BackgroundThe near side of a disk gets pulled harder than its center, and the far side gets pulled less. After the encounter, particles with different velocities spread out into bridges and tails.

Why it mattersA rigid spherical halo lets you follow the orbit quickly. A live halo also deforms, so it can exchange energy and angular momentum with that orbit.

Focus question
When does a drag term improve the predicted separation of the centers?
One-sentence intuition
Compare the full curves at the same time. Tails can grow even in a flyby. Orbital decay has to be checked separately.

Core mathematical model

Relative tidal acceleration

Δa=g(R+r)−g(R)\Delta\boldsymbol{a}=\boldsymbol{g}(\boldsymbol{R}+\boldsymbol{r})-\boldsymbol{g}(\boldsymbol{R})

Subtract the pull at the disk center from the pull at a tracer star.

Common difficulties

A long tail and an escaping pair

Typical misconceptionA long tail always signals a completed merger.

Better mental modelA fast passage can pull stars into a tail as the centers move apart again.

Run the experiment

  1. 01

    Change one disk’s spin

    Compare Two long tails with One disk spins backward at the same time.

    What to observe: The live halo orbit stays the same because the disk tracers carry no mass. The tracer pattern changes.
  2. 02

    Compare the paths

    Select the fast flyby. Scrub past the closest approach and compare separation with and without drag.

    What to observe: The spacing between the curves depends on how long the haloes spend near each other.

Related experiments and articles

What this page links to directly

See every article series on the content map →

Galaxies in close encounters · Reading path

Galaxies in close encounters

Articles on this path that use this experiment, followed by the other experiments they suggest.

  1. ArticleWhy galaxies merge even though their stars rarely meet
  2. ArticleTidal acceleration across a galaxy disk
  3. ArticleHow a galaxy orbit loses energy
  4. ArticleCompare a drag orbit with a direct galaxy simulation
  5. ArticleRead how black-hole binaries shrink in a galaxy merger
Something broken, confusing, or missing on this page?Tell us
What kind of feedback?

Sent with this page’s address, its Lab ID, the site language and your device type. Please leave out personal details. Feedback is kept for up to 12 months.Privacy policy