\(A = \begin{bmatrix} 2 & 3 \\ 1 & 4 \end{bmatrix}\) and \(B = \begin{bmatrix} 1 & 2 \\ 0 & 5 \end{bmatrix}\)
Matrix multiplication: The product of two matrices where element (i,j) is the dot product of row i of the first matrix and column j of the second matrix
- Verify that the number of columns in the first matrix equals the number of rows in the second matrix
- For each element (i,j) in the result, compute the dot product of row i of the first matrix and column j of the second matrix
- Place the result in position (i,j) of the product matrix
Matrix A is 2×2 and Matrix B is 2×2. The number of columns in A (2) equals the number of rows in B (2), so multiplication is possible
Take row 1 of A: [2, 3] and column 1 of B: [1, 0]
Dot product: (2)(1) + (3)(0) = 2 + 0 = 2
Take row 1 of A: [2, 3] and column 2 of B: [2, 5]
Dot product: (2)(2) + (3)(5) = 4 + 15 = 19
Take row 2 of A: [1, 4] and column 1 of B: [1, 0]
Dot product: (1)(1) + (4)(0) = 1 + 0 = 1
Take row 2 of A: [1, 4] and column 2 of B: [2, 5]
Dot product: (1)(2) + (4)(5) = 2 + 20 = 22
The product of matrices A and B is \(\begin{bmatrix} 2 & 19 \\ 1 & 22 \end{bmatrix}\)
• Compatibility requirement: Columns of first matrix must equal rows of second matrix
• Dot product calculation: Multiply corresponding elements and sum the products
• Dimension result: Product of (m×n) and (n×p) matrices is (m×p)
\(C = \begin{bmatrix} 1 & 2 & 3 \\ 4 & 5 & 6 \end{bmatrix}\) and \(D = \begin{bmatrix} 2 \\ 1 \\ 0 \end{bmatrix}\)
Rectangular matrix multiplication: Multiplying matrices of different dimensions when compatibility condition is met
Matrix C is 2×3 and Matrix D is 3×1. The number of columns in C (3) equals the number of rows in D (3), so multiplication is possible
Take row 1 of C: [1, 2, 3] and column 1 of D: [2, 1, 0]
Dot product: (1)(2) + (2)(1) + (3)(0) = 2 + 2 + 0 = 4
Take row 2 of C: [4, 5, 6] and column 1 of D: [2, 1, 0]
Dot product: (4)(2) + (5)(1) + (6)(0) = 8 + 5 + 0 = 13
The result is a 2×1 matrix: \(\begin{bmatrix} 4 \\ 13 \end{bmatrix}\)
The product of matrices C and D is \(\begin{bmatrix} 4 \\ 13 \end{bmatrix}\)
• Dimension compatibility: Number of columns in first matrix must equal number of rows in second matrix
• Result dimensions: (m×n) × (n×p) = (m×p)
• Row-by-column multiplication: Each row of first matrix is dotted with each column of second matrix
\(E = \begin{bmatrix} 7 & 2 \\ 3 & 5 \end{bmatrix}\) and the identity matrix \(I = \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix}\)
Identity matrix: A square matrix with ones on the diagonal and zeros elsewhere, which acts as the multiplicative identity for matrix multiplication
The 2×2 identity matrix is \(I = \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix}\)
Take row 1 of E: [7, 2] and column 1 of I: [1, 0]
Dot product: (7)(1) + (2)(0) = 7 + 0 = 7
Take row 1 of E: [7, 2] and column 2 of I: [0, 1]
Dot product: (7)(0) + (2)(1) = 0 + 2 = 2
Take row 2 of E: [3, 5] and column 1 of I: [1, 0]
Dot product: (3)(1) + (5)(0) = 3 + 0 = 3
Take row 2 of E: [3, 5] and column 2 of I: [0, 1]
Dot product: (3)(0) + (5)(1) = 0 + 5 = 5
The product of matrix E and the identity matrix is \(\begin{bmatrix} 7 & 2 \\ 3 & 5 \end{bmatrix}\), which equals matrix E itself
• Identity property: For any matrix A, AI = IA = A
• Identity matrix: Acts as the multiplicative identity in matrix multiplication
• Diagonal elements: Ones on the diagonal preserve the original matrix elements
Matrix multiplication: A binary operation that produces a matrix from two matrices where element (i,j) is the dot product of row i of the first matrix and column j of the second matrix
Dot product: The sum of the products of corresponding elements of two vectors
Identity matrix: A square matrix with ones on the main diagonal and zeros elsewhere
Compatible matrices: Matrices where the number of columns in the first matrix equals the number of rows in the second matrix
- Check compatibility: Verify that columns of first matrix equal rows of second matrix
- Calculate dimensions: Result matrix will have dimensions (rows of first) × (columns of second)
- Compute each element: For element (i,j), take dot product of row i of first matrix and column j of second matrix
- Fill result matrix: Place computed values in corresponding positions
- Verify dimensions: Ensure the result has the expected dimensions
\(F = \begin{bmatrix} 1 & 2 \\ 0 & 1 \end{bmatrix}\) and \(G = \begin{bmatrix} 3 & 1 \\ 2 & 4 \end{bmatrix}\)
Non-commutative operation: An operation where changing the order of operands changes the result
Element (1,1): [1, 2] · [3, 2] = (1)(3) + (2)(2) = 3 + 4 = 7
Element (1,2): [1, 2] · [1, 4] = (1)(1) + (2)(4) = 1 + 8 = 9
Element (2,1): [0, 1] · [3, 2] = (0)(3) + (1)(2) = 0 + 2 = 2
Element (2,2): [0, 1] · [1, 4] = (0)(1) + (1)(4) = 0 + 4 = 4
So \(FG = \begin{bmatrix} 7 & 9 \\ 2 & 4 \end{bmatrix}\)
Element (1,1): [3, 1] · [1, 0] = (3)(1) + (1)(0) = 3 + 0 = 3
Element (1,2): [3, 1] · [2, 1] = (3)(2) + (1)(1) = 6 + 1 = 7
Element (2,1): [2, 4] · [1, 0] = (2)(1) + (4)(0) = 2 + 0 = 2
Element (2,2): [2, 4] · [2, 1] = (2)(2) + (4)(1) = 4 + 4 = 8
So \(GF = \begin{bmatrix} 3 & 7 \\ 2 & 8 \end{bmatrix}\)
\(FG = \begin{bmatrix} 7 & 9 \\ 2 & 4 \end{bmatrix} \neq \begin{bmatrix} 3 & 7 \\ 2 & 8 \end{bmatrix} = GF\)
Matrix multiplication is not commutative: \(FG \neq GF\)
• Non-commutativity: Matrix multiplication does not commute in general
• Order matters: The order of matrices in multiplication affects the result
• Verification: Always check that the result makes sense given the operation
\(A = \begin{bmatrix} 2 & 1 \\ 3 & 2 \end{bmatrix}\) and \(B = \begin{bmatrix} 5 \\ 8 \end{bmatrix}\)
Matrix equation: An equation where the unknown is a matrix, often solved using matrix multiplication and inverses
We have: \(\begin{bmatrix} 2 & 1 \\ 3 & 2 \end{bmatrix} \cdot X = \begin{bmatrix} 5 \\ 8 \end{bmatrix}\)
Since the result is 2×1, X must be 2×1: \(X = \begin{bmatrix} x_1 \\ x_2 \end{bmatrix}\)
\(\begin{bmatrix} 2 & 1 \\ 3 & 2 \end{bmatrix} \cdot \begin{bmatrix} x_1 \\ x_2 \end{bmatrix} = \begin{bmatrix} 2x_1 + x_2 \\ 3x_1 + 2x_2 \end{bmatrix}\)
\(2x_1 + x_2 = 5\) (Equation 1)
\(3x_1 + 2x_2 = 8\) (Equation 2)
From Equation 1: \(x_2 = 5 - 2x_1\)
Substitute into Equation 2: \(3x_1 + 2(5 - 2x_1) = 8\)
\(3x_1 + 10 - 4x_1 = 8\)
\(-x_1 = -2\)
\(x_1 = 2\)
Then: \(x_2 = 5 - 2(2) = 1\)
\(\begin{bmatrix} 2 & 1 \\ 3 & 2 \end{bmatrix} \cdot \begin{bmatrix} 2 \\ 1 \end{bmatrix} = \begin{bmatrix} 2(2) + 1(1) \\ 3(2) + 2(1) \end{bmatrix} = \begin{bmatrix} 5 \\ 8 \end{bmatrix}\) ✓
The solution to the matrix equation is \(X = \begin{bmatrix} 2 \\ 1 \end{bmatrix}\)
• Matrix equation solving: Convert to system of linear equations
• Dimension matching: Ensure matrices have compatible dimensions
• Verification: Always check the solution by substitution
Matrix multiplication: The process of computing the product of two matrices where each element is the dot product of a row from the first matrix and a column from the second matrix
Dot product: The sum of the products of corresponding elements of two vectors: \(\vec{a} \cdot \vec{b} = \sum a_i b_i\)
Compatibility: Two matrices can be multiplied if and only if the number of columns in the first matrix equals the number of rows in the second matrix
Identity matrix: A square matrix with ones on the diagonal and zeros elsewhere, denoted as I
- Check compatibility: Verify that the number of columns in the first matrix equals the number of rows in the second matrix
- Determine result dimensions: The product will have dimensions (rows of first) × (columns of second)
- Calculate each element: For element (i,j) of the product, compute the dot product of row i of the first matrix and column j of the second matrix
- Organize calculations: Use systematic approach to avoid errors
- Verify result: Check dimensions and sample calculations
• Associativity: (AB)C = A(BC)
• Distributivity: A(B + C) = AB + AC
• Non-commutativity: AB ≠ BA in general
• Identity property: AI = IA = A
1. Row-column dot products
2. Dimension compatibility
3. Result matrix formation
4. Non-commutative property
Analysis: The visualization shows how matrix multiplication transforms input matrices into output matrices.
- Each element is a dot product of row and column
- Dimensions must be compatible for multiplication
- Order of matrices affects the result
- Identity matrix preserves original matrix