Question: what happens to wavelength when you vary frequency?
Answer: When frequency increases more wave crests pass a fixed point each second. That means the wavelength shortens. So, as frequency increases, wavelength decreases. The opposite is also true—as frequency decreases, wavelength increases.