Hotmath
Math Homework. Do It Faster, Learn It Better.

Adding and Subtracting Matrices

A matrix can only be added to (or subtracted from) another matrix if the two matrices have the same dimensions .

To add two matrices, just add the corresponding entries, and place this sum in the corresponding position in the matrix which results.

Example 1:

Add the matrices.

[ 1 5 4 3 ] + [ 2 1 4 1 ]

First note that both addends are 2 × 2 matrices, so we can add them.

[ 1 5 4 3 ] + [ 2 1 4 1 ] = [ 1 + 2 5 + ( 1 ) 4 + 4 3 + ( 1 ) ]

= [ 3 4 0 2 ]

Subtraction with matrices is just as straightforward.

Example 2:

Subtract.

[ 4 5 6 2 3 4 ] [ 2 4 6 1 2 3 ]

Subtract corresponding entries.

[ 4 5 6 2 3 4 ] [ 2 4 6 1 2 3 ] = [ 4 2 5 4 6 6 2 1 3 2 4 3 ]

= [ 2 1 0 1 1 1 ]