Definition.Variance [boolean/def/var]

The variance of a function 𝑓:{±1}𝑛→ℝ is

𝐕𝐚𝐫[𝑓]=𝐄[(𝑓−𝐄[𝑓])2]=𝐄[𝑓2]−𝐄[𝑓]2.