Vectors (Precalculus)

Vectors are mathematical objects with both magnitude and direction, written . Key result: any vector can be decomposed into components, added tip-to-tail, scaled by numbers, and combined via dot products to find angles and projections. Applies to: physics (force, velocity), navigation, computer graphics, and any quantity needing direction. Originated: 19th century, formalized by Hamilton, Grassmann, and Gibbs/Heaviside.

A vector is a quantity characterized by both a magnitude (size or length) and a direction, in contrast to a scalar, which has magnitude only. Geometrically, a vector is represented by a directed line segment (an arrow); algebraically, it is represented by an ordered list of numbers called components. Vectors matter because countless real quantities — displacement, velocity, acceleration, force — cannot be described by a single number alone, and the algebra of vectors lets us combine these quantities predictably. A surprising fact is that two vectors of length 3 and 4 can add to a vector of any length between 1 and 7 depending only on the angle between them — addition is fundamentally geometric, not numeric.

The Core Insight

A vector encodes "how much" and "which way" in a single object. Once you express it in components relative to perpendicular axes, all geometric operations — adding, scaling, rotating, measuring angles — reduce to ordinary arithmetic on those components. The bridge between the arrow picture and the number picture is what makes vectors powerful.

Formal Statement

Vector and Components

A vector in the plane is an ordered pair of real numbers, its components:

1
⟳ is the horizontal displacement, the vertical displacement, from the vector's tail to its tip.

Here and are scalars (plain numbers). The same vector may be written using standard unit vectors and :

2
⟳scale by , by , and add the results component-wise.

The magnitude (length, norm) of is

3
⟳apply the Pythagorean theorem to the right triangle with legs and .

Component Form from Two Points

If a vector runs from initial point to terminal point , then

4
⟳subtract initial coordinates from terminal coordinates — "tip minus tail."

Operations: Addition, Scalar Multiplication

For , , and scalar :

5
⟳place vectors tip-to-tail; the resultant runs from the first tail to the last tip — equivalent to adding components.

6
⟳scaling stretches length by ; negative reverses direction.

Dot Product

The dot product (scalar product) of two vectors is

7
⟳multiply matching components and sum — the result is a scalar, not a vector.

It also satisfies the geometric form:

8
⟳apply the Law of Cosines to the triangle formed by , , and , then simplify.

Direction Angle and Unit Vector

Any nonzero vector makes a direction angle with the positive -axis given by

9
⟳ is the angle of the right triangle whose opposite side is and adjacent side is .

The corresponding unit vector (length 1, same direction) is

10
⟳divide each component by the magnitude so the new length is .

Why It Holds / Derivation

Geometric form of the dot product

We show that .

Step 1. Form the triangle whose two sides are and emanating from a common point, with the angle between them. The third side is the vector . Step 2. Apply the Law of Cosines to this triangle, where the side opposite has length :
11
⟳this is the standard Law of Cosines with sides and included angle .
Step 3. Expand the left side using components, with :
12
⟳apply equation [3] to the difference vector.
Step 4. Multiply out: . Group and , leaving . Step 5. Substitute into [11]. The and terms cancel on both sides, giving:
13
⟳cancel the matching squared-magnitude terms from both sides of the equation.
Step 6. Divide by : . The left side is the component dot product [7].

Josiah Willard Gibbs | 1839–1903

The American physicist and mathematician J. Willard Gibbs of Yale, alongside the English engineer Oliver Heaviside, distilled the modern, practical vector notation in the 1880s. Working from Hamilton's quaternions, Gibbs stripped away the complicated parts and kept exactly what physics needed: the dot product and cross product as separate operations. His privately printed lecture notes, Elements of Vector Analysis (1881–84), gave us the notation and the dot/cross conventions students still use. Gibbs is more famous for founding chemical thermodynamics, but his quiet reformulation of vectors shaped how every physics and engineering course is taught today.

Building Intuition

Think of a vector as a set of walking instructions: "go 3 east and 4 north." The instructions don't depend on where you start — a vector has no fixed location, only a magnitude and direction. This is why two arrows drawn in different places represent the same vector if they have the same length and point the same way.

Adding vectors is doing one walk, then another, tip-to-tail: walk , then from where you land walk ; the straight arrow from your origin to your final spot is . Scaling by 2 means "walk twice as far in the same direction"; scaling by means "walk the same distance backward."

The dot product measures how much two vectors point the same way. When they're parallel, it's maximal; when perpendicular, it's exactly zero; when opposite, it's negative. That single number quietly answers "what's the angle?" and "how much of this force helps push in that direction?"

Vector addition tip-to-tail and the resultant

u v u + v O tip-to-tail addition

Worked Examples

Resultant force and its direction

Given: Two forces act on a bolt: N (6 N east) and N (8 N north). Find: The magnitude and direction of the resultant force . Step 1 — Add components (equation [5]):
Step 2 — Magnitude (equation [3]):
Step 3 — Direction angle (equation [9]):
measured counterclockwise from east. Answer:

Angle between two vectors via dot product

Given: and . Find: The angle between them. Step 1 — Dot product (equation [7]):
Step 2 — Magnitudes (equation [3]):
Step 3 — Solve [8] for :
Step 4 — Invert cosine:
Answer:

Common Misconceptions

Magnitudes do not add like ordinary numbers. If and , the magnitude is generally not 7. It equals 7 only when the vectors point in the same direction. In general ranges from (opposite directions) to (same direction), following the triangle inequality. Always add components first, then take the magnitude. The dot product gives a scalar, not a vector. A common error is writing . No — you multiply matching components and then sum them, producing a single number. Likewise, the calculator may return a wrong direction angle: only returns values in , so you must check which quadrant the vector lies in and add when . "Perpendicular vectors must look like one pointing up and one sideways." Consider and — neither is along an axis, yet
A zero dot product means the vectors are perpendicular regardless of how "slanted" they look on the page. Perpendicularity is about the dot product, not about resembling the coordinate axes.

Connections

Vectors sit at the crossroads of several precalculus topics. The magnitude formula [3] is just the Pythagorean Theorem applied to components, and the direction angle [9] is pure right-triangle Trigonometry. The proof of the dot product formula relies on the Law of Cosines. Writing a vector as connects directly to Polar Coordinates, and complex numbers behave like vectors under addition, linking to the Complex Plane. In later study, vectors generalize into Matrices and Linear Transformations and become the foundation of Vector Calculus.

Real-World Applications

  • Navigation & aviation: A plane's true ground velocity is the vector sum of its airspeed vector and the wind vector — pilots solve exactly the resultant-force example above to set their heading.
  • Structural engineering: Forces in a bridge truss are resolved into components so engineers can verify each beam is in equilibrium ().
  • Computer graphics & games: Every 3D position, surface normal, and lighting calculation uses vectors; the dot product determines how brightly a surface is lit ( between light direction and surface normal).
  • GPS & robotics: A robot computes its displacement as a sum of motion vectors; localization fuses vector estimates from multiple sensors.
  • Sports physics: A soccer ball's trajectory combines a horizontal velocity vector and a vertical (gravity-affected) velocity vector; coaches analyze launch angle and speed.
  • Electrical engineering: Alternating-current voltages and currents are represented as phasor vectors, added using component (or polar) form.
  • Weather forecasting: Wind is stored as a vector field; meteorologists add and decompose these vectors to predict storm motion.

Historical Development

  • c. 1600s: Galileo and Simon Stevin use the "parallelogram rule" to combine forces and velocities, the first practical vector addition.
  • 1799: Caspar Wessel represents complex numbers as directed segments in the plane — an early geometric vector idea.
  • 1830s: Giusto Bellavitis develops the calculus of "equipollences," treating equal-length, equal-direction segments as identical (the modern free-vector concept).
  • 1843: William Rowan Hamilton invents quaternions, introducing the words scalar and vector and a multiplication that contains both dot and cross products.
  • 1844: Hermann Grassmann publishes Die lineale Ausdehnungslehre, a far-reaching but largely ignored theory of -dimensional vector spaces.
  • 1881–1884: J. Willard Gibbs prints lecture notes splitting Hamilton's quaternion product into independent dot and cross products, with notation.
  • 1893: Oliver Heaviside popularizes the same streamlined vector calculus in his work on electromagnetism, applying it to Maxwell's equations.
  • 1901: Edwin Bidwell Wilson, Gibbs's student, publishes Vector Analysis, the textbook that standardized the notation taught worldwide.
  • 1920s onward: Vectors become foundational to linear algebra, relativity, and quantum mechanics, cementing their place in every science curriculum.

Subtleties & Limits

At the precalculus level, "vector" usually means an arrow in 2D or 3D — but the concept is far deeper. A vector space is any collection of objects that can be added and scaled by the rules in [5] and [6], and these objects need not be arrows at all: polynomials, functions, and infinite sequences all form vector spaces. The dot product likewise generalizes to an inner product, defining angles and lengths in spaces of functions — the engine behind Fourier analysis. A subtle warning: the cross product, unlike the dot product, exists only in three dimensions (and a quirky seven), a fact whose deep reason involves the algebra of division algebras and remained a genuine puzzle until the 20th century. Even the question "what is the most natural product of two vectors?" leads into geometric algebra, where research and pedagogy continue to evolve.

See Also

Pythagorean Theorem · Trigonometry · Law of Cosines · Polar Coordinates · Complex Plane · Matrices and Linear Transformations · Vector Calculus · Parametric Equations

Before this

Where this leads