two anti-parallel vectors \vec{A} and \vec{B} means \vec{B}=-\vec{A}

The sum of two vectors \vec{A} and \vec{B} is \vec{A}+\vec{B}= \vec{A}+(-\vec{A})=\vec{0}