Rail transport (also known as train transport) is a mode of transport using wheeled vehicles running on tracks, which usually consist of two parallel steel rails. Rail transport is one of the two primary means of land transport, next to road transport. It is used for about 8% of passenger and freight transport globally, thanks to its energy efficiency and potentially high speed. Additionally, the track spreads the weight of the train which means larger amounts can be carried than with trucks on roads.Rolling stock on rails generally encounters lower frictional resistance than rubber-tyred road vehicles, allowing rail cars to be coupled into longer trains. Power is usually provided by diesel or electric locomotives. While railway transport is capital-intensive and less flexible than road transport, it can carry heavy loads of passengers and cargo with greater energy efficiency and safety.

Precursors of railways driven by human or animal power have existed since antiquity. Modern rail transport began with the invention of the steam locomotive in the United Kingdom at the beginning of the 19th century. The first passenger railway, the Stockton and Darlington Railway, opened in 1825. The quick spread of railways throughout Europe and North America, following the 1830 opening of the first intercity connection in England, was a key component of the Industrial Revolution. The adoption of rail transport lowered shipping costs compared to transport by water or wagon, and led to "national markets" in which prices varied less from city to city.Schwantes, Carlos A. and Ronda, James P. The West the Railroads Made, pp. 4-5, 9, 11, 28-9, 91, 105, 127, University of Washington Press, Seattle and London, 2008. Hilton, George W. American Narrow Gauge Railroads, p. 41, Stanford University Press, Stanford, California, 1990.Floyd, Donald R. California Narrow Gauge: The Role of Narrow-Gauge Railroads in California's Transportation Network, pp. 19-20, 22, The Gibson Press, Mountain View, California, 1970.Athearn, Robert G. Rebel of the Rockies: A History of the Denver and Rio Grande Western Railroad, pp. 4-5, 16-25, Yale University Press, New Haven, Connecticut, 1962.Beebe, Lucius and Clegg, Charles. Narrow Gauge in the Rockies, p. 31, Howell-North, Berkeley, California, 1958.Jensen, Oliver. The American Heritage History of Railroads in America, pp. 7, 32, 84, 104, American Heritage Publishing Company, New York, New York, 1975.

Railroads not only increased the speed of transport, but they also dramatically lowered its cost. For example, the first transcontinental railroad in the United States enabled passengers and freight to cross the country in a matter of days rather than months, at one-tenth the cost of stagecoach or wagon transport. With economical transportation in the West (which had been referred to as the Great American Desert), now farming, ranching, and mining could be done at a profit. As a result, railroads transformed the country, particularly the West (which did not have many navigable rivers).Davidson, James West, et al. American Nation: Independence Through 1914, p. 304, Prentice-Hall, Upper Saddle River, New Jersey, 2000. .Blum, John M. et al. The National Experience: A History of the United States, pp. 298-9, Harcourt, Brace & World, Inc., New York, New York, 1963.

In the 1880s, railway electrification began with tramways and rapid transit systems. Starting in the 1940s, steam locomotives were replaced by diesel locomotives. The first high-speed railway system was introduced in Japan in 1964, and high-speed rail lines now connect many cities in Europe, East Asia, and the eastern United States. Following some decline due to competition from cars and aeroplanes, rail transport has had a revival in recent decades due to road congestion and rising fuel prices, as well as governments investing in rail as a means of reducing CO2 emissions.

History

Smooth, durable road surfaces have been made for wheeled vehicles since prehistoric times. In some cases, they were narrow and in pairs to support only the wheels. That is, they were wagonways or tracks. Some had grooves, flanges, or other mechanical means to keep the wheels on track.

For example, evidence indicates that a 6 to 8.5 km long Diolkos paved trackway transported boats across the Isthmus of Corinth in Greece from around 600 BC. The Diolkos was in use for over 650 years, until at least the 1st century AD. Paved trackways were also later built in Roman Egypt.

Pre-steam modern systems

Wooden rails introduced

In 1515, Cardinal Matthäus Lang wrote a description of the Reisszug, a funicular railway at the Hohensalzburg Fortress in Austria. The line originally used wooden rails and a hemp haulage rope and was operated by human or animal power, through a treadwheel. The line is still operational, although in updated form, and is possibly the oldest operational railway.

Wagonways (or tramways) using wooden rails, hauled by horses, started appearing in the 1550s to facilitate the transport of ore tubs to and from mines and soon became popular in Europe. Such an operation was illustrated in Germany in 1556 by Georgius Agricola in his work De re metallica.Georgius Agricola (trans Hoover), De re metallica (1913), p. 156. This line used "Hund" carts with unflanged wheels running on wooden planks and a vertical pin on the truck fitting into the gap between the planks to keep it going the right way. The miners called the wagons Hunde ("dogs") from the noise they made on the tracks.

There are many references to their use in central Europe in the 16th century.Lewis, Early wooden railways, pp. 8–10. Such a transport system was later used by German miners at Caldbeck, Cumbria, England, perhaps from the 1560s.Warren Allison, Samuel Murphy and Richard Smith, An Early Railway in the German Mines of Caldbeck in G. Boyes (ed.), Early Railways 4: Papers from the 4th International Early Railways Conference 2008 (Six Martlets, Sudbury, 2010), pp. 52–69. A wagonway was built at Prescot, near Liverpool, sometime around 1600, possibly as early as 1594. Owned by Philip Layton, the line carried coal from a pit near Prescot Hall to a terminus about away. A funicular railway was also made at Broseley in Shropshire some time before 1604. This carried coal for James Clifford from his mines down to the River Severn to be loaded onto barges and carried to riverside towns.Peter King, The First Shropshire Railways in G. Boyes (ed.), Early Railways 4: Papers from the 4th International Early Railways Conference 2008 (Six Martlets, Sudbury, 2010), pp. 70–84. The Wollaton Wagonway, completed in 1604 by Huntingdon Beaumont, has sometimes erroneously been cited as the earliest British railway. It ran from Strelley to Wollaton near Nottingham.

The Middleton Railway in Leeds, which was built in 1758, later became the world's oldest operational railway (other than funiculars), albeit now in an upgraded form. In 1764, the first railway in the Americas was built in Lewiston, New York.

Metal rails introduced

In the late 1760s, the Coalbrookdale Company began to fix plates of cast iron to the upper surface of the wooden rails. This allowed a variation of gauge to be used. At first, only balloon loops could be used for turning, but later, movable points were taken into use that allowed for switching.

A system was introduced in which unflanged wheels ran on L-shaped metal plates, which came to be known as plateways. John Curr, a Sheffield colliery manager, invented this flanged rail in 1787, though the exact date of this is disputed. The plate rail was taken up by Benjamin Outram for wagonways serving his canals, manufacturing them at his Butterley ironworks. In 1803, William Jessop opened the Surrey Iron Railway, a double track plateway, erroneously sometimes cited as world's first public railway, in south London.

William Jessop had earlier used a form of all-iron edge rail and flanged wheels successfully for an extension to the Charnwood Forest Canal at Nanpantan, Loughborough, Leicestershire in 1789. In 1790, Jessop and his partner, Outram, began manufacturing edge rails. Jessop became a partner in the Butterley Company in 1790. The first public edgeway (and thus the first public railway) was the Lake Lock Rail Road, built in 1796. Although the line's primary purpose was to carry coal, it also carried passengers.

These two systems of constructing iron railways, the "L" plate-rail and the smooth edge-rail, continued to coexist until well into the early 19th century. The flanged wheel and edge-rail eventually proved their superiority and became the standard for railways.

Cast iron used in rails proved unsatisfactory because it was brittle and prone to breaking under heavy loads. The wrought iron invented by John Birkinshaw in 1820 replaced cast iron. Wrought iron, usually referred to as "iron", was a ductile material that could undergo considerable deformation before breaking, making it more suitable for iron rails. But iron was expensive to produce until Henry Cort patented the puddling process in 1784. In 1783, Cort also patented the rolling process, which was 15 times faster at consolidating and shaping iron than hammering. These processes greatly lowered the cost of producing iron and rails. The next important development in iron production was the hot blast developed by James Beaumont Neilson (patented 1828), which considerably reduced the amount of coke (fuel) or charcoal needed to produce pig iron. Wrought iron was a soft material that contained slag or dross. The softness and dross tended to make iron rails distort and delaminate, and they lasted less than 10 years. Sometimes they lasted as little as one year under high traffic. All these developments in iron production eventually led to the replacement of composite wood-and-iron rails with superior all-iron rails. The introduction of the Bessemer process, which enabled the inexpensive production of steel, led to the great expansion of railways that began in the late 1860s. Steel rails lasted several times longer than iron. Steel rails made heavier locomotives possible, allowing for longer trains and improving the productivity of railroads. The Bessemer process introduced nitrogen into the steel, which caused the steel to become brittle with age. The open hearth furnace began to replace the Bessemer process near the end of the 19th century, improving steel quality and further reducing costs. Thus, steel completely replaced iron in rails, becoming standard for all railways.

The first passenger horsecar or tram, Swansea and Mumbles Railway, was opened between Swansea and Mumbles in Wales in 1807. Horses remained the preferable mode for tram transport even after the arrival of steam engines until the end of the 19th century, because they were cleaner compared to steam-driven trams which caused smoke in city streets.

Steam power introduced

In 1784, James Watt, a Scottish inventor and mechanical engineer, patented a design for a steam locomotive. Watt had improved the steam engine of Thomas Newcomen, hitherto used to pump water out of mines, and developed a reciprocating engine in 1769 capable of powering a wheel. This was a large stationary engine, powering cotton mills and a variety of machinery; the state of boiler technology necessitated the use of low-pressure steam acting upon a vacuum in the cylinder, which required a separate condenser and an air pump. Nevertheless, as boiler construction improved, Watt investigated the use of high-pressure steam acting directly on a piston, opening the possibility of a smaller engine capable of powering a vehicle. Following his patent, Watt's employee William Murdoch produced a working model of a self-propelled steam carriage in that year.