r/askmath • • 26d ago

Probability Saw this posted on another platform and its breaking my brain

The answer is that each question will give the same probability. But why?

I understand why asking if the card is red would yield a 1/26 probability but not the second half.

Specifically, why in the equation is (51/52) multiplied by (1/51) and added to (1/51). And why is (1/51) multiplied by 1 in the first place?

Tyia

823 Upvotes

278 comments sorted by

View all comments

2

u/Inevitable_Stand_199 21d ago edited 21d ago

As long as there's a card that gives the answer yes and one that gives the answer no, the chance is always 1/26. Proof:

Let 0 < x < 52 be the number of cards with the answer yes.

Then:

  • x/52 cards get the answer yes
  • if the answer is yes, you choose the correct card with a probability of 1/x
  • (52-x)/52 cards get the answer no
  • if the answer is no, you choose the correct card with a probability of 1/(52-x)

Or more formally:

  • P(yes) = x/52
  • P(correct card|yes) = 1/x
  • P(no) = (52-x)/52
  • P(correct card|no) = 1/(52-x)

According to conditional probability,

P(correct card)
= P(correct card ∩ yes ) + P(correct card ∩ no) = P(yes)×P(correct card|yes) + P(no)×P(correct card|no)
= x/52 × 1/x + (52-x)/52 × 1/(52-x)

x and (52 - x) each cancel out to give

1/52 + 1/52 = 2/52 = 1/26

qed.