Difference between revisions of "2020 USAMO Problems/Problem 4"
Lopkiloinm (talk | contribs) (→Solution) |
|||
(6 intermediate revisions by one other user not shown) | |||
Line 3: | Line 3: | ||
==Solution== | ==Solution== | ||
− | Let's start off with just <math>(a_1, b_1), (a_2, b_2)</math> and suppose that it satisfies the given condition. We could use <math>(1, 1), (1, 2)</math> for example. We should maximize the number of conditions that the third pair satisfies. We find out that the third pair should equal <math>(a_1+a_2, b_1+b_2)</math> | + | Let's start off with just <math>(a_1, b_1), (a_2, b_2)</math> and suppose that it satisfies the given condition. We could use <math>(1, 1), (1, 2)</math> for example. We should maximize the number of conditions that the third pair satisfies. We find out that the third pair should equal <math>(a_1+a_2, b_1+b_2)</math>: |
We know this must be true: | We know this must be true: | ||
Line 32: | Line 32: | ||
<cmath>a_4 = a_1+2a_2</cmath> | <cmath>a_4 = a_1+2a_2</cmath> | ||
<cmath>b_4 = b_1+2b_2</cmath> | <cmath>b_4 = b_1+2b_2</cmath> | ||
− | <cmath>a_1b_1+2a_2b_1-a_1b_1-2a_1b_2 = | + | <cmath>|a_1b_1+2a_2b_1-a_1b_1-2a_1b_2| = 1</cmath> |
− | <cmath>2 | + | <cmath>2|a_2b_1-a_1b_2| = 1</cmath> |
− | This is clearly impossible because | + | This is clearly impossible because <math>1</math> is not even and also <math>|a_2b_1-a_1b_2| = 1</math>. |
− | + | The answer is as follows: | |
<cmath>0+1+2+\ldots+2</cmath> | <cmath>0+1+2+\ldots+2</cmath> | ||
<math>a_1</math> has <math>0</math> subtractions that follow condition while <math>a_2</math> has <math>1</math> and then the rest has <math>2</math>. | <math>a_1</math> has <math>0</math> subtractions that follow condition while <math>a_2</math> has <math>1</math> and then the rest has <math>2</math>. | ||
There are <math>n</math> terms, so our answer be <math>2n-3</math> and in case of <math>n=100</math> that means | There are <math>n</math> terms, so our answer be <math>2n-3</math> and in case of <math>n=100</math> that means | ||
<cmath>\boxed{N=197}.</cmath>~Lopkiloinm | <cmath>\boxed{N=197}.</cmath>~Lopkiloinm | ||
+ | |||
+ | ==Solution 2== | ||
+ | We claim the answer is <math>197</math>. | ||
+ | |||
+ | Study the points <math>(0, 0), (a_i, b_i), (a_j, b_j)</math>. If we let these be the vertices of a triangle, applying shoelace theorem gives us an area of <math>\frac{1}{2}|0\times{b_i}+{a_i}\times{b_j}+{b_i}\times{0}-0\times{a_i}-{b_i}\times{a_j}-{b_j}\times{0} = \frac{1}{2}|a_ib_j - a_j b_i| = \frac{1}{2}</math>. Therefore, the triangle formed by the points <math>(0, 0), (a_i, b_i), (a_j, b_j)</math> must have an area of <math>\frac{1}{2}</math>. | ||
+ | |||
+ | Two cases follow. | ||
+ | Case 1: Both <math>(a_i, b_i), (a_j, b_j)</math> have exactly one coordinate equal to <math>0</math>. | ||
+ | Here, one point must be on the <math>x</math> axis and the other on the <math>y</math> axis in order for the triangle to have a positive area. For the area of the triangle to be <math>\frac{1}{2}</math>, it follows that the points must be <math>(1, 0), (0, 1)</math> in some order. | ||
+ | |||
+ | Case 2: At least one of <math>(a_i, b_i), (a_j, b_j)</math> does not have exactly one coordinate equal to <math>0</math>. Define <math>S[l]</math> to be a list of lines such that each line in the list has some two lattice points that, with <math>(0, 0)</math>, form a triangle with area <math>\frac{1}{2}</math>. Note that for any such line that passes through such two lattice points, we may trivially generate infinite lattice points on the line that have nonnegative coordinates. | ||
+ | |||
+ | Note that lines <math>y=1</math> and <math>x=1</math> are included in <math>S[l]</math>, because the points <math>(1, 1), (2, 1)</math> serve as examples for <math>y=1</math> and <math>(1, 1), (1, 2)</math> serve as examples for <math>x=1</math>. For the optimal construction, include the points <math>(1, 0)</math> and all the points <math>(0, 1), (0, 2), (0, 3), ... , (0, 99)</math>, in that order. In this case, every adjacent pair of points would count (<math>98</math>), as well as picking <math>(0, 1)</math> and a nonadjacent point (<math>99</math>), so this would be <math>98+99=197</math>. | ||
+ | |||
+ | To prove that this is the maximum, consider the case where some <math>n</math> number of points were neither on <math>x=1</math> nor on <math>y=1</math>. In this case, we would be removing <math>n</math> adjacent pairs and <math>n</math> options to choose from after choosing <math>(0, 0)</math>, resulting in a net loss of <math>2n</math>. By having <math>n</math> points on some other combination of lines in <math>S[l]</math>, we would trivially have a maximum gain of <math>n-1</math> pairs of points on the lines such that there are no lattice points between those pairs. Because these points are not on <math>x=1</math> or <math>y=1</math>, the altitude from a given point to the line formed by <math>(0, 0)</math> and <math>(0, 1)</math> and <math>(1, 0)</math> is not <math>1</math>, and so the area of the triangle cannot be <math>\frac{1}{2}</math>. Thus, by not having all points on lines <math>x=1</math> and <math>y=1</math>, we cannot exceed the maximum of <math>197</math>. Thus, <math>\boxed{197}</math> is our answer. | ||
+ | |||
+ | ~SigmaPiE | ||
+ | |||
+ | |||
==See also== | ==See also== | ||
{{USAMO newbox|year=2020|num-b=3|num-a=5}} | {{USAMO newbox|year=2020|num-b=3|num-a=5}} | ||
{{MAA Notice}} | {{MAA Notice}} |
Latest revision as of 11:40, 18 June 2023
Contents
Problem 4
Suppose that are distinct ordered pairs of nonnegative integers. Let denote the number of pairs of integers satisfying and . Determine the largest possible value of over all possible choices of the ordered pairs.
Solution
Let's start off with just and suppose that it satisfies the given condition. We could use for example. We should maximize the number of conditions that the third pair satisfies. We find out that the third pair should equal :
We know this must be true:
So
We require the maximum conditions for
Then one case can be:
We try to do some stuff such as solving for with manipulations:
We showed that 3 pairs are a complete graph; however, 4 pairs are not a complete graph. We will now show that:
This is clearly impossible because is not even and also . The answer is as follows: has subtractions that follow condition while has and then the rest has . There are terms, so our answer be and in case of that means ~Lopkiloinm
Solution 2
We claim the answer is .
Study the points . If we let these be the vertices of a triangle, applying shoelace theorem gives us an area of . Therefore, the triangle formed by the points must have an area of .
Two cases follow. Case 1: Both have exactly one coordinate equal to . Here, one point must be on the axis and the other on the axis in order for the triangle to have a positive area. For the area of the triangle to be , it follows that the points must be in some order.
Case 2: At least one of does not have exactly one coordinate equal to . Define to be a list of lines such that each line in the list has some two lattice points that, with , form a triangle with area . Note that for any such line that passes through such two lattice points, we may trivially generate infinite lattice points on the line that have nonnegative coordinates.
Note that lines and are included in , because the points serve as examples for and serve as examples for . For the optimal construction, include the points and all the points , in that order. In this case, every adjacent pair of points would count (), as well as picking and a nonadjacent point (), so this would be .
To prove that this is the maximum, consider the case where some number of points were neither on nor on . In this case, we would be removing adjacent pairs and options to choose from after choosing , resulting in a net loss of . By having points on some other combination of lines in , we would trivially have a maximum gain of pairs of points on the lines such that there are no lattice points between those pairs. Because these points are not on or , the altitude from a given point to the line formed by and and is not , and so the area of the triangle cannot be . Thus, by not having all points on lines and , we cannot exceed the maximum of . Thus, is our answer.
~SigmaPiE
See also
2020 USAMO (Problems • Resources) | ||
Preceded by Problem 3 |
Followed by Problem 5 | |
1 • 2 • 3 • 4 • 5 • 6 | ||
All USAMO Problems and Solutions |
The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions.