On an RC airplane drawing, the fuel tank and engine each have three coordinates. Subtract one set from the other and you get the arrow from the engine to the tank. A few numbers tell you both how far apart the parts are and in which direction.
People had long drawn directions and combined forces before the word vector became common. There is no established date for the first vector arrow. What changed in the nineteenth century was the mathematics: several researchers developed ways to calculate with directed quantities, and physicists gradually adopted a particularly useful set of rules.
There was a difference between knowing where something was and knowing how to calculate with its direction. Cartesian geometry had already brought algebra into geometry. The next problem was to make the directed quantities themselves obey algebraic rules.
A surveyor had to do more than measure a length
Imagine drawing a route on a map. Walking three kilometers is not enough information; you also need to know which way. A trip east and a trip north may have the same length, but they do not end in the same place.
The Norwegian-Danish surveyor Caspar Wessel explored a way to represent direction through algebra. His work was presented in 1797 and published in 1799. It was part of the early history of complex numbers and geometric calculation—not a ready-made version of every modern vector rule. Earlier geometric ideas also fed into this story. The practical demands of maps, navigation and measurement help explain why this mattered.
Here is a modern teaching example, not a calculation copied from Wessel. On a square grid, make one move a = (2, 1): two steps right and one up. Then make b = (1, 2). Where do you finish? You can count the steps, or add matching components: a + b = (3, 3). The route and its result can be recorded without redrawing the whole journey.
The useful change is not the drawing itself. The ordered numbers can be added while keeping their directional meaning. Wessel also explored multiplication of directed quantities through complex numbers; addition alone was not the whole challenge.
There is a link to our earlier center-of-mass calculation. In 1827, August Ferdinand Möbius used weights and barycentric coordinates to describe points in geometry. In 1832, Giusto Bellavitis worked with directed line segments: equal, parallel segments could represent the same directed quantity. These were other routes toward vector arithmetic, alongside complex numbers. The story was already larger than one inventor.
A Dublin bridge, and a German schoolteacher
On 16 October 1843, William Rowan Hamilton worked out the multiplication rules for what he called quaternions. The famous story places his discovery during a walk beside a canal in Dublin, where he marked the formula on Brougham Bridge. The event is documented in his later account; it was not the instant when the modern three-component vector was finished.
Hamilton had been looking for an algebra that could handle spatial directions and multiplication. The system that worked for him used four parts: q = a + bi + cj + dk. It contains one scalar part and three components that he called the vector part. Those four parts belong to a quaternion; they are not four ordinary spatial coordinates. Hamilton’s system also offered a powerful language for rotations.
Only a year later, in 1844, Hermann Grassmann published Die lineale Ausdehnungslehre, or Linear Extension Theory. Grassmann pursued a different kind of generality. His methods worked with geometric elements and operations in spaces that need not stop at three dimensions. Ideas resembling vector spaces, independent directions and dimension were already present, even though our modern definitions and terminology came later.
Grassmann’s book was difficult, unusually abstract, and little understood by many of his contemporaries. His second major treatment in 1862 did not suddenly make it a classroom standard. A good idea can be developed long before people find it easy to teach or use.
The physicists wanted different kinds of products
By the late nineteenth century, physicists needed to handle quantities that pointed through space: force, velocity, and electric or magnetic fields. In this setting, repeatedly unpacking a large algebra was not always the clearest way to work. James Clerk Maxwell’s electromagnetic research helped make the demand for a practical language of direction especially visible.
Josiah Willard Gibbs and Oliver Heaviside developed influential forms of modern vector analysis through partly independent work in the 1880s and after. Gibbs prepared notes for his Yale students starting in 1881; Heaviside applied and promoted vector methods in his electrical work. They did not create everything from nothing. They selected, adapted and simplified ideas from a larger mathematical history.
Two kinds of multiplication show why the new toolkit was useful. The dot product of two vectors gives a scalar—one number equal to the product of their lengths times the cosine of their angle. For unit vectors it measures alignment directly. The cross product in ordinary three-dimensional space gives a vector perpendicular to the two input directions, with a magnitude equal to the area of the parallelogram they span; parallel vectors give the zero vector. For example, a force perpendicular to a displacement does no work (dot product), while a force applied at a distance from a pivot can produce a torque (cross product). Physicists needed both operations, not just one rule for multiplying triples.
In 1901, Edwin Bidwell Wilson published Vector Analysis, based on Gibbs’s lectures. The book helped bring this approach into more regular teaching and practice. There had been strong disagreement between supporters of different systems, including quaternions, and acceptance was gradual—not a single day when everyone changed notation.
More than three numbers
Both descriptions are useful, but they answer slightly different questions. An arrow in a fixed coordinate frame can be written as the ordered components (x, y, z). The coordinates of a point describe a place; the position vector from an assigned origin to that point has the same components. Move the origin without rotating the axes and the position vector’s components change, though the physical point remains where it was. The displacement between two fixed points does not change under that translation.
Once a coordinate system and the meanings of its entries are fixed, we can add vectors, scale them, and subtract positions. Grassmann’s work helps explain why this kind of reasoning was not forever limited to three visual directions. A vector of a hundred numbers is harder to draw, but adding corresponding entries is no harder in principle. The broader mathematical idea of a vector is defined by its operations, not by the ability to sketch an arrow.
Not every collection of unrelated measurements should be added as if it described a displacement. A table might contain mass, temperature and distance in adjacent columns. That is a data record, but its entries do not suddenly become one physical direction. Good calculations still require us to define what the numbers mean.
From the engine to the fuel tank
Take two of our fictional aircraft coordinates from the practical Excel model. With +x aft, +y right, +z upward, the engine center is (0.155, 0, −0.015) m, and the fuel-tank center is (0.370, 0, 0.020) m. Before doing the subtraction, look at the signs: should the tank be farther aft or forward, and higher or lower? The arrow from the engine to the tank is their difference:
(0.370, 0, 0.020) − (0.155, 0, −0.015) = (0.215, 0, 0.035) m.
The fuel tank is 21.5 cm farther aft and 3.5 cm higher than the engine center in these example coordinates. This does not determine the aircraft’s CG on its own; a CG calculation also needs every relevant mass. But it gives us a well-defined piece of geometry to use in that calculation. The same kind of subtraction helps us find the distances used in the three-mass inertia experiment.
If you want to check the arithmetic in Python, this short program uses only the standard library. It also adds a pair of five-component vectors to show that the arithmetic is not limited to the three directions we can picture.
"""Lumentora 45: a small, modern vector calculation.
These are fictional RC-airplane coordinates, not historical data.
+x aft, +y right, +z up. Units: meters.
Python 3: no extra packages.
"""
from math import isclose, sqrt
def add(a, b):
if len(a) != len(b):
raise ValueError("Both vectors must have matching dimensions")
return tuple(x + y for x, y in zip(a, b))
def subtract(end, start):
if len(end) != len(start):
raise ValueError("Both vectors must have matching dimensions")
return tuple(x - y for x, y in zip(end, start))
engine = (0.155, 0.000, -0.015)
fuel_tank = (0.370, 0.000, 0.020)
shift = subtract(fuel_tank, engine)
print("Engine to fuel tank (m):", tuple(round(v, 3) for v in shift))
print("Distance (m):", round(sqrt(sum(v * v for v in shift)), 4))
print("Recovered tank:", tuple(round(v, 3) for v in add(engine, shift)))
# The same addition works with five components, without visualizing 5D.
a = (1, 2, 3, 4, 5)
b = (5, 4, 3, 2, 1)
print("Five components:", add(a, b))
assert all(isclose(u, v, abs_tol=1e-12) for u, v in zip(shift, (0.215, 0., 0.035)))
assert all(isclose(u, v, abs_tol=1e-12) for u, v in zip(add(engine, shift), fuel_tank))
assert add(a, b) == (6, 6, 6, 6, 6)
print("Checks passed.")
Engine to fuel tank (m): (0.215, 0.0, 0.035)
Distance (m): 0.2178
Recovered tank: (0.37, 0.0, 0.02)
Five components: (6, 6, 6, 6, 6)
Checks passed.
The tank sits 21.5 cm aft and 3.5 cm above the engine; the straight-line distance is about 21.8 cm. Neither result needs a fresh drawing. And the five-component example uses exactly the same addition rule, even though five spatial directions are not something we can easily picture. A geometrical idea has become arithmetic we can use far beyond geometry.
There is a neighboring story still to tell. We have put components into a vector and, in our airplane model, arranged them into matrices. The rules for multiplying matrices also had a long history. That story began well before the word matrix was invented.
Sources and further reading
- MacTutor — Caspar Wessel
- The National Academies — Unknown Quantity (history of vector analysis)
- MacTutor — History of Abstract Linear Spaces
- MacTutor — Grassmann biography
- Cambridge University Press — Grassmann’s 1844 book
- Trinity College Dublin — William Rowan Hamilton
- McGill University — Vectors: History
- MacTutor — Earliest Uses of “Vectors” and “Vector Space”