[Math] Sampling with replacement probability question.

probability

These questions is from a book called Probability by Pitman.

A box contains tickets marked 1,2,3…n. A ticket is drawn at random from the box. Then the ticket is then replaced in the box and a second ticket drawn at random. Find the probabilities of the following events.
a) the first ticket drawn is a number 1 and the second is the number 2.
b) the numbers on the two tickets are consecutive integers, meaning the first number drawn is one less than the second number drawn.
c) the second number drawn is bigger than the first number drawn.

a) I got this right right with $\frac{1}{n^2}$
b) the answer in the back of the book is $\frac{(n-1)}{n^2}$. I can see that the first term is $\frac{(n-1)}{n} \times Something$. From what I can see this term depends on what is chosen from the box on the first selection. I really don't know how to complete this.
c) it's the same kind of thing as b, the first selection would be $\frac{(n-1)}{n}$ but the probability for the second selection depends on what is actually selected in the firs selection. i.e. if 7 was chosen and n = 10, then it would be $\frac{3}{10}$ It's like $\frac{n-k}{n}$ where k was the first number chosen. But the actual answer in the back of the book is $\frac{(1-\frac{1}{n})}{2}$.

Any help out there?

Best Answer

a.) The events are independent. The probability of each event is $\frac{1}{n}$ so the joint probability is $\frac{1}{n^2}$

b.) There are $n-1$ cases where consecutive tickets are draw. Since there are $n^2$ possible ways to draw two tickets, the probability is $\frac{n-1}{n^2}$

c.) Suppose the first ticket picked is $k$, there are $n-k$ correct selections for the second ticket. The total number of correct selections is then $$\sum_{k=1}^{n}(n-k) = n^2-\frac{n(n-1)}{2} = \frac{n^2(1-1/n)}{2}$$ Since there are $n^2$ selections in total, the probability is $\frac{(1-1/n)}{2}$

Related Question