Here's why:
* Electromagnetic Spectrum: Both infrared and X-rays are part of the electromagnetic spectrum, which is a range of all types of electromagnetic radiation. The spectrum is ordered by wavelength, with longer wavelengths at one end and shorter wavelengths at the other.
* Wavelength and Energy: Wavelength and energy are inversely proportional. This means that longer wavelengths correspond to lower energy, and shorter wavelengths correspond to higher energy.
* Infrared vs. X-ray: Infrared radiation has a lower energy than X-rays, meaning it has a longer wavelength.
In summary: Infrared radiation has a longer wavelength than X-rays.