Scalar multiplication of matrices

On this post we explain how to multiply a matrix by a scalar (number). You will see examples of scalar multiplications of matrices that will help you understand it perfectly and solved exercises so that you can practice. You will also find all the properties of the product of a scalar and a matrix.

How to multiply a matrix by a matrix?

To multiply a matrix by a scalar, multiply each element of the matrix by the scalar.

Note that when we work with matrices we refer to numbers as scalars, therefore, multiplying a matrix by a scalar means multiplying a matrix by a real number.

Example of a multiplication of a matrix by a scalar

Once we have seen how to do a scalar multiplication of matrices, let’s see an example of this type of matrix operation:

scalar multiplication of matrices examples

As you can see, to solve the product of a scalar and a matrix, you simply have to multiply each entry of the matrix by the scalar.

Having seen this type of matrix operation, you can now learn how to calculate a multiplication of matrices.

Practice scalar multiplication of matrices

Problem 1

Find the following scalar multiplication:

problems of scalar multiplication of matrices

To calculate the multiplication of a scalar by matrix we have to multiply each entry of the matrix by the scalar:

\displaystyle 3 \begin{pmatrix} 1 & 3 \\[1.1ex] 2 & -4 \end{pmatrix} = \begin{pmatrix} 3\cdot 1 & 3\cdot 3 \\[1.1ex] 3\cdot 2 & 3\cdot (-4) \end{pmatrix} = \begin{pmatrix} \bm{3} & \bm{9} \\[1.1ex] \bm{6} & \bm{-12} \end{pmatrix}

Note that the matrix before performing the scalar operation was a square 2×2 dimension matrix, and so is the result of the operation.

 

Problem 2

Calculate the following multiplication of a matrix by a scalar:

scalar multiplication of matrices definition

The result of the multiplication of the 3×3 square matrix by the scalar is:

\displaystyle -4 \begin{pmatrix} 2 & 1 & 5 \\[1.1ex] -1 & 0 & 3 \\[1.1ex] 6 & -2 & -3 \end{pmatrix} = \begin{pmatrix} -4 \cdot 2 & -4 \cdot 1 & -4 \cdot 5 \\[1.1ex] -4 \cdot (-1) & -4 \cdot 0 & -4 \cdot 3 \\[1.1ex] -4 \cdot 6 & -4 \cdot (-2) & -4 \cdot (-3) \end{pmatrix}= \begin{pmatrix} \bm{-8} & \bm{-4} & \bm{-20} \\[1.1ex] \bm{4} & \bm{0} & \bm {-12} \\[1.1ex] \bm{-24} & \bm{8} & \bm {12} \end{pmatrix}

Note that the dimension of the matrix remains the same after performing the operation.

 

Problem 3

Multiply the following rectangular matrix by the scalar -2:

\displaystyle -2\begin{pmatrix}6&-2&3&-1\\[1.1ex]-9&11&-4&-5\end{pmatrix}

The result of the scalar multiplication is:

\displaystyle -2\begin{pmatrix}6&-2&3&-1\\[1.1ex]-9&11&-4&-5\end{pmatrix} =\begin{pmatrix}\bm{-12}&\bm{4}&\bm{-6}&\bm{2}\\[1.1ex]\bm{18}&\bm{-22}&\bm{8}&\bm{10}\end{pmatrix}

 

Problem 4

Perform the following additions and scalar multiplications of matrices:

scalar multiplication of matrices and addition

See how to add matrices.

It is an operation that combines two products of scalar and matrices and a sum of matrices of order 2. Thus, we must first solve the scalar multiplications of matrices:

\displaystyle\begin{pmatrix} 10 & 2 \\[1.1ex] -4 & 6 \end{pmatrix}+\begin{pmatrix} 25 & 5 \\[1.1ex] -10 & 15 \end{pmatrix}

And then we add the resulting matrices:

\displaystyle \begin{pmatrix} \bm{35} & \bm{7} \\[1.1ex] \bm{-14} & \bm{21} \end{pmatrix}

 

Problem 5

Given the following square matrices of order 3:

\displaystyle A=\begin{pmatrix} 2 & -3 & 5 \\ 1 & 4 & 0 \\ -3 & 2 & -5 \end{pmatrix}  \qquad B=\begin{pmatrix} 6 & 0 & 2 \\ -3 & 4 & 1 \\ 3 & 2 & 7 \end{pmatrix}

Calculate:

\displaystyle -2A+5I-3B

It is an operation that combines scalar multiplication together with addition and subtraction of 3×3 matrices. Furthermore, matrix I is the identity matrix, which is composed of 1 on the main diagonal and 0 the remainder of the elements:

\displaystyle -2\begin{pmatrix} 2 & -3 & 5 \\[1.1ex] 1 & 4 & 0 \\[1.1ex] -3 & 2 & -5 \end{pmatrix}+5\begin{pmatrix} 1 & 0 & 0 \\[1.1ex]  0 & 1 & 0 \\[1.1ex] 0 & 0 & 1 \end{pmatrix} -3 \begin{pmatrix} 6 & 0 & 2 \\[1.1ex] -3 & 4 & 1 \\[1.1ex] 3 & 2 & 7 \end{pmatrix}

Therefore, we first do the multiplications:

\displaystyle \begin{pmatrix} -4 & 6 & -10 \\[1.1ex] -2 & -8 & 0 \\[1.1ex] 6 & -4 & 10 \end{pmatrix}+\begin{pmatrix} 5 & 0 & 0 \\[1.1ex] 0 & 5 & 0 \\[1.1ex] 0 & 0 & 5 \end{pmatrix} - \begin{pmatrix} 18 & 0 & 6 \\[1.1ex] -9 & 12 & 3 \\[1.1ex] 9 & 6 & 21 \end{pmatrix}

Secondly, we solve the addition of the first two matrices:

\displaystyle\begin{pmatrix} 1 & 6 & -10 \\[1.1ex] -2 & -3 & 0 \\[1.1ex] 6 & -4 & 15 \end{pmatrix}-\begin{pmatrix} 18 & 0 & 6 \\[1.1ex] -9 & 12 & 3 \\[1.1ex] 9 & 6 & 21 \end{pmatrix}

Finally, we perform the matrix subtraction:

\displaystyle \begin{pmatrix} \bm{-17} & \bm{6} & \bm{-16} \\[1.1ex] \bm{7} & \bm{-15} & \bm{-3} \\[1.1ex] \bm{-3} & \bm{-10} & \bm{-6} \end{pmatrix}

 

Properties of scalar multiplication of matrices

There are many types of matrices: square matrices, triangular matrices, the identity matrix, symmetric and antisymmetric matrices,… But, fortunately, all the properties of the product of numbers and matrices work for all kinds of matrices.

So these are the properties of matrix scalar multiplication:

  • Associative property: when two or more scalars are involved in a scalar multiplication of matrices, we can first multiply the scalars and then the result by the matrix.

a \cdot (b \cdot A) = (a \cdot b) \cdot A

Look at the following two operations as they give the same result, regardless of how we multiply scalars 2 and 3:

  \displaystyle 2 \cdot \left(3 \cdot \begin{pmatrix} 1 & 0 \\[1.1ex] 2 & -1 \end{pmatrix} \right) =2 \cdot \begin{pmatrix} 3 & 0 \\[1.1ex] 6 & -3 \end{pmatrix} = \begin{pmatrix} \bm{6} & \bm{0} \\[1.1ex] \bm{12} & \bm{-6} \end{pmatrix}

  \displaystyle (2 \cdot 3) \cdot \begin{pmatrix} 1 & 0 \\[1.1ex] 2 & -1 \end{pmatrix}  =6 \cdot \begin{pmatrix} 1 & 0 \\[1.1ex] 2 & -1 \end{pmatrix}   = \begin{pmatrix} \bm{6} & \bm{0} \\[1.1ex] \bm{12} & \bm{-6}  \end{pmatrix}

  • Distributive property (addition of scalars): adding two scalars and then multiplying the result by a matrix equals to multiply each scalar by the matrix and then adding the results.

(a+b) \cdot A = a \cdot A+ b \cdot A

As you can see in the example below, adding 1+2 and then multiplying it by a matrix is the same as multiplying the same matrix separately by 1 and by 2 and then adding the results:

  \displaystyle (1 + 2) \cdot  \begin{pmatrix} 2 & -1 \\[1.1ex] 3 & 5 \\[1.1ex] -2 & -4 \end{pmatrix} =3 \cdot  \begin{pmatrix} 2 & -1 \\[1.1ex] 3 & 5 \\[1.1ex] -2 & -4 \end{pmatrix}=  \begin{pmatrix} \bm{6} & \bm{-3} \\[1.1ex] \bm{9} & \bm{15} \\[1.1ex] \bm{-6} & \bm{-12} \end{pmatrix}

  \displaystyle 1  \cdot  \begin{pmatrix} 2 & -1 \\[1.1ex] 3 & 5 \\[1.1ex] -2 & -4 \end{pmatrix} + 2  \cdot  \begin{pmatrix} 2 & -1 \\[1.1ex] 3 & 5 \\[1.1ex] -2 & -4\end{pmatrix} = \begin{pmatrix} 2 & -1 \\[1.1ex] 3 & 5\\[1.1ex] -2 & -4 \end{pmatrix} +  \begin{pmatrix} 4 & -2 \\[1.1ex] 6 & 10 \\[1.1ex] -4 & -8\end{pmatrix}=  \begin{pmatrix} \bm{6} & \bm{-3} \\[1.1ex] \bm{9} & \bm{15} \\[1.1ex] \bm{-6} & \bm{-12}  \end{pmatrix}

  • Distributive property (addition of matrices): adding two matrices and then multiplying them by a number is equivalent to multiplying the two matrices separately by the same number and then adding the results.

a \cdot \left(A + B \right) = a \cdot A + a \cdot B

You can check this property of the scalar multiplication of matrices with the following example:

  \displaystyle 4 \cdot  \left( \begin{pmatrix} 3 & -2 \\[1.1ex] 6 & -1 \end{pmatrix}+\begin{pmatrix} -1 & 3 \\[1.1ex] 0 & 4 \end{pmatrix} \right) =4 \cdot   \begin{pmatrix} 2 & 1 \\[1.1ex] 6 & 3 \end{pmatrix}= \begin{pmatrix} \bm{8} & \bm{4} \\[1.1ex] \bm{24} & \bm{12} \end{pmatrix}

  \displaystyle 4 \cdot  \begin{pmatrix} 3 & -2 \\[1.1ex] 6 & -1 \end{pmatrix}+ 4 \cdot \begin{pmatrix} -1 & 3 \\[1.1ex] 0 & 4 \end{pmatrix} = \begin{pmatrix} 12 & -8 \\[1.1ex] 24 & -4 \end{pmatrix}+\begin{pmatrix} -4 & 12 \\[1.1ex] 0 & 16 \end{pmatrix} = \begin{pmatrix} \bm{8} & \bm{4} \\[1.1ex] \bm{24} & \bm{12} \end{pmatrix}

  • Neutral element property: the multiplication of any matrix by scalar 1 results in the same matrix.

1 \cdot A = A

Therefore, when multiplying a matrix by 1 we do not modify the matrix:

 \displaystyle 1 \cdot \begin{pmatrix} 5 & -4 & 0 \\[1.1ex] 1 & 3 & -3 \\[1.1ex] 2 & 9 & 4 \end{pmatrix}=\begin{pmatrix} \bm{5} & \bm{-4} & \bm{0} \\[1.1ex] \bm{1} & \bm{3} & \bm{-3} \\[1.1ex] \bm{2} & \bm{9} & \bm{4} \end{pmatrix}

Other matrix operation related to multiplication, and that is very useful, is the power of a matrix. Here you will find how compute the power of a matrix and what it is for.

Leave a Comment

Your email address will not be published. Required fields are marked *