Add or subtract matrices entry by entry only when their dimensions match. The answer has the same number of rows and columns as both inputs.
Free adding and subtracting matrices practice: topic practice PDF, additional practice PDF, topic quiz. The original short practice below includes explained solutions.
Rules and restrictions
A \(2\times3\) matrix has 2 rows and 3 columns. It cannot be added to a \(3\times2\) matrix even though both contain six entries. For subtraction, subtract the entire matching entry, including a negative sign. Scalar multiplication multiplies every entry.
Worked examples
Example 1
For \(A=\begin{bmatrix}1&2\\-3&4\end{bmatrix}\), \(B=\begin{bmatrix}5&-1\\2&0\end{bmatrix}\), find A + B.
Each input is \(2\times2\), so addition is defined. Add matching entries: \(1+5=6\), \(2+(-1)=1\), \(-3+2=-1\), \(4+0=4\). Hence \(A+B=\begin{bmatrix}6&1\\-1&4\end{bmatrix}\).
Example 2
Using the same A and B, find A - B and compare with B - A.
Subtract entrywise: \(A-B=\begin{bmatrix}1-5&2-(-1)\\-3-2&4-0\end{bmatrix}=\begin{bmatrix}-4&3\\-5&4\end{bmatrix}\). Reversing order negates every entry: \(B-A=\begin{bmatrix}4&-3\\5&-4\end{bmatrix}\). Matrix subtraction is not commutative.
Try these before opening the solutions
- Find \(\begin{bmatrix}3\\-2\end{bmatrix}+\begin{bmatrix}4\\5\end{bmatrix}\).
- Find \(\begin{bmatrix}0&-3\end{bmatrix}-\begin{bmatrix}-5&2\end{bmatrix}\).
- If A is \(2\times3\) and B is \(3\times2\), is A + B defined?
- If \(A=\begin{bmatrix}1&-2\\3&0\end{bmatrix}\), find \(A+(-A)\).
Show step-by-step solutions
- Add matching rows: \(3+4=7\), \(-2+5=3\). The result is the \(2\times1\) column \(\begin{bmatrix}7\\3\end{bmatrix}\).
- Compute \(0-(-5)=5\), \(-3-2=-5\). The result is \(\begin{bmatrix}5&-5\end{bmatrix}\).
- No. Addition requires identical dimensions, and \(2\times3\ne3\times2\).
- Negate every entry to form \(-A=\begin{bmatrix}-1&2\\-3&0\end{bmatrix}\). Each matching sum is zero, giving the \(2\times2\) zero matrix.
Common mistakes
Do not add rows to columns or treat subtraction as commutative. A scalar outside a matrix multiplies every entry.
Related skills
Adding and Subtracting Matrices worksheets; Solving Matrix Equations lesson; Matrix Multiplication lesson; Finding Matrix Determinants lesson.

