I am trying to understand the example provided in this section of the Wikipedia article on scale invariance. In particular where it says
In order to deduce the scale invariance of these equations we specify an equation of state, relating the fluid pressure to the fluid density
The state equation used is $$ P = c_s ^2 \rho$$
Q: Why such specification of the state equation is necessary and why that particular choice ensures the scale invariance?