Answers:
without replacement: a) 86/969 b)80/323
with replacement: a)853/6859 b)1440/6859
Step-by-step explanation:
<h3>a) probability that all three are of same color:</h3>
if the balls are not replaced
the equal probable results of experiment
the outcome space :
, and there are 19.18.17 elements in S.
where
R- event that all three balls are red.
G- events that all three balls are green.
B- events that all three balls are blue.
and the number of possibilities from S that are in Red is 5.4.3 there are 6.5.4 events in blue, and 8.7.6 in green


if the balls are placed
the equal probable results of experiment
the outcome space :
![S=[R_{1} R_{2} R_{3}, R_{1} R_{2} G_{1},R_{1} R_{2} B_{1} .........]](https://tex.z-dn.net/?f=S%3D%5BR_%7B1%7D%20R_%7B2%7D%20R_%7B3%7D%2C%20R_%7B1%7D%20R_%7B2%7D%20G_%7B1%7D%2CR_%7B1%7D%20R_%7B2%7D%20B_%7B1%7D%20.........%5D)
and there are 19.19.19 elements in S.
R- event that all three balls are red.
G- events that all three balls are green.
B- events that all three balls are blue.
and the number of possibilities from S are in red is 5.5.5, there are 6.6.6 events in blue and 8.8.8 in green
thus the result is:

<h3>b) probability that all three are in different colors:</h3>
if the balls are not replaced
the equal probable results of experiment
the outcome space :
![S=[R_{1} R_{2} R_{3}, R_{1} R_{2} B_{1} ,R_{1} R_{2} G_{1}..... ]](https://tex.z-dn.net/?f=S%3D%5BR_%7B1%7D%20R_%7B2%7D%20R_%7B3%7D%2C%20R_%7B1%7D%20R_%7B2%7D%20B_%7B1%7D%20%2CR_%7B1%7D%20R_%7B2%7D%20G_%7B1%7D.....%20%5D)
and there are 19.18.17 elements in S
and if all balls have to be in different colors.
choose one of the 5 red balls, 1 of the 6 green balls and 1 of the 8 green balls. and for every choice of red, a green and a blue ball they can be permuted 3! ways

if the balls are replaces then

<h3 />