3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

math help: probability

i need some help with my math homework.....yeah yeah its probably really easy for most of you but im kinda stuck though. 

example of what im working on would be:

drawing a 6 from a deck of cards.
or
drawing 2 cards that are all 2 from a deck of cards.

an explination on how to do these would be very helpfull, thanks.

14 answers
sort by: active | newest | oldest
Feb 6, 2011. 4:15 PMkelseymh says:
A normal deck contains 52 cards, divided into four suits, each numbered from one (ace) to 13 (king).

1) Drawing a 6: there are four sixes in the deck, one per suit. So the chance of drawing any one of them is just 4 in 52 (= 1/13).

2) Drawing a pair of twos: For the first card, the probability is the same as in (1). For the second card, you now have 51 cards, of which 3 are two's, so the chance of drawing any of them is just 3/51. When you want the chances of a "compound event" (like this), you multiply the probabilities of each event separately. So the chances of drawing a pair of two's is 4/52 * 3/51. I leave the arithmetic to you.

Now, here's a question to see if you've understood. Suppose you're playing poker, solitaire (so you are the only person getting cards). What are the chances of being dealt of royal flush (10, J, Q, K, A, all the same suit)?

Please, let the original author answer before anyone else does!
Feb 6, 2011. 9:03 PMkelseymh says:
Drawing three queens: 4/52 * 3/51 * 2/50 = 1/13 * 1/17 * 1/25 = 1/5525 which is exactly what you got. It's the same logic as drawing a pair of twos.

Notice that these odds are much smaller (by a factor of 13) than what you might read in a poker book. The reason is that the odds for poker (except for the special case of a royal flush) do not specify the first card.

For example, let's take your example and generalize: what are the odds of drawing three of a kind with three cards? The first card is "free" -- it doesn't matter what card you get. The second card has to match the first, so that is 3/51 (=1/17), and the third card has to match the second, so that is 2/50 (=1/25). The total probability is 1*1/17*1/25 = 1/425.

Now, let's take the case of a real 5-card poker hand. What are the odds of being dealt three-of-a-kind? Here it gets more complicated, because you're asking for three cards out of five to match, but you don't care which three (first, second, third; third, fourth, fifth; or first, second, and fourth; doesn't matter).

So what you do is you say, let's take the odds for the first three cards, which 1/425 (see above). The last two cards are free (they contribute factors of 1). Then you can work out the different hand arrangements, and that multiplies the odds for a single deal (approximately!).

How many ways can you pull three cards of out of a set of five? The answer is C(5,3), often spoken as "five choose three", and equal (in this case) to 5! / [3! (5-3)!] = 10. So there are ten different arrangements for any given three-of-a-kind hand, and hence the overall odds are 10/425 = 1/42.5 (or 2:95).

But this is only an approximation! If you think about it, as you deal the cards, the denominators used for the three-of-a-kind calculation above are different (e.g., 3/49 instead of 3/51). It also gets more interesting if multiple hands are being dealt. Working through the exact math is more complicated, but not impossible. There's a very nice Wikipedia article about it.
Feb 7, 2011. 11:52 AMArano says:
do you know bernoulli? those treelike structures are wonderfull for more complex probability problems
Feb 7, 2011. 12:36 PMkelseymh says:
Bernoulli? Which one? Do you mean Pascal's Triangle?
Feb 7, 2011. 3:02 PMArano says:
hell i wasn't aware of that number of bernoullis, but i was reffering to jacob bernoulli , after who the bernoulli process/trial/distribution is named... the tree like structure i meant seems to be connected to someone else i think now(was something else than pascals triangle)... i will look that up again in the math book i had at school
Feb 6, 2011. 9:06 PMkelseymh says:
On a side note (for other people reading this) -- thank you very much for writing your questions as you did! You made it clear that this was homework, but you also made it clear that you wanted to understand how to get the answer, not just "do my work for me." Great approach!

Probability is very counter-intuitive (our brains have not evolved to do this correclty). I hope that I've been able to explain the way to solve these sorts of problems.
Feb 9, 2011. 2:01 PMkelseymh says:
You're most welcome! I hope my explanations were clear.
Feb 7, 2011. 12:06 PMorksecurity says:
Well-written questions draw well-written responses. Good going, everyone!
Feb 7, 2011. 9:43 AMNatNoBrains says:
Well, there are 52 cards in a pack.
A six appears in a pack 4 times.
So the probability would be 4/25 or 6.25%
Hope this helps,
NM

P.S. Also, you can cut down the sums like this; if ther probability was 6/10, you can cut it down by halving both numbers so it would be 3/5. This can be done so you divide both numbers by 2, 3, 4 etc.
Feb 7, 2011. 11:29 AMKiteman says:
Typo: 4/52 = 7.69%

Feb 7, 2011. 11:31 AMNatNoBrains says:
Sory, I wrote 25 instead of 52!

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!