Question: what is the relationship between density and frequency?
Answer: The density of a wave in a given space is determined by its frequency and wavelength. If a low-wavelength wave is propagating with high frequency, it's density in a given space will be very high, as a large no. Of crests and troughs will be concentrated in that area.