Can you factorize quadratics like this with matrices?
$$A^2 - B^2 = (A+B)(A-B)$$
I think it's going to be wrong because such a factorization should work even if you switch the order of the terms on the right side, but matrix multiplication isn't commutative.
$$ A^2-B^2 = (A+B)(A-B) \\ \iff A^2-B^2 = A^2-AB+BA-B^2 \\ \iff AB=BA $$ So, this holds iff $A$ and $B$ commute.