Hero of Alexandria
Hero of Alexandria built a machine that produced steam, then let it spin. That device, the aeolipile, has fascinated engineers and historians for centuries. It sat in the ancient world like a riddle waiting to be solved, and yet Hero himself seems to have regarded it as one curiosity among many. He also built a coin-operated vending machine, a mechanical theatre that ran almost ten minutes without a single human hand guiding it, and a windmill that powered an organ. He described a formula for calculating the area of a triangle that students still use today. And he did all of this during a period scholars can only loosely place somewhere between 150 BC and 250 AD.
Who exactly was this man? Where did he come from, and how did he learn what he knew? What was daily life like in the city where he worked? And why, given the astonishing range of his ideas, did so much of his work disappear for so long? Those are the questions this documentary sets out to answer.
Alexandria was founded by Alexander the Great in the 4th century BC. By the time Hero was active there, the city had become a cosmopolitan centre within the Roman Empire, home to Greek, Egyptian, and Roman populations who had intermarried across generations. The intellectual life of the city gathered around the Mouseion, an institution that included the famous Library of Alexandria. Scholars there worked and wrote in Greek, even as the world around them blended languages and bloodlines.
Hero almost certainly belonged to that community. Several of his surviving writings read less like finished treatises and more like lecture notes or textbooks covering mathematics, mechanics, physics, and pneumatics. Scholars have inferred from this style that he taught at the Mouseion, training students in the practical sciences of his age.
Some of his ideas drew on the work of Ctesibius, an earlier Alexandrian inventor whose designs Hero studied and extended. That intellectual inheritance matters because it places Hero inside a living tradition, not as an isolated genius but as someone who absorbed what came before him and pushed it further. The 4th-century mathematician Pappus, writing in his Collection, left what is considered the first surviving external reference to Hero's work, which gives a rough sense of how Hero was regarded by later generations of scholars.
The aeolipile, also called Hero's engine, worked as a rocket-like reaction device: steam generated inside a sealed vessel escaped through nozzles arranged to make the vessel spin. Vitruvius had mentioned a version of the aeolipile in his work De Architectura, likely before Hero's time, but Hero's description became the most widely recognized account of the device. Some later historians conflated the aeolipile with a separate mechanism Hero also described, in which air heated by an altar fire expanded inside a closed chamber and displaced water into a collection vessel; that water's weight, pulling on a rope, was sufficient to open temple doors. The two devices were distinct, and Hero never claimed the aeolipile itself could perform useful mechanical work.
Beyond steam, Hero worked with wind. His windwheel, which drove an organ, stands as the earliest documented instance of wind being used to power a machine on land. Where most ancient engineers looked to water or animal muscle for motive force, Hero turned to moving air. That choice alone set him apart from contemporaries who might have had access to the same physics but lacked the curiosity to pursue it.
Hero also described a force pump that found wide practical application across the Roman world, including use in fire engines. A syringe-like instrument for controlling the delivery of air or liquids appears in his writings as well, alongside a self-filling wine bowl that operated by means of a float valve.
Perhaps the most extraordinary item in Hero's catalogue was a fully mechanical theatrical performance lasting almost ten minutes. The device needed no human operator once set in motion. Ropes, knots, and simple machines drove the action, all coordinated by a rotating cylindrical cogwheel. When the script called for thunder, the machine dropped metal balls onto a hidden drum at precisely timed intervals.
The vending machine Hero described in his book Mechanics operated on a similarly elegant principle. A worshipper inserted a coin through a slot at the top. The coin landed on a pan attached to a lever. The lever's movement opened a valve, releasing a fixed quantity of water for ritual washing. As the coin's weight gradually tilted the pan further, the coin eventually slid off, at which point a counter-weight snapped the lever back and closed the valve. No attendant was required.
Hero also built a cart that moved under its own power, driven by a falling weight and strings wrapped around its drive axle. A self-contained fountain that operated purely on hydrostatic energy, now called Heron's fountain, required no pump or external water source to run. Taken together, these inventions share a quality that is genuinely unusual for any era: they were designed to operate without continuous human intervention. Although the field was not formally named until the 20th century, scholars have recognized Hero's automated devices as some of the earliest recorded work in what would eventually be called cybernetics.
In his work Metrica, Hero described an iterative algorithm for computing square roots, a procedure now known as Heron's method. He also reported a method for calculating cube roots, and in solid geometry he described what is now called the Heronian mean, a figure used to find the volume of a frustum, the shape left when a pyramid or cone is sliced parallel to its base.
Heron's formula, the result most closely attached to his name today, lets anyone calculate the area of a triangle knowing only the lengths of its three sides. No angles, no height measurements, no additional constructions required. Hero also wrote a commentary on Euclid's Elements, and a separate work on applied geometry.
Perhaps the most philosophically significant of his mathematical contributions was what he called the principle of the shortest path of light: if a ray of light travels from one point to another within the same medium, it follows the shortest possible route. Hero arrived at this principle through a geometric problem: given two points on the same side of a line, find the point on that line that minimizes the total distance traveled. In the Middle Ages, the scholar Ibn al-Haytham extended the principle to cover both reflection and refraction. Pierre de Fermat restated it in 1662, and the concept has continued to evolve into the modern principle that the optical path is stationary.
Otto Neugebauer's analysis in 1938 of a lunar eclipse referenced in Hero's Dioptra gave scholars their best estimate for when Hero was alive. The eclipse described in the text best matched one that occurred in 62 AD. A. G. Drachmann later proposed that Hero had personally observed it from Alexandria, though Hero's own text is vague on this point and he may have drawn on an earlier observer's data.
Much of what Hero wrote has not survived. Original writings and designs were lost over the centuries, and what remains reached later readers largely through manuscripts preserved in the Byzantine Empire. A smaller portion came down through Latin or Arabic translations. The Byzantine manuscript tradition was uneven: copyists preserved what seemed useful or interesting to them, which means the gaps in the record reflect medieval priorities as much as ancient accidents.
Hero had described a device resembling a thermometer based on the principle that air expands and contracts with heat. He knew a closed tube with one end submerged in water would show the air-water boundary moving as temperature changed. The actual thermometer as an instrument developed slowly over centuries, but the underlying principle Hero articulated remained sound. That continuity between his observations and later scientific instruments is a pattern that runs through his legacy: the idea would sit dormant, then reappear when the surrounding technology caught up to what Hero had already imagined.
Common questions
Who was Hero of Alexandria and when did he live?
Hero of Alexandria was a Greek mathematician and engineer who was active in Alexandria during the Roman era. Scholarly estimates for his dates range from 150 BC to 250 AD, though a lunar eclipse referenced in his work Dioptra best matches one that occurred in 62 AD, suggesting he was active in the 1st century AD.
What is the aeolipile and did Hero of Alexandria invent it?
The aeolipile, also called Hero's engine, was a steam-powered reaction device in which steam escaped through nozzles causing the vessel to spin. Vitruvius had mentioned a version of the device before Hero, but Hero published the most widely recognized description of it.
What was the first coin-operated vending machine and how did it work?
Hero of Alexandria described the first known coin-operated vending machine in his book Mechanics. A coin inserted through a slot landed on a pan attached to a lever; the lever opened a valve to dispense a fixed amount of water, then a counter-weight closed the valve once the coin slid off the pan.
What is Heron's formula for the area of a triangle?
Heron's formula calculates the area of a triangle using only the lengths of its three sides, without requiring the height or any angle measurements. Hero described it in his work Metrica.
What was Hero of Alexandria's contribution to the history of wind power?
Hero of Alexandria built a windwheel that operated an organ, which stands as the earliest documented instance of wind powering a machine on land.
How did Hero of Alexandria's work on light influence later scientists?
Hero formulated the principle that light traveling between two points within the same medium follows the shortest possible path. Ibn al-Haytham extended this principle to reflection and refraction in the Middle Ages, and Pierre de Fermat restated it in 1662.
All sources
25 references cited across the entry
- 1bookThe Biographical Dictionary of ScientistsPeter Bedrick Books — 1986
- 2journalHero's Pneumatica: A Study of Its Transmission and InfluenceMarie Boas — 1949
- 3bookDistinguished Figures in Mechanism and Machine Science: Their Contributions and LegaciesMarco Ceccarelli — Springer — 2007
- 4journalHero of Alexandria's Mechanical GeometryKarin Tybjerg — December 2004
- 5bookA History of Greek MathematicsThomas Heath — Oxford University Press — 1921
- 6journalSuetonius 'Nero' 41. 2 and the Date of Heron Mechanicus of AlexandriaPaul Keyser — 1988
- 7journalHeron of Alexandria's DateNathan Sidoli — 2011
- 8bookA History of Mathematics: An IntroductionVictor J. Katz — Addison Wesley — 1998
- 9bookOut of control: the new biology of machines, social systems and the economic worldKevin Kelly — Addison-Wesley — 1994
- 10bookHerons von Alexandria Druckwerke und AutomatentheaterB.G. Teubner — 1899
- 11webTemple Doors opened by Fire on an AltarHero of Alexandria — London: Taylor Walton and Maberly (online edition from University of Rochester, Rochester, NY) — 1851
- 12bookTwenty-five centuries of technological changeJoel Mokyr — Routledge — 2001
- 13bookGreek and Roman technology: A SourcebookJohn W. Humphrey et al. — Routledge — 1998
- 14journalHeron's WindmillA. G. Drachmann — 1961
- 15journalVon der östlichen zur westlichen WindmühleDietrich Lohrmann — 1995
- 16bookThe Pneumatics of Hero of AlexandriaBennet Woodcroft — Taylor Walton and Maberly — 1851
- 17newsThe programmable robot of ancient GreeceNoel Sharkey — 7 July 2007
- 19bookA History of Greek MathematicsThomas Heath — Clarendon Press — 1921
- 20journalHeron's Formula for Cube RootJ. Gilbart Smyly — 1920
- 21groveHero of Alexandria and HydraulisJamies W. McKinnon
- 23bookLiber de machinis bellicisFrancesco De Franceschi (senese) — 1572
- 24journalHero, Ps-Hero, and Near Eastern practical geometryJens Høyrup — 1997
- 25bookThe Forgotten Revolution: How Science Was Born in 300 BC and Why it Had to Be RebornLucio Russo — Springer — 2004