The vortex theory of the atom was a 19th-century attempt by William Thomson (later Lord Kelvin) to explain why the atoms recently discovered by chemists came in only relatively few varieties but in very great numbers of each kind. Based on the idea of stable, knotted vortices in the ether or aether, it contributed an important mathematical legacy.