Difference between revisions of "2021 IMO Problems/Problem 1"
Mathhyhyhy (talk | contribs) (→Solution 2) |
Mathhyhyhy (talk | contribs) (→Solution 2) |
||
Line 63: | Line 63: | ||
6n ≤ x^2 + y^2 + z^2 ≤ 12n | 6n ≤ x^2 + y^2 + z^2 ≤ 12n | ||
6n ≤ 3x^2 ≤ 12n | 6n ≤ 3x^2 ≤ 12n | ||
− | |||
− | |||
2n ≤ x^2 ≤ 4n | 2n ≤ x^2 ≤ 4n | ||
− | |||
√(2n) ≤ x ≤ 2√n | √(2n) ≤ x ≤ 2√n | ||
Line 77: | Line 74: | ||
2|x^2 + y^2 – z^2 | 2|x^2 + y^2 – z^2 | ||
− | |||
2|x^2 + z^2 – y^2 | 2|x^2 + z^2 – y^2 | ||
− | |||
2|y^2 + z^2 – z^2 | 2|y^2 + z^2 – z^2 | ||
Revision as of 10:29, 29 January 2023
Problem
Let be an integer. Ivan writes the numbers each on different cards. He then shuffles these cards, and divides them into two piles. Prove that at least one of the piles contains two cards such that the sum of their numbers is a perfect square.
Video Solutions
https://youtu.be/cI9p-Z4-Sc8 [Video contains solutions to all day 1 problems]
https://www.youtube.com/watch?v=a3L9O7b1WYg [disclaimer: only a sketch of the solution]
Solution 1
If we can guarantee that there exist cards such that every pair of them sum to a perfect square, then we can guarantee that one of the piles contains cards that sum to a perfect square. Assume the perfect squares , , and satisfy the following system of equations: where , , and are numbers on three of the cards. Solving for , , and in terms of , , and tells us that , , and . We can then substitute , , and to cancel out the s in the denominatior, and simplifying gives , , and . Now, we have to prove that there exists three numbers in these forms between and when . Notice that will always be the least of the three and will always be the greatest of the three. So it is sufficient to prove that there exists numbers in the form and between and .
For two numbers in the form of and to be between and , the inequalities
must be satisfied. We can then expand and simplify to get that
Then, we can complete the square on the left sides of both inequalities and isolate to get that
Notice that must be an integer, so there must be an integer between and . If and differ by at least , then we can guarantee that there is an integer between them (and those integers are the possible values of ). Setting up the inequality and solving for tells us that always works. Testing the remaining numbers ( to ) manually tells us that there is an integer between and when . Therefore, there exists a triplet of integers with when such that every pair of the numbers sum to a perfect square. By the pigeonhole principle, we know that of the numbers must be on cards in the same pile, and hence, when , there will always be a pile with numbers that sum to a perfect square.
~Mathdreams
Solution 2
(easy one)
For the statement to be true, there must be at least three pairs whose sum is each a perfect square. There must be p,q,r such that p+q = x^2 and q+r = y^2, p+r = z^2.
WLOG n≤ p ≤ q ≤ r ≤ 2n ... Equation 1 p = (x^2 + z^2 – y^2) / 2 q = (x^2 + y^2 – z^2) / 2 r = (y^2 + z^2 – x^2) / 2
by equation 1
2n ≤ x^2 + z^2 – y^2 ≤ 4n 2n ≤ x^2 + y^2 – z^2 ≤ 4n 2n ≤ y^2 + z^2 – z^2 ≤ 4n
6n ≤ x^2 + y^2 + z^2 ≤ 12n 6n ≤ 3x^2 ≤ 12n 2n ≤ x^2 ≤ 4n √(2n) ≤ x ≤ 2√n
At this time 100 ≤ n, so let's put n = 100 to this
10√2 ≤ x,y,z ≤ 20 15 ≤ x,y,z ≤ 20
where
2|x^2 + y^2 – z^2 2|x^2 + z^2 – y^2 2|y^2 + z^2 – z^2
x = 16, y = 18, z = 20 fits perfectly
therefore the minimum of n fits the proposition so the proposition is true
~Mathhyhyhy