Understanding double sums without matrices

discrete mathematicssummation

In our maths class we are currently studying sums, as an exercice we were given the task of proving the following :
$$\sum_{1 \le j \lt k \le n} (a_k – a_j)(b_k-b_j) =\dfrac{1}{2}\sum_{1 \le j,k \le n} (a_k – a_j)(b_k-b_j)$$
Where $a_k , b_k$ are random reals.
I did some research and found people explaining these double sums using matrices but I can't understand them.
To be specific i'm looking for a more algebraic proof of this equality and grasping the meaning behind the double sum notations and the difference between the two sums shown above. Any help would be greatly appreciated!

Best Answer

$\sum_{1\le j,k \le n} (a_k-a_j)(b_k-b_j)$ = $\sum_{1\le j \lt k \le n} (a_k-a_j)(b_k-b_j)$ + $\sum_{1\le k\lt j \le n} (a_k-a_j)(b_k-b_j)$ + $\sum_{1\le k=j \le n} (a_k-a_j)(b_k-b_j)$


$\sum_{1\le j \lt k \le n} (a_k-a_j)(b_k-b_j)$ = $\sum_{1\le k\lt j \le n} (a_k-a_j)(b_k-b_j)$

As $(a_k-a_j)(b_k-b_j)= (a_j-a_k)(b_j-b_k)$


$\sum_{1\le k=j \le n} (a_k-a_j)(b_k-b_j)$ = 0