Vectors and Geometry
Active Calculus · CC BY-SA · activecalculus.org
Scalars measure magnitude. Vectors measure magnitude and direction. The dot product measures alignment, the cross product produces a perpendicular vector, and together they give you the geometry of lines and planes in R3.
Vectors in R2 and R3
A vector is an ordered list of components. Addition is component-wise. Scalar multiplication scales each component. The magnitude (length) is the square root of the sum of squared components.
Dot product
The dot product u · v = sum of component products = |u||v|cos(theta). It measures how much two vectors point in the same direction. Zero means perpendicular.
Cross product
The cross product u x v is defined only in R3. It produces a vector perpendicular to both u and v, with magnitude |u||v|sin(theta). Direction follows the right-hand rule.
Lines and planes
A line through point P in direction d: r(t) = P + t*d. A plane through point P with normal n: n · (r − P) = 0. The cross product of two direction vectors in the plane gives the normal.
Notation reference
| Symbol | Meaning |
|---|---|
| u · v | Dot product (scalar) |
| u × v | Cross product (vector, R3 only) |
| |v| | Magnitude / length |
| r(t) = P + td | Parametric line |
| n · (r − P) = 0 | Equation of a plane |
Neighbors
Calculus sequence
- Linear Algebra Ch.2 — vector spaces formalize these operations
- 📐 Linear Algebra Ch.1 — vectors and dot products are the algebraic counterpart to geometric vectors
- 📐 Geometry Ch.2 — vectors in Euclidean space generalize to curved geometry
- ⚛ Physics Ch.1 — vectors as displacements, velocities, and forces
Foundations (Wikipedia)