Work out matrix subtraction instantly with clear inputs, formula shown and shareable results.
Matrix subtraction works entry by entry, so both matrices must have identical dimensions. Unlike multiplication it is straightforward and commutes up to sign: A − B = −(B − A).
Matrix subtraction
(A − B)ᵢⱼ = Aᵢⱼ − Bᵢⱼ
[[4, 5], [−2, 5]], each entry taken independently.
No. Entry-by-entry operations require the same number of rows and columns.