Scalar Multiplication of Matrices
Learn how to multiply a matrix by a scalar value. Each element of the matrix is multiplied by the scalar, producing a scaled version of the original.
Detailed Explanation
Scalar Multiplication
Scalar multiplication involves multiplying every element of a matrix by a single number (the scalar). Given a matrix A and scalar k, the result B = kA is:
B[i,j] = k * A[i,j]
Example
k = 3
A = | 1 2 3 | B = 3A = | 3 6 9 |
| 4 5 6 | | 12 15 18 |
Properties
- Distributive over matrix addition: k(A + B) = kA + kB
- Distributive over scalar addition: (k + m)A = kA + mA
- Associative with scalar multiplication: k(mA) = (km)A
- Identity scalar: 1 * A = A
- Zero scalar: 0 * A = 0 (zero matrix)
- Negation: (-1) * A = -A
Effect on Determinant
For an n x n matrix A: det(kA) = k^n * det(A). This means scaling a 3x3 matrix by 2 multiplies its determinant by 2^3 = 8, not by 2.
Effect on Inverse
If A is invertible: (kA)^(-1) = (1/k) * A^(-1), provided k is not zero.
Geometric Interpretation
Scalar multiplication scales the transformation represented by a matrix. A scalar of 2 doubles all distances from the origin. A scalar of -1 reflects through the origin. A scalar between 0 and 1 shrinks the space.
Use Case
Scalar multiplication is used to normalize matrices (dividing by a norm), scale transformations in computer graphics, adjust learning rates in gradient descent (multiplying gradient matrices by the step size), and weight matrices in weighted averages or interpolation schemes.