Difference between revisions of "2021 AMC 12B Problems/Problem 25"

m (Solution 4: solution had a few extra steps, and i removed them)
m (Solution 1)
Line 24: Line 24:
  
 
In other words, we are looking for the first <math>m > \frac{2}{3}</math> that is expressible as a ratio of positive integers <math>\frac{p}{q}</math> with <math>q \le 30. </math> For each <math>q=1,\dots,30</math>, the smallest multiple of <math>\frac{1}{q}</math> which exceeds <math>\frac{2}{3}</math> is <math>1, \frac{2}{2}, \frac{3}{3}, \frac{3}{4}, \frac{4}{5}, \cdots , \frac{19}{27}, \frac{19}{28}, \frac{20}{29}, \frac{21}{30}</math> respectively, and the smallest of these is <math>\frac{19}{28}. </math>
 
In other words, we are looking for the first <math>m > \frac{2}{3}</math> that is expressible as a ratio of positive integers <math>\frac{p}{q}</math> with <math>q \le 30. </math> For each <math>q=1,\dots,30</math>, the smallest multiple of <math>\frac{1}{q}</math> which exceeds <math>\frac{2}{3}</math> is <math>1, \frac{2}{2}, \frac{3}{3}, \frac{3}{4}, \frac{4}{5}, \cdots , \frac{19}{27}, \frac{19}{28}, \frac{20}{29}, \frac{21}{30}</math> respectively, and the smallest of these is <math>\frac{19}{28}. </math>
 
Note: start listing the multiples of <math>\frac{1}{q}</math> from <math>\frac{21}{30}</math> and observe that they get further and further away from <math>\frac{2}{3}. </math>
 
  
 
Alternatively, see the method of finding upper bounds in solution 2.
 
Alternatively, see the method of finding upper bounds in solution 2.

Revision as of 12:46, 6 November 2021

The following problem is from both the 2021 AMC 10B #25 and 2021 AMC 12B #25, so both problems redirect to this page.

Problem

Let $S$ be the set of lattice points in the coordinate plane, both of whose coordinates are integers between $1$ and $30,$ inclusive. Exactly $300$ points in $S$ lie on or below a line with equation $y=mx.$ The possible values of $m$ lie in an interval of length $\frac ab,$ where $a$ and $b$ are relatively prime positive integers. What is $a+b?$

$\textbf{(A)} ~31 \qquad \textbf{(B)} ~47 \qquad \textbf{(C)} ~62\qquad \textbf{(D)} ~72 \qquad \textbf{(E)} ~85$

Solution 1

First, we find a numerical representation for the number of lattice points in $S$ that are under the line $y=mx.$ For any value of $x,$ the highest lattice point under $y=mx$ is $\lfloor mx \rfloor.$ Because every lattice point from $(x, 1)$ to $(x, \lfloor mx \rfloor)$ is under the line, the total number of lattice points under the line is $\sum_{x=1}^{30}(\lfloor mx \rfloor).$


Now, we proceed by finding lower and upper bounds for $m.$ To find the lower bound, we start with an approximation. If $300$ lattice points are below the line, then around $\frac{1}{3}$ of the area formed by $S$ is under the line. By using the formula for a triangle's area, we find that when $x=30, y \approx 20.$ Solving for $m$ assuming that $(30, 20)$ is a point on the line, we get $m = \frac{2}{3}.$ Plugging in $m$ to $\sum_{x=1}^{30}(\lfloor mx \rfloor),$ we get:

\[\sum_{x=1}^{30}(\lfloor \frac{2}{3}x \rfloor) = 0 + 1 + 2 + 2 + 3 + \cdots + 18 + 18 + 19 + 20\]

We have a repeat every $3$ values (every time $y=\frac{2}{3}x$ goes through a lattice point). Thus, we can use arithmetic sequences to calculate the value above:

\[\sum_{x=1}^{30}(\lfloor \frac{2}{3}x \rfloor) = 0 + 1 + 2 + 2 + 3 + \cdots + 18 + 18 + 19 + 20\]\[=\frac{20(21)}{2} + 2 + 4 + 6 + \cdots + 18\]\[=210 + \frac{20}{2}\cdot 9\]\[=300\]

This means that $\frac{2}{3}$ is a possible value of $m.$ Furthermore, it is the lower bound for $m.$ This is because $y=\frac{2}{3}x$ goes through many points (such as $(21, 14)$). If $m$ was lower, $y=\frac{2}{3}x$ would no longer go through some of these points, and there would be less than $300$ lattice points under it.

Now, we find an upper bound for $m.$ Imagine increasing $m$ slowly and rotating the line $y=mx,$ starting from the lower bound of $m=\frac{2}{3}.$The upper bound for $m$ occurs when $y=mx$ intersects a lattice point again (look at this problem to get a better idea of what's happening: https://artofproblemsolving.com/wiki/index.php/2011_AMC_10B_Problems/Problem_24).

In other words, we are looking for the first $m > \frac{2}{3}$ that is expressible as a ratio of positive integers $\frac{p}{q}$ with $q \le 30.$ For each $q=1,\dots,30$, the smallest multiple of $\frac{1}{q}$ which exceeds $\frac{2}{3}$ is $1, \frac{2}{2}, \frac{3}{3}, \frac{3}{4}, \frac{4}{5}, \cdots , \frac{19}{27}, \frac{19}{28}, \frac{20}{29}, \frac{21}{30}$ respectively, and the smallest of these is $\frac{19}{28}.$

Alternatively, see the method of finding upper bounds in solution 2.

The lower bound is $\frac{2}{3}$ and the upper bound is $\frac{19}{28}.$ Their difference is $\frac{1}{84},$ so the answer is $1 + 84 = \boxed{85}.$

~JimY

An alternative would be using Farey fractions and the mediant theorem to find the upper bound. $\frac{2}{3}$ and $\frac{7}{10}$ gives $\frac{9}{13},$ and so on using Farey addition.

Solution 2

I know that I want about $\frac{2}{3}$ of the box of integer coordinates above my line. There are a total of 30 integer coordinates in the desired range for each axis which gives a total of 900 lattice points. I estimate that the slope, m, is $\frac{2}{3}$. Now, although there is probably an easier solution, I would try to count the number of points above the line to see if there are 600 points above the line. The line $y=\frac{2}{3}x$ separates the area inside the box so that $\frac{2}{3}$ of the are is above the line.

I find that the number of coordinates with $x=1$ above the line is 30, and the number of coordinates with $x=2$ above the line is 29. Every time the line $y=\frac{2}{3}x$ hits a y-value with an integer coordinate, the number of points above the line decreases by one. I wrote out the sum of 30 terms in hopes of finding a pattern. I graphed the first couple positive integer x-coordinates, and found that the sum of the integers above the line is $30+29+28+28+27+26+26 \ldots+ 10$. The even integer repeats itself every third term in the sum. I found that the average of each of the terms is 20, and there are 30 of them which means that exactly 600 above the line as desired. This give a lower bound because if the slope decreases a little bit, then the points that the line goes through will be above the line.

To find the upper bound, notice that each point with an integer-valued x-coordinate is either $\frac{1}{3}$ or $\frac{2}{3}$ above the line. Since the slope through a point is the y-coordinate divided by the x-coordinate, a shift in the slope will increase the y-value of the higher x-coordinates. We turn our attention to $x=28, 29, 30$ which the line $y=\frac{2}{3}x$ intersects at $y= \frac{56}{3}, \frac{58}{3}, 20$. The point (30,20) is already counted below the line, and we can clearly see that if we slowly increase the slope of the line, we will hit the point (28,19) since (28, $\frac{56}{3}$) is closer to the lattice point. The slope of the line which goes through both the origin and (28,19) is $y=\frac{19}{28}x$. This gives an upper bound of $m=\frac{19}{28}$.

Taking the upper bound of m and subtracting the lower bound yields $\frac{19}{28}-\frac{2}{3}=\frac{1}{84}$. This is answer $1+84=$ $\boxed{\textbf{(E)} ~85}$.

~theAJL

Diagram

[asy] /* Created by Brendanb4321 */ import graph; size(16cm); defaultpen(fontsize(9pt)); xaxis(0,30,Ticks(1.0)); yaxis(0,25,Ticks(1.0));  draw((0,0)--(30,20)); draw((0,0)--(30,30/28*19), dotted); for (int i = 1; i<=30; ++i) { for (int j = 1; j<=2/3*i+1; ++j) { dot((i,j)); } } dot((28,19), red); label("$m=2/3$", (32,20)); label("$m=19/28$", (32.3,20.8)); [/asy]

Solution 3

An alternative approach with the same methodology as Solution 1 can be done using Pick's Theorem. Wikipedia page: https://en.wikipedia.org/wiki/Pick%27s_theorem It's a formula to find the amount of lattice points strictly inside a polygon. Approximation of the lower bound is still necessary.

Solution 4

As the procedure shown in the Solution 1, the lower bound of $m$ is $\frac{2}{3}.$ Here I give a more logic way to show how to find the upper bound of $m.$ Denote N=$\sum_{x=1}^{30}(\lfloor mx \rfloor)$ as the number of lattice points in $S$.

$N = \lfloor m \rfloor+\lfloor 2m \rfloor+\lfloor 3m \rfloor+\cdots+\lfloor 30m \rfloor = 300 .$

Let $m = \frac{2}{3}+k$. for $\forall x_{i}\le 30, x\in N^{*},  \lfloor mx_{i} \rfloor = \lfloor \frac{2}{3}x+xk \rfloor.$

Our target is finding the minimum value of $k$ which can increase one unit of $\lfloor mx_{i} \rfloor .$

Notice that:

When $x_{i} = 3n, \lfloor mx_{i} \rfloor = \lfloor 2n+(3n)k \rfloor$ We don't have to discuss this case.

When $x_{i} = 3n+1, \lfloor mx_{i} \rfloor = \lfloor 2n+\frac{2}{3}+(3n+1)k \rfloor, k_{min1}=\frac{1}{3(3n+1)}.$

When $x_{i} = 3n+2, \lfloor mx_{i} \rfloor = \lfloor 2n+1+\frac{1}{3}+(3n+2)k \rfloor, k_{min2}=\frac{2}{3(3n+2)}.$ Here $n\in N^{*}, n \le 9.$

Denote $k_{min}=min\left \{k_{min1},k_{min2}  \right \}.$

Obviously $k_{min1}$ and $k_{min2}$ are decreasing. Let's considering the situation when $n=9.$

$k_{min}=min\left\{\frac{1}{84},\frac{2}{87}\right\}=\frac{1}{84}.$

This means that the answer is just $\frac{1}{84}$, so $a+b=85$. Choose $\boxed{E}.$

~PythZhou.

Video Solution , Very Easy

https://youtu.be/PC8fIZzICFg ~hippopotamus1

(Video solution is in Chinese) ~jhu08

Video Solution by Interstigation (In-Depth, Straight-forward)

https://youtu.be/aAogEAOcL2Y

~Interstigation

See Also

2021 AMC 12B (ProblemsAnswer KeyResources)
Preceded by
Problem 24
Followed by
Last problem
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
All AMC 12 Problems and Solutions
2021 AMC 10B (ProblemsAnswer KeyResources)
Preceded by
Problem 24
Followed by
Last problem
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
All AMC 10 Problems and Solutions

The problems on this page are copyrighted by the Mathematical Association of America's American Mathematics Competitions. AMC logo.png