Scalar

Calculus & Advanced Math

A scalar is a single real number with magnitude but no direction, used to scale vectors or represent undirected quantities.

Definition

A scalar is just a regular number, one with a size but no direction. Temperature, mass, and distance are scalars. Velocity and force are vectors.

Example

Temperature: $72$ degrees (scalar). Wind speed $20$ mph (scalar). Wind velocity: $20$ mph northwest (vector - it has direction too).

Key Insight

When you multiply a vector by a scalar, you change its length without changing its direction (unless the scalar is negative, which reverses it).

Definition

A scalar is an element of the field $F$ (usually $\mathbb{R}$ or $\mathbb{C}$) used in a vector space. Scalar multiplication $cv$ "scales" vector $v$ by factor $c$: stretches it if $|c| > 1$, shrinks it if $|c| < 1$, and reverses direction if $c < 0$.

Example

$3(2, 1) = (6, 3)$: the vector is stretched by factor $3$. $-1(2, 1) = (-2, -1)$: the vector is reversed. $0.5(4, 6) = (2, 3)$: halved in length.

Key Insight

Eigenvalues are scalars: $Av = \lambda v$ says the matrix $A$ acts on eigenvector $v$ purely as scalar multiplication by $\lambda$, with no change in direction.

Definition

In a vector space $V$ over field $F$, scalars are elements of $F$. The scalar field determines the structure: $\mathbb{R}$-vector spaces and $\mathbb{C}$-vector spaces have different properties (e.g., every linear map on $\mathbb{C}^n$ has at least one eigenvalue, but this fails over $\mathbb{R}$). In physics, scalars are Lorentz-invariant quantities (unchanged by reference frame).

Example

The determinant of a matrix is a scalar that encodes volume scaling. The trace is a scalar (sum of eigenvalues). Both are invariants under similarity transformations.

Key Insight

In differential geometry, scalar fields are functions $M \to \mathbb{R}$ on a manifold; vector fields are sections of the tangent bundle. The gradient of a scalar field is a vector field, connecting the two concepts.