随机比值
Random Ratio
题目详情
在区间 上独立均匀随机取两点 。
求比值 落在 之间的概率。
p and q are two points chosen at random between 0 & 1. What is the probability that the ratio p/q lies between 1 & 2?
Hint
Graph Shading. (Whenever we see two uniform random variables, we graph them up!)
解析
答案是 。
在单位正方形上令 为均匀点。条件 等价于
并且 。
画出直线 与 ,在 内满足条件的区域面积为 ,因此概率为 。
Original Explanation
0.25
Solution
Assume that the points are & respectively. We want to know if is between 1 and 2. If we plot this, the limits are and . Thus, the desired region is the area between lines & .
This region is th of the rest.