← back to calculus

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.

Scheme

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.

Scheme

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.

u v u x v area = |u x v|
Scheme

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.

Scheme

Notation reference

Symbol Meaning
u · vDot product (scalar)
u × vCross product (vector, R3 only)
|v|Magnitude / length
r(t) = P + tdParametric line
n · (r − P) = 0Equation of a plane
Neighbors

Calculus sequence

Foundations (Wikipedia)