Expand the left-hand side of the equation: \[ (A + B)^2 = A^2 + AB + BA + B^2. \]
Equating both sides: \[ A^2 + AB + BA + B^2 = A^2 + B^2. \]
Cancel \( A^2 \) and \( B^2 \): \[ AB + BA = 0. \]
Rearranging yields: \[ AB = -BA. \]
Thus, the correct answer is (B) \( AB = -BA \).
If \( A = \begin{bmatrix} -1 & a & 2 \\ 1 & 2 & x \\ 3 & 1 & 1 \end{bmatrix} \) and \( A^{-1} = \begin{bmatrix} 1 & -1 & 1 \\ -8 & 7 & -5 \\ b & y & 3 \end{bmatrix} \), find the value of \( (a + x) - (b + y) \).