I guess BR book is wrong? Here is a direct quote from BR physics part 2 p.39:
"Just like sound intensity, the speed of sound also increases as a medium becomes denser. If we are looking for the medium in which the speed of sound is slowest, we would be looking for the medium of least density."
This seems contradictory.
Speed of sound in a medium depends on two properties of the medium.
1. Elasticity (Stiffness/Change in shape)
2. Inertia (Density/Change in motion)
Plus Temperature
Denser mediums slow down the speed of sound while stiffer mediums speed up the speed. There is competition between these two.
Water is denser than air, yet water's speed of sound is high. This is because, a little change in pressure changes volume largely in air (representing low Bulk Modulus); but water has larger bulk modulus. Stiffness or bulk modulus wins over density; water has high speed of sound.
For speed of sound comparisons,
Mercury vs. Water:
Mercury is denser than water. ----> favors water
Mercury is stiffer than water? ----> I don't know. Even if it is, I doubt it will win over density.
Density wins. Water has higher speed of sound.
Water vs. Wood:
Water is denser than wood. ----> favors wood
Wood is much stiffer than water.----> favors wood
Both wins. Wood has higher speed of sound.
Wood vs. Aluminum:
Aluminum is denser than wood. ----> favors wood
Aluminum is much stiffer than wood. ----> favor aluminum
Stiffness wins. Aluminum has higher speed of sound.
Aluminum vs. Steel:
Steel is denser than aluminum. ----> favors aluminum
Steel is much stiffer than aluminum ----> favor steel
Stiffness wins again. Steel has higher speed of sound.