Discrete Random Variables
Probability distributions for discrete variables
Discrete Random Variables
What is a Random Variable?
Random Variable: Variable whose value is determined by outcome of random process
Notation: Usually capital letters (X, Y, Z)
Discrete Random Variable: Takes on countable set of values (often integers)
Examples:
- X = number of heads in 3 coin flips (X can be 0, 1, 2, or 3)
- Y = number of students absent (Y can be 0, 1, 2, ...)
- Z = sum when rolling two dice (Z can be 2, 3, ..., 12)
Probability Distribution
Probability Distribution: Lists all possible values and their probabilities
Requirements:
- Each probability between 0 and 1: 0 ≤ P(X = x) ≤ 1
- Probabilities sum to 1: ΣP(X = x) = 1
Example: Flip coin 2 times, X = number of heads
| X | P(X = x) | |---|----------| | 0 | 0.25 | | 1 | 0.50 | | 2 | 0.25 |
Sum: 0.25 + 0.50 + 0.25 = 1 ✓
Mean of Discrete Random Variable
Mean (Expected Value): or E(X)
Formula:
Interpretation: Long-run average if process repeated many times
Example: X = number of heads in 2 flips
Interpretation: On average, expect 1 head in 2 flips
Note: Mean doesn't have to be possible value! (E.g., average family has 2.3 children)
Variance and Standard Deviation
Variance: or Var(X)
Formula:
Alternative (easier calculation):
Standard Deviation:
Example: X = heads in 2 flips (μ_X = 1)
Alternative calculation:
Linear Transformations
If Y = a + bX:
Note: Adding constant shifts mean but doesn't change spread. Multiplying affects both.
Example: X = quiz score (0-10), μ_X = 7, σ_X = 2 Convert to percentage: Y = 10X
Example: Temperature conversion F = 32 + 1.8C If μ_C = 20°C, σ_C = 5°C:
Combining Independent Random Variables
If X and Y are independent:
Sum: Z = X + Y
Difference: W = X - Y (variances always add!)
Example: X = score on test 1 (μ = 80, σ = 10) Y = score on test 2 (μ = 75, σ = 12) Total = X + Y
Key: Standard deviations don't add; variances do!
Expected Value Applications
Fair game: E(winnings) = 0
Example: Pay 5 if roll 6, $0 otherwise.
Fair game!
Expected profit/loss:
Example: Lottery ticket costs 1,000,000, probability 1/1,000,000
Expect to lose $1 per ticket on average
Probability Histogram
Visual representation of probability distribution
- X-axis: Values of X
- Y-axis: Probabilities
- Height of bar = P(X = x)
- Bars don't touch (discrete)
Properties:
- Area of bar = probability
- Total area = 1
Common Notation
P(X = 3): Probability X equals 3
P(X ≤ 3): Probability X is at most 3 (cumulative)
P(X < 3): Probability X is less than 3
P(2 ≤ X ≤ 5): Probability X is between 2 and 5 inclusive
For discrete variables: P(X ≤ 3) includes P(X = 3)
Cumulative Distribution Function (CDF)
CDF: P(X ≤ x)
Sum probabilities up to and including x
Example: X has distribution in earlier example
P(X ≤ 1) = P(X = 0) + P(X = 1) = 0.25 + 0.50 = 0.75
Common Discrete Distributions
Binomial: Fixed trials, success/failure, constant probability
Geometric: Trials until first success
Poisson: Count of events in interval
(Each has its own topic with specific formulas!)
Common Mistakes
❌ Forgetting probabilities must sum to 1
❌ Confusing E(X) with most likely value
❌ Adding standard deviations instead of variances
❌ Forgetting absolute value for σ_Y when Y = a + bX
❌ Using variance formula when independence doesn't hold
Practice Strategy
- List: All possible values
- Find: Probability for each value
- Verify: Probabilities sum to 1
- Calculate: μ and σ using formulas
- Interpret: What do mean and SD tell us?
Quick Reference
Mean:
Variance:
Linear Transform: Y = a + bX gives μ_Y = a + bμ_X, σ_Y = |b|σ_X
Sum/Difference: μ adds/subtracts, variances always add
Remember: Mean is long-run average. Standard deviation measures variability. For sums/differences of independent variables, variances add!
📚 Practice Problems
No example problems available yet.
Practice with Flashcards
Review key concepts with our flashcard system
Browse All Topics
Explore other calculus topics