| Heading | Content |
|---|---|
Definition of Matrix Multiplication | Matrix multiplication is an operation in which rows of the first matrix are combined with columns of the second matrix. Each entry of the resulting matrix is calculated by multiplying corresponding entries from one row and one column and then adding those products. This process is also known as the row-column rule. |
Condition for Multiplication | Suppose matrix A has dimensions m × n and matrix B has dimensions n × p. Their product AB is defined because the number of columns in A equals the number of rows in B. The resulting matrix has dimensions m × p. If the inner dimensions do not match, the product is undefined. |
Calculating an Individual Element | To calculate an element in row i and column j of AB, select row i from A and column j from B. Multiply their corresponding elements and add all the products. The number of multiplication pairs is equal to the shared inner dimension. |
Order of Multiplication | Matrix multiplication is generally not commutative. Even when both AB and BA are defined, their results are usually different. In some cases, one product may be defined while the other is not. Therefore, the order of the matrices must be considered carefully. |
Associative and Distributive Properties | Matrix multiplication is associative, meaning that (AB)C = A(BC) whenever the products are defined. It is also distributive over matrix addition: A(B + C) = AB + AC and (A + B)C = AC + BC, provided all required dimensions are compatible. |
Identity Matrix and Matrix Powers | For a square matrix A, multiplication by the identity matrix of the same order leaves A unchanged. Repeated multiplication of a square matrix by itself is called a matrix power, such as A² = AA. Matrix powers are useful in mathematical models, transformations, and systems that evolve through repeated operations. |
Matrix Multiplication
Matrix multiplication combines two matrices by calculating the dot product of each row of the first matrix with each column of the second matrix. The operation is defined when the number of columns in the first matrix equals the number of rows in the second matrix.
(AB)ᵢⱼ = Σₖ aᵢₖbₖⱼ
Explanation
Variables
| Symbol | Meaning | Unit |
|---|---|---|
A | First matrix with dimensions m × n | Not applicable |
B | Second matrix with dimensions n × p | Not applicable |
aᵢₖ | Element in row i and column k of A | Depends on the application |
bₖⱼ | Element in row k and column j of B | Depends on the application |
m | Number of rows in A | Count |
n | Number of columns in A and rows in B | Count |
p | Number of columns in B | Count |
Example or application
Problem
Given A = [[1, 2], [3, 4]] and B = [[2, 0], [1, 5]], calculate AB.
Solution
The first entry is 1 × 2 + 2 × 1 = 4. The second entry is 1 × 0 + 2 × 5 = 10. The third entry is 3 × 2 + 4 × 1 = 10. The fourth entry is 3 × 0 + 4 × 5 = 20. Arranging these values by their row and column positions gives the product.
Answer
AB = [[4, 10], [10, 20]].
Key Properties
The number of columns in the first matrix must equal the number of rows in the second matrix.
The product of an m × n matrix and an n × p matrix has order m × p.
Each product entry is obtained using a row-column dot product.
Matrix multiplication is generally not commutative: AB ≠ BA.
Matrix multiplication is associative: (AB)C = A(BC).
Matrix multiplication is distributive over addition.
Multiplication by an appropriate identity matrix leaves a matrix unchanged.
The zero matrix produces a zero product whenever the dimensions are compatible.
Sources and verification
Sources are shown as provided in the project data. Not every source has yet been independently verified. Please report errors or missing citations.
- SCIENEXY Mathematics Reference