He was a founding contributor, with Rudolf Clausius and William Thomson (Lord Kelvin), to the science of thermodynamics, particularly focusing on its First Law.
William was initially educated at home, due to his poor health,[4] but he later attended Ayr Academy (1828–29) and then the High School of Glasgow (1830).
By that year William was already highly proficient in mathematics and received, as a gift from his uncle, Isaac Newton's Principia (1687) in the original Latin.
During vacations, he assisted his father who, from 1830, was manager and, later, effective treasurer and engineer of the Edinburgh and Dalkeith Railway which brought coal into the growing city.
He left the University of Edinburgh in 1838 without a degree (which was not then unusual) and, perhaps because of straitened family finances, became an apprentice to Sir John Benjamin Macneill, who was at the time surveyor to the Irish Railway Commission.
The year 1842 also marked Rankine's first attempt to reduce the phenomena of heat to a mathematical form but he was frustrated by his lack of experimental data.
At the time of Queen Victoria's visit to Scotland, later that year, he organised a large bonfire situated on Arthur's Seat, constructed with radiating air passages under the fuel.
[3] He died at 8 Albion Crescent (now called Dowanside Road), Dowanhill, Glasgow at 11:45pm on Christmas Eve, 24 December 1872, aged only 52.
Though his theory of circulating streams of elastic vortices whose volumes spontaneously adapted to their environment sounds fanciful to scientists formed on a modern account, by 1849, he had succeeded in finding the relationship between saturated vapour pressure and temperature.
The following year, he used his theory to establish relationships between the temperature, pressure and density of gases, and expressions for the latent heat of evaporation of a liquid.
By 1855, Rankine had formulated a science of energetics which gave an account of dynamics in terms of energy and its transformations rather than force and motion.
And, in 1864, he contended that the microscopic theories of heat proposed by Clausius and James Clerk Maxwell, based on linear atomic motion, were inadequate.
He showed that the axles had failed by progressive growth of a brittle crack from a shoulder or other stress concentration source on the shaft, such as a keyway.
The theory of recrystallisation was quite wrong, and inhibited worthwhile research until the work of William Fairbairn a few years later, which showed the weakening effect of repeated flexure on large beams.