Please read carefully how I solved this question:
A bag contains 4 white 2 black 3 red balls. A ball is drawn from the bag 1-by-1.
(i) Find the probability that $5^{th}$ ball is red. Consider both with and without replacement.
(ii) 3^rd and 7^th are red. Find the probability that $9^{th}$ ball is black. Consider both with and without replacement.
(i)
(a) with replacement. $$P=\frac39=\frac13$$
(b) without replacement. Let's make an array of 9 elements where i^th element denote which ball is taken out in i^th turn, then we can have red in 5^th position with probability:$$P=\frac{\binom31\binom82\binom622!2!4!}{9!}=\frac13$$ [select one red ball to put in 5^th position, then select positions on array for black and remaining red then arrange them divided by total arrangements]
(ii)
(a) with replacement. $$P=\frac29$$
(b) without replacement. Let's make an array of 9 elements where i^th element denote which ball is taken out in i^th turn, then we have red in 3rd and 7th position red,we can have black in 9^th position with probability:$$P=\frac{\binom32\binom212!6!2!}{\binom322!7!}=\frac27$$ [select two red balls for 3 and 7 position then select one black ball for last position and then select position for red and remaining black balls on array then arrange]
Why did drawing with or without replacement make no difference in the first and second can be obtained by considering 3^rd and 7^th balls were never there?