The probability of throwing a 6 with a biased die is . It is known that is equal to one or other of the numbers and where . Accordingly the following statistical test of the hypothesis against the alternative hypothesis is performed.
The die is thrown repeatedly until a 6 is obtained. Then if is the total number of throws, is accepted if , where is a given positive integer; otherwise is accepted. Let be the probability that is accepted if is true, and let be the probability that is accepted if is true.
Show that , where is independent of and is to be determined in terms of and . Sketch the graph of against .