Scottish education in the nineteenth century world. His students founded practical chemistry at Aberdeen soon after. William Thomson, 1st Baron Kelvin was appointed to the chair of natural philosophy at Glasgow aged only 22. His work included the mathematical analysis of electricity and formulation of the first and second laws of thermodynamics. By 1870 Kelvin and Rankine made Glasgow the leading centre of science and engineering education and investigation in Britain. At Edinburgh, major figures included David Brewster (1781–1868), who made contributions to the science of optics and to the development of photography. Fleeming Jenkin (1833–85) was the first professor of engineering at the university and
19th century in science thermal, and electrical forms of work—to formulate the first law. Kelvin and Clausius also stated the second law of thermodynamics, which was originally formulated in terms of the fact that heat does not spontaneously flow from a colder body to a hotter. Other formulations followed quickly (for example, the second law was expounded in Thomson and Peter Guthrie Tait's influential work "Treatise on Natural Philosophy") and Kelvin in particular understood some of the law's general implications. The second Law was the idea that gases consist of molecules in motion had been discussed in some detail by Daniel Bernoulli in 1738,