Solution:
Key idea: For a binomial distribution with n independent trials, success probability p and failure probability q (where p+q=1), the probability of exactly r successes is nCrprqn−r. We write Pr for P(X=r), the probability that X takes the value r. Draws with replacement are independent trials with the same p.
Step 1 — Set up the binomial distribution.
There are n=6 draws. Let X be the number of red balls. Of the 25 balls, 10 are red and 15 are green.
p=2510
p=52
q=2515
q=53
Pr=6Cr(52)r(53)6−r
Step 2 — Part (i): all six balls red.
We put r=6.
P6=(52)6
P6=1562564
Step 3 — Part (ii): not more than two green.
At most 2 green means 0, 1 or 2 green. With 6 balls in all, this is the same as 6, 5 or 4 red. We find each term.
P6=1562564
P5=6×312532×53
P5=15625576
P4=15×62516×259
P4=156252160
Now we add the three terms.
P(at most 2 green)=1562564+576+2160
P(at most 2 green)=156252800
P(at most 2 green)=625112
Step 4 — Part (iii): equal numbers of red and green.
Equal numbers out of 6 means 3 red and 3 green, so we put r=3.
P3=6C3(52)3(53)3
P3=20×1258×12527
P3=156254320
P3=3125864
Therefore, (i) 1562564, (ii) 625112, (iii) 3125864.