PROBABILITY AND SOLID GEOMETRY CHECKS

Reconstructing a without-replacement probability with conditional steps

Draw twice without replacement and the second probability uses the shrunken population, which you can check against a hypergeometric calculation.

Why the second draw changes

When you draw an item and keep it out of the population, the next draw comes from a smaller group with different counts. If five items include two marked ones and the first draw is marked, the remaining four items include one marked item. The probability of a second marked draw is therefore one quarter, not two fifths. The joint probability of two marked draws is the product of the first probability and this updated conditional one. This page checks that product against the Hypergeometric Calculator, which counts all equally likely two-item selections directly.

The step-by-step product

The first draw is marked with probability 2 over 5, which is 0.4. After a marked draw, the population has four items with one marked, so the second marked probability is 1 over 4, or 0.25. The Joint Probability Calculator multiplies the conditional probability 0.25 by the marginal 0.4 and returns 0.1. Two marked items in two draws therefore has probability 0.1. The order of the product is a convention, since joint = conditional times b, where b is the probability of the conditioning event. Here the conditioning event is the first marked draw, and its probability is 0.4.

The counting view

The Hypergeometric Calculator uses PMF = C(K, k) C(N minus K, n minus k) over C(N, n). With N = 5, K = 2, n = 2 and k = 2, the numerator is C(2, 2) times C(3, 0), which is 1, and the denominator is C(5, 2), which is 10. The probability is 0.1, matching the step-by-step product. The denominator counts all ten equally likely pairs of items, and exactly one of them consists of both marked items. Two routes, sequential updating and direct counting, agree, which confirms that the conditional step used the correct remaining counts.

What changes with replacement

If each drawn item went back before the next draw, the population would stay at five items with two marked, and the second probability would stay at 0.4. The joint probability would be 0.4 times 0.4, which is 0.16. The Joint Probability Calculator with conditional 0.4 and b 0.4 returns that value. The difference between 0.16 and 0.1 shows how much the replacement assumption matters in a small population. In a large population the two models give nearly the same answer, because removing one item hardly changes the fractions.

A deck of cards

Take two cards from a standard 52-card deck without replacement and ask for two aces, as an illustration. The first card is an ace with probability 4 over 52, about 0.076923. The second is an ace with probability 3 over 51, about 0.058824. The product is about 0.004525. The Hypergeometric Calculator with N = 52, K = 4, n = 2 and k = 2 gives C(4, 2) over C(52, 2), which is 6 over 1,326, or the same 0.004525. With replacement, the answer would be (4 over 52) squared, about 0.005917, a difference of more than 30 percent.

Three draws from ten

Consider a bag of 10 balls with 4 red, and draw three without replacement. The probability that all three are red is 4 over 10 times 3 over 9 times 2 over 8, which is 24 over 720, or 0.03333. The hypergeometric formula with N = 10, K = 4, n = 3 and k = 3 gives C(4, 3) over C(10, 3), which is 4 over 120, also 0.03333. Each step lowers both the marked count and the population count by one. The sequential method scales to more draws by adding factors, while the counting method needs only one formula.

Keeping both counts straight

The most common slip is to reduce only the population and forget the marked count, or the reverse. After a marked draw, both go down by one: 4 over 5 becomes 3 over 4, and in the first example the marked count goes from 2 to 1 and the population from 5 to 4. After an unmarked draw, only the population decreases, and the marked count stays at 2 out of 4. That would give a second marked probability of 0.5. Write the two counts after each step before dividing. Entering a conditional like 0.4 after a marked draw means the population was not updated at all.

When the finite-population model is wrong

The calculation assumes every item is equally likely to be drawn and every selection of the stated size is equally likely. A biased draw, such as a sample taken from the top of a stack, breaks that. It also treats the items as distinct and the population as fixed and known. The hypergeometric control counts two marked items in a two-item selection, which is the same event as the sequential product. It does not infer how a real sample was collected, and it should not be used to estimate unknown population counts without extra statistical methods. The finite-population correction explains the size of the gap with replacement: when the population is large relative to the sample, the two models agree closely, and when the sample is a large share of the population they diverge. Drawing 2 from 5 is a 40 percent sample, so 0.1 and 0.16 differ a lot. Drawing 2 from 5,000 with 2,000 marked would give about 0.15995 without replacement against 0.16 with replacement.

Reading the result

A joint probability of 0.1 means that, in a long run of identical experiments, about one in ten would produce two marked items. It is a statement about the model, not a forecast for a particular draw. If the model is changed, for example by adding a third marked item to the population, every number changes. With N = 5, K = 3 and the same two draws, the answer is 3 over 5 times 2 over 4, which is 0.3, and C(3, 2) over C(5, 2) gives 0.3 too. A common misreading is to treat the number as the chance for one particular draw order. The event here is that both selected items are marked, whichever was picked first, and the sequential product already accounts for that, because with two marked items to be drawn, only one ordering pattern of marked draws exists. For events like exactly one marked item in two draws, two orderings contribute, and the step-by-step method must add them, as in 2 over 5 times 3 over 4 plus 3 over 5 times 2 over 4, which is 0.6.

Reproduce the checks

Conditional-step product

Open the Joint Probability Calculator and enter:

Probability of A given B
0.25
Probability of B
0.4

Expected output:

Probability of A and B

0.1

The quarter probability applies after the first marked draw.

Without-replacement count control

Open the Hypergeometric Calculator and enter:

Population size
5
Successes in population
2
Number of trials
2
Successes / event count
2

Expected output:

Pmf

0.1

The finite-population model gives the same event probability.

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