Math Challenge by Erland #1

28 replies · 8K views · last reply
Messages
20,009
Reaction score
11,145
Submitted by @Erland
Solution Credit: @mfb

RULES:

1) In order for a solution to count, a full derivation or proof must be given. Answers with no proof will be ignored.
2) It is fine to use nontrivial results without proof as long as you cite them and as long as it is "common knowledge to all mathematicians". Whether the latter is satisfied will be decided on a case-by-case basis.
3) If you have seen the problem before and remember the solution, you cannot participate in the solution to that problem.
4) You are allowed to use google, wolframalpha or any other resource. However, you are not allowed to search the question directly. So if the question was to solve an integral, you are allowed to obtain numerical answers from software, you are allowed to search for useful integration techniques, but you cannot type in the integral in wolframalpha to see its solution.

CHALLENGE:
A rectangle is divided into a finite number of subrectangles. The sides of the subrectangles are all parallell to sides of the large rectangle.
Each subrectangle has at least one side with integer length.

Prove that the large rectangle also has at least one side with integer length.
 
Last edited:
  • Like
Likes   Reactions: mfb, QuantumQuest and Charles Link
Top: rectangle labelled W across the top and L down the right side. Bottom: same width W divided into four horizontal strips, each labelled Z on the right.

LW is original rectangle. Divide it into a finite number of subrectangles (4 are shown, but any number could work), each with a length Z, which is an integer value. Therefore...
L = Z + Z + Z + Z
L = 4(Z)
Length of original rectangle must also be an integer value.
 
Comeback City said:
Length of original rectangle must also be an integer value.
If you divide it like that. You have to show that there is no possible division for non-integer values. You can't do that by picking a single one and showing that this specific one does not work.

The problem is not as easy as it might look.
 
mfb said:
If you divide it like that. You have to show that there is no possible division for non-integer values. You can't do that by picking a single one and showing that this specific one does not work.

The problem is not as easy as it might look.
Well I guess I'm going to take the L on this one then :oldfrown:
 
The subrectangles might form a quite irregular pattern, like the attached one. All that is given is that each subrectangle has a side which has integer length. It could be the horizontal side, the vertical side, or both, and this might differ between the subrectangles.

Rectangle partitioned into many smaller rectangles of varying sizes and proportions, with no two arranged in a regular grid pattern.
 
  • Like
Likes   Reactions: Charles Link and PeroK
I don't know if it leads to a proof, but if there is a solution, then there is also a solution where no two rectangles share exactly one side. This step is quite easy to prove.
Unfortunately there are patterns with more than one rectangle where no two rectangles share exactly one side.
 
A subrectangle has the integer side parallel to length of large rectangle and another subrectangle has the integer side parallel to breadth of larger rectangle. Those subrectangles have only one integer side.

Is this possible ?
 
Last edited:
The only solution to this problem I know of is short, surprising, and beautiful, but almost impossible to find out if one doesn't already know it. Therefore, I'll give a hint:

Consider the complex valued integral ##\int_a^b e^{2\pi i x}dx##, with ##a## and ##b## real. Under what conditions is this integral ##0##?

If you think along these lines, you might find the solution.

It this hint doesn't help, I'll elaborate on it in a few days.
 
  • Like
Likes   Reactions: Charles Link and mfb
That is amazing.

Consider the integral $$\int_{x_{min}}^{x_{max}} dx \int_{y_{min}}^{y_{max}} dy e^{2 \pi i (x+y)} = \left(\int_{x_{min}}^{x_{max}} dx e^{2 \pi i x} \right) \left( \int_{y_{min}}^{y_{max}} dy e^{2 \pi i y} \right)$$
It is zero if and only if xmax-xmin or ymax-ymin is an integer. It is an integral of a function over a rectangle, therefore we can write it as sum of several integrals over subrectangles. For each subrectangle, the same rules apply: The integral is zero if one of the side lengths is an integer. All our subrectangles satisfy this condition, therefore the large rectangle has to satisfy it as well (0+0+...=0): at least one side length has to be an integer.

Edit: Generalized integration limits.
 
Last edited:
  • Like
Likes   Reactions: Charles Link and Erland
Very good mfb, but you must fix the integration limits. Even if the large rectangle has a vertex at the origin, the subrectangles will not.

Edit: mfb fixed this. The present solution is correct.
 
Last edited:
Well, sure, the integral is obviously invariant under a shift of lower and upper limit together. I generalized the integration limits.
 
Oh dang I wish I knew what all of that meant :bow: I need to reattempt teaching myself calculus now. @Erland what does that integral you gave out even represent?
 
mfb said:
Well, sure, the integral is obviously invariant under a shift of lower and upper limit together. I generalized the integration limits.
This is not true in general. For example: ##\int_{-1/2}^0e^{2\pi i x} dx\neq \int_0^{1/2}e^{2\pi i x}dx##.
You obviously understand the idea, but this detail is unclear in your solution.
 
Comeback City said:
Oh dang I wish I knew what all of that meant :bow: I need to reattempt teaching myself calculus now. @Erland what does that integral you gave out even represent?
It does not represent anything in particular, it just can be used to prove the proposition. :smile:
 
  • Like
Likes   Reactions: Comeback City
Erland said:
This is not true in general. For example: ##\int_{-1/2}^0e^{2\pi i x} dx\neq \int_0^{1/2}e^{2\pi i x}dx##.
You obviously understand the idea, but this detail is unclear in your solution.
... for the question if it is zero or not. After your first comment I changed my previous post to take the more general integration limits into account.
 
Just a simple observation regarding the given of the problem. We can make the assumption

Greg Bernhardt said:
Each subrectangle has at least one side with integer length.

as "each subrectangle has at least one pair of sides with integer length", as we're talking about rectangles. Now, we can work for a random such subrectangle using the hint by Erland, with the function ## f(x,y) = e^{2\pi i x}e^{2\pi i y}## and integrate it over its sides i.e ##\int_a^b\int _c^d e^{2\pi i x}e^{2\pi i y}\,dx\,dy ##. Now, if we calculate this integral, it turns out that it equals zero, if and only if at least one of the differences of its sides is an integer i.e. if b - a or d - c is an integer (I have done the calculation but I omit it here). But according to the above (modified) assumption each subrectangle has at least a such pair, so the integral of ##f## over it is zero. So, the integral over the whole rectangle is also zero. Then, this whole rectangle must also have an integer pair of sides and a fortiori one integer side. Just wondering if it is correct way to solve it.
 
Last edited:
Yes it's a correct solution, Quantum Quest. It is essentially the same solution as mfb's, but mfb came before you and gets the credit. Of course, for a rectangle, the conditions "at least one side has integer length" and "at least one pair of parallell sides have integer length" are equivalent.
 
  • Like
Likes   Reactions: QuantumQuest
Erland said:
but mfb came before you and gets the credit.
Did we already forget who came before mfb? :wink::wink::wink:
 
Oh dang I wish I knew what all of that meant :bow: I need to reattempt teaching myself calculus now. @Erland what does that integral you gave out even represent?

For those of us who are not familiar with complex integrals (still in high school...) I would like to present my own attemp. I can't assure my proof is 100% correct, but still, please, tell me what you think and how to improve it.
-----------------------------------------------------------------------------------
The intuition is to delete the subrectangles one by one according to some rules and leave bigger and bigger rectangles until only our external rectangle is left.
First lemma:
Given a rectangle which consists of two smaller rectangles, and they satisfy: "at least one side with integer length", thus, the big rectangle also satisfies this condition.

Proof:
Rectangle divided by a vertical line into two smaller rectangles; left part labeled b along its bottom, right part labeled c along its bottom, and the dividing line labeled a.

a is an integer ⇒ the big rectangle has at least one side with an integer length.
a is not an integer⇒ b is integer and c is integer ⇒ b+c is an integer, the big rectangle has at least one side with integer length.
q.e.d
Second lemma:
Given a rectangle which consists of three smaller rectangles, as showed in the sketch, and they satisfy: "at least one side with integer length", thus, the big rectangle also satisfies this condition.

Diagram of a large rectangle divided into three smaller rectangles: a tall rectangle on the left and two stacked rectangles on the right.

proof:
Use the first lemma twice.

Third lemma:
Diagram of an L-shaped figure made of two rectangles: a small upper-left rectangle with corners a, b, c, d, and a larger lower rectangle with corners c, d, e, f, g, h, with a red downward arrow inside the lower rectangle.

Elongate bd to h.
Diagram of a large rectangle divided into three smaller rectangles, labelled a through h: top-left block with corners a, b, d, c; right block with corners d, e, f, h; bottom-left block with corners c, g, h, d.
Let abcd cefg be rectangles with an integer side. (assume ab is the integer, if ac is the integer, it is really the same, just rotate the sketch)
Then, cghd and dhfe also have an integer side.
proof:

ab is an integer⇒ cd is an integer⇒cghd satisfies the lemma.
If ef is an integer ⇒ dhfe satisfies the lemma.
ef is not an integer⇒ ec is an integer ⇒ ec-dc is an integer ⇒ed is an integer⇒dhfe satisfies the lemma.
q.e.d.
According to the first lemma, we can draw:
Diagram of a rectangle a-b-h-g split into a tall left rectangle a-b-h-g and a smaller rectangle d-e-f-h at lower right, with corners labeled a, b, c, d, e, f, g, h.

--------------------------------------------------------------------------------------------------------------------
Rectangle subdivided into smaller rectangles of varying sizes and proportions, with no labels, lines and borders only.

Let's examine Erland's sketch:
First, we should apply the first and the second lemmas to simplify the sketch.
We get:
Diagram of a large rectangle divided into seven smaller rectangles by thin black lines, with a tall rectangle on the right and a wide rectangle along the bottom.

Wow! it simplified very well! each of these rectangles has an integer side.
Here is where the third lemma comes to save us.
Let's apply it to the middle rectangle. (I will show the option where the horizontal lines are the integers, but it works also to the vertical lines.)
Diagram of a large rectangle divided into six smaller rectangles, with a wide top section, two lower sections on the left and middle, and a tall right section with a small rectangle below it.

Now, it's piece of cake...
Just use the first and the second lemmas again, and you can prove that the original rectangle has an integer length.
I believe it should always work. If you disagree, please explain your position, and try to correct the proof.
 
Attachments
  • Diagram of a rectangle split into two smaller rectangles by a vertical line; the left side of the dividing line is labelled a, the bottom of the left rectangle is labelled b, and the bottom of the right rectangle is labelled c.
    upload_2017-5-31_1-53-25.png
    565 bytes · Views: 726
  • Diagram of a rectangle divided into three smaller rectangles: a large one on the right and two stacked rectangles on the left, with the top-left and bottom-left separated by a horizontal line.
    upload_2017-5-31_2-0-39.png
    186 bytes · Views: 651
  • Diagram of a large rectangle split into three smaller rectangles, with labels a on the left side, d on the horizontal dividing line, c on the vertical dividing line, and b along the bottom of the lower right rectangle.
    upload_2017-5-31_2-4-37.png
    697 bytes · Views: 656
  • Diagram of a large rectangle divided into seven smaller rectangles of different sizes, with a tall rectangle on the right side and a small rectangle at the bottom right.
    upload_2017-6-1_0-55-58.png
    513 bytes · Views: 674
ddddd28 said:
Let abcd cefg be rectangles with an integer side. (assume ab is the integer, if ac is the integer, it is really the same, just rotate the sketch)
Let ac=1, ab=pi, cg=pi, gf=4. Splitting it into three rectangles fails, as you create a pi squared rectangle, no matter how you rotate it.

I was at that point as well.
There are other ways to rearrange rectangles, but you need a proof that you can simplify every possible pattern with these operations, and that is far from trivial.
 
Let abcd cefg be rectangles with an integer side. (assume ab is the integer, if ac is the integer, it is really the same, just rotate the sketch)
Then, cghd and dhfe also have an integer side.
Actually, what I meant is that we can't say which of the sides is an integer. But the proof is the same, and it is enough to show that it works for one side, since we can always find in the rectangle:
Diagram of a large rectangle sitting on a long horizontal rectangle, with a smaller rectangle to its left; a red arrow points right and a red arrow points down.

I hope it is more convincing.
 
I think I should have added this rule too: d is integer
Left: a rectangle split into a tall piece with sides a and b, a narrower piece with sides e and f on the right, and a wide bottom piece with sides c and d. Arrow to the right: the same pieces rearranged into one rectangle with a small square on top.
 
Attachments
  • Diagram of a rectangle with a tall rectangle on the upper left and a shorter rectangle on the upper right, labelled a, b, c, e and f, with an arrow pointing to a single rectangle with a small box on top.
    upload_2017-6-1_3-29-13.png
    4.1 KB · Views: 687
  • Left: a figure made of a tall rectangle labelled a (height) and b (width) beside a smaller rectangle labelled e (width) and f (height), with a wide rectangle below labelled c (height) and d (width). Arrow points right to a single rectangle with a small rectangle on top.
    upload_2017-6-1_3-31-10.png
    1.8 KB · Views: 683
Your approach was based on combining everything to get a contradiction. How does that work if you don't combine rectangles?
 
mfb said:
Your approach was based on combining everything to get a contradiction. How does that work if you don't combine rectangles?
"to get a contradiction"?
For the third lemma I had to make an assumption that the integer side is known. I claim that there is always an order of rectangles which satisfies the third lemma( both vertically and horizontally), and if not, there is the forth lemma. So far, I always succeeded to combine all the rectangles.
Give an example in which my rules are not enough.
 
ddddd28 said:
"to get a contradiction"?
You don't necessarily have to write it like that, depends on the direction you take. Doesn't matter.
ddddd28 said:
I claim that there is always an order of rectangles which satisfies the third lemma( both vertically and horizontally), and if not, there is the forth lemma.
Well, you claim that, but can you prove it? It doesn't work as you described in my example. It will work if I make a complete tiling out of it, but that is not the point.