# Probability of exactly one event occurring [duplicate]

Two ways. 1-P(both)-P(neither), or $$P(A \cap B')+P(A' \cap B)$$