Olympiad Maths Prep

Track / Stage 3 / 214 of 260 #214 of 2000

Problem 214

AMC 10/12, early questions
Combinatorics Difficulty 3.8 Find the answer

Real numbers xx and yy are chosen independently and uniformly at random from the interval (0,1)(0,1). What is the probability that log2x=log2y\lfloor\log_2x\rfloor=\lfloor\log_2y\rfloor?
(A) 18(B) 16(C) 14(D) 13(E) 12\textbf{(A)}\ \frac{1}{8}\qquad\textbf{(B)}\ \frac{1}{6}\qquad\textbf{(C)}\ \frac{1}{4}\qquad\textbf{(D)}\ \frac{1}{3}\qquad\textbf{(E)}\ \frac{1}{2}

Official solution

First let us take the case that log2x=log2y=1\lfloor \log_2{x} \rfloor = \lfloor \log_2{y} \rfloor = -1. In this case, both xx and yy lie in the interval [12,1)[{1\over2}, 1). The probability of this is 1212=14\frac{1}{2} \cdot \frac{1}{2} = \frac{1}{4}. Similarly, in the case that log2x=log2y=2\lfloor \log_2{x} \rfloor = \lfloor \log_2{y} \rfloor = -2, xx and yy lie in the interval [14,12)[{1\over4}, {1\over2}), and the probability is 1414=116\frac{1}{4} \cdot \frac{1}{4} = \frac{1}{16}. Recall that the probability that AA or BB is the case, where case AA and case BB are mutually exclusive, is the sum of each individual probability. Symbolically that's P(A or B or C...)=P(A)+P(B)+P(C)...P(A \text{ or } B \text{ or } C...) = P(A) + P(B) + P(C).... Thus, the probability we are looking for is the sum of the probability for each of the cases log2x=log2y=1,2,3...\lfloor \log_2{x} \rfloor = \lfloor \log_2{y} \rfloor = -1, -2, -3.... It is easy to see that the probabilities for log2x=log2y=n\lfloor \log_2{x} \rfloor = \lfloor \log_2{y} \rfloor = n for <n<0-\infty < n < 0 are the infinite geometric series that starts at 14\frac{1}{4} and with common ratio 14\frac{1}{4}. Using the formula for the sum of an infinite geometric series, we get that the probability is 14114=(D)13\frac{\frac{1}{4}}{1 - \frac{1}{4}} = \boxed{\textbf{(D)}\frac{1}{3}}.
Solution by: vedadehhc
\\ Edited by: jingwei325

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.