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 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
A vector in the plane is an ordered pair of real numbers, its components:
Derivation hint: 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 :
Derivation hint: scale by , by , and add the results component-wise. The magnitude (length, norm) of is
Derivation hint: apply the Pythagorean theorem to the right triangle with legs and .
If a vector runs from initial point to terminal point , then
Derivation hint: subtract initial coordinates from terminal coordinates — "tip minus tail."
For , , and scalar :
Derivation hint: place vectors tip-to-tail; the resultant runs from the first tail to the last tip — equivalent to adding components.
Derivation hint: scaling stretches length by ; negative reverses direction.
The dot product (scalar product) of two vectors is
Derivation hint: multiply matching components and sum — the result is a scalar, not a vector. It also satisfies the geometric form:
Derivation hint: apply the Law of Cosines to the triangle formed by , , and , then simplify.
Any nonzero vector makes a direction angle with the positive -axis given by
Derivation hint: is the angle of the right triangle whose opposite side is and adjacent side is . The corresponding unit vector (length 1, same direction) is
Derivation hint: divide each component by the magnitude so the new length is .
Why It Holds / Derivation
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 :
Derivation hint: this is the standard Law of Cosines with sides and included angle .
Step 3. Expand the left side using components, with :
Derivation hint: 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:
Derivation hint: 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].
∎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?"
Worked Examples
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:
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
Historical Development
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