\(\left(a-b\right)^2-\left(a+b\right)^2\)
\(=a^2-2ab+b^2-a^2-2ab-b^2\)
=-4ab
\(\left(a-b\right)^2-\left(a+b\right)^2=\left(a-b+a+b\right)\cdot\left(a-b-a-b\right)=-2b\cdot2a=-4ab\)
\(\left(a-b-a-b\right)\left(a-b+a+b\right)=-2b.2a\)
(a - b)2 - (a + b)2
= (a - b + a + b)(a - b - a - b)
= 2a . (-2b)
= -4ab