Final answer:
The amount of energy in a photon determines its wavelength, with higher energy photons having shorter wavelengths and lower energy photons having longer wavelengths.
Step-by-step explanation:
The amount of energy in a photon determines its wavelength, the distance it travels during one complete vibration. Photons with higher energy vibrate more quickly and, as a result, have a shorter wavelength. Conversely, photons with less energy vibrate more slowly and have longer wavelengths. This relationship is expressed through the formula E = hf, where E denotes the energy of the photon, f stands for the frequency, and h is Planck's constant. Wavelength and frequency are inversely related, meaning as the frequency of a photon increases, its wavelength decreases and vice versa.