Fair vs. biased coin probability

  • Thread starter Thread starter magnifik
  • Start date Start date
  • Tags Tags
    Probability
Click For Summary
SUMMARY

The discussion focuses on calculating probabilities related to a 3-bit character generated by tossing a fair coin. For part (a), the probability that the first bit is 1 is established as P(A) = 4/8 or 1/2, confirming that both counting outcomes and probability multiplication yield the same result. In part (b), the probability that both the first and third bits are 1 is calculated as P(B) = 1/4 using both outcome counting and independent event multiplication methods. Part (c) addresses the scenario of a biased coin, suggesting that without specific bias values, the probabilities should be expressed algebraically as 'p' for heads and '1-p' for tails.

PREREQUISITES
  • Understanding of basic probability concepts
  • Familiarity with independent events in probability
  • Knowledge of combinatorial outcomes (e.g., 3-bit combinations)
  • Ability to express probabilities algebraically
NEXT STEPS
  • Study the concept of independent events in probability theory
  • Learn about combinatorial probability and its applications
  • Explore the implications of biased coin probabilities in statistical analysis
  • Investigate algebraic expressions for probability in uncertain scenarios
USEFUL FOR

Students studying probability theory, educators teaching statistics, and anyone interested in understanding the principles of probability with fair and biased coins.

magnifik
Messages
350
Reaction score
0

Homework Statement


A 3-bit character consists of 0's and 1's. The values of the bits are determined by tosses of a fair coin.
(a) Find the probability that the first bit is 1.
(b) Find the probability that the first bit AND the third bit are 1.
(b) Find the probability that the first bit is 1 if the coin is biased.

The Attempt at a Solution


(a) There are 8 possible combinations of bits. Of these 8, 4 of them have 1s as the first digit so I get P(A) = 4/8. I am confused though.. is this the right logic? I thought about it another way where P(A) = 1/2 because the coin can land on heads or tails, so there is an equal chance that it would be either 0 or 1. I know both methods of thinking give the same answer, but I'm not sure which is most correct.

(b) Again, since I'm unsure about the method I'm not sure what the correct way to go about this is. I get P(B) = 2/8 from looking at this set {000, 001, 010, 011, 100, 101, 110, 111}. I get P(B) = (1/2)*(1/2) = 1/4 if I do it based on coin flip (I don't think it's mutually exclusive because they could both be 0 or both be 1, but I might be incorrect). Again both are equal.

(c) I don't know where to start on this one because the question doesn't state any values for the bias. Is there a general rule for this?

Any help would be appreciated! Thanks.
 
Last edited:
Physics news on Phys.org
For part (a), the both methods are correct. Your second method is correct because each coin toss is 50-50, and its outcome is completely independent from the other coin tosses. That having been said, your first method is also correct it must be true that 50% of the total possible outcomes of 3 consecutive coin tosses must have 1 as the outcome of the first one, in order to be consistent with the above. The way to think about it is as follows: there are 2 possible outcomes for the first coin toss, and then for each of those two possibilities, there are two possible outcomes for the second coin toss. As a result, there are 2*2 = 22 possible outcomes of two consecutive coin tosses. Two of these four outcomes have a 1 as the result of the first toss, and two of them have a 0.

Similarly, for each of the possible outcomes of the two coin tosses, there are two possible outcomes for the third one. As a result, are 2*2*2 = 23 possible outcomes. Four of these eight started with a 1 and the other four started with a 0. So you can see how everything is consistent.

For (b), since all 8 outcomes are equally likely, just count up the number of outcomes in which the the first AND third bits are 1, and divide this by the total number of outcomes. EDIT: but your second method is fine as well. Since your coin tosses are independent events, you can multiply their probabilities so that

P(1st toss = 1 AND 3rd toss = 1)

= P(1st toss = 1)*P(2nd toss = 1 OR 0, don't care which)*P(3rd toss = 1)

= (1/2)*(1)*(1/2) = 1/4

For (c), the principle is the same, except the tosses are no longer 50-50.
 
Ok, thanks. Say for the case of the union of each bit being a 1. Is the following correct...

There are 2^3 = 8 possible outcomes. Seven out of eight of these have a 1 in either the first, second, or third position (or any combination of the three as that is how I understand a union to be). So is it right to say that the probability is 7/8?
 
magnifik said:
Ok, thanks. Say for the case of the union of each bit being a 1. Is the following correct...

There are 2^3 = 8 possible outcomes. Seven out of eight of these have a 1 in either the first, second, or third position (or any combination of the three as that is how I understand a union to be). So is it right to say that the probability is 7/8?

Yeah, if you want the probability that the first bit is 1 OR the second bit is 1 OR the third bit is 1 and it is NOT an exclusive OR (i.e. any two could be 1, or all three of them), then again just counting the number of desired outcomes and dividing by the number of possible outcomes is a completely valid method. In fact, this is always a valid method IF every outcome is equally likely.

Another simple way to do this would be to compute the probability of the complement (opposite) outcome and subtract it from 1 so that:

P(1st =1 OR 2nd = 1 OR 3rd = 1) = 1 - P(none are 1) = 1 - 1/8 = 7/8.

By the way, I edited my previous post, not sure if you caught it.
 
What if value of bias is unknown (as in this case)?
I'm not sure what values to use instead of 1/2
 
magnifik said:
What if value of bias is unknown (as in this case)?
I'm not sure what values to use instead of 1/2

If they didn't give you values for the probability of flipping a 1 or a 0, they must just want an algebraic answer. Call the probability of a 1, 'p', and the probability of a 0, '1-p' or something like that.
 

Similar threads

Replies
1
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 21 ·
Replies
21
Views
3K
Replies
9
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 25 ·
Replies
25
Views
5K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K