Subject: Class 12 Mathematics Chapter: Addition and Subtraction Topic: 3.4 Addition and Subtraction – Perform matrix addition and subtraction
Just as numbers can be added and subtracted, so can matrices, but only under a strict condition: the two matrices must have the same order. When two matrices of the same order are added, we add their corresponding elements, and the result is a new matrix of the same order. Subtraction works in exactly the same way, with each element of the second matrix subtracted from the corresponding element of the first.
Matrix addition is the natural way to combine two tables of data that are recorded in the same format. For example, if two shops record their sales in matrices of the same order, their combined sales are given by the sum of the matrices. Because the operation acts element by element, the arithmetic of matrix addition is simple, but the discipline of aligning rows and columns is what makes it reliable in examinations.
Beyond the mechanics, matrix addition satisfies algebraic laws that closely resemble the laws of ordinary numbers. It is commutative, meaning the order of the addends does not matter, and associative, meaning the grouping of three or more matrices does not matter. The zero matrix acts as the additive identity, and each matrix has an additive inverse whose addition produces the zero matrix. These properties give matrix addition a clean, predictable algebra.
Two matrices A and B can be added if and only if they have the same order. If both have order m by n, their sum A plus B is defined as the matrix of the same order m by n whose element in position (i, j) is a sub ij plus b sub ij. In words, we add corresponding elements: the element in the first row and first column of the answer is the sum of the first row first column elements of A and B, and so on for every position.
The condition of equal order is absolute. If A and B have different orders, their sum is simply not defined, and the correct examination response is to state that the addition cannot be performed. This is very different from ordinary numbers, where any two numbers can be added. The idea that two matrices with different orders cannot be added is one of the first places students lose marks, so it must be checked before any calculation begins.
Worked Example 1. If A has rows 1, 2 and 3, 4 and B has rows 5, 6 and 7, 8, find A plus B.
Worked Example 2. If P is a 2 by 3 matrix and Q is a 3 by 2 matrix, is P plus Q defined?
Subtraction follows the same pattern as addition. If A and B have the same order m by n, then A minus B is the matrix of order m by n whose element in position (i, j) is a sub ij minus b sub ij. We subtract corresponding elements, element by element. As with addition, subtraction requires identical orders, and a difference in order makes the subtraction undefined.
The operation A minus B can also be understood as A plus negative B, where negative B is the matrix obtained by multiplying every element of B by minus 1. This viewpoint connects subtraction with the additive inverse. The additive inverse of a matrix B is the matrix minus B whose every element is the negative of the corresponding element of B, and B plus minus B always equals the zero matrix of the same order.
Worked Example 3. If A has rows 8, 3 and 5, 2 and B has rows 6, 1 and 4, 1, find A minus B.
Worked Example 4. Given that A has rows 1, 2 and 3, 4, find the additive inverse of A and verify that A plus its inverse is the zero matrix.
Matrix addition obeys several algebraic laws. It is commutative: A plus B equals B plus A for any two matrices of the same order, because ordinary addition of numbers is commutative element by element. It is associative: A plus B plus C equals A plus the sum of B and C, so brackets do not matter. The zero matrix O of matching order acts as the additive identity, since A plus O equals A and O plus A equals A for every matrix A.
Every matrix A has an additive inverse minus A such that A plus minus A equals O. These properties mirror the properties of real numbers and make the algebra of matrices familiar. Subtraction, meanwhile, is neither commutative nor associative in general, so the order in a subtraction matters and brackets cannot be rearranged freely. The distributive connections with scalar multiplication will appear in the next chapter, but the additive laws are complete here.
Worked Example 5. If A has rows 1, 2 and 3, 4 and B has rows 4, 3 and 2, 1, verify that A plus B equals B plus A.
Worked Example 6. If A has rows 3, 1 and 0, 2 and B has rows 1, 2 and 2, 2, find the matrix X such that A plus X equals B.
| Operation | Condition | Rule | Result order |
|---|---|---|---|
| A plus B | Same order | Add corresponding elements | Same as A |
| A minus B | Same order | Subtract corresponding elements | Same as A |
| Minus A | Always defined | Negate every element | Same as A |
| A plus O | Same order | Equal to A | Same as A |
| Property | Statement | Meaning |
|---|---|---|
| Commutative | A plus B = B plus A | Order of addition does not matter |
| Associative | A plus (B plus C) = (A plus B) plus C | Grouping does not matter |
| Additive identity | A plus O = A | Zero matrix acts like 0 |
| Additive inverse | A plus minus A = O | Every matrix has a negative |
| Not commutative for subtraction | A minus B differs from B minus A | Order matters in subtraction |
flowchart TD
A[Addition and Subtraction] --> B[Addition]
A --> C[Subtraction]
A --> D[Properties]
B --> E[Same order required]
B --> F[Add corresponding elements]
C --> G[Same order required]
C --> H[Subtract corresponding elements]
C --> I[A minus B = A plus negative B]
D --> J[Commutative]
D --> K[Associative]
D --> L[Additive identity zero matrix]
D --> M[Additive inverse]
Addition and subtraction of matrices are performed element by element on matrices of the same order, with the result having the same order as the operands, and the operations are undefined when the orders differ. Addition is commutative and associative, the zero matrix serves as the additive identity, and every matrix possesses an additive inverse, so the algebra of matrix addition mirrors the algebra of real numbers while subtraction demands careful attention to order. These simple element-wise operations provide the arithmetic foundation upon which scalar multiplication and the far more subtle operation of matrix multiplication are built.