Not all vibrational modes are IR-active. For a vibration to be IR-active, it must result in a change in the dipole moment of the molecule. Vibrations that do not change the dipole moment are IR-inactive and will not appear in the IR spectrum. For example:
In a symmetric molecule like CO₂, the symmetric stretch (where both C=O bonds stretch simultaneously in the same direction) is IR-inactive because it does not change the dipole moment. However, the asymmetric stretch (where one bond stretches while the other compresses) is IR-active and appears in the spectrum.
The fundamental principle behind infrared (IR) spectroscopy is the interaction of infrared radiation with the vibrational modes of molecules. However, not all molecular vibrations lead to absorption of IR radiation. For a vibration to be detected in an IR spectrum, it must result in a change in the molecule's dipole moment. This requirement leads to the concept of IR-active and IR-inactive vibrations.
In essence, the rule is simple: if a vibration changes the dipole moment of the molecule, it will be seen in an IR spectrum; if it does not, it will not.