Vectors
A vector is a quantity with both magnitude and direction, represented geometrically as an arrow or algebraically as an ordered list of components. Key result: vectors add tip-to-tail and obey the parallelogram law; they can be scaled, decomposed into components, and combined via the dot and cross products. Vectors apply everywhere direction matters — physics (force, velocity), engineering, computer graphics, and navigation. Formalized in the 19th century by Hamilton, Grassmann, Gibbs, and Heaviside.
A vector is a mathematical object characterized by a magnitude (size) and a direction in space, in contrast to a scalar, which has magnitude only. Geometrically a vector is drawn as a directed line segment — an arrow whose length encodes magnitude and whose orientation encodes direction. Algebraically, once a coordinate system is fixed, a vector is an ordered tuple of numbers called components, e.g. . Vectors matter because the physical world is full of directed quantities — displacement, velocity, acceleration, force, momentum — that cannot be described by a single number. A surprising fact: the same arrow can have totally different components in different coordinate systems, yet its length and the angles it makes with other vectors are completely unchanged — these "invariant" features are what give vectors their physical reality.
The Core Insight
A vector separates how much from which way. By splitting a directed quantity into perpendicular components, any vector problem in two or three dimensions reduces to independent one-dimensional arithmetic. Addition, scaling, and projection then become simple operations on numbers — but the geometric meaning (a length and a direction that exist regardless of coordinates) is always preserved underneath.
Formal Statement
Vector — geometric and algebraic
A vector is a quantity possessing both magnitude and direction. Two equivalent representations:
Geometric: a directed line segment (arrow) from an initial point to a terminal point. Two arrows are the same vector if they have equal length and equal direction (parallel, same sense), regardless of starting location. Algebraic: an ordered tuple of real numbers, the components, relative to a chosen basis:The magnitude (length, norm) is given by the Pythagorean theorem:
The direction in 2D is captured by the angle from the positive -axis:
Vector operations
For vectors , and scalar :
Addition (component-wise):with magnitude , a vector perpendicular to both, direction given by the right-hand rule.
Parallelogram Law and Triangle Inequality
Vector addition is commutative () and associative, so the sum of two vectors equals the diagonal of the parallelogram they span. Furthermore the magnitudes satisfy the triangle inequality:
Equality holds only when and point in the same direction.
Why It Holds / Derivation
The component magnitude formula
We derive equation [2], .
Step 1. Place the vector's tail at the origin and tip at point . Step 2. Drop to the point in the -plane. Triangle lies flat in that plane with legs and , so by the Pythagorean theorem:Josiah Willard Gibbs | 1839–1903
The American mathematical physicist Josiah Willard Gibbs, working at Yale, took the cumbersome quaternion algebra of Hamilton and distilled from it the practical, modern vector analysis used today — the dot product, cross product, and gradient/divergence/curl notation. His privately printed lecture notes (1881–84) and the 1901 textbook Vector Analysis (written up by his student E. B. Wilson) replaced four-component quaternions with clean three-component vectors. Working in parallel, the self-taught English engineer Oliver Heaviside developed an almost identical system to streamline Maxwell's equations of electromagnetism. Their pragmatic notation won out over the more abstract quaternion school, becoming the universal language of physics and engineering.
Building Intuition
Think of a vector as a set of walking instructions: "go 3 km east and 4 km north." The instructions are the components ; the actual straight-line distance you end up from the start is the magnitude km; the compass heading is the direction.
Crucially, where you start walking doesn't change the instructions — that is why a vector can slide around freely without changing identity. Adding two vectors is just following one set of instructions, then the next, from wherever you ended up (tip-to-tail).
The dot product measures how much two vectors "agree" in direction: it is large and positive when they point similar ways, zero when perpendicular, negative when opposed. The cross product measures how much they "disagree," producing a new vector that sticks out perpendicular to both — its length is the area of the parallelogram they span.
Vector addition by the tip-to-tail (triangle) method, with the resultant as the parallelogram diagonal
Worked Examples
Resultant force on a hook
Given: Two forces act on a hook: (pulling east) and (pulling north). Find the resultant force's magnitude and direction. Step 1 — Add components (equation [4]):Angle between two vectors via the dot product
Given: and . Find the angle between them. Step 1 — Dot product (equation [6]):Common Misconceptions
Vectors are not just "numbers with arrows on top." Several frequent errors:- Adding magnitudes instead of vectors. in general (see the triangle inequality, [8]). Two 5 N forces can produce a resultant anywhere from 0 N to 10 N depending on their angle.
- Confusing the dot and cross products. The dot product yields a scalar (a number); the cross product yields a vector. Writing as a vector or as a number is a category error.
- Forgetting quadrant adjustment in . A calculator returns angles only in ; for vectors pointing left or down you must add or otherwise correct.
- Position vs. free vectors. A free vector can slide anywhere; a position vector is pinned to the origin. Treating them interchangeably causes errors in geometry problems.
A student claims "the magnitude of a sum equals the sum of magnitudes." Take and . Then and , so the claim predicts . But , the zero vector, with magnitude . The two displacements cancel exactly. This shows magnitude is fundamentally non-additive for vectors unless they are parallel and same-sense.
Connections
Vectors sit at the crossroads of geometry, algebra, and physics:
- They generalize the Number Line and Coordinate Geometry from one signed magnitude to many directed quantities.
- The dot product is the gateway to Trigonometry (it encodes ) and to the abstract notion of inner products in Linear Algebra.
- Collections of vectors form vector spaces, the central object of Linear Algebra, where matrices act as linear transformations on vectors.
- In physics, vectors underlie Newton's Laws of Motion (forces and accelerations), Kinematics (displacement, velocity), and Electromagnetism (electric and magnetic fields).
- Differentiating a vector function leads to Vector Calculus (gradient, divergence, curl).
Real-World Applications
- Navigation & GPS. Aircraft and ships combine velocity vectors (own speed/heading plus wind or current) to compute true course over ground.
- Engineering statics. Bridge and truss design balances force vectors at each joint so the structure stays in equilibrium ().
- Computer graphics & games. 3D rendering uses vectors for object positions, surface normals (cross products), lighting (dot products for shading), and camera motion.
- Robotics. Joint velocities and end-effector positions are expressed and chained as vectors for motion planning.
- Sports science. Projectile trajectories (a thrown ball) decompose initial velocity into horizontal and vertical components.
- Electromagnetism & power systems. Electric () and magnetic () fields are vector fields; the cross product gives the force on moving charges.
- Weather & oceanography. Wind and current fields are mapped as vectors at each grid point to forecast flow.
Historical Development
- c. 1580 (Simon Stevin): Demonstrates the parallelogram of forces in studies of statics and inclined planes — an early physical use of vector addition.
- 1687 (Isaac Newton): Principia implicitly combines forces and velocities by the parallelogram rule, though without modern notation.
- 1799 (Caspar Wessel) / 1806 (Jean-Robert Argand): Geometric representation of complex numbers as directed segments in the plane — a 2D proto-vector idea.
- 1843 (William Rowan Hamilton): Invents quaternions, a four-dimensional algebra; coins the word "vector" for the imaginary (directed) part.
- 1844 (Hermann Grassmann): Publishes Ausdehnungslehre ("Theory of Extension"), an abstract, -dimensional theory of directed magnitudes far ahead of its time but little read.
- 1873 (James Clerk Maxwell): Uses quaternion methods in his Treatise on Electricity and Magnetism, spotlighting the need for a cleaner vector calculus.
- 1881–1884 (J. W. Gibbs): Distributes lecture notes establishing modern vector analysis — separate dot and cross products in three dimensions.
- 1893 (Oliver Heaviside): Independently formulates and popularizes vector operations to recast Maxwell's equations into their compact modern form.
- 1901 (E. B. Wilson): Publishes Vector Analysis, based on Gibbs's lectures — the textbook that standardized today's notation.
Subtleties & Limits
The "arrow with magnitude and direction" picture, while perfect for introductory work, conceals deeper structure that mathematicians and physicists must confront:
- What is a vector really? The modern definition is anything that transforms correctly under change of coordinates. A list of three numbers is only a genuine vector if its components rotate the way an arrow's do — distinguishing true vectors from arbitrary triples. This leads to tensors and the geometry of how quantities behave under symmetry.
- Axial vs. polar vectors. The cross product yields a "pseudovector" (axial vector) that flips sign under a mirror reflection differently from ordinary (polar) vectors — subtle but physically important in magnetism and chirality.
- Curved spaces. On a sphere or in curved spacetime, you cannot freely slide a vector from one point to another without ambiguity; comparing vectors at different points requires parallel transport and the machinery of differential geometry, where the naive "free vector" idea breaks down.
- Beyond three dimensions. The neat cross product exists only in 3 (and trivially 7) dimensions; its generalization requires the exterior/wedge product of Grassmann's algebra.