# Do temperature and kinetic energy depend on overall motion? [duplicate]

Suppose I place a cylinder filled with ideal gas is placed on a train, which starts moving. Does the kinetic energy of the gas molecules increase? Will the temperature of the gas rise as a consequence?

Further details: This question arises from a book I was reading, which states that

The motion of molecules is truly random. In other words, the center of mass of the gas is assumed to be at rest and any rotation about the center of mass is assumed to be absent. Any systematic motion of a gas sample has no effect on temperature.

## marked as duplicate by Community♦Dec 24 '16 at 6:50

Kinetic energy does indeed depend on overall motion, as is apparent from the formula $K=mv^2/2$. Naively looking at the definition of temperature, $3kT/2=mv^2/2$, where $v$ is the rms velocity of the gas molecules, one could (erroneously) be convinced that temperature behaves in the same manner.