If the wavelength of a wave decreases but the speed remains constant, what happens to the frequency of the wave?

If the wavelength of a wave decreases but the speed remains constant, the frequency of the wave increases. This relationship is described by the formula:

speed of wave = frequency × wavelength.

Since the speed of the wave remains constant, if the wavelength gets shorter, the frequency must increase in order to maintain the same speed. This is because frequency and wavelength are inversely proportional to each other.