“William Rowan Hamilton carved the formula for quaternions into a bridge in Dublin on October 16, 1843. He had spent years trying to extend complex numbers into three dimensions. The answer required four.”
Latin quaternio means "a group of four," from quattuor, "four." Complex numbers extend the real number line into two dimensions using the imaginary unit i, where i² = −1. For years, William Rowan Hamilton tried to find a similar system for three dimensions. He failed. Three dimensions required four components.
On October 16, 1843, walking along the Royal Canal in Dublin with his wife, Hamilton had a flash of insight. He realized he needed not one imaginary unit but three: i, j, and k, with the rule that i² = j² = k² = ijk = −1. He was so excited that he carved the formula into the stone of Brougham Bridge on the spot. The carving has faded, but a plaque marks the location.
Quaternions broke a rule that had held since the invention of algebra: multiplication was no longer commutative. With quaternions, ij = k but ji = −k. The order of multiplication matters. This scandalized some mathematicians. Oliver Heaviside and Josiah Willard Gibbs developed vector analysis partly as an alternative, and for decades the "quaternion wars" divided mathematical physics.
Quaternions lost the war in physics textbooks but won in computer science. They are now the standard method for representing 3D rotations in video games, robotics, aerospace navigation, and computer graphics. They avoid gimbal lock—a problem that plagued the Apollo spacecraft's guidance system. Hamilton's bridge-carving formula runs inside every 3D game engine on earth.
Related Words
Today
Hamilton spent the last twenty-two years of his life working on quaternions. His contemporaries mostly abandoned them. A century later, computer scientists rediscovered exactly what he had built: a compact, elegant way to rotate objects in three-dimensional space without singularities.
Sometimes a discovery arrives too early. Hamilton carved his formula into a bridge because he knew it mattered, even if the world wasn't ready. The bridge still stands. The formula still works.
Explore more words