Suppose we want to sample from the PDF of , which has PDF . Since you know how to generate uniformly random pairs in the rectangle for some , you decide to sample from . You will count your random point as valid for the PDF if it lies in the region bounded by the axis and . Otherwise, it is rejected. If is selected to minimize the number of rejected pairs of points per sample, find the expected amount of rejected pairs per accepted pair.