Scalar
In physics, the word scalar is often used to refer simply to a real or complex number. In other contexts, where vectors and tensors may also play a role, a scalar is defined by its transformation properties.
In order to explain the second definition of a scalar, it must be noted that most physical objects belong to—or are associated with—some linear space with inner product. The algebraic form of a physical quantity is—explicitly or implicitly—defined with respect to an orthonormal basis of this space. When a new orthonormal basis of the space is chosen, the algebraic form of a quantity expressed with respect to this new basis is in general different from the algebraic form of the same quantity with respect to the old basis. One expresses this by stating that physical quantities transform under change of reference frame (i.e., under change of basis of the space).
The transformation from one orthonormal basis of a linear space to another is called unitary or orthogonal, depending on whether the space is complex or real (if the space is real and 3-dimensional it is called a rotation). The determinant of a unitary transformation is a complex number of absolute value unity, that is, the determinant of a unitary transformation is on the unit circle in the complex plane. Transformations with determinant equal to 1 are called unimodular.[1][2] Orthogonal (real) matrices clearly have determinant ±1.
The second kind of scalars then are quantities that are invariant under unimodular orthogonal basis transformations. That is, unlike physical quantities as vectors and tensors, scalars do not change under such a basis transformation. Two kinds of scalars are distinguished: proper scalars, which are invariant under all orthogonal transformations and pseudo-scalars, which are invariant under unimodular orthogonal transformations and obtain a minus sign upon transformation by non-unimodular orthogonal transformations (those with determinant equal to −1). With respect to a given orthonormal reference frame and expressed in a suitable set of units, such as SI units, a scalar is represented by a single number. The essential property of a scalar is that this number is the same with respect to all frames that are related to each other by unimodular orthogonal transformations.
Finally, mention must be made of scalar functions, functions on a space that map the elements of the space pointwise on scalars. For example, if Φ is a function on ℝ3, then it is a scalar function if Φ(x,y,z) = Φ(x′,y′,z′) whenever (x,y,z) and (x′,y′,z′) represent the same point in ℝ3 expressed with respect to different arbitrary orthonormal reference frames. Formally, define the operator ℛ by
where R is the matrix of an orthogonal map ℝ3 → ℝ3. The "if and only if arrow" follows because the relations are true for all r, including R−1r and R r. A scalar function on ℝ3 is by definition invariant, that is,
Note: Sometimes the term "scalar function" is used in the less restrictive sense of single-valued function of r (in contrast to a vector function that has more values—its components). The transformation of such a single-valued function is again given by
but in the loose sense it may hold that f" ≠ f.
Example
Examples of scalars of the first kind (no reference to a frame) are the number 3.14, 2exp[-i 300], the mass of the Earth in kilogram, and the elementary charge in Coulomb.
For an example of scalars of the second kind, we consider two elements, in ℝ3. These vectors may have some physical meaning, for example, direction and strength of an electric and magnetic field, or velocities of two particles. Let the following be a basis of ℝ3,
where the column vectors (bold) are
and the matrix-matrix product is implied,
The column vectors r and s represent algebraically the physical quantities with respect to the given basis.
Choose now another basis of the same space
The 3×3 matrix B is assumed to be an orthogonal matrix (transforms orthonormal bases into each other). Clearly
The columns r', s' represent the same vectors with respect to the new basis. They have another form, or more accurately, their three components have new values.
To construct a proper scalar (transformation invariant), we consider the inner product. The inner product is not a member of ℝ3, but is clearly associated with it. (Formally it is a bilinear map of the Cartesian product ℝ3×ℝ3 into ℝ). The inner product satisfies
The second equality follows in short-hand notation thus
In long-hand notation,
In both notations it is used that B is orthonormal,
where δij is the Kronecker delta. The inner product of does not depend on the basis used to express the vectors, it is a proper scalar. This proof holds for proper (unimodular) rotations and for improper (determinant = −1) rotations.
As an example of a pseudo-scalar the following triple product may be given
The product stands for a cross product, it is again an element of ℝ3 (sometimes referred to a pseudo vector) and hence the triple product, being an inner product, is a scalar. Remember that the improper rotations can be written as a product of a proper rotation times inversion. Under inversion the three vectors go into minus themselves and the triple product obtains the factor (−1)3 = −1 and in total the triple product is a pseudo-scalar.