Subtracting matrices is only defined for matrices with the same dimensions. Subtraction is NOT commutative - NOT associative - .