Maths Olympiad Prep

Library / HMMT November /671 of 672

HMMT November, 2014

Geometry Difficulty 6.0 National Olympiad Prove it United States

Problem:

Sammy has a wooden board, shaped as a rectangle with length 220142^{2014} and height 320143^{2014}. The board is divided into a grid of unit squares. A termite starts at either the left or bottom edge of the rectangle, and walks along the gridlines by moving either to the right or upwards, until it reaches an edge opposite the one from which the termite started. Depicted below are two possible paths of the termite.

Figure 1

The termite's path dissects the board into two parts. Sammy is surprised to find that he can still arrange the pieces to form a new rectangle not congruent to the original rectangle. This rectangle has perimeter PP. How many possible values of PP are there?

Solution

Solution:

Answer: 4

Let RR be the original rectangle and R′R' the new rectangle which is different from RR. We see that the perimeter of R′R' depends on the possibilities for the side lengths of R′R'.

We will prove that the dividing line must have the following characterization: starting from the lower left corner of RR, walk to the right by distance aa, then walk up by distance bb, for some positive number aa and bb, and repeat the two steps until one reaches the upper right corner of RR, with the condition that the last step is a walk to the right. (The directions stated here depends on the orientation of RR, but we can always orient RR so as to fit the description.) Let there be n+1n+1 walks to the right and nn walks to the top, then we have that this division would rearrange a rectangle of dimension (n+1)a×nb(n+1)a \times n b into a rectangle of dimension na×(n+1)bn a \times (n+1) b.

Let us first assume the above. Now, according to the problem, it suffices to find n,a,bn, a, b such that (n+1)a=22014,nb=32014(n+1)a = 2^{2014}, n b = 3^{2014} or (n+1)a=32014,nb=22014(n+1)a = 3^{2014}, n b = 2^{2014}. This means that n+1n+1 and nn are a power of 3 and a power of 2, whose exponents do not exceed 2014. This corresponds to finding nonnegative integers k,l≤2014k, l \leq 2014 such that ∣2k−3l∣=1|2^{k} - 3^{l}| = 1. The only possible pairs of (2k,3l)(2^{k}, 3^{l}) are (2,1),(2,3),(3,4)(2,1), (2,3), (3,4) and (8,9)(8,9). So there are 4 possible configurations of R′R'.

Now, we prove our claim. For completeness, we will actually prove the claim more generally for any cut, not just ones that move right and up (hence the length of the solution which follows, but only the above two paragraphs are relevant for the purposes of finding the answer).

First we show that the dividing boundary between the two pieces must meet the boundary of RR at two points, each being on opposite sides of RR as the other. To see why, consider that otherwise, there would be two consecutive sides of RR which belong to the same piece. Then, the smallest rectangle containing such a configuration must have each side being as large as each of the two sides, and thus it is RR. Since this piece is also part of R′R', R′R' must contain RR, but their areas are equal, so R′=RR' = R, a contradiction.

Now, let the dividing boundary go from the top side to the bottom side of RR, and call the right piece "piece 1" and the left piece "piece 2." We orient R′R' in such a way that piece 1 is fixed and piece 2 is moved from the original position in some way to create R′R'. We will show that piece 2 must be moved by translation by some vector vv, tvt_{v}. Otherwise, piece 2 is affected by tvt_{v} as well as a rotation by 90∘90^{\circ} or 180∘180^{\circ}. We show that these cases are impossible.

First, consider the case where there is a 90∘90^{\circ} rotation. Let the distance from the top side to the bottom side of RR be xx. Then, the two pieces are contained between a pair of horizontal lines which are of distance xx apart from one another. If piece 2 is rotated by 90∘90^{\circ}, then these horizontal lines become a pair of vertical lines which are of distance xx apart from one another. So R′R' is contained within a union of regions between a pair of horizontal lines and a pair of vertical lines.

Now, we show that R′R' must be contained within only one of these regions. Consider if there exists points (x1,y1)(x_{1}, y_{1}) and (x2,y2)(x_{2}, y_{2}) in R′R' such that (x1,y1)(x_{1}, y_{1}) is not in the horizontal region (so that y1y_{1} is out of range) and (x2,y2)(x_{2}, y_{2}) is not in the vertical region (so that x2x_{2} is out of range). Then, it follows that (x2,y1)(x_{2}, y_{1}) is also in the rectangle R′R'. But (x2,y1)(x_{2}, y_{1}) cannot be contained in either region, since both of its xx and yy coordinates are out of range, a contradiction.

So let us assume, without loss of generality, that R′R' is contained in the vertical region (the one which contains piece 2). Then, the horizontal side of R′R' cannot have length greater than xx, the width of the region. However, piece 2 is contained in the region, and its width is exactly xx. Therefore, the width of R′R' must be exactly xx, rendering it to be the same shape as RR, a contradiction.

Next, we show that the case with a 180∘180^{\circ} rotation is also impossible. We modify our considerations from the previous case by considering a half-region of the region between a pair of horizontal lines (which are still are of distance xx apart), which we define as a part of the region on the right or on the left of a certain vertical line. Then, piece 2 is contained within a certain half-region going to the right and piece 1 is contained within a certain half-region going to the left. Now, in R′R', since piece 2 is rotated by 180∘180^{\circ}, we would have both half-regions going to the left, and R′R' is contained within a union of them.

Now, consider the "end" of each half-region (the part of the boundary that is vertical). The ends of both half-regions must be contained in R′R', since they are part of piece 1 and piece 2. Consider a vector that maps the end of one half-region to the other. If the vector is horizontal, then the union of the regions have vertical distance xx. Similarly to the previous case, we deduce that the vertical side of RR must be of length no more than xx, and so must be exactly xx, but then R′=RR' = R, a contradiction.

Now, if the vector has both nonzero horizontal and vertical components, then the parallelogram generated by the locus of the end of a half-region being translated by the vector to the end of the other half-region must be contained within R′R' (since R′R' is convex). However, the parallelogram is not contained within the union of the two half-regions, a contradiction.

Finally, if the vector is vertical, then the two half-regions must be on top of one another, and so will have no region in common. Then, since R′R' is a rectangle, the intersection of R′R' with each half-region will also be a rectangle. So pieces 1 and 2 must be rectangles. But then a rotation of 180∘180^{\circ} would map piece 2 to itself. So this reduces to a case of pure translation.

We now consider the translation tvt_{v} by a vector vv on piece 2. Since R′R' must contain the ends of the half-regions (which retain their original orientations), the vertical side of R′R' must be at least of length xx. But R′≠RR' \neq R, so the vertical side of R′R' has length strictly greater than xx. This implies that the horizontal side of R′R' must be strictly shorter than that of RR, since they have equal area. However, the horizontal side of R′R' is at least as long as the horizontal distance between the ends of the two half-regions, so the ends of the two half-regions must have moved closer to one another horizontally.

This implies that the vector vv has a positive xx component. Also, vv cannot be entirely horizontal, because there is no more space for piece 2 to move into. So vv has a nonzero yy component. Without loss of generality, let us assume that vv has a positive yy component.

Before we continue further, let us label the vertices of RR as A,B,C,DA, B, C, D, going in counter-clockwise direction, with the left side of RR being ABAB and the right side of RR being CDCD. So ABAB is in piece 2 and CDCD is in piece 1. Call the translated piece 2 that is part of the rectangle R′R' piece 2′2', with the corresponding points A′A' and B′B'.

Now, consider the half-regions of piece 1 and piece 2. They are half-regions with the end ABAB going to the right and the one with the end CDCD going to the left. So, in R′R', the half-regions are with end A′B′A'B' going to the right and with end CDCD going to the left, and R′R' is contained within the union of these two. Now, there cannot be a point in R′R' that is to the left of A′B′A'B', since the smallest rectangle containing that point and A′A' would not be contained in the union of the two half-regions. Similarly, there cannot be a point in R′R' that is to the right of CDCD for the same reason. These restrictions imply that R′R' must be contained within the union of the two half-regions that lie horizontally between A′B′A'B' and CDCD. However, since the smallest rectangle containing A′A' and CC is precisely this region, R′R' must be this region. Let A′B′A'B' intersect BCBC at LL and let CDCD intersect the line passing through A′A' which is parallel to ADAD at MM. We have R′=A′LCMR' = A'LCM.

Now, consider the segments BLBL and LB′LB'. We know that BLBL is a boundary of piece 2. Also, since LB′LB' is a boundary of R′R' and it is below piece 2′2', it cannot be a boundary of piece 2′2'. Therefore, it must be a boundary of piece 1. Since LB′LB' is not a boundary of RR but is a boundary of piece 1, it must be part of the dividing boundary between piece 1 and 2, and so must also be a boundary of piece 2.

We now prove that: from a sequence of B,B′,B′′,…B, B', B'', \ldots, each being translated from the preceding one by vv, one of them must eventually lie on ADAD. Also, if L,L′,L′′,…L, L', L'', \ldots is also a sequence of LL being successively translated by vv, then, using BiB_{i} and LiL_{i} to designate the iith term of each sequence: BiLiB_{i}L_{i} and LiBi+1L_{i}B_{i+1} must be part of the boundary of piece 2 for all i≤N−1i \leq N-1, where BNB_{N} is the last point, the one that lies on ADAD.

We have already proved the assertion for i=1i=1. We now set out to prove, by induction, that BiLiB_{i}L_{i} and LiBi+1L_{i}B_{i+1} must be part of the boundary of piece 2 for all ii such that Bi+1B_{i+1} is still within RR or on the edge of RR.

Consider, by induction hypothesis, that Bi−1Li−1B_{i-1}L_{i-1} and Li−1BiL_{i-1}B_{i} are parts of the boundary of piece 2. Then, by mapping, BiLiB_{i}L_{i} and LiBi+1L_{i}B_{i+1} must be parts of the boundary of piece 2′2'. Since the dividing boundary of RR go from top to bottom, LiBi+1L_{i}B_{i+1} cannot be on the rightmost edge of RR, which is also the rightmost edge of R′R'. This means that LiBi+1L_{i}B_{i+1} is not a boundary of R′R'. So we have that BiLiB_{i}L_{i} and LiBi+1L_{i}B_{i+1} are not boundaries of R′R' but are boundaries of piece 2′2', so they must be boundaries of piece 1. Now, since they are not boundaries of RR either but are boundaries of piece 1, they must be boundaries of piece 2, as desired.

Now we are left to show that one of BiB_{i} must lie exactly on ADAD. Let BiB_{i} be the last term of the sequence that is contained within RR or its boundary. Then, by the previous result, Bi−1Li−1B_{i-1}L_{i-1} and Li−1BiL_{i-1}B_{i} are boundaries of piece 2. Then, by mapping, BiLiB_{i}L_{i} is a boundary of piece 2′2'. Since BiLiB_{i}L_{i} is on or below ADAD, it cannot be on the boundary of R′R', but since it is a boundary of piece 2′2', it must also be a boundary of piece 1. Now, if BiB_{i} is not on ADAD, then BiLiB_{i}L_{i} will not be a boundary of RR, but since it is a boundary of piece 1, it must also be a boundary of piece 2. By mapping, this implies that Bi+1Li+1B_{i+1}L_{i+1} must be a boundary of piece 2′2'. However, Bi+1Li+1B_{i+1}L_{i+1} is not contained within RR or its boundary, and so cannot be on piece 1's boundary. Therefore, since Bi+1Li+1B_{i+1}L_{i+1} is a boundary of piece 2′2' but not of piece 1, it must be a boundary of R′R'. This means that Bi+1Li+1B_{i+1}L_{i+1} is on the upper edge of R′R'. Mapping back, we get that BiLiB_{i}L_{i} must be on the upper edge of RR, a contradiction to the assumption that BiB_{i} is not on ADAD (the upper edge of RR). So BiB_{i} is on ADAD, as desired.

Let BNB_{N} be the term of the sequence that is on ADAD. We have now shown that
L1B2,B2L2,…,BN−1LN−1,LN−1BN L_{1}B_{2}, B_{2}L_{2}, \ldots, B_{N-1}L_{N-1}, L_{N-1}B_{N}
completely defines the dividing line between piece 1 and piece 2. Moreover, B1=BB_{1} = B, defining the starting point of the dividing line. We now add the final description: LN=DL_{N} = D. To see why, note that LNL_{N} must be on the upper edge of RR, as it is in the same horizontal level as BNB_{N}. However, since LN−1L_{N-1} is one of furthest points to the right of piece 2, by mapping, LNL_{N} must be one of the furthest points to the right of piece 2′2', and so must be on the rightmost edge of piece 2′2', which is the rightmost edge of R′R' and of RR. Therefore, LNL_{N} is on the upper edge and the rightmost edge of RR, and so it must be DD, as desired.

Want a route through all this instead of an archive? The track puts 2,604 problems in a working order, from Junior Challenge level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.