Strictly speaking, the bulk modulus is a
thermodynamic quantity, and in order to specify a bulk modulus it is necessary to specify how the pressure varies during compression: constant-
temperature (isothermal K_T), constant-
entropy (
isentropic K_S), and other variations are possible. Such distinctions are especially relevant for
gases. For an
ideal gas, an isentropic process has: :PV^\gamma=\text{constant} \Rightarrow P\propto \left(\frac{1}{V}\right)^\gamma\propto \rho ^\gamma, where \gamma is the
heat capacity ratio. Therefore, the isentropic bulk modulus K_S is given by :K_S=\gamma P. Similarly, an isothermal process of an ideal gas has: :PV=\text{constant} \Rightarrow P\propto \frac{1}{V} \propto \rho, Therefore, the isothermal bulk modulus K_T is given by :K_T = P . When the gas is not ideal, these equations give only an approximation of the bulk modulus. In a fluid, the bulk modulus K and the
density \rho determine the
speed of sound c (
pressure waves), according to the Newton-Laplace formula :c=\sqrt{\frac{K_S}{\rho}}. In solids, K_S and K_T have very similar values. Solids can also sustain
transverse waves: for these materials one additional
elastic modulus, for example the shear modulus, is needed to determine wave speeds. == Measurement ==