Reading Galaxy Spectra

A galaxy spectrum is composed of light emitted from the galaxy, which is separated out according to wavelength. The spectrum typically has a smooth underlying level of continuum, at all wavelengths, broken up by a few fairly narrow emission or absorption features occurring at key wavelengths.

These features are generated when electrons within atoms of hydrogen, oxygen, and other elements which make up a galaxy emit or absorb radiation. By studying these features, we can learn much about the chemical composition of galaxies. Because these features are generated by specific transitions within the atoms, they occur at specific wavelengths in the galaxy spectrum. Astronomers quickly learn to recognize patterns in spectral features, and with a little practice you will be able to do the same.

In the optical spectrum shown below, we see the typical features of a spiral galaxy like our own Milky Way. From the shortest to the longest wavelengths, key violet, blue, and red features indicate the presence of hydrogen (run your cursor over the diagram slowly, to identify the peaks at 3890, 4102, 4102, 4340, 4861, and 6563 Angstroms). The H-alpha emission line at 6563 Angstroms is one of the strongest features in galaxy spectra, and accounts for the deep red colors observed in many Hubble Space Telescope images of hydrogen in other galaxies. Less prevalent, but equally important, the neighboring green peaks at 4959 and 5007 Angstroms point to the presence of oxygen and indicate that new stars are forming in the galaxy, while the close doublet of red lines at 6717 and 6731 Angstroms is created by sulfur.

Two-part Sample Spectrum. Plot of flux as a function of wavelength in the visual portion of the spectrum, where the flux line is colored violet through red to match the wavelength. The lines are those described in the text above (three peaks in the violet, one dark blue peak, one light blue peak, two green peaks, and two red peaks (second is actually two lines which overlap). Below the line plot a parallel rainbow spectrum is shown (a long rectangular box with a black background, with bright vertical colored lines at the same horizontal positions as the line features in the line plot).
[NMSU, N. Vogt]

3890 Angstroms 3970 Angstroms 4102 Angstroms 4340 Angstroms 4861 Angstroms 4959 Angstroms 5007 Angstroms 6563 Angstroms 6717 and 6731 Angstroms

You may find yourself looking a subsection of an optical spectrum rather than the complete optical window. Because the relative spacing of the lines is constant, you can identify the region by looking for sets of lines which lie closely together. Without looking at the wavelengths marked on the x-axes of the three following figures, you should be able to match each one to a different portion of the total optical spectrum shown above. Examine the colors and the pattern of the lines in each one.

Two-part Sample Spectrum (expansion of first figure, focused on violet region). Plot of flux as a function of wavelength in the violet portion of the visual spectrum, where the flux line is colored dark violet through dark blue to match the wavelength. The lines are those described in the text above (three peaks in the violet and one dark blue peak). Below the line plot a parallel rainbow spectrum is shown (a long rectangular box with a black background, with bright vertical colored lines at the same horizontal positions as the line features in the line plot).
[NMSU, N. Vogt]

Which elements create these emission lines features?

Two-part Sample Spectrum (expansion of first figure, focused on blur-green region). Plot of flux as a function of wavelength in the blue and green portion of the visual spectrum, where the flux line is colored blue through green to match the wavelength. The lines are those described in the text above (one blue peak and two green peaks). Below the line plot a parallel rainbow spectrum is shown (a long rectangular box with a black background, with bright vertical colored lines at the same horizontal positions as the line features in the line plot).
[NMSU, N. Vogt]

Would you expect to find red in a Hubble Space Telescope color image of a galaxy with this spectrum?

Two-part Sample Spectrum (expansion of first figure, focused on red region). Plot of flux as a function of wavelength in the red portion of the visual spectrum, where the flux line is colored light red through dark red to match the wavelength. The lines are those described in the text above (two red peaks, with the second one being a blend of two closely spaced peaks). Below the line plot a parallel rainbow spectrum is shown (a long rectangular box with a black background, with bright vertical colored lines at the same horizontal positions as the line features in the line plot).
[NMSU, N. Vogt]

There is one more important factor that we need to understand when examining optical galaxy spectra. In order to correctly identify any features, and the elements which produce them, we must take into account the effect of the velocity of the galaxy relative to our position in the Milky Way.

Just as the doppler shift of an incoming train whistle makes the pitch sound higher (it lies at a higher frequency, or shorter wavelength), and when the train is moving away from you the pitch sounds deeper (it lies at a lower frequency, or longer wavelength), the velocity of a galaxy moving towards us or away from us will shift the frequency and wavelength of the features in its galaxy spectrum.

The relationship between the shift in wavelength of a given feature and the velocity of the galaxy which emits the light is well understood for nearby galaxies. The velocity v in terms of c, the speed of light, is equal to the difference between the observed wavelength of the light and its restframe wavelength, in terms of the restframe wavelength. We write these words as an equation like this:

Equation: v divided by c is equal to the difference between the observed and the rest wavelength (lambda-sub-obs minus lambda-sub-rest) divided by the rest wavelength (lambda-sub-rest).

We can rewrite this equation to express the observed wavelength of the light in terms of the restframe wavelength and the velocity. This tells us that if a galaxy is moving at a positive velocity (away from us), the observed wavelength of any particular feature will be larger than its restframe wavelength. If a galaxy is moving with a velocity less than zero (towards us), the feature will have a smaller wavelength than in the restframe.

Equation: The observed wavelength (lambda-sub-obs) is equal to the rest wavelength (lambda-sub-rest) times the sum of one plus the ratio of v over c ( 1 + (v/c) ).

All of the spectra drawn above assume that the galaxy under observation is not moving with respect to the Milky Way. The emission features generated by the presence of hydrogen, for example, lie at the same wavelengths as features found in hydrogen gas studied in a laboratory here on Earth. Let us return to the first spectrum drawn at the top of this page (we'll redraw it right here). From now one, we will refer to a spectrum like this as a restframe spectrum, because the source of the light is at rest relative to us.

Two-part Sample Spectrum (repeat of first figure). Plot of flux as a function of wavelength in the visual portion of the spectrum, where the flux line is colored violet through red to match the wavelength. The lines are those described in the text above (three peaks in the violet, one dark blue peak, one light blue peak, two green peaks, and two red peaks (second is actually two lines which overlap). Below the line plot a parallel rainbow spectrum is shown (a long rectangular box with a black background, with bright vertical colored lines at the same horizontal positions as the line features in the line plot).
[NMSU, N. Vogt]

We now draw the spectrum of a galaxy which is moving rapidly away from the Milky Way (carried along by the overall expansion of the Universe). Examine the spectrum carefully. How is it different from the one drawn directly above?

Two-part Sample Spectrum. This figure is identical to the one above (the restframe spectrum) in all but one aspect. The key difference is that all of the line features have been shifted to the right to longer wavelengths. This shift is large enough that an additional line can now be found at the shortest wavelengths (previously it fell off-screen). The pattern of the lines is still seen, but the violet lines are now less violet and more blue, the green lines have a yellowish tinge, and the red lines are a darker red.
[NMSU, N. Vogt]

You should be able to identify the same pattern of emission lines within both spectra, with one critical difference – all of the lines in the lower spectrum appear at longer wavelengths than their restframe counterparts. We have the same set of four hydrogen features at blue wavelengths, but now all four lines lie to the right at wavelengths larger than 4000 Angstroms. We next encounter three emission lines which cluster together; rather than exhibiting light blue and green colors, they have shifted towards longer wavelengths and yellower colors. Finally, the features found in the red portion of the spectrum are at redder and redder colors. Because all of the features have shifted together to the right, in the direction of the red end of the optical spectrum, we say that this spectrum is redshifted. The faster than the galaxy is moving away from us, the larger the shift in wavelength of every feature within the spectrum.

Once you are comfortable with the concept of a redshifted spectrum, your sense of balance and fair play may lead you to ask about the existence of its doppelganger (twin), namely the blueshifted spectrum. Though most galaxies within the Universe are expanding away from us, and have redshifted spectra, we have a few neighbors which are coming closer and closer to the Milky Way and have blueshifted spectra.

Here is a sample blueshifted spectrum. You can see, for example, how the three features near to 5000 Angstroms now lie well below this limit, and have turned from green to blue. The bluest features in our spectrum are now in danger of falling off of the left hand edge of the spectrum; if the galaxy were moving slightly faster towards us, they would have been shifted to shorter wavelength ultraviolet wavelengths, and be lost from our optical spectrum. You would be able to identify the overall shift of the spectral lines even without them, however, by keying on the three lines near to 5000 Angstroms and their characteristic relative positions.

Two-part Sample Spectrum. This figure is identical to the restframe one shown one above in all but one aspect. The key difference is that all of the line features have been shifted to the left to shorter wavelengths. The pattern of the lines is still seen, but the violet lines are now more violet and less blue, the green lines have a bluish tinge, and the red lines are a lighter red.
[NMSU, N. Vogt]

At first it may seem incorrect that such galaxies would exist – after all, if the entire Universe is expanding outwards, how could anything be getting closer to us? The solution to this puzzle becomes clear when we consider the effect of gravity. Because gravity is a strong force which attracts nearby objects together, when galaxies are quite close to each other their self-attraction can overwhelm the overall expansion of space. The nearest large galaxy to us, Andromeda, is in fact on a collision course with the Milky Way, and the two galaxies will eventually merge into one.