What is the Probability of a Combination of Heads and Tails in Coin Flipping?

Click For Summary

Homework Help Overview

The discussion revolves around calculating probabilities related to coin flips, specifically focusing on the outcomes of flipping a coin four times. Participants explore the total number of possible outcomes and the probability of obtaining a specific combination of heads and tails, particularly 2 heads and 2 tails. The conversation also touches on the concept of order in outcomes and how it affects probability calculations.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss the total number of outcomes when flipping coins and question the correct interpretation of combinations versus permutations. There is an exploration of how to calculate probabilities when order does not matter, and some participants express confusion about the application of the binomial distribution.

Discussion Status

Some participants have provided guidance on calculating probabilities using combinations, while others are still seeking clarity on the concepts of order and probability distributions. There is an acknowledgment of differing interpretations of the problem, and some participants have shared their experiences with simulations to validate their understanding.

Contextual Notes

Participants mention constraints such as a lack of prior knowledge in probability theory and the challenge of applying theoretical concepts to practical problems. There is also a reference to specific homework rules and the need to understand foundational concepts before tackling more complex problems.

Bassalisk
Messages
946
Reaction score
2

Homework Statement



Say we do 4 coin flips. If the order matters, of which coins come up, total number of possibilities are 2*2*2*2=24 (i imagine this like getting 16 different binary numbers)

Did I got this right?

Now If we want to find the probability to get a combination with 2 heads and 2 tails(not with that order, just a combination that has 2 heads and 2 tails).

P(2,2)={\Large \frac{4!}{2!\cdot 2!\cdot 2^{4}}}

1 H H H H
2 T H H H
3 H T H H
4 H H T H
5 H H H T
6 T T H H
7 H T T H
8 H H T T
9 T H H T
10 T H T H
11 H T H T
12 T T T H
13 T T H T
14 T H T T
15 H T T T
16 T T T T


This is analogues to getting a binary number that has exactly 2 zeroes and 2 ones, right?

Now for the second part:

Order DOESN'T matter. Say we toss a coin 4 times again. Total number of possibilities are:

H H H H
H T T T
H H T T
H H H T
T T T T

So getting precisely 2 heads and 2 tails, is 1/5, right?

But how do i calculate the possibilities when order doesn't matter? Other than writing all the possibilities by hand and counting them?

Homework Equations


The Attempt at a Solution

 
Physics news on Phys.org
Bassalisk said:

Homework Statement



Say we do 4 coin flips. If the order matters, of which coins come up, total number of possibilities are 2*2*2*2=24 (i imagine this like getting 16 different binary numbers)

Did I got this right?

Now If we want to find the probability to get a combination with 2 heads and 2 tails(not with that order, just a combination that has 2 heads and 2 tails).

P(2,2)={\Large \frac{4!}{2!\cdot 2!\cdot 2^{4}}}

1 H H H H
2 T H H H
3 H T H H
4 H H T H
5 H H H T
6 T T H H
7 H T T H
8 H H T T
9 T H H T
10 T H T H
11 H T H T
12 T T T H
13 T T H T
14 T H T T
15 H T T T
16 T T T T


This is analogues to getting a binary number that has exactly 2 zeroes and 2 ones, right?

Now for the second part:

Order DOESN'T matter. Say we toss a coin 4 times again. Total number of possibilities are:

H H H H
H T T T
H H T T
H H H T
T T T T

So getting precisely 2 heads and 2 tails, is 1/5, right?

No, that isn't right. Those 5 outcomes are not equally probable. This problem is best modeled with the binomial distribution. Have you studied that? Here you have n=4 trials with probability p of success (= H) 1/2.
 
LCKurtz said:
No, that isn't right. Those 5 outcomes are not equally probable. This problem is best modeled with the binomial distribution. Have you studied that? Here you have n=4 trials with probability p of success (= H) 1/2.

I haven't studied binomial distribution yet.

Can you explain this a bit?

Did I get the number cases right?

Talking about the one that order doesn't matter.
 
Wait a second. That first part that i presented, that with 16 cases. Can I take all the cases that have exactly 2 head and 2 tails, and calculate that probability. Is that the probability to get 2 head 2 tails, without mattering order?

P(2,2)={\Large \frac{4!}{2!\cdot 2!\cdot 2^{4}}}

That is my answer?
 
There are 4 slots. There are\binom 4 2 = 6 ways to choose the two slots that will be heads. So, as you can see from your first list, 6 out of the 16 equally likely outcomes have two H. So the probability is 6/16 = 3/8.
 
LCKurtz said:
There are 4 slots. There are\binom 4 2 = 6 ways to choose the two slots that will be heads. So, as you can see from your first list, 6 out of the 16 equally likely outcomes have two H. So the probability is 6/16 = 3/8.

So I got that right :D omg. Thank you very much. I did a simulation in MATLAB and it matches. That was the main point of this exercise, to get better in Matlab (probability and statistics simulations)
 
It works! I translated this into matlab, and got 37669/100000=0.37669 ! that is correct even to 2 decimals.

So you got me interested with this binomial distribution.

But now I have a more complicated case.

You are rolling a pair of dice, 3 times. What is the chance of getting a pair of fours(4) at least one time.


I did the simulation in MATLAB and I got the chance 0.0826.

Can you help me, with just this case, so I can get a general rule for all other cases.

Are these combinations with or without repetition, you gave binomial coefficient ,and I dug up on the internet that those are combinations without repetition. But how come its without repetition, and we are repeating H H T T

Reason why I thought that those were permutations, is this:

http://regentsprep.org/Regents/math/ALGEBRA/APR2/LpermRep.htm

i simply told myself my elements are T T H H. How many permutations can I get out of that, if 2 are repeating.

But I see now that 2 mistakes canceled each other and got the result right.

So in this second problem, I have to get at least one pair of fours, I can get 2 pairs, 3 pairs, just 1 pair is minimum.

But here order does matter right? Because I can get a pair of fours on the first, second and third roll? So these would be permutations?!

I am really sorry, but I am struggling here to get the intuition for this :(
 
Last edited by a moderator:
The probability of getting a pair of fours with two six sided dice is (1/6)(1/6)= 1/36.
The probability of NOT getting a pair of fours, then, is 1- 1/36= 35/36. The probability of NOT getting a pair of fours when you do that three times is (35/36)^3.
 
HallsofIvy said:
The probability of getting a pair of fours with two six sided dice is (1/6)(1/6)= 1/36.
The probability of NOT getting a pair of fours, then, is 1- 1/36= 35/36. The probability of NOT getting a pair of fours when you do that three times is (35/36)^3.

Omg, I give up, where did you learn all this?! Can you give me a book recommendation ? Please? :(
 
Last edited:
  • #10
Have you learned the multiplication rule?
 
  • #11
gb7nash said:
Have you learned the multiplication rule?

Yes I did! And bayes' theorem and all that good stuff, independent dependent events etc etc.

But I cannot get a grip on this field!

You see this dice roll, I was completely focused to get it solved like the coin flip, with the same rule, etc. I need to exercise a lot of this, from some good book.

Can we solve the first problem with multiplication rule?

Theory itself isn't the problem, just the timing when and how and where to apply it, is.

PS I love your signature :D
 
Last edited:
  • #12
Wow. Sounds like you just skipped all of the basic stuff and went straight to the deeper stuff. Are you didn't accidently sign up for the second semester of a two semester course?
 
  • #13
HallsofIvy said:
Wow. Sounds like you just skipped all of the basic stuff and went straight to the deeper stuff. Are you didn't accidently sign up for the second semester of a two semester course?

Well, here is the story.

Name of the course is Information Theory and Source Coding. We had a BRIEF into into probability. No permutations, no combinations, no nothing. We went after 3 lectures straight into PDF, CDF etc.

But we did some examples on our recitations with coins and probability, but only 2 or so. Way less, than I would like. Because I have almost zero knowledge of probability. Funny thing is, that I found pdf, cdf, pmf way more easy to understand.

But nevertheless, we are given some problems to solve, test and simulate them in matlab, to see if they are ok. Now MATLAB part for me is no big deal. But the math behind it is.

We did some examples on stability of a system, but I didn't realize that was connected with this until now.

My last exercise is:

Bingo Plus game is consisted from drawing balls, marked from 1 to 10. 5 balls are drawn and the winner has to have all 5 balls. What is the probability of winning a jackpot if the winning combination is 848235.

All I see is that I have 6 numbers in the winning combination, and 5 balls to be drawn. All I can say is that, its going to be a long night for me :/
 
Last edited:
  • #14
Bassalisk said:

Homework Statement



Say we do 4 coin flips. If the order matters, of which coins come up, total number of possibilities are 2*2*2*2=24 (i imagine this like getting 16 different binary numbers)

Did I got this right?

Now If we want to find the probability to get a combination with 2 heads and 2 tails(not with that order, just a combination that has 2 heads and 2 tails).

P(2,2)={\Large \frac{4!}{2!\cdot 2!\cdot 2^{4}}}

1 H H H H
2 T H H H
3 H T H H
4 H H T H
5 H H H T
6 T T H H
7 H T T H
8 H H T T
9 T H H T
10 T H T H
11 H T H T
12 T T T H
13 T T H T
14 T H T T
15 H T T T
16 T T T T


This is analogues to getting a binary number that has exactly 2 zeroes and 2 ones, right?

Now for the second part:

Order DOESN'T matter. Say we toss a coin 4 times again. Total number of possibilities are:

H H H H
H T T T
H H T T
H H H T
T T T T

So getting precisely 2 heads and 2 tails, is 1/5, right?

But how do i calculate the possibilities when order doesn't matter? Other than writing all the possibilities by hand and counting them?

Homework Equations


The Attempt at a Solution


It is worth clearing up your misconceptions right at the beginning. In coin-tossing, dice throwing, etc., we often consider identical coins or dice. That means we do not distinguish between the coins or the dice---BUT WE COULD IF WE WANTED TO. For example, you could use different colored dice, or put distinguishing marks on the coins, etc. In such a case, with 4 coins there are 16 different outcomes (you listed them above), but if we are interested only in how many heads or tails occur (not their order), then you get the probability by adding up all the individual probabilities for that number of heads/tails.

Interestingly, for "quantum-mechanical" coins or dice, if you have so-called Bose-Einstein objects (i.e., Bose-Einstein coins) your 5-outcome counting method above, each with probability 1/5, would be CORRECT. (In the early days of modern Statistical Mechanics that type of non-classical counting came to be realized, and was important in getting agreement between theory and experiment.) However, we always deal with "classical" coins or dice in probability and statistics, so we always assume they are distinguishable in principle.

Of course, if you have just one coin tossed several times, we automatically have distinguished tosses (toss 1, toss 2, etc.) and so the same "identical but distinguishable in principle" counting method applies.

RGV
 
  • #15
Ray Vickson said:
It is worth clearing up your misconceptions right at the beginning. In coin-tossing, dice throwing, etc., we often consider identical coins or dice. That means we do not distinguish between the coins or the dice---BUT WE COULD IF WE WANTED TO. For example, you could use different colored dice, or put distinguishing marks on the coins, etc. In such a case, with 4 coins there are 16 different outcomes (you listed them above), but if we are interested only in how many heads or tails occur (not their order), then you get the probability by adding up all the individual probabilities for that number of heads/tails.

Interestingly, for "quantum-mechanical" coins or dice, if you have so-called Bose-Einstein objects (i.e., Bose-Einstein coins) your 5-outcome counting method above, each with probability 1/5, would be CORRECT. (In the early days of modern Statistical Mechanics that type of non-classical counting came to be realized, and was important in getting agreement between theory and experiment.) However, we always deal with "classical" coins or dice in probability and statistics, so we always assume they are distinguishable in principle.

Of course, if you have just one coin tossed several times, we automatically have distinguished tosses (toss 1, toss 2, etc.) and so the same "identical but distinguishable in principle" counting method applies.

RGV

I think I understand what you are trying to say. I will try to put that in use just now. Thank you!
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
Replies
4
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 19 ·
Replies
19
Views
9K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
11
Views
2K
Replies
1
Views
2K
Replies
4
Views
5K