I have to prove that $||A-B||=||A+B||\Leftrightarrow AB=0$ and I was wondering if this approach is correct, or if there's a better/more elegant way to prove this.
Given n-dimensional vectors A and B, we can write $||A-B||=||A+B||$ as:
$\sqrt{\sum\limits_{j=1}^{n}(a_j-b_j)^2}=\sqrt{\sum\limits_{j=1}^{n}(a_j+b_j)^2}$
Squaring both sides and expanding the binomials:
$\sum\limits_{j=1}^{n}a^2_j-2a_jb_j+b_j^2=\sum\limits_{j=1}^{n}a^2_j+2a_jb_j+b_j^2$
Simplifying:
$-\sum\limits_{j=1}^{n}a_jb_j=\sum\limits_{j=1}^{n}a_jb_j$, which holds true if and only if $\sum\limits_{j=1}^{n}a_jb_j=0$
Since $AB$ is equivalent to $\sum\limits_{j=1}^{n}a_jb_j$, then $||A-B||=||A+B||\Leftrightarrow AB=0$
Thanks in advance.