/

AMC12 2017 B

AMC12 2017 B · Q20

AMC12 2017 B · Q20. It mainly tests Inequalities with floors/ceilings (basic), Probability (basic).

Real numbers $x$ and $y$ are chosen independently and uniformly at random from the interval $(0, 1)$. What is the probability that $\lfloor \log_2 x \rfloor = \lfloor \log_2 y \rfloor$, where $\lfloor r \rfloor$ denotes the greatest integer less than or equal to the real number $r$?
实数 $x$ 和 $y$ 从区间 $(0, 1)$ 中独立均匀随机选择。求 $\lfloor \log_2 x \rfloor = \lfloor \log_2 y \rfloor$ 的概率,其中 $\lfloor r \rfloor$ 表示不大于实数 $r$ 的最大整数。
(A) \frac{1}{8} \frac{1}{8}
(B) \frac{1}{6} \frac{1}{6}
(C) \frac{1}{4} \frac{1}{4}
(D) \frac{1}{3} \frac{1}{3}
(E) \frac{1}{2} \frac{1}{2}
Answer
Correct choice: (D)
正确答案:(D)
Solution
Answer (D): The set of all possible ordered pairs $(x,y)$ is bounded by the unit square in the coordinate plane with vertices $(0,0)$, $(1,0)$, $(1,1)$, and $(0,1)$. For each positive integer $n$, $\lfloor \log_2 x \rfloor = \lfloor \log_2 y \rfloor = -n$ if and only if $\frac{1}{2^n} \le x < \frac{1}{2^{n-1}}$ and $\frac{1}{2^n} \le y < \frac{1}{2^{n-1}}$. Thus the set of ordered pairs $(x,y)$ such that $\lfloor \log_2 x \rfloor = \lfloor \log_2 y \rfloor = -n$ is bounded by a square with side length $\frac{1}{2^n}$ and therefore area $\frac{1}{4^n}$. The union of these squares over all positive integers $n$ has area $$ \sum_{n=1}^{\infty}\frac{1}{4^n}=\frac{\frac{1}{4}}{1-\frac{1}{4}}=\frac{1}{3}, $$ and therefore the requested probability is $\frac{1}{3}$. (It is also clear from the diagram that one third of the square is shaded.)
答案(D):所有可能的有序对$(x,y)$都被坐标平面上的单位正方形所界定,其顶点为$(0,0)$、$(1,0)$、$(1,1)$和$(0,1)$。对每个正整数$n$,当且仅当$\frac{1}{2^n}\le x<\frac{1}{2^{n-1}}$且$\frac{1}{2^n}\le y<\frac{1}{2^{n-1}}$时,有$\lfloor \log_2 x \rfloor=\lfloor \log_2 y \rfloor=-n$。因此,使得$\lfloor \log_2 x \rfloor=\lfloor \log_2 y \rfloor=-n$的有序对$(x,y)$构成的集合,被一条边长为$\frac{1}{2^n}$的正方形所界定,其面积为$\frac{1}{4^n}$。对所有正整数$n$把这些正方形并起来,其总面积为 $$ \sum_{n=1}^{\infty}\frac{1}{4^n}=\frac{\frac{1}{4}}{1-\frac{1}{4}}=\frac{1}{3}, $$ 因此所求概率为$\frac{1}{3}$。(从图中也可以看出,正方形的三分之一被阴影覆盖。)
solution
Topics
Related Questions
Practice full AMC exams on amcdrill.
Try full-length practice and diagnostics at www.amcdrill.com.