Skill: Subtract matrices

Explanation and Free Practice Resources

Subtraction is defined for matrices with the same number of rows and columns: each entry of the second matrix is subtracted from the entry in the corresponding position of the first, so the result has the same dimensions. This entrywise operation is equivalent to adding the additive inverse of a matrix; matrices of different dimensions cannot be subtracted.

Detailed Explanation: Subtract matrices

To subtract matrices, first check that they have the same number of rows and columns. Then subtract each entry of the second matrix from the entry in the matching position of the first. The result has the same dimensions as the original matrices.

For example, calculate

[74−2163]−[2−1543−2].\begin{bmatrix} 7 & 4 & -2\\ 1 & 6 & 3 \end{bmatrix} - \begin{bmatrix} 2 & -1 & 5\\ 4 & 3 & -2 \end{bmatrix}.

Both matrices are 2×32 \times 3, so subtraction is defined. Subtract corresponding entries:

[7−24−(−1)−2−51−46−33−(−2)]=[55−7−335].\begin{bmatrix} 7-2 & 4-(-1) & -2-5\\ 1-4 & 6-3 & 3-(-2) \end{bmatrix} = \begin{bmatrix} 5 & 5 & -7\\ -3 & 3 & 5 \end{bmatrix}.

Remember: subtract in the same order as the matrices are written.

Learn by doing: Subtract matrices

Click a topic below to practice the foundational skills you'll need, learn the steps, or master this skill

Your results

Practice with unlimited practice problems

Matrices - Subtract - Full Matrix to Values


    ?

    Download/Modify Free Grade 12 'Subtract matrices' Worksheet

    Print this free 'Subtract matrices' worksheet to practice this skill away from the computer. Click 'Modify' to easily customize this worksheet to your exact needs.

    Explore More Grade 12 Math