An important discovery in the past quarter century or so of extragalactic astronomy is the existence of scaling relations which very simply relate different properties of those galaxies.
One of the most intriguing relations connects the total stellar mass of a galaxy to the mass of its black hole. Virtually every evolved galaxy in the sky has a supermassive black hole in its center, and the mass of each of those black holes is about 0.2% the mass of the stars in its galaxy.
At first glance, this relation is pretty simple -- big galaxies have big black holes. But more profoundly this relation suggests that supermassive black holes co-evolve with the galaxies they live in.
This winds up begin a really useful tool: If you know the mass of all the stars in a galaxy, you can reasonably estimate the mass of its black hole! So if we want to build a census of black holes, we can start out with a census of galaxy stellar masses!
2/8
Okay, so how do you measure the stellar mass of a galaxy? The complicated and difficult approach (ya know, the way that's a great PhD project) is to make careful measurements of the motions of the stars then carefully model those motions and infer the mass distribution. This is extremely expensive, taking several months of grad-student-time to produce a single reliable and well-tested measurement.
The simpler approach is to notice that brighter galaxies are probably heavier! But it's not trivial to relate the brightness and the mass. More massive galaxies tend to have older stars in them, and those older stars tend to be fainter than other younger stars with the same masses.
Can we approximate this? Yep! there are now about a dozen high-precision measurements of the stellar mass for galaxies above about 300 billion solar masses within 100 megaparsecs of us. In the figure, we do a very simple fit to relate the brightness of these galaxies to their stellar masses.
3/8
Okay, so how do you measure the stellar mass of a galaxy? The complicated and difficult approach (ya know, the way that's a great PhD project) is to make careful measurements of the motions of the stars then carefully model those motions and infer the mass distribution. This is extremely expensive, taking several months of grad-student-time to produce a single reliable and well-tested measurement.