As a wavelength increases in size, its frequency and energy (E) decrease. From these equations you may realize that as the frequency increases, the wavelength gets shorter. As the frequency decreases, the wavelength gets longer. There are two basic types of waves: mechanical and electromagnetic.