The question is: An urn contains 4 balls: 1 white, 1 green, and 2 red. We draw 3 balls with replacement. Find the probability we did not see all three colors.
I need to define the events as W= {white ball did not appear} and similarly for R and G, while specifically using inclusion-exclusion to solve the problem.
My first thought was to use the identity P(A $\cup$ B) = P(A) + P(B) - P(A $\cap$ B) and solve for (A $\cap$ B) but I would only be able to use it for two colors at a time.
Here is how the principle of inclusion-exclusion looks with three events:
$\begin{align*} \Pr(W\cup R\cup G) &= \Pr(W)+ \Pr(R)+ \Pr(G)\\ &\quad-\Pr(W\cap R)-\Pr(W\cap G)-\Pr(G\cap R)\\ &\qquad+ \Pr(W\cap R\cap G) \end{align*}$
It’s up to you to compute each of the terms on the RHS.