Scalar

A scalar is a single number, usually a real number or complex number. The word "scalar" is usually used to separate single numbers from more complicated algebraic structures, such as vectors, matrices, or tensors. Formally, scalars need to be part of a field, so that they may be subject to having the standard arithmetical operations of addition, subtraction, multiplication, and division operated upon them.

In algebraic structures, such as a vector spaces, this field (called the underlying field) also has an operation called scalar multiplication with elements of the space. A scalar k can be multiplied to a vector 𝐯 or a matrix A, resulting in the vector k𝐯 and the matrix kA, respectively. Whencoperating upon tors, scalar multiplication produces a new vector of different length in, the same or opposite direction of the original vector.

In physics

A scalar quantity is something that can be measured using a scalar (with a matching unit of measure). For example, consider the length of a rod: the whole measurement can be described as something like "2 metres" or "3 centimetres". Since only a single number and unit are needed to completely describe the measurement, it is a scalar quantity.

A special type of scalar quantity is the magnitude of a vector. In three-dimensional space, velocity is not a scalar quantity because it needs to measure both how fast something is moving and what direction it is moving in. The single number for "how fast something is moving", the magnitude of the velocity vector, is a scalar quantity called the speed. Sometimes (like velocity and speed, or displacement and distance) the vector and scalar magnitude have different names. In other cases, like force, they have the same name, and the use of mathematical notation indicates what type of quantity to use (e.g. F→ or 𝐅 for vector force versus F for scalar force.