What happens to the wavelength when the frequency increases

When the frequency of a wave increases, the wavelength decreases. This is because the speed of the wave remains constant in a given medium, but the frequency and wavelength are inversely proportional to each other according to the equation:

Speed = Frequency x Wavelength

So, if the frequency increases, the wavelength must decrease in order to keep the speed constant.