How do you add matrices?
Add corresponding entries, and only when the two matrices are the same size. OpenStax College Algebra 2e, section 7.5, Example 3, adds [4 1; 3 2] and [5 9; 0 7]. The pairs are 4+5, 1+9, 3+0, and 2+7, so the sum is [9 10; 3 9]. The same section says addition is commutative: A+B = B+A. A 2×3 and a 3×3 have no sum, because some entries have no partner.
How do you multiply matrices?
The entry in row i, column j is row i of the first matrix times column j of the second, with those products added. OpenStax College Algebra 2e, section 7.5, says an m×r matrix times an r×n matrix gives an m×n matrix. For [1 2; 3 4] times [5 6; 7 8], both 2×2, the entries are 1·5+2·7=19, 1·6+2·8=22, 3·5+4·7=43, and 3·6+4·8=50. The product is [19 22; 43 50].
When is matrix multiplication undefined?
When the number of columns in the first matrix is not the number of rows in the second. OpenStax College Algebra 2e, section 7.5, says the product is not defined if those inner dimensions do not match. A 2×3 such as [1 2 3; 4 5 6] has 3 entries in each row. A 2×2 such as [7 8; 9 0] has 2 entries in each column. Those lists are different lengths, so a 2×3 times a 2×2 has no product.
What is an identity matrix?
A square matrix with ones on the main diagonal and zeros everywhere else. OpenStax College Algebra 2e, section 7.7, says it acts as 1 in matrix algebra: AI = IA = A. The chapter 7 key equations print the 2×2 identity as [1 0; 0 1] and the 3×3 identity with ones on the diagonal.
How do you find the determinant of a 2×2 matrix?
For the square matrix [a b; c d], the determinant is the number ad − bc. OpenStax Intermediate Algebra 2e, section 4.6, defines it that way, and defines a determinant for a square matrix. OpenStax College Algebra 2e, section 7.8, Example 1, evaluates [5 2; −6 3] as 5(3) − (−6)(2) = 27. The result is a number, not another matrix.
When does a matrix have an inverse?
A multiplicative inverse is a matrix that multiplies with the original, on either side, to give the identity. OpenStax College Algebra 2e, section 7.7, says only a square matrix may have one, and not every square matrix does. For [a b; c d], there is no inverse when ad − bc = 0.
Why is AB not always equal to BA?
Matrix multiplication is not commutative. OpenStax College Algebra 2e, section 7.5, states that directly. [1 2; 3 4] times [5 6; 7 8] is [19 22; 43 50]. The other order is 5·1+6·3=23, 5·2+6·4=34, 7·1+8·3=31, and 7·2+8·4=46, so [23 34; 31 46]. The two products are different. Addition does commute.
Is it okay to use a matrix calculator for homework?
Use it to check a size and an entry you already computed, after you have tried the problem. If the assignment is the work, copying only the final matrix skips what is being graded. Follow your class academic honesty policy.