Cover of The Railway Locomotive, a book by Ketineni RamaraoFrom the book The Railway Locomotive
Chapters 11, 12, 13 and 14. Read the full book free as a PDF.

A bet in Merthyr Tydfil

In 1803 Samuel Homfray, master of the Penydarren Iron Works at Merthyr Tydfil in South Wales, wagered five hundred guineas with his neighbour Anthony Hill that a steam engine could haul ten tons of iron down the nine and a half miles of the Merthyr tramroad to the Glamorganshire Canal. Homfray's confidence had a name attached: Richard Trevithick, the Cornish engineer whose high-pressure steam engines his works already used. On 21 February 1804 the engine made the journey, pulling the iron, seventy men who had climbed aboard for the adventure, and - though nobody present could have said so - the entire future of land transport. Guinness World Records recognises it as the first full-scale working railway steam locomotive.

The machine was improvised around its road. It had a single horizontal cylinder eight and a half inches across, a boiler whose single flue doubled back on itself, and plain flangeless wheels, because the tramroad was a plateway - flat cast-iron plates with guiding flanges, laid for horses. The five-ton engine cracked the plates by the dozen on the way down. Homfray won his bet, the iron reached the canal, and the world barely noticed: Wales was the edge of the industrial world, and a machine that broke the road it ran on looked like a curiosity.

The lesson of Catch Me Who Can

Trevithick built twice more. His 1805 engine for the Wylam colliery in Northumberland never ran, for want of rails strong enough to carry it - the first proof that locomotive and track are one machine, and the weaker half sets the limits. In 1808 he laid a circular track on open ground in London, near where Euston station now stands, and hauled paying passengers in circles at twelve miles an hour behind an engine he named Catch Me Who Can. It was the first time the public could buy a ride behind steam, and it failed commercially. Trevithick went to South America to sell pumping engines, lost what he had, and died poor in 1833. The pattern recurs throughout industrial history: the man who makes the decisive leap is rarely the man who builds the industry on it.

Puffing Billy, an early colliery steam locomotive from 1813-14, displayed in the London Science Museum: a small green engine with vertical cylinders and four coupled wheels.
Puffing Billy, built at Wylam colliery in 1813-14 - the engine that proved a smooth wheel could haul by adhesion alone. Now in the Science Museum, London. Photo: Slashme, CC BY-SA 4.0, via Wikimedia Commons.

The coalfield workshop

Between 1804 and 1825 the locomotive grew up in private, in the collieries of Northumberland and Durham. At Wylam, William Hedley's Puffing Billy of 1813-14 settled the question that had dogged Trevithick: a smooth iron wheel on a smooth iron rail grips by friction alone, with no rack or toothed rail, and Hedley demonstrated it with a test wagon loaded with observers. At Killingworth, George Stephenson - enginewright from 1812 - built his first locomotive, Blucher, in 1814, then spent fifteen years correcting one defect at a time: stronger wrought-iron rails, coupled wheels to spread the weight, and the exhaust steam blast piped up the chimney, which made the fire burn harder exactly when the engine worked hardest. It was the steam locomotive's most useful side effect: the exhaust that creates the draught is steam already used in the cylinders, put to a second use, though the draught is not free power: it adds back pressure that costs the engine some efficiency.

In 1823 George and his son Robert founded Robert Stephenson and Company in Newcastle - the first factory in the world built specifically to manufacture locomotives. Until then every engine had been a colliery's own product; from 1823 there existed a firm whose whole business was locomotives, building for railways its men would never see.

The track mattered as much as the engine. The colliery years were also the years in which brittle cast-iron plates gave way to cast-iron edge rails and then, by the 1820s, to rolled wrought-iron rails - the enabling material the locomotive had been waiting for since 1804. And the stakes are worth remembering: in the world before the locomotive, nothing on land had ever moved faster than a horse. The demand to travel - to visit, to trade, to see - had been capped for all of history by the speed of an animal, and nobody knew the size of that demand until the cap came off. The Stockton and Darlington's directors expected a coal road with a sideline in passengers; they found the reverse, a public so eager to be carried that passenger receipts outran every forecast.

Stephenson's two verdicts

The Stockton and Darlington Railway, opened on 27 September 1825 with Stephenson at the controls of Locomotion No. 1 and some six hundred passengers behind, put the pieces together: a public company, steam power, and a paying public. Then, in October 1829, the Liverpool and Manchester Railway staged the Rainhill trials - a five-hundred-pound prize, published specifications, three independent judges. Five machines entered; four broke down; Robert Stephenson's Rocket, with its revolutionary boiler of twenty-five copper fire-tubes, completed the course at an average of better than thirteen miles an hour without a single defect, then ran light at thirty-five for the crowd. Rainhill settled that the locomotive would work the railways, settled its design for a century, and settled who would build them. So: Trevithick invented the railway locomotive. The Stephensons proved it could pay.

Stephenson's Rocket of 1829: a small early railway locomotive with a tall angled cylinder, large driving wheels and a tall chimney.
Robert Stephenson's Rocket, the only machine to complete the Rainhill trials of October 1829 - the design that fixed the steam locomotive's form for a century. Photo: US Bureau of Public Roads, Public domain, via Wikimedia Commons.

Quick answers

Who built the first railway locomotive?

Richard Trevithick. His Penydarren engine hauled ten tons of iron and seventy men along nine and a half miles of Welsh tramroad on 21 February 1804 - twenty-five years before Stephenson's Rocket.

Did George Stephenson invent the locomotive?

No. Stephenson built his first locomotive, Blucher, in 1814, ten years after Trevithick's run. His achievement was different: he matured the machine in the colliery years, founded the first locomotive factory in 1823, and won the Rainhill trials that fixed the design.

What was the Rainhill prize?

Five hundred pounds, offered by the Liverpool and Manchester Railway in 1829 for a locomotive that could pull three times its own weight at ten miles an hour within strict weight and cost limits. Rocket was the only entrant to finish the course.

Sources

The 1804 Penydarren run and the Rainhill results follow Guinness World Records, the BBC and the ASME landmark record; prize and trial conditions from the published specification.

More from this book

Mechanics · From the book The Railway Locomotive

How does a steam locomotive work?

A steam locomotive is a portable power station that burns fuel to boil water, turns the steam's pressure into a piston's push, and turns that push into the rotation of driving wheels - and every part of its anatomy, from the firebox to the chimney, exists to make that chain run harder, longer and safer.

Chronology · From the book The Railway Locomotive

The history of the railway locomotive

In 1804 a locomotive hauled ten tons of iron nine and a half miles and cracked the road beneath it.

Economics · From the book The Railway Locomotive

Why did diesel locomotives replace steam?

Within about a decade of 1948, the Class I railroads of the United States had replaced nearly all of their steam locomotives with diesels.