# 2010 AMC 12A Problems/Problem 24

## Problem

Let $f(x) = \log_{10} \left(\sin(\pi x) \cdot \sin(2 \pi x) \cdot \sin (3 \pi x) \cdots \sin(8 \pi x)\right)$. The intersection of the domain of $f(x)$ with the interval $[0,1]$ is a union of $n$ disjoint open intervals. What is $n$? $\textbf{(A)}\ 2 \qquad \textbf{(B)}\ 12 \qquad \textbf{(C)}\ 18 \qquad \textbf{(D)}\ 22 \qquad \textbf{(E)}\ 36$

## Solution 1

The question asks for the number of disjoint open intervals, which means we need to find the number of disjoint intervals such that the function is defined within them.

We note that since all of the $\sin$ factors are inside a logarithm, the function is undefined where the inside of the logarithm is less than or equal to $0$.

First, let us find the number of zeros of the inside of the logarithm. \begin{align*}\sin(\pi x) \cdot \sin(2 \pi x) \cdot \sin (3 \pi x) \cdots \sin(8 \pi x) &= 0\\ \sin(\pi x) &= 0\\ x &= 0, 1\\ \sin(2 \pi x) &= 0\\ x &= 0, \frac{1}{2}, 1\\ \sin(3 \pi x) &= 0\\ x &= 0, \frac{1}{3}, \frac{2}{3}, 1\\ \sin(4 \pi x) &= 0\\ x &= 0, \frac{1}{4}, \frac{2}{4}, \frac{3}{4}, 1\\ &\cdots\end{align*}

After counting up the number of zeros for each factor and eliminating the excess cases we get $23$ zeros and $22$ intervals.

In order to find which intervals are negative, we must first realize that at every zero of each factor, the sign changes. We also have to be careful, as some zeros are doubled, or even tripled, quadrupled, etc.

The first interval $(0, \frac{1}{8})$ is obviously positive. This means the next interval $(\frac{1}{8}, \frac{1}{7})$ is negative. Continuing the pattern and accounting for doubled roots (which do not flip sign), we realize that there are $5$ negative intervals from $0$ to $\frac{1}{2}$. Since the function is symmetric, we know that there are also $5$ negative intervals from $\frac{1}{2}$ to $1$.

And so, the total number of disjoint open intervals is $22 - 2\cdot{5} = \boxed{12\ \textbf{(B)}}$

## Solution 2 (cheap)

Note that the expression $\sin(\pi x) \cdot \sin(2 \pi x) \cdot \sin (3 \pi x) \cdots \sin(8 \pi x)$ must be greater than zero, since logarithm functions are undefined for $0$ and negative numbers. Let $x_1, x_2, x_3, ..., x_8$ temporarily be the dependent variables of the functions $y_1 = \sin(\pi x_1), y_2 = \sin(2\pi x_2), ..., y_8 = \sin(8\pi x_8)$. It is easy to see that for $y_i$ to be positive for $1\leq i\leq8$, $\lfloor i x_i \rfloor$ must be even for $1 \leq i\leq8$. Since an even number of positives times an even number of negatives equals a positive, there can be $2, 4, 6,$ or $8$ positive values of $y_i$ for $1 \leq i\leq 8$ for a given value of $x$. (since $y_1$ is always positive on the range $[0, 1]$) Since MAA allows rulers (and you should bring one to the actual exam), use it to your advantage and draw a larged scaled number line from $0$ to $1$. (I recommend increments of at most $0.1$.) If you don't have a ruler but have graph paper, you can use that instead. Then, designate rows for $y_1, y_2, ..., y_8$, respectively. Draw a large bar (label it with $+$ so you know it's positive) for all values of $x_i$ such that $\lfloor i x_i \rfloor$ is even, and do that for all eight rows. Then, use your ruler (or another viable straightedge, such as the edge of another sheet of paper), place the straightedge perpendicular to the vertical line on your digram at $0$, and slowly work your way to $1$, marking all disjoint intervals in which your straightedge touches $2, 4, 6,$ or $8$ boxes simultaneously. (If an interval excludes a value in that interval, you still have to count it as two disjoint intervals. Note that this will be important as to not undercounting disjoint intervals. ) If done correctly, you should obtain $\boxed{12\ \textbf{(B)}}$ as your answer.

-fidgetboss_4000

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