If A and B are square matrices of order 'n' such that A2−B2=(A−B)(A+B), then which of the following will be true?