AoPSWiki
Art of Problem Solving holds many free classes called Math Jams.
Click here for transcripts to past Math Jams.
Personal tools

2007 AMC 12A Problems/Problem 24

From AoPSWiki

Problem

For each integer , let be the number of solutions to the equation on the interval . What is ?

Solution

By looking at various graphs, we obtain that, for most of the graphs

However, when , the middle apex of the sine curve touches the sine curve at the top only one time (instead of two), so we get here .

= (1+2+3+4+5+\cdots+2008) - 3 - 501 = \frac{(2008)(2009)}{2} - 504 = 2016532


\sin nx - \sin x = 2\left( \cos \frac {n + 1}{2}x\right) \left( \sin \frac {n - 1}{2}x\right) So if and only if or .

The first occurs whenever \frac {n + 1}{2}x = (j + 1/2)\pi, or for some nonnegative integer . Since , . So there are solutions in this case.

The second occurs whenever , or for some nonnegative integer . Here so that there are \left\lfloor \frac {n + 1}{2}\right\rfloor solutions here.

However, we overcount intersections. These occur whenever \frac {2j + 1}{n + 1} = \frac {2k}{n - 1}

k = \frac {(2j + 1)(n - 1)}{2(n + 1)} which is equivalent to dividing . If is even, then is odd, so this never happens. If , then there won't be intersections either, since a multiple of 8 can't divide a number which is not even a multiple of 4.

This leaves . In this case, the divisibility becomes dividing . Since and are relatively prime (subtracting twice the second number from the first gives 1), must divide . Since , 2j + 1\leq n < 2\cdot \frac {n + 1}{2}. Then there is only one intersection, namely when .

Therefore we find is equal to 1 + \lfloor n/2 \rfloor + \left \lfloor \frac {n + 1}{2}\right\rfloor = n + 1, unless , in which case it is one less, or .

See also

2007 AMC 12A (Problems)
Preceded by
Problem 23
Followed by
Problem 25
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
Want to learn how to tackle those tough AMC/AIME/Olympiad algebra problems? Check out Art of Problem Solving's NEW Intermediate Algebra by Richard Rusczyk and Mathew Crawford. Over 1600 problems!
© Copyright 2008 AoPS Incorporated. All Rights Reserved. • FoundationPrivacyContact Us