Solve it!

You've got two decks of cards. Each consists of numbers from 1 to 20. After you mixed all, you deal them out to two people. What's the probability that one person has at least one 1.

Other urls found in this thread:

en.wikipedia.org/wiki/Pigeonhole_principle
pastebin.com/MZ04Ecmt
pastebin.com/raMyk4mW
twitter.com/AnonBabble

>Do my homework hurrr durrr
What's in it for me?

2/40+1/39

No, it's not homework, I just want to know, if
66% is right or not.

Preparing for A-level btw

Explain, please.

the probability of the first person you deal to getting a 1 or the second given the first did not get a 1 is 1/20 (2 1s in the deck out of 40 cards)
^probability that someone gets one 1

the probability of the second person getting a 1 given the first person got a 1 is 1/39 (one 1 out of 39 cards left)
^probabilitynthey both get a 1

add them and that's the probability that at least one 1 shows up (assuming you only deal one card to each person, OP never specified)

thinking about it now I'm actually wrong
it's 1/39 + 2/40 + (1/39)*(1/20)

Alright

P(A or B) = P (A) + P (B) - P(AnB)
P(A or B) = 2/40 + 2/40 - P(A)*P(A/B)
P(A or B) = 4/40 - 2/40 *1/39
P(A or B) = 4/40 - 2/1560
P(A or B) = (156 - 2) / 1560
P(A or B) = 154 / 1560
P(A or B) = 0.0987179487
P(A or B) = ~0.10 or 10%

This is wrong, A and B could happen simultaneously thus P(AnB) =/= 0

P(only second 1 or only first 1 or both 1)
*all are mutually exclusive therefore
= P(only second 1) + P(only first 1) + P(first 1 and second 1)
= 1/39 (no replacement) + 2/40 + (1/39)*(2/40)

*P(first and second 1)= P(1|one 1)*P(first 1)
^ by rearrangement of the conditional probability formula

It's simpler of you think of
A = First person getting a 1
and
B = Second person getting a 1

While P(B/A) is the chance B gets a 1 *after* A has gotten one

B is dependent on A
Neither is mutually exclusive

Thus:

Looking closer, I wrote it backwards, with A being dependent on B but it's the same result if you consider A the second person and B the first.

P(only first 1) = P(first 1 and no second 1) = (2/40)*(38/39)

fuck,
1/39 + (2/40)*(38/39) + (1/39)*(2/40)

but it's also the probability of them both getting a 1 (at least one 1)

>but it's also the probability of them both getting a 1 (at least one 1)
Yes, the question is what's the probability that *at least* one of them gets a 1. This includes the possibility that both do.

B can't be 2/40 if there's no replacement but OP didn't specify
I assumed no replacement and you give one card to each person

Fuck you are right I got what you mean now.

It should be P(A or B) + P(A and B)

Fuck I'm done with this shit

wait fuck me,
P(only first 1) + P(only second 1) + P(first and second 1) = (2/40)*(38/39) + (38/40)*(2/39) + (2/40)*(1/39)

final answer

Alright alright my final answer
Previously I did not take into account card replacement and the chance of both happening

A = First person getting a 1
B = Second person getting a 1
B depends on A
Both are not mutually exclusive

So...
P(A or B) + P(A and B) =
P(A) + P(B) - P(AnB) + P(A) * P(B/A)
P(A) + P(B) - P(A) * P(B/A) + P(A) * P(B/A) =
P(A) + P(B) = 2/40 + 2/39 = (78+80) / 1560 = 0.1012820513
Or
10% probability lel

I'm not sure this is correct.
This guy seems to know his shit So if his answer and mine are the same you know that's it.

And if they are different... well... don't trust mine... I haven't done this shit in a while

100%
since you've mixed all of them and dealt them

Justified by en.wikipedia.org/wiki/Pigeonhole_principle

So if you've dealt all of the cards and the set contains two ones, you can guarantee that one of these people has a one

The cards are dealt, does at least one person have one 1?
Yes, 100%

Now, did you mean to ask what the probability of a 1 is for each card dealt as they are dealt?
his appears to be the approach being taken by many posters.

pastebin.com/MZ04Ecmt

With N=100000 I get ~0.755.

Don't know, if I understood the question right.

depends who dealt the cards

What now?

There is no way the chance is 75%
Put aside the math and think logically
It's a deck with 40 cards of which only 2 are winners. For the first guy alone that's a 5% chance of winning. For the second guy the chance is higher or lower depending on whether the first guy won, but only marginally different.

Without using math you can tell 75% is just wrong.

So you think that is wrong?

Yes.

pastebin.com/raMyk4mW

Even if I'm paranoid and mixing the cards, I get the same result.

But why?