返回题库

AIME 2021 I · 第 7 题

AIME 2021 I — Problem 7

专题
Contest Math
难度
L4
来源
AIME

题目详情

Problem

Find the number of pairs (m,n)(m,n) of positive integers with 1msuchthatthereexistsarealnumber1\le m such that there exists a real numberx$ satisfying

sin(mx)+sin(nx)=2.\sin(mx)+\sin(nx)=2.
解析

Solution 1

It is trivial that the maximum value of sinθ\sin \theta is 11, is achieved at θ=π2+2kπ\theta = \frac{\pi}{2}+2k\pi for some integer kk.

This implies that sin(mx)=sin(nx)=1\sin(mx) = \sin(nx) = 1, and that mx=π2+2aπmx = \frac{\pi}{2}+2a\pi and nx=π2+2bπnx = \frac{\pi}{2}+2b\pi, for integers a,ba, b.

Taking their ratio, we have

mxnx=π2+2aππ2+2bπ    mn=4a+14b+1    m4a+1=n4b+1=k.\frac{mx}{nx} = \frac{\frac{\pi}{2}+2a\pi}{\frac{\pi}{2}+2b\pi} \implies \frac{m}{n} = \frac{4a + 1}{4b + 1} \implies \frac{m}{4a + 1} = \frac{n}{4b + 1} = k. It remains to find all m,nm, n that satisfy this equation.

If k=1k = 1, then mn1(mod4)m \equiv n \equiv 1 \pmod 4. This corresponds to choosing two elements from the set {1,5,9,13,17,21,25,29}\{1, 5, 9, 13, 17, 21, 25, 29\}. There are (82)\binom 82 ways to do so.

If k<1k < 1, by multiplying mm and nn by the same constant c=1kc = \frac{1}{k}, we have that mcnc1(mod4)mc \equiv nc \equiv 1 \pmod 4. Then either mn1(mod4)m \equiv n \equiv 1 \pmod 4, or mn3(mod4)m \equiv n \equiv 3 \pmod 4. But the first case was already counted, so we don't need to consider that case. The other case corresponds to choosing two numbers from the set {3,7,11,15,19,23,27}\{3, 7, 11, 15, 19, 23, 27\}. There are (72)\binom 72 ways here. (This argument seems to have a logical flaw *check note at bottom*)

Finally, if k>1k > 1, note that kk must be an integer. This means that m,nm, n belong to the set {k,5k,9k,}\{k, 5k, 9k, \dots\}, or {3k,7k,11k,}\{3k, 7k, 11k, \dots\}. Taking casework on kk, we get the sets {2,10,18,26},{6,14,22,30},{4,20},{12,28}\{2, 10, 18, 26\}, \{6, 14, 22, 30\}, \{4, 20\}, \{12, 28\}. Some sets have been omitted; this is because they were counted in the other cases already. This sums to (42)+(42)+(22)+(22)\binom 42 + \binom 42 + \binom 22 + \binom 22.

In total, there are (82)+(72)+(42)+(42)+(22)+(22)=063\binom 82 + \binom 72 + \binom 42 + \binom 42 + \binom 22 + \binom 22 = \boxed{063} pairs of (m,n)(m, n).

This solution was brought to you by ~Leonard_my_dude~

Note: Detailed Explanation for mn3(mod4)m \equiv n \equiv 3 \pmod 4

Many of the solutions I see here lack an explicit explanation for why every solution to mn3(mod4)m \equiv n \equiv 3 \pmod 4 constitutes a valid solution to the problem, so I will explain it here. The reason why all solutions where mn1(mod4)m \equiv n \equiv 1 \pmod 4 works is pretty intuitive, as mn\frac{m}{n} would then be able to be expressed as 4a+14b+1\frac{4a + 1}{4b + 1}. Similarly, note that (4x+1)3(mod4)-(4x + 1) \equiv 3 \pmod 4. Thus, when solving the equation for mn=4a+14b+1\frac{m}{n} = \frac{4a + 1}{4b + 1}, every case in which mn3(mod4)m \equiv n \equiv 3 \pmod 4 will produce a valid solution when aa and bb are both negative. For example, when m=7m = 7 and n=11n = 11, a=2a = -2 and b=3b = -3 gives 4a+14b+1=711=711\frac{4a + 1}{4b + 1} = \frac{-7}{-11} = \frac{7}{11}. Thus, we add (72)\binom 72 as every case where mn3(mod4)m \equiv n \equiv 3 \pmod 4 produces a valid solution.

- yangomango

Other explanation

Clearly, mx=90+360kmx = 90+360k and nx=90+360anx=90+360a. From here, we can divide both equations to get nm=1+4a1+4k.\frac{n}{m} = \frac{1+4a}{1+4k}. But mm and nn might share a common factor, so let that common factor be d.d. We get dndm1(mod4).dn \equiv dm \equiv 1 (\bmod 4). Taking casework on dmod4,d \bmod 4, we see either d1(mod4)d \equiv 1 (\bmod 4) or d3(mod4).d \equiv 3 (\bmod 4). Substituting back, we see 3n3m1(mod4)3n \equiv 3m \equiv 1 (\bmod 4) or nm1(mod4).n \equiv m \equiv 1 (\bmod 4). The first case gives nm3(mod4),n \equiv m \equiv 3 (\bmod 4), and the second obviously gives nm1(mod4).n \equiv m \equiv 1 (\bmod 4). Now you may proceed as other solutions do.

~ eqb5000

Solution 2

In order for sin(mx)+sin(nx)=2\sin(mx) + \sin(nx) = 2, sin(mx)=sin(nx)=1\sin(mx) = \sin(nx) = 1.

This happens when mxnxπ2(mx \equiv nx \equiv \frac{\pi}{2} (mod 2π).2\pi).

This means that mx=π2+2παmx = \frac{\pi}{2} + 2\pi\alpha and nx=π2+2πβnx = \frac{\pi}{2} + 2\pi\beta for any integers α\alpha and β\beta.

As in Solution 1, take the ratio of the two equations:

mxnx=π2+2παπ2+2πβ    mn=12+2α12+2β    mn=4α+14β+1\frac{mx}{nx} = \frac{\frac{\pi}{2}+2\pi\alpha}{\frac{\pi}{2}+2\pi\beta} \implies \frac{m}{n} = \frac{\frac{1}{2}+2\alpha}{\frac{1}{2}+2\beta} \implies \frac{m}{n} = \frac{4\alpha+1}{4\beta+1} Now notice that the numerator and denominator of 4α+14β+1\frac{4\alpha+1}{4\beta+1} are both odd, which means that mm and nn have the same power of two (the powers of 2 cancel out).

Let the common power be pp: then m=2pam = 2^p\cdot a, and n=2pbn = 2^p\cdot b where aa and bb are integers between 1 and 30.

We can now rewrite the equation:

2pa2pb=4α+14β+1    ab=4α+14β+1\frac{2^p\cdot a}{2^p\cdot b} = \frac{4\alpha+1}{4\beta+1} \implies \frac{a}{b} = \frac{4\alpha+1}{4\beta+1} Now it is easy to tell that a1(a \equiv 1 (mod 4)4) and b1(b \equiv 1 (mod 4)4). However, there is another case: that

a3(a \equiv 3 (mod 4)4) and b3(b \equiv 3 (mod 4)4). This is because multiplying both 4α+14\alpha+1 and 4β+14\beta+1 by 1-1 will not change the fraction, but each congruence will be changed to 1(-1 (mod 4)3(4) \equiv 3 (mod 4)4).

From the first set of congruences, we find that aa and bb can be two of {1,5,9,,29}\{1, 5, 9, \ldots, 29\}.

From the second set of congruences, we find that aa and bb can be two of {3,7,11,,27}\{3, 7, 11, \ldots, 27\}.

Now all we have to do is multiply by 2p2^p to get back to mm and nn. Let’s organize the solutions in order of increasing values of pp, keeping in mind that mm and nn are bounded between 1 and 30.

For p=0p = 0 we get {1,5,9,,29},{3,7,11,,27}\{1, 5, 9, \ldots, 29\}, \{3, 7, 11, \ldots, 27\}.

For p=1p = 1 we get {2,10,18,26},{6,14,22,30}\{2, 10, 18, 26\}, \{6, 14, 22, 30\}

For p=2p = 2 we get {4,20},{12,28}\{4, 20\}, \{12, 28\}

Note that 16a16\mid{a} since mm will cancel out a factor of 4 from aa, and am\frac{a}{m} must contain a factor of 4. Again, 14X1-4X will never contribute a factor of 2. Simply inspecting, we see two feasible values for aa and mm such that a+m30a+m\leq30.

If we increase the value of pp more, there will be less than two integers in our sets, so we are done there.

There are 8 numbers in the first set, 7 in the second, 4 in the third, 4 in the fourth, 2 in the fifth, and 2 in the sixth.

In each of these sets we can choose 2 numbers to be mm and nn and then assign them in increasing order. Thus there are:

(82)+(72)+(42)+(42)+(22)+(22)=28+21+6+6+1+1=063\dbinom{8}{2}+\dbinom{7}{2}+\dbinom{4}{2}+\dbinom{4}{2}+\dbinom{2}{2}+\dbinom{2}{2} = 28+21+6+6+1+1 = \boxed{063} possible pairs (m,n)(m,n) that satisfy the conditions.

-KingRavi

Solution 3

We know that the range of sine is between 1-1 and 11, inclusive.

Thus, the only way for the sum to be 22 is for sin(mx)=sin(nx)=1\sin(mx)=\sin(nx)=1.

Note that sin(90+360k)=1\sin(90+360k)=1.

Assuming mxmx and nxnx are both positive, mm and nn could be 1,5,9,13,17,21,25,291,5,9,13,17,21,25,29. There are 88 ways, so (82)\dbinom{8}{2}.

If both are negative, mm and nn could be 3,7,11,15,19,23,273,7,11,15,19,23,27. There are 77 ways, so (72)\dbinom{7}{2}.

However, the pair (1,5)(1,5) could also be (2,10)(2, 10) and so on. The same goes for some other pairs.

In total there are 1414 of these extra pairs.

The answer is 28+21+14=06328+21+14 = \boxed{063}.

Solution 4

The equation implies that sin(mx)=sin(nx)=1\sin(mx)=\sin(nx)=1. Therefore, we can write mxmx as 2πk1+π22{\pi}k_1+\frac{\pi}{2} and nxnx as 2πk2+π22{\pi}k_2+\frac{\pi}{2} for integers k1k_1 and k2k_2. Then, mxnx=mn=2k1+122k2+12\frac{mx}{nx}=\frac{m}{n}=\frac{2k_1+\frac{1}{2}}{2k_2+\frac{1}{2}}. Cross multiplying, we get m(2k2+12)=n(2k1+12)4k2m4k1n=nmm\cdot{(2k_2+\frac{1}{2})}=n\cdot{(2k_1+\frac{1}{2})} \Longrightarrow 4k_2m-4k_1n=n-m. Let nm=an-m=a so the equation becomes 4(m(k2k1)+k1a)=a4(m(k_2-k_1)+k_1a)=a. Let k2k1=Xk_2-k_1=X and k1=Yk_1=Y, then the equation becomes a=4Ym+4Xaa(14X)m=4Ya=4Ym+4Xa \Longrightarrow \frac{a(1-4X)}{m}=4Y. Note that XX and YY can vary accordingly, and 4a4\mid{a}. Next, we do casework on m(mod4)m\pmod{4}:

If m1(mod4)m\equiv 1\pmod{4}:

Once aa and mm are determined, nn is determined, so a+m30a+m\leq30. a{4,8,12,,28}a\in \{4,8,12,\dots,28\} and m{1,5,9,,29}m\in \{1,5,9,\dots,29\}. Therefore, there are i=17i=28\sum_{i=1}^{7}{i}=28 ways for this case such that a+m30a+m\leq30.

If m3(mod4)m\equiv 3\pmod{4}:

a{4,8,12,,28}a\in \{4,8,12,\dots,28\} and m{3,7,11,,27}m\in \{3,7,11,\dots,27\}. Therefore, there are i=16i=21\sum_{i=1}^{6}{i}=21 ways such that a+m30a+m\leq30.

If m2(mod4)m\equiv 2\pmod{4}:

Note that 8a8\mid{a} since mm in this case will have a factor of 2, which will cancel out a factor of 2 in aa, and we need the left hand side to divide 4. Also, 14X1(mod4)1-4X\equiv 1\pmod{4} so it is odd and will therefore never contribute a factor of 2. a{8,16,24}a\in \{8,16,24\} and m{2,6,10,,30}m\in \{2,6,10,\dots,30\}. Following the condition a+m30a+m\leq30, we conclude that there are 6+4+2=126+4+2=12 ways for this case.

If m0(mod4)m\equiv 0\pmod{4}:

Adding all the cases up, we obtain 28+21+12+2=06328+21+12+2=\boxed{063}

~Magnetoninja

Remark

The graphs of rsin(mθ)+sin(nθ)r\leq\sin(m\theta)+\sin(n\theta) and r=2r=2 are shown here in Desmos: https://www.desmos.com/calculator/busxadywja

Move the sliders around for 1m291\leq m \leq 29 and 2m+1n302\leq m+1\leq n\leq30 to observe the geometric representation generated by each pair (m,n).(m,n).

~MRENTHUSIASM (inspired by TheAMCHub)

Video Solution

https://youtu.be/O84aJ5OTZ2E

~mathproblemsolvingskills

Video Solution

https://www.youtube.com/watch?v=LUkQ7R1DqKo

~Mathematical Dexterity