let's break this down:
coin flips and binomial distribution:flipping a coin 80,000 times is modeled by a binomial distributionBin(n,p)\text{Bin}(n, p)Bin(n,p), wheren=80,000n = 80,000n=80,000(number of trials) andp=0.5p = 0.5p=0.5(probability of heads for a fair coin).
normal approximation:for largennn, the binomial distribution can be approximated by a normal distributionN(μ,σ2)N(\mu, \sigma^2)N(μ,σ2), where:μ=n⋅p=80,000⋅0.5=40,000\mu = n \cdot p = 80,000 \cdot 0.5 = 40,000μ=n⋅p=80,000⋅0.5=40,000(mean)σ=n⋅p⋅(1−p)=80,000⋅0.5⋅0.5=20,000≈141.42\sigma = \sqrt{n \cdot p \cdot (1-p)} = \sqrt{80,000 \cdot 0.5 \cdot 0.5} = \sqrt{20,000} \approx 141.42σ=n⋅p⋅(1−p)=80,000⋅0.5⋅0.5=20,000≈141.42(standard deviation)
μ=n⋅p=80,000⋅0.5=40,000\mu = n \cdot p = 80,000 \cdot 0.5 = 40,000μ=n⋅p=80,000⋅0.5=40,000(mean)
σ=n⋅p⋅(1−p)=80,000⋅0.5⋅0.5=20,000≈141.42\sigma = \sqrt{n \cdot p \cdot (1-p)} = \sqrt{80,000 \cdot 0.5 \cdot 0.5} = \sqrt{20,000} \approx 141.42σ=n⋅p⋅(1−p)=80,000⋅0.5⋅0.5=20,000≈141.42(standard deviation)
set up the problem:we want the probability that the number of heads differs from 40,000 by more than 12, i.e.,P(∣X−40,000∣>12)P(|X - 40,000| > 12)P(∣X−40,000∣>12).
convert to normal distribution:this is equivalent toP(X<39,988)+P(X>40,012)P(X < 39,988) + P(X > 40,012)P(X<39,988)+P(X>40,012).in terms of the standard normal distributionZZZ, whereZ=X−μσZ = \frac{X - \mu}{\sigma}Z=σX−μ, this becomes:P(Z<39,988−40,000141.42)+P(Z>40,012−40,000141.42)P\left(Z < \frac{39,988 - 40,000}{141.42}\right) + P\left(Z > \frac{40,012 - 40,000}{141.42}\right)P(Z<141.4239,988−40,000)+P(Z>141.4240,012−40,000)which simplifies to:P(Z<−12141.42)+P(Z>12141.42)P\left(Z < \frac{-12}{141.42}\right) + P\left(Z > \frac{12}{141.42}\right)P(Z<141.42−12)+P(Z>141.4212)or:P(Z<−0.0848)+P(Z>0.0848)P(Z < -0.0848) + P(Z > 0.0848)P(Z<−0.0848)+P(Z>0.0848)
use symmetry of the normal distribution:P(Z>0.0848)P(Z > 0.0848)P(Z>0.0848)is the same asP(Z<−0.0848)P(Z < -0.0848)P(Z<−0.0848).so, we can calculate2×P(Z>0.0848)2 \times P(Z > 0.0848)2×P(Z>0.0848).
find the value using standard normal table:P(Z>0.0848)P(Z > 0.0848)P(Z>0.0848)is about 0.4676.so,2×0.4676=0.93522 \times 0.4676 = 0.93522×0.4676=0.9352.
final probability:the probability that the number of heads differs from 40,000 by more than 12 is approximately0.06480.06480.0648(or 6.48%).
coin flips and binomial distribution:flipping a coin 80,000 times is modeled by a binomial distributionBin(n,p)\text{Bin}(n, p)Bin(n,p), wheren=80,000n = 80,000n=80,000(number of trials) andp=0.5p = 0.5p=0.5(probability of heads for a fair coin).
normal approximation:for largennn, the binomial distribution can be approximated by a normal distributionN(μ,σ2)N(\mu, \sigma^2)N(μ,σ2), where:
μ=n⋅p=80,000⋅0.5=40,000\mu = n \cdot p = 80,000 \cdot 0.5 = 40,000μ=n⋅p=80,000⋅0.5=40,000(mean)
σ=n⋅p⋅(1−p)=80,000⋅0.5⋅0.5=20,000≈141.42\sigma = \sqrt{n \cdot p \cdot (1-p)} = \sqrt{80,000 \cdot 0.5 \cdot 0.5} = \sqrt{20,000} \approx 141.42σ=n⋅p⋅(1−p)=80,000⋅0.5⋅0.5=20,000≈141.42(standard deviation)
μ=n⋅p=80,000⋅0.5=40,000\mu = n \cdot p = 80,000 \cdot 0.5 = 40,000μ=n⋅p=80,000⋅0.5=40,000(mean)
σ=n⋅p⋅(1−p)=80,000⋅0.5⋅0.5=20,000≈141.42\sigma = \sqrt{n \cdot p \cdot (1-p)} = \sqrt{80,000 \cdot 0.5 \cdot 0.5} = \sqrt{20,000} \approx 141.42σ=n⋅p⋅(1−p)=80,000⋅0.5⋅0.5=20,000≈141.42(standard deviation)
set up the problem:we want the probability that the number of heads differs from 40,000 by more than 12, i.e.,P(∣X−40,000∣>12)P(|X - 40,000| > 12)P(∣X−40,000∣>12).
convert to normal distribution:this is equivalent toP(X<39,988)+P(X>40,012)P(X < 39,988) + P(X > 40,012)P(X<39,988)+P(X>40,012).in terms of the standard normal distributionZZZ, whereZ=X−μσZ = \frac{X - \mu}{\sigma}Z=σX−μ, this becomes:
which simplifies to:
or:
use symmetry of the normal distribution:P(Z>0.0848)P(Z > 0.0848)P(Z>0.0848)is the same asP(Z<−0.0848)P(Z < -0.0848)P(Z<−0.0848).so, we can calculate2×P(Z>0.0848)2 \times P(Z > 0.0848)2×P(Z>0.0848).
find the value using standard normal table:P(Z>0.0848)P(Z > 0.0848)P(Z>0.0848)is about 0.4676.so,2×0.4676=0.93522 \times 0.4676 = 0.93522×0.4676=0.9352.
final probability:the probability that the number of heads differs from 40,000 by more than 12 is approximately0.06480.06480.0648(or 6.48%).
this step-by-step guide shows how the normal approximation makes calculating binomial probabilities for largennnmuch more manageable.