Adding and multiplying matrices is one of the most useful things you can do with the TI-84, because it turns long, error-prone hand calculations into a few key presses. Adding matrices is simple: you add the matching entries. Multiplying matrices is more involved: you take rows times columns, and the sizes have to match in a particular way. This guide shows you both, with worked examples you can follow along with, and it explains the mistakes that trip most students up.
Adding matrices: matching entries
To add two matrices, they must be the same size, and you add the entries that are in the same position. If [A] is [[1, 2], [3, 4]] and [B] is [[5, 6], [7, 8]], then [A] + [B] is [[6, 8], [10, 12]], because 1 + 5 is 6, 2 + 6 is 8, 3 + 7 is 10, and 4 + 8 is 12. Subtracting works the same way, with minus instead of plus. You cannot add matrices of different sizes. If [A] is 2 by 2 and [B] is 2 by 3, the calculator will give you a dimension error, and that is correct, because the operation does not make sense.
On the calculator, first enter your matrices. Press [2ND] then [x^-1], go to EDIT, and enter [A] as [[1, 2], [3, 4]] and [B] as [[5, 6], [7, 8]]. Press [2ND] then [MODE] to quit. On the home screen, press [2ND] then [x^-1], go to NAMES, choose 1: [A], press +, press [2ND] then [x^-1], go to NAMES, choose 2: [B], and press [ENTER]. The calculator will show you [[6, 8], [10, 12]]. That is your answer. You can also multiply a matrix by a number, which is called scalar multiplication. To work out 2 times [A], type 2 x [A] and press [ENTER] to get [[2, 4], [6, 8]]. Every entry is multiplied by 2.
Multiplying matrices: rows times columns
Multiplying matrices is different, and it is the one students find harder. To multiply [A] times [B], the number of columns in [A] must equal the number of rows in [B]. If [A] is 2 by 3 and [B] is 3 by 2, you can multiply them, and the answer will be 2 by 2. If [A] is 2 by 2 and [B] is 3 by 3, you cannot multiply them, because the inner sizes do not match, and the calculator will give you a dimension error.
To find an entry in the answer, take a row from the first matrix and a column from the second matrix, multiply the matching entries, and add them up. For [A] = [[1, 2], [3, 4]] and [B] = [[5, 6], [7, 8]], the entry in row 1, column 1 of the answer is (1 times 5) + (2 times 7), which is 5 + 14, which is 19. The entry in row 1, column 2 is (1 times 6) + (2 times 8), which is 6 + 16, which is 22. The entry in row 2, column 1 is (3 times 5) + (4 times 7), which is 15 + 28, which is 43. The entry in row 2, column 2 is (3 times 6) + (4 times 8), which is 18 + 32, which is 50. So [A] times [B] is [[19, 22], [43, 50]].
On the calculator, it is much simpler. Enter [A] and [B] as before, then on the home screen type [A] x [B] and press [ENTER]. The calculator will give you [[19, 22], [43, 50]]. You do not need to work out each entry by hand, but it is worth knowing how it works, because your teacher may ask you to show one entry, or to explain why the sizes have to match.
Order matters in multiplication
Matrix multiplication is not commutative, which means [A] times [B] is not usually the same as [B] times [A]. For our example, [A] times [B] is [[19, 22], [43, 50]], but [B] times [A] is [[23, 34], [31, 46]], which is different. That is a key difference from normal multiplication, where 3 times 4 is the same as 4 times 3. With matrices, the order matters, and you need to be careful about which matrix comes first.
Try it on the calculator. Type [A] x [B] and press [ENTER], then type [B] x [A] and press [ENTER], and compare the two answers. They will be different, unless your matrices are special. If a problem says find AB, it means A times B, in that order. If it says find BA, it means B times A. Read the order carefully, because it changes the answer.
A worked example: using matrices to solve a system
Matrices are often used to solve systems of equations, and multiplication is part of that. If you have the system 2x + y = 5 and x – y = 1, you can write it as a matrix equation, [A] times [X] = [B], where [A] is the coefficient matrix [[2, 1], [1, -1]], [X] is the column matrix [[x], [y]], and [B] is the constant matrix [[5], [1]]. To solve it, you multiply both sides by the inverse of [A], which we cover in the next guide. The point is that matrix multiplication is the tool that makes that method work, and it is worth learning well.
For now, try a simple multiplication by hand and check it on the calculator. Multiply [[2, 0], [1, 3]] by [[1, 4], [2, 1]]. By hand, the answer should be [[2, 8], [7, 7]]. On the calculator, enter the two matrices into [A] and [B], type [A] x [B], and press [ENTER] to check. If your hand answer and the calculator agree, you understand matrix multiplication. If they do not, work out one entry by hand and see where you went wrong.
Common mistakes
The most common mistake is trying to add or multiply matrices of the wrong size. For addition, the matrices must be exactly the same size. For multiplication, the inner sizes must match: the number of columns in the first must equal the number of rows in the second. If you get a dimension error, check the sizes first, because that is almost always the problem. The second most common mistake is multiplying in the wrong order. [A] times [B] is not [B] times [A], so read the problem carefully.
Another mistake is forgetting that scalar multiplication multiplies every entry, not just one. If you type 2 times [A], every entry in [A] is multiplied by 2. A fourth mistake is typing the matrices in the wrong order into the calculator, or using the wrong matrix name. If [A] and [B] are the wrong way round, your answer will be wrong, even if the sizes are right. Write down on paper which matrix is which before you start.
Try it yourself
Try these on your calculator. Add [[1, 2], [3, 4]] and [[5, 6], [7, 8]], which should give you [[6, 8], [10, 12]]. Multiply [[1, 2], [3, 4]] by [[2, 0], [1, 2]], which should give you [[4, 4], [10, 8]]. Multiply [[1, 0, 2], [0, 1, 3]] by [[1], [2], [3]], which should give you [[7], [11]]. If you can do all three, including checking the sizes first, you have the matrix addition and multiplication skill down.