tmua.me papers

tmua.me Medium Set E Paper 2 · Q20

Paper 2Logic & proof

Ten distinct real numbers are written in a row. A subsequence is a choice of some of these numbers that keeps their original order.

The following proof shows that there is a strictly increasing or strictly decreasing subsequence of at least four terms.

Assume that no such subsequence exists. Write the numbers as a1,…,a10a_1,\ldots,a_{10}.

[Missing argument]

Thus we have ten different pairs (ri,si)(r_i,s_i), with each coordinate equal to 11, 22 or 33. However, there are only 3×3=93\times3=9 possible pairs, a contradiction.

Which option correctly completes the proof?

ALet ri,sir_i,s_i be the greatest lengths of strictly increasing and strictly decreasing subsequences ending at aia_i, respectively. For i<ji<j, appending aja_j gives rj>rir_j>r_i if ai<aja_i<a_j, and sj>sis_j>s_i if ai>aja_i>a_j.
BLet rir_i be one plus the number of earlier terms smaller than aia_i, and sis_i one plus the number larger. Neither label exceeds 33, and ri+si=i+1r_i+s_i=i+1 makes the pairs distinct.
CLet ri,sir_i,s_i be the greatest lengths of strictly increasing and strictly decreasing blocks of consecutive terms ending at aia_i, respectively. For any i<ji<j, appending aja_j extends one such block, so a label increases.
DLet ri,sir_i,s_i be the greatest lengths of strictly increasing subsequences ending and starting at aia_i, respectively. For i<ji<j, either rj>rir_j>r_i or si>sjs_i>s_j, according to the order of ai,aja_i,a_j.
ELet ri,sir_i,s_i be the greatest lengths of strictly increasing and strictly decreasing subsequences among a1,…,aia_1,\ldots,a_i, respectively. Moving from ii to any later jj introduces a new term, so at least one label increases.

Read the questions freely. Sign in to check your answer, see the worked solution and save your progress.