Dark matter plays a critical role in determining how galaxies interact during a collision. Because dark matter makes up the vast majority of a galaxy's mass, its gravitational pull acts as the primary driver for orbital movement. If the dark matter is concentrated heavily in a dense core, the gravitational attraction between the two approaching galaxies will be much stronger, leading to a faster collision and a more direct trajectory.
Conversely, if the dark matter is spread out in a wide, diffuse halo, the gravitational pull is more gradual. This can result in a slower approach or more complex, winding orbital paths. The specific shape and distribution of these dark matter halos determine whether the galaxies will merge quickly into one large elliptical galaxy or if they will perform a series of close passes before finally combining.
Furthermore, the distribution affects the timing of the merger. A more compact distribution accelerates the process of dynamical friction, which is the mechanism that slows down galaxies as they pass through each other's dark matter clouds. This loss of kinetic energy is essential for the eventual merging of the stellar components. Understanding these invisible mass distributions is vital for astronomers to simulate the life cycles of galaxies accurately.