Structural isomer
Compounds with the same functional groups will all absorb certain wavelengths of infrared light because of the vibrations associated with those groups. In fact, the infrared spectrum is divided into two regions. The first part is called the functional group region. Dimethyl ether and ethanol would have dissimilar infrared spectra in the functional group region.