How do astronomers primarily determine the mass of a distant galaxy?
Answer
By observing motion and light.
Astronomers infer galaxy mass by observing how its constituent parts respond to the gravitational pull exerted by the total mass within a specific region, relying on motion and light.

Related Questions
How do astronomers primarily determine the mass of a distant galaxy?What property is measured using the Doppler shift of emitted light or radio waves from orbiting objects?What does a surprisingly flat rotation curve for a spiral galaxy strongly imply?In Newtonian physics calculations for orbital mass, what two forces are assumed to be balanced?If a mass figure for a galaxy is labeled $M_*$, what component does that figure represent?The Mass-to-Light ratio ($M/L$) used to estimate stellar mass depends heavily on what factors?What technique must astronomers rely on for elliptical galaxies that lack orderly rotation curves?High velocity dispersion within a galaxy indicates what about its stellar motion?Gravitational lensing is considered an independent method because it is sensitive to which type of mass?Which mass label, $M_{ ext{total}}$ or $M_{ ext{virial}}$, includes the dark matter halo inferred from dynamical measurements?What specific radio emission allows for a relatively detailed mass mapping of the Milky Way's local environment?