In the philosophy of thermal and statistical physics, Maxwell's demon is a thought experiment created by the physicistJames Clerk Maxwell in which he suggested how the Second Law of Thermodynamics could hypothetically be violated. In the thought experiment, a demon controls a small door between two chambers of gas. As individual gas molecules approach the door, the demon quickly opens and shuts the door so that fast molecules pass into the other chamber, while slow molecules remain in the first chamber. Because faster molecules are hotter, the demon's behavior causes one chamber to warm up as the other cools, thus decreasing entropy and violating the Second Law of Thermodynamics.
Everyone loves a thought experiment, from Maxwell's demon to the classic bootstrap paradox ... ADVERTISEMENT ... For this reason, among others, the thought experiment was banned from LessWrong, where it was first posted. ... ADVERTISEMENT ... ADVERTISEMENT ... .