Hypergeometric Distribution Calculator

Hypergeometric distribution calculator with steps

–

Step-by-step solution

    Building the answer

    Each bar adds one term to the running total; the dashed line is the final answer.

    How hypergeometric distribution calculator with steps works?

    The hypergeometric distribution calculator with steps solves P(X = k) or a cumulative tail and prints every line of the working: the parameters, the support check, each binomial coefficient, the product, the division and the tail sum.

    1. IdentifyN, K, n and k from the problem, for example 52, 13, 5 and 2.
    2. Check the supportk must lie between max(0, n + K − N) and min(n, K).
    3. Count favourableC(K, k) × C(N − K, n − k) = 78 × 9,139 = 712,842.
    4. Count allC(N, n) = C(52, 5) = 2,598,960.
    5. Divide and add712,842 / 2,598,960 = 0.274280; tails add one term per x.
    How the hypergeometric distribution calculator with steps works

    Hypergeometric distribution formula with steps

    Each step evaluates P(X = k) = C(K, k) · C(N − K, n − k) / C(N, n), with every combination written as a short product: C(a, b) = a! / (b! · (a − b)!).

    C(13, 2)=13 × 12÷2 × 1=78
    C(39, 3) = (39 × 38 × 37) / (3 × 2 × 1) = 54,834 / 6 = 9,139
    • 13 × 12The top b terms of a!, after cancelling (a − b)! = 11!
    • 2 × 1b! = 2!
    • 78Ways to choose 2 hearts from 13
    Checking the steps on a TI-84 Plus

    Hypergeometric distribution calculator with steps FAQ

    How do you solve a hypergeometric distribution problem step by step?

    Identify N, K, n and k, check the support, compute C(K, k) and C(N − K, n − k), multiply them, and divide by C(N, n). For "at least" or "at most" questions, repeat for every k in the tail and add the results.

    What is the probability of at least 1 ace in 5 cards?

    The probability of at least 1 ace in a 5-card hand is 0.341158, computed as 1 − C(48, 5)/C(52, 5) = 1 − 1,712,304/2,598,960.

    How do you calculate combinations by hand?

    Cancel the larger factorial and multiply the remaining top terms, then divide by b!. C(39, 3) = (39 × 38 × 37)/(3 × 2 × 1) = 54,834/6 = 9,139.

    When should I use the complement rule?

    Use the complement rule when the opposite tail has fewer terms. P(X ≥ 1) needs 5 terms for a 5-card hand, but 1 − P(X = 0) needs 1 term.