PROBABILITY AND SOLID GEOMETRY CHECKS

Checking a combined success count through separate trial blocks

Rebuild the probability of a combined success count by listing the pairs of block counts that add up to it, multiplying within each pair and adding across pairs.

Splitting four trials into two blocks

Imagine four trials arranged as two blocks of two, such as two rounds of two coin flips, or two shifts that each test two units. You want the probability of exactly one success overall. Instead of treating all four trials as a single experiment, you can ask which pairs of block counts add up to one. Block one can contribute zero and block two one, or the other way around. Those two pairs cannot happen together, because each block has only one final count, so their probabilities add. This page uses that decomposition as a cross-check. The case-by-case total from two small binomial calculations should land on the same number as one binomial calculation with four trials, and the calculators below let you confirm it.

The two cases that make exactly one success

With a fair trial probability of 0.5 and two trials per block, the Binomial Probability Calculator gives a probability of 0.25 for zero successes in a block (n = 2, k = 0) and 0.5 for one success (n = 2, k = 1). The first case pairs zero in block one with one in block two, so it contributes 0.25 times 0.5, which is 0.125. The second case swaps the blocks and contributes another 0.125. The total is 0.25. Running n = 4, k = 1, p = 0.5 gives 0.25 directly, which is the number of ways to place one success among four positions (4) divided by the 16 equally likely patterns. Both routes describe the same event, so agreement is a real test rather than a coincidence.

Multiply inside a case, add across cases

The two operations in this method have different jobs. Multiplication belongs inside a case because the blocks are independent: the chance that block one shows a given count and block two shows another is the product of the two block probabilities. Addition belongs across cases because the cases are mutually exclusive ways of reaching the same total. A common slip is to add inside a case or to multiply across cases, which produces numbers that are too large or too small. A quick sanity check is to list every pair of counts, compute all the products, and confirm that they sum to 1. For two blocks of two fair trials there are nine pairs, and their products add to 1 exactly as the four-trial model requires.

Blocks of different sizes: three trials and two

Blocks do not need equal sizes. Take a block of three fair trials and a block of two, five trials in all, and ask for exactly two combined successes. The pairs are (0, 2), (1, 1) and (2, 0). The block of three has probability 0.125 for zero successes, 0.375 for one and 0.375 for two. The block of two has 0.25 for zero, 0.5 for one and 0.25 for two. The products are 0.125 times 0.25, which is 0.03125, then 0.375 times 0.5, which is 0.1875, and finally 0.375 times 0.25, which is 0.09375. They add to 0.3125. A single binomial with n = 5, k = 2 and p = 0.5 gives the same 0.3125, the count 10 divided by 32 patterns.

A biased trial: probability 0.2 in both blocks

The decomposition is not limited to fair trials. Keep two blocks of two trials but let each trial succeed with probability 0.2. A block then has probability 0.64 for zero successes (0.8 squared) and 0.32 for one success (2 times 0.2 times 0.8). For exactly one combined success, the two cases each contribute 0.64 times 0.32, which is 0.2048, and the sum is 0.4096. A four-trial binomial with p = 0.2 and k = 1 gives 4 times 0.2 times 0.8 cubed, which is also 0.4096. Here the individual patterns are no longer equally likely, so a pattern-counting argument would fail, but the block-by-block product and the binomial formula still agree.

Why both blocks must share one trial probability

The match with a single four-trial binomial depends on every trial having the same success probability. Suppose block one used 0.5 and block two used 0.3. The case-by-case calculation is still valid, because it only needs each block to be internally binomial and independent of the other. However, the combined count would no longer follow a binomial distribution with any single p, so the four-trial shortcut would not exist. Treat the shortcut as available only when you can justify one common probability. If the probabilities differ, keep the case sum, or move to a model built for unequal probabilities. The check on this page therefore tests two assumptions at once: independence between blocks and equality of the trial probability.

Independence between blocks

Multiplying block probabilities assumes the outcome of one block says nothing about the other. That is reasonable for separate coin tosses or properly randomized draws. It is much weaker for shifts that share a machine, patients who share a clinic or survey responses collected through the same link. When the blocks are linked, the probability of a pair of counts is not the product of the two block probabilities, and the case sum will give the wrong total. The calculators here cannot detect that problem, because they compute from the numbers you enter. Whether independence is reasonable is a judgment about how the data were generated, and the examples on this page simply assume it.

Counting cases when the target total grows

The number of cases grows with the target. For two blocks of two trials, exactly zero combined successes has one case, exactly one has two, exactly two has three, exactly three has two and exactly four has one. At two combined successes the cases are (0, 2), (1, 1) and (2, 0), contributing 0.0625, 0.25 and 0.0625 at p = 0.5, which add to 0.375. That equals the n = 4, k = 2 result and the six patterns out of sixteen. Listing cases by hand is practical for small blocks. For many blocks or large counts the list becomes long, which is the point at which a single binomial over the pooled trials, or a convolution done by software, saves effort.

Using the mismatch as a debugging signal

If you run this reconciliation on a real model and the two totals disagree, the difference usually points to one of a few causes. The trial counts may not add up, for instance n = 3 and n = 2 entered when the combined model used n = 6. The success definition may differ between blocks. A probability may have been typed as a percentage, so 20 was entered instead of 0.2. Or the blocks may not really be independent. Start by checking that the block sizes sum to the combined n, then confirm that all p values match. Rounding is rarely the cause when you carry at least four decimals, so do not dismiss a visible gap as noise. Fix the cause, then rerun both routes.

Reproduce the checks

One block, zero successes

Open the Binomial Probability Calculator and enter:

Number of trials
2
Successes / event count
0
Success probability
0.5

Expected output:

Pmf

0.25

This pairs with one success in the other block.

One block, one success

Open the Binomial Probability Calculator and enter:

Number of trials
2
Successes / event count
1
Success probability
0.5

Expected output:

Pmf

0.5

The two mutually exclusive case products are equal.

Combined control

Open the Binomial Probability Calculator and enter:

Number of trials
4
Successes / event count
1
Success probability
0.5

Expected output:

Pmf

0.25

The case sum matches the combined model.

References and implementation scope

The examples describe the behavior of the linked Computandum tools. A successful local check does not establish that another application accepts the same format or applies the same limits.

Sources

Related tasks