This lecture explains how to multiply a matrix by a scalar.
Table of contents
Remember that a scalar is just a single number, that is, a matrix having
dimension
.
Definition
Let
be a
matrix and
be a scalar. The product of
by
is another
matrix, denoted by
,
such that its
-th
entry is equal to the product of
by the
-th
entry of
,
that
is
for
and
.
The product
could be defined in the same manner. However, the order of the product does
not really matter, because
.
Therefore,
can be considered the same as
.
Example
Let
and define the
matrix
The
product
is
Basically all the properties enjoyed by multiplication of real numbers are inherited by multiplication of a matrix by a scalar.
Proposition (associative
property)
Multiplication of a matrix by a scalar is associative, that
is,for
any matrix
and any scalars
and
.
Let
be a
matrix. We know that
is another
matrix, such that its
-th
entry is equal to the product of
by the
-th
entry of
,
that
is,
Furthermore,
is a
matrix, such that its
-th
entry is equal to the product of
by the
-th
entry of
,
that
is,
As
a consequence, we have
that
where
we have used the definitions of
in step
,
in step
and
in step
.
In step
we have used the associativity of ordinary multiplication. Thus, we have
proved that the
-th
entry of
is equal to the
-th
entry of
.
Because this is true for every
and
,
the statement is proved.
Proposition (distributive property
1)
Multiplication of a matrix by a scalar is distributive with respect to
matrix addition, that
is,for
any scalar
and any matrices
and
such that their addition is meaningfully defined.
Let
and
be
matrices. By the definition of matrix addition
is another
matrix, such that its
-th
entry is equal to the sum of the
-th
entry of
and the
-th
entry of
,
that
is,
Furthermore,
is a
matrix, such that its
-th
entry is equal to the product of
by the
-th
entry of
,
that
is,
As
a consequence, we have
that
where
we have used the definitions of
in step
,
in step
,
and
in step
and
in step
.
In step
we have used the distributivity of ordinary multiplication. Thus, we have
proved that the
-th
entry of
is equal to the
-th
entry of
.
Because this is true for every
and
,
the statement is proved.
Proposition (distributive property
2)
Multiplication of a matrix by a scalar is distributive with respect to the
addition of scalars, that
is,for
any scalars
and
and any matrix
.
Let
be a
matrix. We know that
is another
matrix, such that its
-th
entry is equal to the product of
by the
-th
entry of
,
that
is,
As
a consequence, we have
that
where
we have used the definitions of
in step
,
and
in step
,
in step
.
In step
we have used the distributivity of ordinary multiplication. Thus, we have
proved that the
-th
entry of
is equal to the
-th
entry of
.
Because this is true for every
and
,
the statement is proved.
Below you can find some exercises with explained solutions.
Let
be the following
matrix
Let
.
Compute the product
.
The product
is another
matrix such that for each
and
,
the
-th
element of
is equal to the product between
and the
-th
element of
:
Let
be a
row vector defined
by
and
a
matrix defined
by
Compute
the
product
where
denotes the transpose of
.
The transpose of
is
The
product between
and its transpose
is
which
is a scalar. As a consequence, we have
that
Define two
row
vectors:
Find
a scalar
such
that
where
By applying the definition of
multiplication of a matrix by a scalar, we
obtainBy
applying the definition of matrix addition, we
get
Therefore,
the
equation
is
satisfied if and only
if
which
in turn is satisfied if and only
if
But
this
implies
Please cite as:
Taboga, Marco (2021). "Multiplication of a matrix by a scalar", Lectures on matrix algebra. https://www.statlect.com/matrix-algebra/multiplication-of-a-matrix-by-a-scalar.
Most of the learning materials found on this website are now available in a traditional textbook format.