btw these large scary math symbols are just for-loops
Freya Holmér’s 2021 tweet expanded my understanding of maths in a small but genuinely important way. and — those symbols that look like they belong to a completely different discipline — are just for loops with a fancier hat.
Summation (capital sigma)
sum = 0; for( n=0; n<=4; n++ ) sum += 3*n;
Product (capital pi)
prod = 1; for( n=1; n<=4; n++ ) prod *= 2*n;
I never would have made that connection on my own. Predictably, the replies descended into pedantry — mathematicians insisting the analogy was imprecise, missing the point entirely. Freya was trying to make something feel less intimidating, and it worked.