Binomial distribution

Math · Stats & Probability

Question 1 of 10

0

    Suppose X ~ B(6, 0.4). Find the mean of X. Give your answer to 2 decimal places.

    Decimals (0.75 or 0,75), fractions (3/4) and mixed numbers (1 1/2) are accepted. Do not use thousands separators.

    How to type your answer
    • Fractions: 3/4. Mixed numbers: 1 1/2.
    • Decimals with a point or a comma: 0.75 or 0,75.
    • Negative numbers start with a minus: -3/4.
    • Percentages need the % sign: 75%.

    Stuck? Read the explanation

    Unlocks at a streak of 5 correct answers in a row.

    Print a free worksheet (PDF)

    Embed this practice on your site or class page

    Paste this HTML into your page. Students practise right there; it is free and needs no account.

    Binomial distribution explained

    A binomial situation has a fixed number of independent trials nn, each with two outcomes (success or failure) and a constant probability of success pp. If XX counts the successes, we write X ~ B(n, p), and:

    P(X=r)=(nr)pr(1−p)n−r,r=0,1,…,nP(X = r) = \binom{n}{r} p^r (1 - p)^{n - r}, \qquad r = 0, 1, \dots, n

    The term (nr)\binom{n}{r} counts the ways of choosing which rr trials succeed. The term pr(1−p)n−rp^r(1 - p)^{n - r} is the probability of one particular sequence with rr successes. The mean is npnp and the variance is np(1−p)np(1 - p).

    Check that the trials are independent and that pp stays the same each time. For a question asking for "at least one" success, use P(X≥1)=1−P(X=0)P(X \ge 1) = 1 - P(X = 0), which is usually quicker. A calculator's binomial functions handle larger values of nn. Binomial probabilities for every value of rr can be shown as a table or bar chart. These probabilities always add up to 1, which gives a quick check on your working.

    Worked example

    A biased coin has P(heads)=0.3P(\text{heads}) = 0.3. It is tossed 55 times. Find P(X=2)P(X = 2), where XX is the number of heads, and the mean number of heads.

    1. (52)=10\dbinom{5}{2} = 10.
    2. P(X=2)=10×0.32×0.73=10×0.09×0.343=0.3087P(X = 2) = 10 \times 0.3^2 \times 0.7^3 = 10 \times 0.09 \times 0.343 = 0.3087.
    3. The mean is np=5×0.3=1.5np = 5 \times 0.3 = 1.5 heads.

    What you will practise

    New numbers every time you practise. Levels: Easy, Medium, Hard. Each answer is followed by a worked explanation.

    Example questions

    • Easy

      Suppose X ~ B(8, 0.6). Find P(X = 2). Give your answer to 4 decimal places.

    • Medium

      A player takes 13 shots at goal. Each shot scores with probability 0.25, independently. Let X be the number of goals scored. Find P(X ≤ 7). Give your answer to 4 decimal places.

    • Hard

      Suppose X ~ B(8, 0.25). Find the probability that X is at least 1, P(X ≥ 1). Give your answer to 4 decimal places.