Back to problem set

Disclaimer: these are my personal solutions; they have not been reviewed, so be careful relying on them as there might be errors. Some competitions may have official solutions from the contest publishers which you may wish to refer to instead if you’re looking for verified solutions.

Problem A1

Let ff be a real-valued function on the plane such that for every square ABCDABCD in the plane, f(A)+f(B)+f(C)+f(D)=0f(A) + f(B) + f(C) + f(D) = 0. Does it follow that f(P)=0f(P) = 0 for all points PP in the plane?

Solution

Open to see the solution; try solving it first!

Let’s consider a 3×33 \times 3 grid of points A,B,C,D,E,F,G,H,IA, B, C, D, E, F, G, H, I arranged in alphabetical order, from left to right and top to bottom, such that point EE has position (x,y)(x, y) and the other points are displaced from EE by an arbitrary real value tt in a given direction, namely:

  • AA is at position (xt,y+t)(x - t, y + t)
  • BB is at position (x,y+t)(x , y + t)
  • CC is at position (x+t,y+t)(x + t, y + t)
  • DD is at position (xt,y)(x - t, y )
  • EE is at position (x,y)(x , y )
  • FF is at position (x+t,y)(x + t, y )
  • GG is at position (xt,yt)(x - t, y - t)
  • HH is at position (x,yt)(x , y - t)
  • II is at position (x+t,yt)(x + t, y - t)

We can visualize this1 as follows:

ABCDEFGHI

We can see that this arrangement includes the following (small) squares:

  • ABEDABED
  • BCFEBCFE
  • DEHGDEHG
  • EFIHEFIH

As well as the square at a 45°45\degree angle BDHFBDHF and the grand square ACIGACIG:

ABCDEFGHI

Starting with the small squares, we know that the following hold:

f(A)+f(B)+f(D)+f(E)=0f(B)+f(C)+f(E)+f(F)=0f(D)+f(E)+f(G)+f(H)=0f(E)+f(F)+f(H)+f(I)=0 \begin{align*} f(A) + f(B) + f(D) + f(E) & = 0 \\ f(B) + f(C) + f(E) + f(F) & = 0 \\ f(D) + f(E) + f(G) + f(H) & = 0 \\ f(E) + f(F) + f(H) + f(I) & = 0 \\ \end{align*}

We can add all of these equations together to form the following:

f(A)+2f(B)+f(C)+2f(D)+4f(E)+2f(F)+f(G)+2f(H)+f(I)=0 f(A) + 2 f(B) + f(C) + 2 f(D) + 4 f(E) + 2 f(F) + f(G) + 2 f(H) + f(I) = 0

Rearranging this to group by similar factors and grouping accordingly, we have:

(f(A)+f(C)+f(I)+f(G)the grand square)+2(f(B)+f(D)+f(H)+f(F)the 45° square)+4f(E)=0 (\underbrace{f(A) + f(C) + f(I) + f(G)}_{\textrm{the grand square}}) + 2( \overbrace{f(B) + f(D) + f(H) + f(F)}^{\textrm{the } 45\degree \textrm{ square}} ) + 4 f(E) = 0

Since one of the terms is now the grand square ACIGACIG, the value of that term is zero by problem definition. Similarly, the second term is the 45°45\degree square BDHFBDHF, so that term is also zero for the same reason.

Thus, we are just left with

4f(E)=0 4f(E) = 0

which means that f(E)=0f(E) = 0. However, recall that EE represents an arbitrary point (x,y)(x, y) in the plane, so this shows that yes, f(P)=0 for all points P in the plane  \boxed{ \textrm{yes, } f(P) = 0 \textrm{ for all points } P \textrm{ in the plane} }\ \ . \quad \blacksquare


  1. The diagrams on the page were programmatically defined via g9, an open source JavaScript toolkit for interactive visualizations. ↩︎