It is said that the spectral lines of a particular atom or molecule is unique and this could be used to identify the substance by comparing the spectrum with the existing library of spectra of different atoms, molecules and compounds. In other words, spectral lines are like the fingerprints which help to identify different substances. This is used by astronomers to identify the chemical composition of distant stars and planets.

The Wikipedia article on spectral lines gives the spectral lines for most of the elements in the periodic table.

Usually stars and planets have diverse composition i.e., have different atoms, molecules and compounds. So the spectrum observed from these sources must have spectral lines belonging to each and every substance superposed on one another.

Let us assume Star X contains two elements A and B (for which the spectral lines are already known and are given in the first and second spectra in the following figure). When astronomers analyse the light from Star X, they would be seeing something like the third spectrum in the following figure.

enter image description here

My doubt is, on seeing only the third spectrum how can an astronomer conclude the Star X is made of Elements A and B? Why can't it be made of Element C alone which matches the third spectrum all by itself? How do they know which spectral line belongs to which element?

We've just considered two elements but in reality there will be even more. More the number of elements more populated will be the resulting spectrum. So, the process of finding the composition becomes even more complicated. We've seen how difficult it would be to identify the elements. But in addition to this, they find the relative composition of elements in distant stars and planets based on the spectral lines. How do they do this?

To put this question in some common terms - how do investigators identify different criminals when each and everyone places their fingerprint on the same location such that the patterns overlap? However, let's limit the answers explaining only the "optical fingerprints" of elements.

  • 2
    $\begingroup$ What is observed is not the emission spectrum but the absorption lines, Fraunhofer lines. Atomic lines are narrow. $\endgroup$
    – user137289
    Commented Jan 23, 2020 at 9:44
  • 6
    $\begingroup$ This is a Personal Incredulity question: You underestimate the accuracy of the measurements and the painstaking effort that provided the reference data. $\endgroup$ Commented Jan 23, 2020 at 10:16
  • 4
    $\begingroup$ @OscarBravo it's a fair question though. You could add an answer pointing out the high precision of the measurements allows separation of the spectra. $\endgroup$ Commented Jan 23, 2020 at 10:20
  • 2
    $\begingroup$ You neglect that likely element C would be known as well. This is in addition to the precision issue. $\endgroup$
    – Alchimista
    Commented Jan 23, 2020 at 10:29
  • 2
    $\begingroup$ @Alchimista: While that's most likely true nowadays, it wasn't always the case - for instance, helium was discovered from its absorption lines in the solar spectrum long before it was isolated and its other properties characterised. $\endgroup$
    – Vikki
    Commented Jan 24, 2020 at 0:22

1 Answer 1


As you point out, this is a difficult task. Nonetheless, it can be done. Key to the process is having on hand the absorption line spectra (Fraunhofer lines) for as many of the (pure, unmixed) elements as possible in advance; this then lets the investigator determine if (in your example) the combined spectra for A+B is 1) actually another element C, or 2) just a mixture of A+B.

Also note that the spectrum for (for example) iron and other "heavy" elements is complex, with many lines at unique wavelengths. As such, the "fingerprint" for iron has many distinguishing features in it, all of which must be present to positively identify the presence of iron. So, one by one, the different elements in the spectrum can be picked out, and the process of looking for line matches between the "archived" reference standards and the actual spectrum proceeds until all the lines are accounted for.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.