I'm attempting to figure out the difference between Σx^2 and (Σx)^2 in this least squares regression formula https://i.stack.imgur.com/bcCow.jpg. Any ideas? I figure there must be a difference.
2026-04-02 11:22:08.1775128928
Question regarding Sum Notation in the least squares formula
98 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
3
For example, let $x_i$ represent $i^{th}$ natural number, and n = 4.
Then $\left(\sum_{i=1}^n x_i\right)^2$ = (1 + 2 + 3 + 4)^2 = (10)^2 = 100
and $\left(\sum_{i=1}^n x_i^2\right)$ = (1^2 + 2^2 + 3^2 + 4^2) = (1 + 4 + 9 + 16) = 30.