Matrix Addition and Subtraction

​
rows
1
2
3
4
5
columns
1
2
3
4
5
add
subtract
new matrices
A =
-4
4
4
1
-4
4
-4
-3
4
-5
5
-3
,
B =
-5
5
1
-1
-5
-1
5
4
-3
2
-4
5
A + B =
(-4 + -5)
(4 + 5)
(4 + 1)
(1 + -1)
(-4 + -5)
(4 + -1)
(-4 + 5)
(-3 + 4)
(4 + -3)
(-5 + 2)
(5 + -4)
(-3 + 5)
=
-9
9
5
0
-9
3
1
1
1
-3
1
2
To add or subtract two matrices, do the operation entry by entry.
If there is only one column or only one row, the matrices are vectors.

External Links

Vector Addition (Wolfram MathWorld)
Matrix Addition (Wolfram MathWorld)
Matrix Multiplication (Wolfram MathWorld)
Matrix Multiplication

Permanent Citation

George Beck
​
​"Matrix Addition and Subtraction"​
​http://demonstrations.wolfram.com/MatrixAdditionAndSubtraction/​
​Wolfram Demonstrations Project​
​Published: June 11, 2018