# Solved 2000+ questions on Brilliant!

**Algebra**Level 3

If \(\color{red}{A}\) and \(\color{blue}{B}\) are two non-singular matrices such that \(\color{red}{A}\color{blue}{B}\) = \(\color{blue}{B}\) and \(\color{blue}{B}\color{red}{A}\) = \(\color{blue}{A}\),then.

\[\large \color{red}{A^2} + \color{blue}{B^2} = \]