M101

ASTR 222 — Galaxies & Cosmology

Homework 1 — Due 2 Feb in class

  1. Star Counts

    In star count lingo, N(m) is defined to be the number of stars observed with apparent magnitude brighter than m. As we saw in class, if the Galaxy had a uniform density of stars and is infinite in extent, we should see the star counts go as logN(m) ~ 0.6m (even if stars don’t all have the same brightness).

    Here is a table of integrated star counts expressed in logN(m) (again, N(m)=number of stars brighter than apparent magnitude m) from Allen’s “Astrophysical Quantities.” The columns are
    mag: apparent magnitude (m)
    logN_up: log N(m) in a direction up out of the galactic plane
    logN_in: log N(m) in a direction towards the galactic center

    With this data, make a single plot showing log N vs m in the two different directions. Also include on the plot the expected logN-vs-m relation for an infinite, uniform distribution of stars (0.6m). Explain qualitatively why the star counts in different directions are different from each other, and also why they are different from the uniform model.

    Note:  log N goes on the y-axis and m goes on the x-axis.

  2. Fun with Magnitudes!

    a. A (very strange!) star cluster is made up of 106 stars identical to the Sun (MV=+4.83, B-V=0.65). What is its total V-band absolute magnitude? What is its B-V color?

    b. Another very strange star cluster is made up of 106 Suns and another 105 red giants (MV=+1.00, B-V=1.0). What is its total V band absolute magnitude? What is its B-V color? What fraction of the total V band light of the cluster is coming from the red giants?

    Tip: the absolute magnitude of the Sun in B is MB=+5.48 and in V is MV=+4.83. How would you compute the individual luminosity in B and V of a star above using those values?

  3. HR Diagrams

    Based on what you know about stellar evolution, stellar populations, and the colors and magnitudes of stars, sketch what you might expect an HR diagram for the solar neighborhood to look like. Tip: think about what kinds and ages of stars might be present (and most common!) in the solar neighborhood.

    Remember that HR diagrams are theoretical distributions of where stars fall in color and magnitude. Color-magnitude diagrams (CMDs) are what we actually observe. Write down potential biases in observing stars in the solar neighborhood. Based on these biases, sketch what you think the solar neighborhood CMD will look like. Describe the major differences.

  4. Galactic Coordinates

    a. Estimate the height (z) above or below the Galactic plane for both M13 (l = 59.0°, b = 40.9°) and the Orion Nebula (l = 209.1°, b = -19.4°). M13 and the Orion Nebula are 7 kpc and 450 pc from Earth, respectively.

    b. To which components of the Galaxy do these objects likely belong? Explain your answers.

  5. Studying the Galaxy with Globular Clusters
    Here is a list of (real!) data for globular clusters.
    The data give:

    • the angular coordinates of each cluster in galactic coordinates (l,b).
    • the distance from the Sun, R, in kiloparsecs
    • the metallicity of the globular cluster, [Fe/H]. (Note: if [Fe/H] = 999, that means there is no measurement.)
    • the observed radial velocity of the cluster, Vr, in km/s. (Note: if Vr = 999, that means there is no measurement.)

    We are going to use this data to learn about the distance to the galactic center, and the rotation speed of the Milky Way. First, transform the observed data (l, b, R) into cartesian coordinates (X,Y,Z). +X should point towards the galactic center (l=0), +Y should point in the direction of rotation (l=90), and +Z should point above the plane (positive b).
    Defined this way, we have

    • X=Rcos(l)cos(b)
    • Y=Rsin(l)cos(b)
    • Z=Rsin(b)

    Be careful with trig functions when coding! numpy trig functions assume angles are given in radians, not degrees, but the data file lists angles in degrees, so you must convert. Z=R*np.sin(b) would be incorrect, Z=R*np.sin(np.radians(b)) will work.

    Calculate and plot the X,Y,Z positions to get a feel for the distribution of globular clusters in the Galaxy. Plot the X-Y and X-Z projections so that you can see how things are distributed along each axis.

    • Make X-Y and X-Z plots for the metal-poor globular clusters with [Fe/H] < -0.8
    • Make the same plot for the metal-rich globular clusters with [Fe/H] > -0.8
    • Note: Be careful not to include clusters which do not have measured [Fe/H]! So make sure to “filter” your data. Try something like this:
      MR = (feh>-0.8) & (feh!=999) # define which clusters are metal rich
      plt.scatter(x[MR],y[MR]) # only plot metal rich clusters
    • Explain how the two distributions are different.

    Coding alert: Make sure your plots have the same XYZ range, and that a circle would be a circle on your plot! Otherwise you won’t be able to compare the shape and extent of the two distributions. Two tips for making this plot:

    1. Set the x and y limits on your plot by hand, rather than letting python autoscale the plot.
    2. Tell python you want equal axis ratio on your plots. Say plt.axis('equal'), or if you are using subplots, say subplot_name.set_aspect('equal').

    In the 1910s, Harlow Shapley derived the distance to the Galactic Center by using the positions of the globular clusters. Now it’s your turn:

    • What is the (X,Y,Z) center of the metal-poor globular cluster system? How far, then, is the Galactic Center?
    • What is the (X,Y,Z) center of the metal-rich globular cluster system? How far, then, is the Galactic Center?
    • Which of these two measurements do you feel is more accurate? Why?