Combination formula on dice and bit errors

Click For Summary
SUMMARY

The discussion focuses on the application of the combination formula nCr in the context of bit errors and dice outcomes. Specifically, it clarifies how to calculate the probability of a single bit error in a four-bit word using the formula 4C1, resulting in four combinations. Additionally, it explores the calculation of rolling a single '2' with three three-sided dice, where the correct probability is determined to be 12/27 rather than 3/27. The key takeaway is that while the combination formula applies, the interpretation of unique positions for bit errors and outcomes in dice rolls is crucial for accurate probability calculations.

PREREQUISITES
  • Understanding of the combination formula nCr
  • Basic probability concepts
  • Familiarity with binary representation of data
  • Knowledge of rolling dice and calculating outcomes
NEXT STEPS
  • Study the application of the combination formula in different probability scenarios
  • Learn about permutations and their differences from combinations
  • Explore advanced probability techniques for error analysis in digital communications
  • Investigate the principles of combinatorial probability in games of chance
USEFUL FOR

Mathematicians, computer scientists, data analysts, and anyone interested in probability theory and its applications in error detection and gaming scenarios.

FrankJ777
Messages
140
Reaction score
6
When the learning combination formula the formula nCr is usually derived using a deck of cards. There are n=52 different card. If you choose r number of cards, each is different so you basically start with n!/(n-r)! , then because the order is unimportant multiply by 1/r!. This explanation is pretty straight forward. What I'm having trouble wrapping my head around is how the formula is applied to bit errors where there seems to be repeats and order does matter. For example if I want to find the probability of having one bit error in a four bit word I start by finding the number of possible ways there are of having single bit error in the word.
Where 'o' represents a correct bit and 'E' represents an error, here are the possible ways to have words with a single bit error:
oooE ooEo ooEo Eooo
Counting the ways and using the formula 4C1 i find there are 4 combinations. This works also for 2,3, and 4 errors, but I don't understand why the combination formula applies, as it seems that order does matter, and there does seem to be repeats. Should I look at the situation as each bit error position is unique like each card in a deck is unique, so that when I "choose" r bit errors I'm actually choosing the bit position to be in error.

Also for the situation with something like dice. It seems I should be able to extend the same concept as above. Let's say I have three, three sided dice. If I want to calculate the odds of rolling a single '2'. Should I use the combination formula to find how many ways there are of rolling a single '2'? If I tabulate the possible ways of rolling the dice and count the ways having a single '2' in the outcome I count 12 ways (underlined). But if I use 3C1 I of course get 3 as the number of combinations of outcomes that produce a single 2. It seems obvious that the probability of rolling a single '2' is 12/27 and not 3/27, but what method should I use find the possible ways of getting a single '2' in this situation. It seems that I'm just extending the concept of how I used nCr to find the possible ways of having a single bit in error.

\begin{matrix} 111& \underline{112} & 113 \\ \underline{121}& 122& \underline{123}\\ 131& \underline{132} & 133 \\ \underline{211}& 212 & \underline{213} \\ 221& 222& 223\\ \underline{231}& 232 & \underline{233} \\ 311& \underline{312} & 313 \\ \underline{321}& 322& \underline{323}\\ 331& \underline{332} & 333 \\ & & \end{matrix}
 
Last edited:
Physics news on Phys.org
"Bit order" does not correspond to "order of drawing cards".
"Bit order" is equivalent to "all 52 cards are different" (imagine 52 bits, each bit is like a card) and "the order of cards drawn" does not matter corresponds to "if we pick two bits at random to have an error, it does not matter which one we pick first".
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 31 ·
2
Replies
31
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 41 ·
2
Replies
41
Views
6K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K