In mathematics, scalar multiplication is one of the basic operations defining a vector space in linear algebra (or more generally, a module in abstract algebra). In common geometrical contexts, scalar multiplication of a realEuclidean vector by a positive real number multiplies the magnitude of the vector—without changing its direction. The term "scalar" itself derives from this usage: a scalar is that which scales vectors. Scalar multiplication is the multiplication of a vector by a scalar (where the product is a vector), and is to be distinguished from inner product of two vectors (where the product is a scalar).
Scalar multiplication of a vector by a factor of 3 stretches the vector out.
The scalar multiplications −a and 2a of a vector a
In general, if K is a field and V is a vector space over K, then scalar multiplication is a function from K × V to V.
The result of applying this function to k in K and v in V is denoted kv.
Scalar multiplication obeys the following rules (vector in boldface):
Here, + is addition either in the field or in the vector space, as appropriate; and 0 is the additive identity in either.
Juxtaposition indicates either scalar multiplication or the multiplication operation in the field.
Scalar multiplication may be viewed as an externalbinary operation or as an action of the field on the vector space. A geometric interpretation of scalar multiplication is that it stretches or contracts vectors by a constant factor. As a result, it produces a vector in the same or opposite direction of the original vector but of a different length.
As a special case, V may be taken to be K itself and scalar multiplication may then be taken to be simply the multiplication in the field.
When V is Kn, scalar multiplication is equivalent to multiplication of each component with the scalar, and may be defined as such.
The same idea applies if K is a commutative ring and V is a module over K.
K can even be a rig, but then there is no additive inverse.
If K is not commutative, the distinct operations left scalar multiplicationcv and right scalar multiplicationvc may be defined.
Scalar multiplication of matricesEdit
The left scalar multiplication of a matrix A with a scalar λ gives another matrix of the same size as A. It is denoted by λA, whose entries of λA are defined by
Similarly, even though there is no widely-accepted definition, the right scalar multiplication of a matrix A with a scalar λ could be defined to be
When the entries of the matrix and the scalars are from the same commutative field, for example, the real number field or the complex number field, these two multiplications are the same, and can be simply called scalar multiplication. For matrices over a more general field that is not commutative, they may not be equal.
For a real scalar and matrix:
For quaternion scalars and matrices:
where i, j, k are the quaternion units. The non-commutativity of quaternion multiplication prevents the transition of changing ij = +k to ji = −k.