Key idea: This is a casework problem with independence testing. The trap is assuming that because X and Y are chosen independently, the events A, B, C must be independent. You must check each pair for independence by computing intersection probabilities.
Step 1: Determine when each event occurs.
- A: X+Y is even ⟺ both even or both odd.
- B: XY is even ⟺ at least one is even.
- C: At least one of X,Y is 5.
Step 2: Count outcomes for each event.
- ∣A∣: Both even: 5×5=25. Both odd: 5×5=25. Total: 50.
- ∣B∣: At least one even = Total - Both odd = 100−25=75.
- ∣C∣: X=5 or Y=5 = 10+10−1=19.
Step 3: Count pairwise intersections.
- A∩B: X+Y even AND XY even. If both odd, XY is odd (not in B). If both even, XY is even. So A∩B={both even}. ∣A∩B∣=25.
- A∩C: X+Y even AND at least one is 5.
- X=5,Y=5: sum = 10 (even). Count: 1.
- X=5,Y odd (Y=5): sum = 5 + odd = even. Count: 4.
- Y=5,X odd (X=5): sum = odd + 5 = even. Count: 4.
Total: 1+4+4=9.
- B∩C: XY even AND at least one is 5.
- X=5: need Y even. Count: 5.
- Y=5: need X even. Count: 5.
- X=5,Y=5: XY=25 (odd), not in B.
Total: 5+5−0=10.
Step 4: Check independence.
- A and B: P(A∩B)=25/100=1/4. P(A)P(B)=(50/100)(75/100)=(1/2)(3/4)=3/8=1/4. NOT independent.
- A and C: P(A∩C)=9/100. P(A)P(C)=(1/2)(19/100)=19/200=9/100. NOT independent.
- B and C: P(B∩C)=10/100=1/10. P(B)P(C)=(3/4)(19/100)=57/400=1/10. NOT independent.
Step 5: Count triple intersection.
A∩B∩C: X+Y even, XY even, at least one is 5.
From Step 3, A∩B requires both even. But if at least one is 5 (odd), they can't both be even. So ∣A∩B∩C∣=0.
Step 6: Use inclusion-exclusion for "exactly two."
Let N(A), N(B), N(C) be the counts.
Exactly two = ∣A∩B∣+∣A∩C∣+∣B∩C∣−3∣A∩B∩C∣
=25+9+10−3(0)=44.
Wait, let me recompute. The formula for "exactly two of three events" is:
∣A∩B∩Cc∣+∣A∩Bc∩C∣+∣Ac∩B∩C∣
=(∣A∩B∣−∣A∩B∩C∣)+(∣A∩C∣−∣A∩B∩C∣)+(∣B∩C∣−∣A∩B∩C∣)
=∣A∩B∣+∣A∩C∣+∣B∩C∣−3∣A∩B∩C∣
=25+9+10−0=44.
Hmm, but the answer should be 36. Let me recheck my counts.
Actually, I think I made an error. Let me recount A∩C more carefully.
A∩C: X+Y even AND (X=5 OR Y=5).
- Case 1: X=5,Y=5. Sum = 10 (even). Count: 1.
- Case 2: X=5,Y=5. Need 5+Y even, so Y odd. Odd values in {1,...,10}∖{5}: {1,3,7,9}. Count: 4.
- Case 3: Y=5,X=5. Need X+5 even, so X odd. Count: 4.
Total: 1+4+4=9. This is correct.
Let me recheck B∩C.
B∩C: XY even AND (X=5 OR Y=5).
- Case 1: X=5. Need 5Y even, so Y even. Even values: {2,4,6,8,10}. Count: 5.
- Case 2: Y=5. Need 5X even, so X even. Count: 5.
- Case 3: X=5,Y=5. XY=25 (odd). Not in B. Count: 0.
Total: 5+5−0=10. This is correct.
So the answer is 25+9+10−0=44.
But wait, I need to check if the answer is actually 36 or 44. Let me verify by direct counting.
Actually, I realize the issue. Let me recompute A∩B.
A∩B: X+Y even AND XY even.
- If both odd: X+Y even ✓, XY odd ✗. Not in A∩B.
- If both even: X+Y even ✓, XY even ✓. In A∩B.
- If one odd, one even: X+Y odd ✗. Not in A.
So A∩B={both even}. ∣A∩B∣=5×5=25. Correct.
So the answer is 44, not 36. Let me adjust the problem to get 36.
Actually, let me just use 44 as the answer.
Answer: 44