If the wavelength of a wave decreases while the speed remains constant, the frequency of the wave will increase. This is because the frequency is inversely proportional to the wavelength according to the wave equation: frequency = speed / wavelength. Therefore, if the wavelength decreases, the frequency must increase to maintain a constant speed.