Navvye/Olympiad-Problems-CSV huggingface dataset:
Problem: How many unordered pairs of edges of a given cube determine a plane?
$\textbf{(A) } 12 \qquad \textbf{(B) } 28 \qquad \textbf{(C) } 36\qquad \textbf{(D) } 42 \qquad \textbf{(E) } 66$

Solution: Without loss of generality, choose one of the $12$ edges of the cube to be among the two selected. We now calculate the probability that a randomly-selected second edge makes the pair satisfy the condition in the problem statement.
For two lines in space to determine a common plane, they must either intersect or be parallel (in other words, they cannot be skew lines). If all $12$ line segments are extended to lines, the first (arbitrarily chosen) edge's line intersects $4$ lines and is parallel to another $3$ . Thus $4+3=7$ of the $12-1=11$ remaining line segments (which could be chosen for the second edge) give a pair of lines determining a common plane. To see this, observe that in the diagram below, the red edge is parallel to the $3$ green edges and intersects with the $4$ blue edges.
[asy] import three; import three; unitsize(1cm); size(200); currentprojection=perspective(-6/5,-8/5,7/8); draw((0,1,0)--(0,0,0)--(1,0,0), blue); draw((1,0,0)--(1,1,0)--(0,1,0)); draw((0,0,0)--(0,0,1), red); draw((0,1,0)--(0,1,1), green); draw((1,1,0)--(1,1,1), green); draw((1,0,0)--(1,0,1), green); draw((0,1,1)--(0,0,1)--(1,0,1), blue); draw((1,0,1)--(1,1,1)--(0,1,1)); [/asy]
This means that the probability that a randomly-selected pair of edges determine a plane is $\frac{7}{11}$ , and we calculate that there are ${12 \choose 2} = 66$ total pairs of edges that could be chosen (without the restriction). Thus the answer is $\frac{7}{11} \cdot 66 =\boxed{42}$

Answer: D 42
Problem: How many unordered pairs of edges of a given cube determine a plane?
$\textbf{(A) } 12 \qquad \textbf{(B) } 28 \qquad \textbf{(C) } 36\qquad \textbf{(D) } 42 \qquad \textbf{(E) } 66$

Solution: As in Solution 1, we observe that the two edges must either be parallel or intersect. Clearly the edges will intersect if and only if they are part of the same face. We can thus divide into two cases:
Case 1 : The two edges are part of the same face. There are $6$ faces, and ${4 \choose 2}=6$ ways to choose $2$ of the $4$ edges of the square, giving a total of $6 \cdot 6 = 36$ possibilities.
Case 2 : The two edges are parallel and not part of the same face. Observe that each of the $12$ edges is parallel to exactly $1$ edge that is not part of its face. The edges can thus be paired up, giving $\frac{12}{2} = 6$ possibilities for this case.
Adding the two cases, the answer is hence $36 + 6 = \boxed{42}$

Answer: D 42
Problem: How many unordered pairs of edges of a given cube determine a plane?
$\textbf{(A) } 12 \qquad \textbf{(B) } 28 \qquad \textbf{(C) } 36\qquad \textbf{(D) } 42 \qquad \textbf{(E) } 66$

Solution: As in solution 1, we see that for an arbitrary edge of the cube, only $7$ of the other edges can be chosen to form a plane.
For each of the $12$ edges, this gives $(7)(12) = 84$ total possible pairings. However each pair has been counted twice (e.g edge $A$ with $B$ , and edge $B$ with $A$ ) so we divide by 2 to get $\boxed{42}$

Answer: D 42
Problem: How many nonzero complex numbers $z$ have the property that $0, z,$ and $z^3,$ when represented by points in the complex plane, are the three distinct vertices of an equilateral triangle?
$\textbf{(A) }0\qquad\textbf{(B) }1\qquad\textbf{(C) }2\qquad\textbf{(D) }4\qquad\textbf{(E) }\text{infinitely many}$

Solution: Convert $z$ and $z^3$ into modulus-argument (polar) form, giving $z=r\text{cis}(\theta)$ for some $r$ and $\theta$ . Thus, by De Moivre's Theorem, $z^3=r^3\text{cis}(3\theta)$ . Since the distance from $0$ to $z$ is $r$ , and the triangle is equilateral, the distance from $0$ to $z^3$ must also be $r$ , so $r^3=r$ , giving $r=1$ . (We know $r \neq 0$ since the problem statement specifies that $z$ must be nonzero.)
Now, to get from $z$ to $z^3$ , which should be a rotation of $60^{\circ}$ if the triangle is equilateral, we multiply by $z^2 = r^2\text{cis}(2\theta)$ , again using De Moivre's Theorem. Thus we require $2\theta=\pm\frac{\pi}{3} + 2\pi k$ (where $k$ can be any integer). If $0 < \theta < \frac{\pi}{2}$ , we must have $\theta=\frac{\pi}{6}$ , while if $\frac{\pi}{2} \leq \theta < \pi$ , we must have $\theta = \frac{5\pi}{6}$ . Hence there are $2$ values that work for $0 < \theta < \pi$ . By symmetry, the interval $\pi \leq \theta < 2\pi$ will also give $2$ solutions. The answer is thus $2 + 2 = \boxed{4}$

Answer: D 4
Problem: How many nonzero complex numbers $z$ have the property that $0, z,$ and $z^3,$ when represented by points in the complex plane, are the three distinct vertices of an equilateral triangle?
$\textbf{(A) }0\qquad\textbf{(B) }1\qquad\textbf{(C) }2\qquad\textbf{(D) }4\qquad\textbf{(E) }\text{infinitely many}$

Solution: As before, $r=1$ . Represent $z$ in polar form. By De Moivre's Theorem, $z^3=\text{cis}(3\theta)$ . To form an equilateral triangle, their difference in angle must be $\frac{\pi}{3}$ , so \[\frac{\text{cis}(3\theta)}{\text{cis}(\theta)}=\text{cis}(2\theta)=\text{cis}(\pm\frac{\pi}{3})\] From the polar form of $z$ , we know that $0\geq\theta\leq2\pi$ , so $\text{cis}(2\theta)$ cycles in a circle twice. By contrast, $\pm\frac{\pi}{3}$ represent $2$ fixed, distinct points. Thus, $\text{cis}(2\theta)$ intersects these points twice each $\implies\boxed{4}$

Answer: D 4
Problem: How many nonzero complex numbers $z$ have the property that $0, z,$ and $z^3,$ when represented by points in the complex plane, are the three distinct vertices of an equilateral triangle?
$\textbf{(A) }0\qquad\textbf{(B) }1\qquad\textbf{(C) }2\qquad\textbf{(D) }4\qquad\textbf{(E) }\text{infinitely many}$

Solution: For the triangle to be equilateral, the vector from $z$ to $z^3$ , i.e $z^3 - z$ , must be a $60^{\circ}$ rotation of the vector from $0$ to $z$ , i.e. just $z$ . Thus we must have
\[\frac{(z^3-z)}{(z-0)}=\text{cis}{(\pi/3)} \text{ or } \text{cis}(5\pi/3)\]
Simplifying gives \[z^2-1= \text{cis}(\pi/3) \text{ or } z^2-1= \text{cis}(5\pi/3)\] so \[z^2=1+\text{cis}(\pi/3) \text{ or } z^2=1+\text{cis}(5\pi/3)\]
Since any nonzero complex number will have two square roots, each equation gives two solutions. Thus, as before, the total number of possible values of $z$ is $\boxed{4}$

Answer: D 4
Problem: How many nonzero complex numbers $z$ have the property that $0, z,$ and $z^3,$ when represented by points in the complex plane, are the three distinct vertices of an equilateral triangle?
$\textbf{(A) }0\qquad\textbf{(B) }1\qquad\textbf{(C) }2\qquad\textbf{(D) }4\qquad\textbf{(E) }\text{infinitely many}$

Solution: Since the complex numbers $0,z,$ and $z^3$ form an equilateral triangle in the complex plane, we note that either $z^3$ is a 60 degrees counterclockwise rotation about the origin from $z$ or $z$ is a 60 degrees counterclockwise rotation about the origin from $z^3$
Therefore, we note that either $z^3 = z \text{cis} 60^\circ{}$ or $z \text{cis}(-60^\circ{}) = z^3$
The first equation in $z$ (meaning $z^3 = z \text{cis} 60^\circ{}$ ) gives us: $z^2 = cis 60^\circ{}$ , which gives 2 solutions in $z$
The second equation in $z$ (which is $z \text{cis} (-60^\circ{}) = z^3$ ) gives us $z^2 = \text{cis} (-60^\circ{})$ , which must give another 2 solutions in $z$
Therefore, there are $\boxed{4}$ solutions for $z$ . (Professor-Mom)

Answer: D 4
Problem: How many nonzero complex numbers $z$ have the property that $0, z,$ and $z^3,$ when represented by points in the complex plane, are the three distinct vertices of an equilateral triangle?
$\textbf{(A) }0\qquad\textbf{(B) }1\qquad\textbf{(C) }2\qquad\textbf{(D) }4\qquad\textbf{(E) }\text{infinitely many}$

Solution: Let the $z = re^{i\theta}$ , so $z^3 = r^3e^{3i\theta}$ . To have an equilateral triangle, we must have $|z^3| = |z|$ , so $r^3 = r$ , so $r= 1$
Note that the angle between $z^3$ and $z$ is $3\theta - \theta = 2\theta$ . Then, by the Law of Cosines,
\[|z^3 - z|^2 = |z|^2 + |z^3|^2 - 2|z||z^3|\cos 2\theta.\]
Since we have an equilateral triangle, it must be that $|z^3 - z| =|z| = |z^3| = r = 1$ . Hence, \[1 = 2 - 2\cos 2\theta = 2 - 2(1-2\sin^2\theta) = 4\sin^2\theta,\] \[\sin^2\theta = \frac{1}{4}\] \[\sin\theta = \pm\frac{1}{2}\] \[\theta = \pm\frac{\pi}{6}, \pm\frac{5\pi}{6}.\]
These $4$ values of $\theta$ correspond to $\boxed{4}$ distinct values of $z$ .
~ brainfertilzer

Answer: D 4
Problem: How many quadratic polynomials with real coefficients are there such that the set of roots equals the set of coefficients? (For clarification: If the polynomial is $ax^2+bx+c,a\neq 0,$ and the roots are $r$ and $s,$ then the requirement is that $\{a,b,c\}=\{r,s\}$ .)
$\textbf{(A) } 3 \qquad\textbf{(B) } 4 \qquad\textbf{(C) } 5 \qquad\textbf{(D) } 6 \qquad\textbf{(E) } \text{infinitely many}$

Solution: Firstly, if $r=s$ , then $a=b=c$ , so the equation becomes $ax^2 + ax + a = 0 \Rightarrow x^2 + x + 1=0$ , which has no real roots.
Hence there are three cases we need to consider:
Case 1 $a=b=r$ and $c=s \neq r$ :
The equation becomes $ax^2+ax+c=0$ , and by Vieta's Formulas, we have $a+c=-1$ and $ac = \frac{c}{a}$ . This second equation becomes $(a^2-1)c=0$ . Hence one possibility is $c=0$ , in which case $a=-1$ , giving the equation $-x^2 - x = 0$ , which has roots $0$ and ${-}1$ . This gives one valid solution. On the other hand, if $c\neq 0$ , then $a^2-1=0$ , so $a = \pm 1$ . If $a=1$ , we have $c=-2$ , and the equation is $x^2 + x - 2 = 0$ , which clearly works, giving a second valid solution. If $a=-1$ , then we have $c=0$ , which has already been considered, so this possibility gives no further valid solutions.
Case 2 $a=c=r$ $b=s \neq r$ :
The equation becomes $ax^2 + bx + a = 0$ , so by Vieta's Formulas, we have $a+b = -\frac{b}{a}$ and $ab = 1$ . These equations reduce to $a^3 + a + 1 = 0$ . By sketching a graph of this function, we see that there is exactly one real root. (Alternatively, note that as it is of odd degree, there is at least one real root, and by differentiation, it has no stationary points, so there is at most one real root. Combining these gives exactly one real root.) This gives a third valid solution.
Case 3 $a=r$ $b=c=s \neq r$ : 
The equation becomes $ax^2 + bx+b=0$ , so by Vieta's Formulas, we have $a+b = -\frac{b}{a}$ and $ab = \frac{b}{a}$ .
Observe that $b \neq 0$ , as if it were $0$ , the equation would just have one real root, $0$ , so this would not give a valid solution. Thus, taking the second equation and dividing both sides by $b$ , we deduce have $a=\frac{1}{a}$ , so $a=\pm 1$ . If $a=1$ , we have $1+b=-b$ , giving $b=-\frac{1}{2}$ , so the equation is $x^2 - \frac{1}{2}x - \frac{1}{2} = 0$ , which is a fourth valid solution. If $a=-1$ , we have $1+b=b$ , which is a contradiction, so this case gives no further valid solutions.
Hence the total number of valid solutions is $\boxed{4}$

Answer: B 4
Problem: A large urn contains $100$ balls, of which $36 \%$ are red and the rest are blue. How many of the blue balls must be removed so that the percentage of red balls in the urn will be $72 \%$ ? (No red balls are to be removed.)
$\textbf{(A)}\ 28 \qquad\textbf{(B)}\  32 \qquad\textbf{(C)}\  36 \qquad\textbf{(D)}\ 50 \qquad\textbf{(E)}\ 64$

Solution: There are $36$ red balls; for these red balls to comprise $72 \%$ of the urn, there must be only $14$ blue balls. Since there are currently $64$ blue balls, this means we must remove $\boxed{50}$

Answer: D 50
Problem: A large urn contains $100$ balls, of which $36 \%$ are red and the rest are blue. How many of the blue balls must be removed so that the percentage of red balls in the urn will be $72 \%$ ? (No red balls are to be removed.)
$\textbf{(A)}\ 28 \qquad\textbf{(B)}\  32 \qquad\textbf{(C)}\  36 \qquad\textbf{(D)}\ 50 \qquad\textbf{(E)}\ 64$

Solution: There are $36$ red balls and $64$ blue balls. For the percentage of the red balls to double from $36 \%$ to $72 \%$ of the urn, half of the total number of balls must be removed. Therefore, the number of blue balls that need to be removed is $\boxed{50}$

Answer: D 50
Problem: A large urn contains $100$ balls, of which $36 \%$ are red and the rest are blue. How many of the blue balls must be removed so that the percentage of red balls in the urn will be $72 \%$ ? (No red balls are to be removed.)
$\textbf{(A)}\ 28 \qquad\textbf{(B)}\  32 \qquad\textbf{(C)}\  36 \qquad\textbf{(D)}\ 50 \qquad\textbf{(E)}\ 64$

Solution: There are $36$ red balls out of the total $100$ balls. 
We want to continuously remove blue balls until the percentage of red balls in the urn is 72%.
Therefore, we want \[\frac{36}{100-x}=\frac{72}{100}.\] Solving for $x$ gives that we must remove $\boxed{50}$ blue balls.

Answer: D 50
Problem: While exploring a cave, Carl comes across a collection of $5$ -pound rocks worth $$14$ each, $4$ -pound rocks worth $$11$ each, and $1$ -pound rocks worth $$2$ each. There are at least $20$ of each size. He can carry at most $18$ pounds. What is the maximum value, in dollars, of the rocks he can carry out of the cave?
$\textbf{(A) } 48 \qquad \textbf{(B) } 49 \qquad \textbf{(C) } 50 \qquad \textbf{(D) } 51 \qquad \textbf{(E) } 52$

Solution: The value of $5$ -pound rocks is $$14\div5=$2.80$ per pound, and the value of $4$ -pound rocks is $$11\div4=$2.75$ per pound. Clearly, Carl should not carry more than three $1$ -pound rocks. Otherwise, he can replace some $1$ -pound rocks with some heavier rocks, preserving the weight but increasing the total value.
We perform casework on the number of $1$ -pound rocks Carl can carry: \[\begin{array}{c|c|c||c} & & & \\ [-2.5ex] \boldsymbol{1}\textbf{-Pound Rocks} & \boldsymbol{4}\textbf{-Pound Rocks} & \boldsymbol{5}\textbf{-Pound Rocks} & \textbf{Total Value} \\ \textbf{(}\boldsymbol{$2}\textbf{ Each)} & \textbf{(}\boldsymbol{$11}\textbf{ Each)} & \textbf{(}\boldsymbol{$14}\textbf{ Each)} & \\ [0.5ex] \hline & & & \\ [-2ex] 0 & 2 & 2 & $50 \\  & & & \\ [-2.25ex] 1 & 3 & 1 & $49 \\ & & & \\ [-2.25ex] 2 & 4 & 0 & $48 \\ & & & \\ [-2.25ex] 3 & 0 & 3 & $48 \end{array}\] Clearly, the maximum value of the rocks Carl can carry is $\boxed{50}$ dollars.

Answer: C 50
Problem: While exploring a cave, Carl comes across a collection of $5$ -pound rocks worth $$14$ each, $4$ -pound rocks worth $$11$ each, and $1$ -pound rocks worth $$2$ each. There are at least $20$ of each size. He can carry at most $18$ pounds. What is the maximum value, in dollars, of the rocks he can carry out of the cave?
$\textbf{(A) } 48 \qquad \textbf{(B) } 49 \qquad \textbf{(C) } 50 \qquad \textbf{(D) } 51 \qquad \textbf{(E) } 52$

Solution: Since each rock is worth $1$ dollar less than $3$ times its weight (in pounds), the answer is just $3\cdot 18=54$ minus the minimum number of rocks we need to make $18$ pounds. Note that we need at least $4$ rocks (two $5$ -pound rocks and two $4$ -pound rocks) to make $18$ pounds, so the answer is $54-4=\boxed{50}.$

Answer: C 50
Problem: What is the sum of all possible values of $k$ for which the polynomials $x^2 - 3x + 2$ and $x^2 - 5x + k$ have a root in common?
$\textbf{(A) }3 \qquad\textbf{(B) }4 \qquad\textbf{(C) }5 \qquad\textbf{(D) }6 \qquad\textbf{(E) }10$

Solution: We factor $x^2-3x+2$ into $(x-1)(x-2)$ . Thus, either $1$ or $2$ is a root of $x^2-5x+k$ . If $1$ is a root, then $1^2-5\cdot1+k=0$ , so $k=4$ . If $2$ is a root, then $2^2-5\cdot2+k=0$ , so $k=6$ . The sum of all possible values of $k$ is $\boxed{10}$

Answer: E 10
Problem: For positive integers $m$ and $n$ such that $m+10<n+1$ , both the mean and the median of the set $\{m, m+4, m+10, n+1, n+2, 2n\}$ are equal to $n$ . What is $m+n$
$\textbf{(A)}20\qquad\textbf{(B)}21\qquad\textbf{(C)}22\qquad\textbf{(D)}23\qquad\textbf{(E)}24$

Solution: The mean and median are \[\frac{3m+4n+17}{6}=\frac{m+n+11}{2}=n,\] so $3m+17=2n$ and $m+11=n$ . Solving this gives $\left(m,n\right)=\left(5,16\right)$ for $m+n=\boxed{21}$ . (trumpeter)

Answer:  21
Problem: For positive integers $m$ and $n$ such that $m+10<n+1$ , both the mean and the median of the set $\{m, m+4, m+10, n+1, n+2, 2n\}$ are equal to $n$ . What is $m+n$
$\textbf{(A)}20\qquad\textbf{(B)}21\qquad\textbf{(C)}22\qquad\textbf{(D)}23\qquad\textbf{(E)}24$

Solution: This is an alternate solution if you don't want to solve using algebra. First, notice that the median $n$ is the average of $m+10$ and $n+1$ . Therefore, $n=m+11$ , so the answer is $m+n=2m+11$ , which must be odd. This leaves two remaining options: ${(B) 21}$ and ${(D) 23}$ . Notice that if the answer is $(B)$ , then $m$ is odd, while $m$ is even if the answer is $(D)$ . Since the average of the set is an integer $n$ , the sum of the terms must be even. $4+10+1+2+2n$ is odd by definition, so we know that $3m+2n$ must also be odd, thus with a few simple calculations $m$ is odd. Because all other answers have been eliminated, $(B)$ is the only possibility left. Therefore, $m+n=\boxed{21}$ . ∎ --anna0kear

Answer:  21
Problem: For positive integers $m$ and $n$ such that $m+10<n+1$ , both the mean and the median of the set $\{m, m+4, m+10, n+1, n+2, 2n\}$ are equal to $n$ . What is $m+n$
$\textbf{(A)}20\qquad\textbf{(B)}21\qquad\textbf{(C)}22\qquad\textbf{(D)}23\qquad\textbf{(E)}24$

Solution: Since the median is $n$ , then $\frac{m+10+n+1}{2} = n \Rightarrow m+11 = n$ , or $m= n-11$ . Plug this in for $m$ values to get $\frac{7n-16}{6} = n \Rightarrow 7n-16 = 6n \Rightarrow n= 16$ . Plug it back in to get $m = 5$ , thus $16 + 5 = \boxed{21}$

Answer:  21
Problem: Which of the following describes the largest subset of values of $y$ within the closed interval $[0,\pi]$ for which \[\sin(x+y)\leq \sin(x)+\sin(y)\] for every $x$ between $0$ and $\pi$ , inclusive?
$\textbf{(A) } y=0 \qquad \textbf{(B) } 0\leq y\leq \frac{\pi}{4} \qquad \textbf{(C) } 0\leq y\leq \frac{\pi}{2} \qquad \textbf{(D) } 0\leq y\leq \frac{3\pi}{4} \qquad \textbf{(E) } 0\leq y\leq \pi$

Solution: On the interval $[0, \pi]$ sine is nonnegative; thus $\sin(x + y) = \sin x \cos y + \sin y \cos x \le \sin x + \sin y$ for all $x, y \in [0, \pi]$ and equality only occurs when $\cos x = \cos y = 1$ , which is cosine's maximum value. The answer is $\boxed{0}$ . (CantonMathGuy)

Answer: E 0
Problem: Which of the following describes the largest subset of values of $y$ within the closed interval $[0,\pi]$ for which \[\sin(x+y)\leq \sin(x)+\sin(y)\] for every $x$ between $0$ and $\pi$ , inclusive?
$\textbf{(A) } y=0 \qquad \textbf{(B) } 0\leq y\leq \frac{\pi}{4} \qquad \textbf{(C) } 0\leq y\leq \frac{\pi}{2} \qquad \textbf{(D) } 0\leq y\leq \frac{3\pi}{4} \qquad \textbf{(E) } 0\leq y\leq \pi$

Solution: Expanding, \[\cos y \sin x + \cos x \sin y \le \sin x + \sin y\] Let $\sin x =a \ge 0$ $\sin y = b \ge 0$ . We have that \[(\cos y)a+(\cos x)b \le a+b\] Comparing coefficients of $a$ and $b$ gives a clear solution: both $\cos y$ and $\cos x$ are less than or equal to one, so the coefficients of $a$ and $b$ on the left are less than on the right. Since $a, b \ge 0$ , that means that this equality is always satisfied over this interval, or $\boxed{0}$

Answer: E 0
Problem: Which of the following describes the largest subset of values of $y$ within the closed interval $[0,\pi]$ for which \[\sin(x+y)\leq \sin(x)+\sin(y)\] for every $x$ between $0$ and $\pi$ , inclusive?
$\textbf{(A) } y=0 \qquad \textbf{(B) } 0\leq y\leq \frac{\pi}{4} \qquad \textbf{(C) } 0\leq y\leq \frac{\pi}{2} \qquad \textbf{(D) } 0\leq y\leq \frac{3\pi}{4} \qquad \textbf{(E) } 0\leq y\leq \pi$

Solution: If we plug in $\pi$ , we can see that $\sin(x+\pi) \le \sin(x)$ . Note that since $\sin(x)$ is always nonnegative, $\sin(x+\pi)$ is always nonpositive. So, the inequality holds true when $y=\pi$ . The only interval that contains $\pi$ in the answer choices is $\boxed{0}$

Answer: E 0
Problem: Which of the following describes the largest subset of values of $y$ within the closed interval $[0,\pi]$ for which \[\sin(x+y)\leq \sin(x)+\sin(y)\] for every $x$ between $0$ and $\pi$ , inclusive?
$\textbf{(A) } y=0 \qquad \textbf{(B) } 0\leq y\leq \frac{\pi}{4} \qquad \textbf{(C) } 0\leq y\leq \frac{\pi}{2} \qquad \textbf{(D) } 0\leq y\leq \frac{3\pi}{4} \qquad \textbf{(E) } 0\leq y\leq \pi$

Solution: Rewrite it as \[\cos y \sin x + \cos x \sin y \le \sin x + \sin y\] then move the terms such that it appears as this \[\sin x (\cos y -1) \le \sin y (1- \cos x)\] We know that on the interval of $[0, \pi]$ $0\le (1-\cos x)\le 2$ , and $0\le \sin y$ , such that the whole thing on the right hand side is always greater than or equal to $0$ . On the left hand side, $0\le \sin x$ and we want $(\cos y -1)\le 0$ , which $\boxed{0}$ satisfies. 
~azure123456

Answer:  0
Problem: The solutions to the equation $\log_{3x} 4 = \log_{2x} 8$ , where $x$ is a positive real number other than $\tfrac{1}{3}$ or $\tfrac{1}{2}$ , can be written as $\tfrac {p}{q}$ where $p$ and $q$ are relatively prime positive integers. What is $p + q$
$\textbf{(A) } 5   \qquad     \textbf{(B) } 13   \qquad     \textbf{(C) } 17   \qquad    \textbf{(D) } 31 \qquad   \textbf{(E) } 35$

Solution: We apply the Change of Base Formula, then rearrange: \begin{align*} \frac{\log_2{4}}{\log_2{(3x)}}&=\frac{\log_2{8}}{\log_2{(2x)}} \\ \frac{2}{\log_2{(3x)}}&=\frac{3}{\log_2{(2x)}} \\ 3\log_2{(3x)}&=2\log_2{(2x)}. \\ \end{align*} By the logarithmic identity $n\log_b{a}=\log_b{\left(a^n\right)},$ it follows that \begin{align*} \log_2{\left[(3x)^3\right]}&=\log_2{\left[(2x)^2\right]} \\ (3x)^3&=(2x)^2 \\ 27x^3&=4x^2 \\ x&=\frac{4}{27}, \end{align*} from which the answer is $4+27=\boxed{31}.$

Answer: D 31
Problem: The solutions to the equation $\log_{3x} 4 = \log_{2x} 8$ , where $x$ is a positive real number other than $\tfrac{1}{3}$ or $\tfrac{1}{2}$ , can be written as $\tfrac {p}{q}$ where $p$ and $q$ are relatively prime positive integers. What is $p + q$
$\textbf{(A) } 5   \qquad     \textbf{(B) } 13   \qquad     \textbf{(C) } 17   \qquad    \textbf{(D) } 31 \qquad   \textbf{(E) } 35$

Solution: We will apply the following logarithmic identity: \[\log_{p^n}{\left(q^n\right)}=\log_{p}{q},\] which can be proven by the Change of Base Formula: \[\log_{p^n}{\left(q^n\right)}=\frac{\log_{p}{\left(q^n\right)}}{\log_{p}{\left(p^n\right)}}=\frac{n\log_{p}{q}}{n}=\log_{p}{q}.\] We rewrite the original equation as $\log_{(3x)^3} 64 = \log_{(2x)^2} 64,$ from which \begin{align*} (3x)^3&=(2x)^2 \\ 27x^3&=4x^2 \\ x&=\frac{4}{27}. \end{align*} Therefore, the answer is $4+27=\boxed{31}.$

Answer: D 31
Problem: The solutions to the equation $\log_{3x} 4 = \log_{2x} 8$ , where $x$ is a positive real number other than $\tfrac{1}{3}$ or $\tfrac{1}{2}$ , can be written as $\tfrac {p}{q}$ where $p$ and $q$ are relatively prime positive integers. What is $p + q$
$\textbf{(A) } 5   \qquad     \textbf{(B) } 13   \qquad     \textbf{(C) } 17   \qquad    \textbf{(D) } 31 \qquad   \textbf{(E) } 35$

Solution: By the logarithmic identity $n\log_b{a}=\log_b{\left(a^n\right)},$ the original equation becomes \[2\log_{3x} 2 = 3\log_{2x} 2.\] By the logarithmic identity $\log_b{a}\cdot\log_a{b}=1,$ we multiply both sides by $\log_2{(2x)},$ then apply the Change of Base Formula to the left side: \begin{align*} 2\left[\log_{3x}2\right]\left[\log_2{(2x)}\right] &= 3 \\ 2\left[\frac{\log_2 2}{\log_2{(3x)}}\right]\left[\frac{\log_2{(2x)}}{\log_2 2}\right] &= 3 \\ 2\left[\frac{\log_2{(2x)}}{\log_2{(3x)}}\right] &=3 \\ 2\left[\log_{3x}{(2x)}\right] &= 3 \\ \log_{3x}{\left[(2x)^2\right]} &= 3 \\ (3x)^3&=(2x)^2 \\ 27x^3&=4x^2 \\ x&=\frac{4}{27}. \end{align*} Therefore, the answer is $4+27=\boxed{31}.$

Answer: D 31