Matrix by Scalar Calculator
If you've ever wondered how to multiply a matrix by a number, this matrix by scalar calculator is a perfect tool for you. Here, you'll discover all there is about multiplying matrices by scalars. As a bonus, we'll tell you how to divide a matrix by a number.
If you're familiar with some more advanced concepts in linear algebra, you'll be able to find here the answers to the following questions:
 What is the determinant of a matrix multiplied by a scalar?
 What are the eigenvalues of a matrix multiplied by a scalar?
💡 This tool covers the multiplication of a matrix by a scalar. If you're interested in multiplying a matrix by another matrix, visit:
 The matrix multiplication calculator (the standard matrix product);
 The Hadamard product calculator; and
 The tensor product calculator.
How do I multiply a matrix by a scalar?
Multiplying a matrix by a scalar (i.e., by a single number) is pretty straightforward: you just need to multiply each element of your matrix by this scalar. The result will be a matrix of the same size as your initial matrix.
To see how the multiplication of a matrix by scalar works in practice, let's use Omni's matrix by scalar calculator.
How to use this matrix by scalar calculator?
To use this tool, you need to specify two input entities: the scalar and the matrix that you want to multiply together. For the matrix, you'll need to first choose its size and then input its elements. If an element is zero, then you might as well leave that field blank: our matrix by scalar calculator will know how to handle them.
Now that you know the result, you can find all the other quantities relative to matrices! To find the determinant, visit our matrix determinant calculator and insert the matrix you found here, for examples. Do you need more advanced math? Our eigenvalue and eigenvector calculator will surely help!
Now that we know how to multiply a matrix by a scalar, it's time to discuss what properties this mathematical operation has.
Properties of matrix by scalar multiplication
Let A
and B
be two matrices of the same size, and let x
and y
be numbers. The matrix by scalar multiplication operation has the following properties:
 Matrix by scalar multiplication is associative:
(xy)A = x(yA)
;  It's distributive over addition:
x(A + B) = xA + xB
; and  The neutral element is
1
, meaning that
1A = A
.
How do I divide a matrix by a number?
Technically, to divide a matrix by a scalar, you need to multiply this matrix by the reciprocal of this scalar. In practice, you divide each coefficient of your matrix by the scalar and that's it. Remember that only nonzero scalars are suitable for division!
FAQ
What are the eigenvalues of a matrix multiplied by a scalar?
If you multiply a square matrix by a scalar, then each of its eigenvalues will get multiplied by the same scalar. That is, if λ
is an eigenvalue of A
associated with the eigenvector v
, then kλ
is an eigenvalue of kA
associated with the same eigenvector v
, where k
is a scalar.
What is the determinant of a matrix multiplied by a scalar?
If A
is a square matrix of size n
and k
is a scalar, then det(kA)=kⁿ det(A)
.
What is a matrix multiplied by a zero?
If you multiply any matrix by 0
, you obtain a matrix where every element is equal to 0
. This matrix is often called a zero matrix.
What is the identity matrix multiplied by a number ?
To multiply the identity matrix by a number (a scalar), you need to:
 Recall that the identity matrix has
1
s on its diagonal and0
s elsewhere.  To multiply the identity matrix by a scalar
k
, you need to multiply each matrix coefficient byk
.  Write down each product into the respective field in the resulting matrix.
 The result you obtain is the matrix that has
k
on its diagonal and0
elsewhere.
A  = 
