Olympiad Maths Prep

Track / Stage 9 / 71 of 80 #1951 of 2000

Problem 1951

IMO P2/P5; hard shortlist
Algebra Difficulty 9.2 Prove it 53rd International Mathematical Olympiad Shortlisted Problems with Solutions · IMO

We say that a function f:RkRf: \mathbb{R}^k \rightarrow \mathbb{R} is a metapolynomial if, for some positive integers mm and nn, it can be represented in the form
f(x1,,xk)=maxi=1,,mminj=1,,nPi,j(x1,,xk) f\left(x_1, \ldots, x_k\right)=\max_{i=1, \ldots, m} \min_{j=1, \ldots, n} P_{i, j}\left(x_1, \ldots, x_k\right)
where Pi,jP_{i, j} are multivariate polynomials. Prove that the product of two metapolynomials is also a metapolynomial.

This one wants a proof. Work it on paper, read the official solution, then mark yourself honestly — the ladder only means something if the record is true.

Official solution

We use the notation f(x)=f(x1,,xk)f(x)=f\left(x_1, \ldots, x_k\right) for x=(x1,,xk)x=\left(x_1, \ldots, x_k\right) and [m]={1,2,,m}[m]=\{1,2, \ldots, m\}. Observe that if a metapolynomial f(x)f(x) admits a representation like the one in the statement for certain positive integers mm and nn, then they can be replaced by any mmm' \geq m and nnn' \geq n. For instance, if we want to replace mm by m+1m+1 then it is enough to define Pm+1,j(x)=Pm,j(x)P_{m+1, j}(x)=P_{m, j}(x) and note that repeating elements of a set do not change its maximum nor its minimum. So one can assume that any two metapolynomials are defined with the same mm and nn. We reserve letters PP and QQ for polynomials, so every function called P,Pi,j,Q,Qi,j,P, P_{i, j}, Q, Q_{i, j}, \ldots is a polynomial function.

We start with a lemma that is useful to change expressions of the form min max fi,jf_{i, j} to ones of the form max min gi,jg_{i, j}.

Lemma. Let {ai,j}\{a_{i, j}\} be real numbers, for all i[m]i \in[m] and j[n]j \in[n]. Then
mini[m]maxj[n]ai,j=maxj1,,jm[n]mini[m]ai,ji, \min_{i \in[m]} \max_{j \in[n]} a_{i, j}=\max_{j_1, \ldots, j_m \in[n]} \min_{i \in[m]} a_{i, j_i},
where the max in the right-hand side is over all vectors (j1,,jm)\left(j_1, \ldots, j_m\right) with j1,,jm[n]j_1, \ldots, j_m \in[n].

Proof. We can assume for all ii that ai,n=max{ai,1,,ai,n}a_{i, n}=\max \{a_{i, 1}, \ldots, a_{i, n}\} and am,n=min{a1,n,,am,n}a_{m, n}=\min \{a_{1, n}, \ldots, a_{m, n}\}. The left-hand side is =am,n=a_{m, n} and hence we need to prove the same for the right-hand side. If (j1,j2,,jm)=(n,n,,n)\left(j_1, j_2, \ldots, j_m\right)=(n, n, \ldots, n) then min{a1,j1,,am,jm}=min{a1,n,,am,n}=am,n\min \{a_{1, j_1}, \ldots, a_{m, j_m}\}=\min \{a_{1, n}, \ldots, a_{m, n}\}=a_{m, n} which implies that the right-hand side is am,n\geq a_{m, n}. It remains to prove the opposite inequality and this is equivalent to min{a1,j1,,am,jm}am,n\min \{a_{1, j_1}, \ldots, a_{m, j_m}\} \leq a_{m, n} for all possible (j1,j2,,jm)\left(j_1, j_2, \ldots, j_m\right). This is true because min{a1,j1,,am,jm}am,jmam,n\min \{a_{1, j_1}, \ldots, a_{m, j_m}\} \leq a_{m, j_m} \leq a_{m, n}.

We need to show that the family M\mathcal{M} of metapolynomials is closed under multiplication, but it turns out easier to prove more: that it is also closed under addition, maxima and minima.

First we prove the assertions about the maxima and the minima. If f1,,frf_1, \ldots, f_r are metapolynomials, assume them defined with the same mm and nn. Then
f=max{f1,,fr}=max{maxi[m]minj[n]Pi,j1,,maxi[m]minj[n]Pi,jr}=maxs[r],i[m]minj[n]Pi,js f=\max \{f_1, \ldots, f_r\}=\max \{\max_{i \in[m]} \min_{j \in[n]} P_{i, j}^1, \ldots, \max_{i \in[m]} \min_{j \in[n]} P_{i, j}^r\}=\max_{s \in[r], i \in[m]} \min_{j \in[n]} P_{i, j}^s
It follows that f=max{f1,,fr}f=\max \{f_1, \ldots, f_r\} is a metapolynomial. The same argument works for the minima, but first we have to replace min max by max min, and this is done via the lemma.

Another property we need is that if f=maxminPi,jf=\max \min P_{i, j} is a metapolynomial then so is f-f. Indeed, f=min(minPi,j)=minmaxPi,j-f=\min \left(-\min P_{i, j}\right)=\min \max P_{i, j}.

To prove M\mathcal{M} is closed under addition let f=maxminPi,jf=\max \min P_{i, j} and g=maxminQi,jg=\max \min Q_{i, j}. Then
f(x)+g(x)=maxi[m]minj[n]Pi,j(x)+maxi[m]minj[n]Qi,j(x)=maxi1,i2[m](minj[n]Pi1,j(x)+minj[n]Qi2,j(x))=maxi1,i2[m]minj1,j2[n](Pi1,j1(x)+Qi2,j2(x)), \begin{gathered} f(x)+g(x)=\max_{i \in[m]} \min_{j \in[n]} P_{i, j}(x)+\max_{i \in[m]} \min_{j \in[n]} Q_{i, j}(x) \\ =\max_{i_1, i_2 \in[m]}\left(\min_{j \in[n]} P_{i_1, j}(x)+\min_{j \in[n]} Q_{i_2, j}(x)\right)=\max_{i_1, i_2 \in[m]} \min_{j_1, j_2 \in[n]}\left(P_{i_1, j_1}(x)+Q_{i_2, j_2}(x)\right), \end{gathered}
and hence f(x)+g(x)f(x)+g(x) is a metapolynomial.

We proved that M\mathcal{M} is closed under sums, maxima and minima, in particular any function that can be expressed by sums, max, min, polynomials or even metapolynomials is in M\mathcal{M}.

We would like to proceed with multiplication along the same lines like with addition, but there is an essential difference. In general the product of the maxima of two sets is not equal to the maximum of the product of the sets. We need to deal with the fact that a<ba<b and c<dc<d do not imply ac<bda c<b d. However this is true for a,b,c,d0a, b, c, d \geq 0.

In view of this we decompose each function f(x)f(x) into its positive part f+(x)=max{f(x),0}f^{+}(x)=\max \{f(x), 0\} and its negative part f(x)=max{0,f(x)}f^{-}(x)=\max \{0,-f(x)\}. Note that f=f+ff=f^{+}-f^{-} and f+,fMf^{+}, f^{-} \in \mathcal{M} if fMf \in \mathcal{M}. The whole problem reduces to the claim that if ff and gg are metapolynomials with f,g0f, g \geq 0 then fgf g is also a metapolynomial.

Assuming this claim, consider arbitrary f,gMf, g \in \mathcal{M}. We have
fg=(f+f)(g+g)=f+g+f+gfg++fg f g=\left(f^{+}-f^{-}\right)\left(g^{+}-g^{-}\right)=f^{+} g^{+}-f^{+} g^{-}-f^{-} g^{+}+f^{-} g^{-}
and hence fgMf g \in \mathcal{M}. Indeed, M\mathcal{M} is closed under addition, also f+g+,f+g,fg+,fgMf^{+} g^{+}, f^{+} g^{-}, f^{-} g^{+}, f^{-} g^{-} \in \mathcal{M} because f+,f,g+,g0f^{+}, f^{-}, g^{+}, g^{-} \geq 0.

It remains to prove the claim. In this case f,g0f, g \geq 0, and one can try to repeat the argument for the sum. More precisely, let f=maxminPij0f=\max \min P_{i j} \geq 0 and g=maxminQij0g=\max \min Q_{i j} \geq 0. Then
fg=maxminPi,jmaxminQi,j=maxminPi,j+maxminQi,j+=maxminPi1,j1+Qi2,j2+ f g=\max \min P_{i, j} \cdot \max \min Q_{i, j}=\max \min P_{i, j}^{+} \cdot \max \min Q_{i, j}^{+}=\max \min P_{i_1, j_1}^{+} \cdot Q_{i_2, j_2}^{+}
Hence it suffices to check that P+Q+MP^{+} Q^{+} \in \mathcal{M} for any pair of polynomials PP and QQ. This reduces to the identity
u+v+=max{0,min{uv,u,v},min{uv,uv2,u2v},min{uv,u,u2v},min{uv,uv2,v}}, u^{+} v^{+}=\max \left\{0, \min \{u v, u, v\}, \min \left\{u v, u v^{2}, u^{2} v\right\}, \min \left\{u v, u, u^{2} v\right\}, \min \left\{u v, u v^{2}, v\right\}\right\},
with uu replaced by P(x)P(x) and vv replaced by Q(x)Q(x). The formula is proved by a case-by-case analysis. If u0u \leq 0 or v0v \leq 0 then both sides equal 0. In case u,v0u, v \geq 0, the right-hand side is clearly uv\leq u v. To prove the opposite inequality we use that uvu v equals
min{uv,u,v} if 0u,v1,min{uv,uv2,u2v} if 1u,v,min{uv,u,u2v} if 0v1u,min{uv,uv2,v} if 0u1v. \begin{array}{ll} \min \{u v, u, v\} & \text{ if } 0 \leq u, v \leq 1, \\ \min \left\{u v, u v^{2}, u^{2} v\right\} & \text{ if } 1 \leq u, v, \\ \min \left\{u v, u, u^{2} v\right\} & \text{ if } 0 \leq v \leq 1 \leq u, \\ \min \left\{u v, u v^{2}, v\right\} & \text{ if } 0 \leq u \leq 1 \leq v . \end{array}

Source: MathNet, licensed CC-BY-4.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.