A Square Vanishing Function Must Be Identically Zero
Suppose is a continuous function such that for every axis-aligned square in the plane, the sum of the values of at the four vertices equals zero.
Must be identically zero?
Answer: A Square Vanishing Function Must Be Identically Zero
Key Idea / Intuition
The condition "every axis-aligned square sums to zero" is surprisingly strong. By cleverly overlapping and combining squares that share vertices, we can force any single point to satisfy — using a small cascade of linear combinations of the vanishing condition. The key is that squares can be nested and composed to "isolate" any one point.
Formal Proof / Solution
Setup. Call a square admissible if its sides are parallel to the axes. Label any admissible square with vertices at (for any ). The hypothesis says:
Reduction to a simpler functional equation. Fix and set . Apply the condition with the square of side at :
Actually, the full structure is richer. Let's derive the functional equation step by step.
Step 1: Fixing one coordinate. Apply the square condition twice with the same -extent but shifted vertically:
- Square at height :
- Square at height :
Subtracting: So .
Step 2: Fixing the other coordinate similarly. Applying the square condition with the same -extent but shifted horizontally:
Step 3: The key functional equation. From the original square identity with side : f(x,y) + f(x+s,y) + f(x+s,y+s) + f(x,y+s) = 0. \tag{$*$}
Apply again with the square of side whose bottom-left corner is : f(x+s,y) + f(x+2s,y) + f(x+2s,y+s) + f(x+s,y+s) = 0. \tag{$**$}
Subtract from :
This says , i.e. the "horizontal increment of size " changes sign when we shift vertically by .
Step 4: Identifying . Let (the "interaction term"). The functional equation forces , so has the additive form for some functions .
Substituting back into :
So for all . The left side is independent of , and the right side is independent of , so both must equal a constant :
Step 5: Forcing constants to zero. From for all , set : , so is constant! Similarly is constant.
If and , then . The original condition gives , so , meaning .
Conclusion. Yes, must be identically zero.
Remark. Continuity is not actually needed — the algebraic argument alone suffices! This makes the result even more surprising: a purely combinatorial/algebraic condition on four-point sums completely pins down .
Source: putnam/2009s.pdf — inspired by A-1 and Romanian IMO TST 1996; this axis-aligned variant is a classical folklore companion