in mathematics, scalars are distinguished from more complex mathematical objects such as vectors and matrices in that they consist of only one number. a scalar formula_1 can also be multiplied to a vector formula_2 or a matrix formula_3, resulting in the vector formula_4 and the matrix formula_5, respectively. for vectors, scalar multiplication produces a new vector of different length in the same or opposite direction of the original vector.