Random Variables & Distributions

AP Statistics guide to random variables: discrete and continuous distributions, expected value, variance, binomial, geometric, and normal distributions.

# Random Variables & Distributions — AP Statistics

Random variables assign numerical values to outcomes. Understanding their distributions, expected values, and standard deviations is essential for AP Statistics inference.

Key Concepts

Discrete Random Variables

  • Takes countable values with assigned probabilities.
  • Probability distribution: P(X=x)P(X = x) for each value; P(xi)=1\sum P(x_i) = 1.

Expected Value and Variance

E(X)=μX=xiP(xi)E(X) = \mu_X = \sum x_i P(x_i) Var(X)=σX2=(xiμ)2P(xi)\text{Var}(X) = \sigma_X^2 = \sum (x_i - \mu)^2 P(x_i) σX=Var(X)\sigma_X = \sqrt{\text{Var}(X)}

Linear Transformations

  • E(aX+b)=aE(X)+bE(aX + b) = aE(X) + b
  • Var(aX+b)=a2Var(X)\text{Var}(aX + b) = a^2 \text{Var}(X)

Combining Random Variables

  • E(X±Y)=E(X)±E(Y)E(X \pm Y) = E(X) \pm E(Y)
  • If independent: Var(X±Y)=Var(X)+Var(Y)\text{Var}(X \pm Y) = \text{Var}(X) + \text{Var}(Y) (always add!)

Binomial Distribution

XBinomial(n,p)X \sim \text{Binomial}(n, p): number of successes in nn independent trials. P(X=k)=(nk)pk(1p)nkP(X = k) = \binom{n}{k}p^k(1-p)^{n-k} μ=np,σ=np(1p)\mu = np, \quad \sigma = \sqrt{np(1-p)}

Geometric Distribution

XGeometric(p)X \sim \text{Geometric}(p): number of trials until first success. P(X=k)=(1p)k1pP(X = k) = (1-p)^{k-1}p μ=1/p,σ=(1p)/p2\mu = 1/p, \quad \sigma = \sqrt{(1-p)/p^2}

Normal Distribution

XN(μ,σ)X \sim N(\mu, \sigma).

z-score: z=xμσz = \frac{x - \mu}{\sigma}

68-95-99.7 Rule:

  • 68% within 1σ, 95% within 2σ, 99.7% within 3σ.

Worked Example

Problem: A fair coin is flipped 10 times. Find P(X=7)P(X = 7) where XX is the number of heads.

Solution: P(X=7)=(107)(0.5)7(0.5)3=120(0.5)10=120/10240.117P(X = 7) = \binom{10}{7}(0.5)^7(0.5)^3 = 120 \cdot (0.5)^{10} = 120/1024 \approx 0.117

Practice Questions

  1. 1. XX has mean 5 and SD 2. Find the mean and SD of Y=3X+1Y = 3X + 1.

    E(Y)=3(5)+1=16E(Y) = 3(5)+1 = 16. SD(Y)=3(2)=6SD(Y) = 3(2) = 6.

    2. The probability of success is 0.2. What is the expected number of trials until first success?

    E(X)=1/p=1/0.2=5E(X) = 1/p = 1/0.2 = 5.

    3. A test score is normally distributed with μ=70\mu = 70, σ=10\sigma = 10. What percent score above 90?

    z=(9070)/10=2z = (90-70)/10 = 2. About 2.5% score above (from the 68-95-99.7 rule).

Want to check your answers and get step-by-step solutions?

Get it on Google PlayDownload on the App Store

Summary

  • Expected value: weighted average of outcomes.
  • Variance of independent sums: always add variances.
  • Binomial: fixed nn trials, binary outcomes, μ=np\mu = np.
  • Geometric: trials until first success, μ=1/p\mu = 1/p.
  • Normal: use z-scores and the 68-95-99.7 rule.

Ready to Ace Your AP STATISTICS statistics?

Get instant step-by-step solutions to any problem. Snap a photo and learn with Tutor AI — your personal exam prep companion.

Get it on Google PlayDownload on the App Store