Solution:
Key idea: If A and B are independent, then so are A and Bˉ, Aˉ and B, and Aˉ and Bˉ. So the probability of any "and" combination is a product. Also P(Aˉ)=1−a and P(Bˉ)=1−b.
Step 1 — Part (i): both happen.
For independent events the probability of both is the product.
P(A∩B)=P(A)P(B)
P(A∩B)=ab
Step 2 — Part (ii): neither happens.
"Not happening of both" here means neither A nor B happens.
P(Aˉ∩Bˉ)=P(Aˉ)P(Bˉ)
P(Aˉ∩Bˉ)=(1−a)(1−b)
Step 3 — Part (iii): A happens and B does not.
The events A and Bˉ are independent, so we multiply.
P(A∩Bˉ)=P(A)P(Bˉ)
P(A∩Bˉ)=a(1−b)
Step 4 — Part (iv): B happens and A does not.
The events Aˉ and B are independent, so we multiply.
P(Aˉ∩B)=P(Aˉ)P(B)
P(Aˉ∩B)=b(1−a)
Step 5 — Part (v): B does not happen.
This is the complement of B.
P(Bˉ)=1−b
Therefore, (i) ab, (ii) (1−a)(1−b), (iii) a(1−b), (iv) b(1−a), (v) 1−b.