Scalar Multiplication Calculator
Multiply every element of a matrix by a scalar constant.
What Is Scalar Multiplication?
Scalar multiplication scales every element of a matrix by the same constant k:
The resulting matrix has the same dimensions as the original. The scalar k can be any real number — positive, negative, or zero.
Worked Example
Multiply matrix A by scalar k = 3:
[0, 4] [0, 12]
Each element is multiplied by 3 independently.
Effect on the Determinant
For an n×n matrix, scaling by k multiplies the determinant by k^n:
For a 2×2 matrix: det(3A) = 9 × det(A). For a 3×3 matrix: det(2A) = 8 × det(A).
Properties of Scalar Multiplication
- Associativity: (k·m)A = k(mA)
- Distributivity over scalar addition: (k+m)A = kA + mA
- Distributivity over matrix addition: k(A+B) = kA + kB
- Identity: 1·A = A
- Zero scalar: 0·A = O (the zero matrix)
Real-World Applications
- Computer graphics: Scaling a 3D object's transformation matrix to resize it uniformly.
- Physics: Multiplying a velocity matrix by a time scalar to get displacement.
- Economics: Scaling an input-output matrix to model industry growth.
- Machine learning: The learning rate in gradient descent scales the gradient matrix before subtraction.
Frequently Asked Questions
What is scalar multiplication of a matrix?
Scalar multiplication multiplies every element of a matrix by a single number k. If A is m×n, kA is also m×n with each element equal to k×A[i][j].
Does scalar multiplication change the rank?
No. Multiplying by a nonzero scalar k preserves rank. The column space and null space remain unchanged.
How does scalar multiplication affect the determinant?
det(kA) = k^n × det(A) for an n×n matrix. A 2×2 matrix scaled by 3 has its determinant multiplied by 9.
What is the geometric interpretation?
Scalar multiplication scales the transformation. kA maps vector v to k(Av) — stretching by |k|, reflecting if k < 0, or collapsing if k = 0.