A Different Perspective

(Xu Chen here) Today I am going to talk about a subtle but important thought process for many problems, which is how you visualize the objects you are working with. This is more of an intuitive idea than rigorous math, so forgive me if not everything is super clear in this post.

How you look at the problem can heavily influence what ideas you can come up with: The solution often follows from a good understanding of the underlying structure.

Example 1.

Let's start with a simple example.

(USAJMO 2019/2) Let Z\Z be the set of all integers. Find all pairs of integers (a,b)(a,b) for which there exist functions f:ZZf:\Z\to\Z and g:ZZg:\Z\to\Z satisfying f(g(x))=x+aandg(f(x))=x+bf(g(x))=x+a\quad \text{and}\quad g(f(x))=x+b for all integers xx.

Hopefully it is clear that we cannot treat this as a standard FE, but must instead consider some combinatorial ideas. Let's think of Z\Z on the number line. We draw red arrows to represent xf(x)x\mapsto f(x) and blue arrows to represent xg(x)x\mapsto g(x):

https://ibb.co/mHkxhtF

One condition says that starting from xx and following a blue arrow, then a red arrow, puts you at x+ax+a. This is kind of hard to see from our current picture. It follows that this is probably not the correct way to think about the problem. Let's rearrange Z\Z into a|a| chains, each chain being one residue class mod a|a|.

https://ibb.co/NN02x6p

Now the condition says blue then red moves us one vertex down the chain. Much better. But the other condition about x+bx+b is still not represented properly. A bit of experimenting should give that it is more natural to think of two copies of Z\Z, with ff and gg mapping back and forth between them.

https://ibb.co/3z0pq6z

From this diagram, it should be clear that the chains in the two copies of Z\Z pair up, from which a=b|a|=|b|. There are more details to the solution, but this is the main idea.

Thus we see that when the conditions of the question are clearly visible in the diagram, it becomes much easier to see what is actually going on. Let's look at a different illustrative example.

Example 2.

(IMO 2012/3) The liar's guessing game is a game played between two players AA and BB. The rules of the game depend on two positive integers kk and nn which are known to both players.

At the start of the game, AA chooses integers xx and NN with 1xN.1\leq x\leq N. Player AA keeps xx secret, and truthfully tells NN to player BB. Player BB now tries to obtain information about xx by asking player AA questions as follows: each question consists of BB specifying an arbitrary set SS of positive integers (possibly one specified in some previous question), and asking AA whether xx belongs to SS. Player BB may ask as many questions as he wishes. After each question, player AA must immediately answer it with yes or no, but is allowed to lie as many times as she wants; the only restriction is that, among any k+1k+1 consecutive answers, at least one answer must be truthful.

After BB has asked as many questions as he wants, he must specify a set XX of at most nn positive integers. If xx belongs to XX, then BB wins; otherwise, he loses. Prove that:

(a) If n2k,n \geq 2^k, then BB can guarantee a win.

(b) For all sufficiently large kk, there exists an integer n(1.99)kn \geq (1.99)^k such that BB cannot guarantee a win.

A very long question indeed. The setup of the question can be quite confusing, since there is incomplete information, lying, and lots of numbers being thrown around. We make two observations what the players' strategies must look like.

  • Since BB can ask arbitrarily many questions, we can assume BB eliminates one number at a time until there are nn numbers left.
  • Similarly, AA's strategy necessarily involves keeping a set of n+1n+1 "possible" numbers, since he does not benefit from keeping more.

Thus the only important case is N=n+1N = n+1, and AA cannot allow BB to eliminate any number. This gives the following interpretation of the question:

Let n,kn,k be positive integers known to both players. We start with the sequence (x1,x2,,xn+1)=(0,0,,0)(x_1,x_2,\dots,x_{n+1}) = (0,0,\dots,0). Each move, player BB partitions {1,2,,n+1}\{1,2,\dots,n+1\} into two sets S,TS,T. Player AA then chooses to either:

  • Increase xix_i by 1 for each iSi\in S and reset xjx_j to 0 for each jTj\in T, or
  • Increase xix_i by 1 for each iTi\in T and reset xjx_j to 0 for each jSj\in S.

Player BB wins if xi=k+1x_i=k+1 for some ii.

Here xix_i answers the question "If x=ix=i, how many times has AA lied consecutively?", so it is equivalent to the original problem. If you like, you can even think of n+1n+1 chips moving from left to right with a "finish line" at k+1k+1:

https://ibb.co/FxN9yp8

I find this formulation of the problem much easier to think about, since the game is now perfect information, the game state only depends on (xi)(x_i), etc. Note that we have discarded all irrelevant information: x,Nx,N are not part of the problem anymore. This prevents us from wasting time thinking about unimportant things.

This can directly motivate the main ideas in the solution:

  • For part (a), player BB wants to force some xix_i upwards. It then makes sense to finish by repeatedly splitting the large xix_i's into two halves to force AA to increase one of the halves.
  • For part (b), player AA wants to keep all the xix_i's small in some sense. It then makes sense to minimise i=1nf(xi)\sum_{i=1}^n f(x_i) for some function ff.

Conclusion

Finding the correct visualization is not always easy, so here are a few things that may help:

  • As above: The problem conditions should look "natural" in the construct, and irrelevant information should be discarded.
  • Tinker around! There are many ways to look at the same thing, some are better suited for the question than others, and you don't know until you try.
  • Ask yourself: What is this problem really about? What properties emerge from the given definitions?

That's all I have today, hopefully this helps in building intuition for some problems.

Comments

Popular posts from this blog

SMO Open 2024 ??% Speedrun

Musings about the IMO