Mass in special relativity (including the kinetic energy of the gas) only when it is measured in the center of momentum frame. Just as is the case for single particles, the calculated "rest mass" of such a container of gas does not change when it is in motion, although its "relativistic mass" does change. The container may even be subjected to a force which gives it an overall velocity, or else (equivalently) it may be viewed from an inertial frame in which it has an overall velocity (that is, technically, a frame in which its center of mass has a velocity). In this case,
Group velocity amplitudes diminish as they approach the leading edge. The longer waves travel more slowly, and their amplitudes diminish as they emerge from the trailing boundary of the group. The group velocity is defined by the equation: where is the wave's angular frequency (usually expressed in radians per second), and is the angular wavenumber (usually expressed in radians per meter). The phase velocity is: . The function , which gives as a function of , is known as the dispersion relation. One derivation of the formula for group velocity is as follows. Consider a wave packet as a function of position