Maths Olympiad Prep

Track / Stage 6 / 22 of 400 #1022 of 1964

Problem 1022

National olympiad, first round
Combinatorics Difficulty 6.0 Prove it

Example 6.7 Proof: Any sequence of real numbers with mn+1m n+1 terms must have... a subsequence of m+1m+1 terms that is increasing, or a subsequence of n+1n+1 terms that is decreasing.

This one wants a proof. Work it on paper, then read the official solution and mark yourself. Be honest about it: the record is only any use to you if it is.

Official solution

Proof: Let the given sequence be a1,a2,,amn+1a_{1}, a_{2}, \cdots, a_{m n+1}, denoted by π\pi. Suppose the sequence π\pi does not have an increasing subsequence of length m+1m+1. Let πk(k=1,2,,mn+1)\pi_{k}(k=1,2, \cdots, m n+1) represent the longest increasing subsequence of π\pi starting with aka_{k}. Then the length of πk\pi_{k} is no more than mm. Let A={π1,π2,,πmn+1}A=\left\{\pi_{1}, \pi_{2}, \cdots, \pi_{m n+1}\right\}, then A=mn+1|A|=m n+1. Let AiA_{i} (i=1,2,,m)(i=1,2, \cdots, m) represent the set of sequences in AA with length ii, then i=1mAi=A\bigcup_{i=1}^{m} A_{i}=A. By the general form of the pigeonhole principle, there must be an integer k(1km)k(1 \leqslant k \leqslant m) such that Akn+1\left|A_{k}\right| \geqslant n+1. Suppose πk1,πk2,,πkn+1(k1<k2<<kn+1)\pi_{k_{1}}, \pi_{k_{2}}, \cdots, \pi_{k_{n+1}}\left(k_{1}<k_{2}<\cdots<k_{n+1}\right) are any n+1n+1 elements in AkA_{k}, then it must be that ak1ak2akn+1a_{k_{1}} \geqslant a_{k_{2}} \geqslant \cdots \geqslant a_{k_{n+1}}, otherwise there exists a positive integer s(1sn)s(1 \leqslant s \leqslant n) such that aks<aks+1a_{k_{s}}<a_{k_{s+1}}. By placing aksa_{k_{s}} at the beginning of the sequence πks+1\pi_{k_{s+1}}, we obtain an increasing subsequence of π\pi starting with aksa_{k_{s}} with length k+1k+1. However, πk\pi_{k} is the longest increasing subsequence of π\pi starting with aka_{k}, with length kk, leading to a contradiction. Therefore, ak1,ak2,,akn+1a_{k_{1}}, a_{k_{2}}, \cdots, a_{k_{n+1}} is a decreasing subsequence of π\pi with length n+1n+1. Hence, if the sequence π\pi does not have an increasing subsequence of length m+1m+1, it must have a decreasing subsequence of length n+1n+1.

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.