Context. Despite being one of the most fundamental properties of galaxies that dictate the form of the potential, the 3D shapes are intrinsically difficult to determine from observations. The improving quality of triaxial modeling methods in recent years has made it possible to measure these shapes more accurately. Aims. This study provides a comprehensive understanding of the stellar and dark matter (DM) shapes of galaxies and the connection between them. As these shapes are the result of the formation history of a galaxy, we investigate which galaxy properties they are correlated with, which will be especially useful for interpreting the results from dynamical modeling. Methods. Using the hydrodynamical cosmological simulation Magneticum Pathfinder Box4 (uhr), we computed the stellar and DM intrinsic shapes of 690 simulated galaxies with stellar masses above 2 × 1010 M⊙ at three different radii with an iterative unweighted method. We also determined their morphologies, their projected morphological and kinematic parameters, and their fractions of in situ formed stars. Results. The DM follows the stellar component in shape and orientation at three half-mass radii, indicating that DM is heavily influenced by the baryonic potential in the inner parts of the halo. The outer DM halo is independent of the inner properties such as the DM shape or galaxy morphology, however, and is more closely related to the large-scale anisotropy of the gas inflow. Overall, DM halo shapes are prolate, consistent with previous literature. The stellar shapes of galaxies are correlated with their morphology, with early-type galaxies featuring more spherical and prolate shapes than late-type galaxies out to 3 R1/2. Galaxies with more rotational support are flatter, and the stellar shapes are connected to the mass distribution, though not to the mass itself. In particular, more extended early-type galaxies have larger triaxialities at a given mass. Finally, the shapes can be used to better constrain the in situ fraction of stars when combined with the stellar mass. Conclusions. The relations between shape, mass distribution, and in situ formed star fraction of galaxies show that the shapes depend on the details of the accretion history through which the galaxies are formed. The similarities between DM and stellar shapes in the inner regions of galaxy halos signal the importance of baryonic matter for the behavior of DM in galaxies and will be of use for improving the underlying assumptions of dynamical models for galaxies in the future. However, at large radii the shapes of the DM are completely decoupled from the central galaxy, and their shapes and spin are coupled more to the large scale inflow than to the galaxy in the center.
Read full abstract