Statistics · real student question

Fifty percent of consumers prefer to buy electronics online. You randomly select 8 consumers. Find the probability that the number who prefer to buy online is (a) exactly five, (b) more than five, and (c) at most five.

Question

Fifty percent of consumers prefer to purchase electronics online. You randomly select 88 consumers. Find the probability that the number of consumers who prefer to purchase electronics online is (a) exactly five, (b) more than five, and (c) at most five. Round to three decimal places.

Step-by-step solution

  1. Identify the distribution. Eight independent consumers, each either preferring online or not, with a fixed probability p=0.5p = 0.5: this is binomial with n=8n = 8, p=0.5p = 0.5. The probability of exactly kk successes is

    P(k)=(8k)(0.5)k(0.5)8k=(8k)1256P(k) = \binom{8}{k}(0.5)^k(0.5)^{8-k} = \binom{8}{k}\frac{1}{256}

    Because p=0.5p = 0.5, the powers collapse to the single constant 128=1256\tfrac{1}{2^8} = \tfrac{1}{256}, so the whole problem reduces to counting.

  2. (a) Exactly five. (85)=8!5!3!=56\binom{8}{5} = \dfrac{8!}{5!\,3!} = 56, so

    P(5)=56256=0.218750.219P(5) = \frac{56}{256} = 0.21875 \approx 0.219

  3. (b) More than five. "More than five" means 66, 77 or 88, so add three terms. (86)=28\binom{8}{6} = 28, (87)=8\binom{8}{7} = 8, (88)=1\binom{8}{8} = 1:

    P(X>5)=28+8+1256=37256=0.1445310.145P(X > 5) = \frac{28 + 8 + 1}{256} = \frac{37}{256} = 0.144531 \approx 0.145

    Note that X>5X > 5 excludes 55 — including it by mistake would add 0.2190.219.

  4. (c) At most five, via the complement. "At most five" means X5X \le 5, which is everything except X>5X > 5:

    P(X5)=1P(X>5)=137256=219256=0.8554690.855P(X \le 5) = 1 - P(X > 5) = 1 - \frac{37}{256} = \frac{219}{256} = 0.855469 \approx 0.855

    This is far quicker than summing the six terms k=0,,5k = 0,\ldots,5.

  5. Check that the pieces are consistent. Summing all 282^8 outcomes: (80)++(88)=256\binom{8}{0}+\cdots+\binom{8}{8} = 256, so the probabilities total exactly 11 ✓. Also P(X5)+P(X>5)=219256+37256=1P(X \le 5) + P(X > 5) = \tfrac{219}{256} + \tfrac{37}{256} = 1 ✓, and 219256\tfrac{219}{256} was confirmed by directly summing 1+8+28+56+70+56=2191+8+28+56+70+56 = 219.

  6. Sanity-check the shape. With p=0.5p = 0.5 the distribution is symmetric about the mean np=4np = 4, so P(5)P(5) should equal P(3)P(3): indeed (83)=56\binom{8}{3} = 56 as well ✓. And since more than half the mass sits at or below 44, a value of 0.8550.855 for P(X5)P(X \le 5) is exactly the right size.

Answer

P(5)=0.219,P(X>5)=0.145,P(X5)=0.855P(5) = 0.219,\quad P(X>5) = 0.145,\quad P(X\le 5) = 0.855

Need to solve a different problem like this? Open the solver →