Expected value and variance for discrete random variables - Discrete Math
- Let be a discrete random variable with and . Define . What is ? Answer: Since Z = (X-4)/3, we have E(Z) = E[(X-4)/3] = (E(X)-4)/3 = 0. Also, Var(Z) = Var[(X-4)/3] = (1/9)Var(X) = 9/9 = 1. Using the relationship E(Z²) = Var(Z) + [E(Z)]² = 1 + 0² = 1. Choice B incorrectly calculates E(Z) = 4/3 and uses E(Z²) = Var(Z) + [E(Z)]² = 1 + 0 = 4/3. Choice C uses E(Z²) = E[(X-4)²]/9 = (Var(X) + [E(X-4)]²)/9 = (9+16)/9. Choice D incorrectly computes E(Z²) = [E(X)]²/9 = 16/9.
- Consider a discrete random variable with for . What is ? Answer: When you encounter expected value problems with geometric-like distributions, you need to apply the definition and use series manipulation techniques. For this problem, we have . To evaluate this series, we can use the fact that for , we have . Setting , we get: So answer D is correct. Answer A () likely comes from incorrectly thinking this behaves like a standard geometric distribution starting at , or from computational errors in the series evaluation. Answer B () might result from incorrectly applying the geometric series formula or making arithmetic mistakes when manipulating the fractions. Answer C () could come from confusing this with a different probability distribution or incorrectly computing the derivative-based series formula. The key strategy here is recognizing that expected value calculations for infinite discrete distributions often require knowledge of standard power series formulas. Memorize the formula for – it appears frequently in probability problems involving geometric-type distributions.
- Let be a discrete random variable with and . Define . What is ? Answer: Since Z = (X-4)/3, we have E[Z] = E[(X-4)/3] = (E[X]-4)/3 = (4-4)/3 = 0. Also, Var(Z) = Var((X-4)/3) = (1/9)Var(X) = (1/9)(9) = 1. Using the formula E[Z²] = Var(Z) + (E[Z])², we get E[Z²] = 1 + 0² = 1. Choice A results from incorrectly thinking E[Z²] = E[Z]. Choice C comes from confusing E[Z²] with the original standard deviation. Choice D comes from using the original mean instead of applying the transformation properly.
- A game involves rolling two fair dice. Let be the random variable representing the absolute difference between the two dice values. If the expected value of is , what is the probability that ? Answer: The absolute difference X can take values 0, 1, 2, 3, 4, 5. For X = 2, we need |a - b| = 2 where a and b are the dice values. This occurs when (a,b) ∈ {(1,3), (3,1), (2,4), (4,2), (3,5), (5,3), (4,6), (6,4)}. That's 8 outcomes out of 36 possible, so P(X = 2) = 8/36 = 2/9. Choice A (1/4 = 9/36) represents a common counting error. Choice C (1/6 = 6/36) might result from undercounting pairs. Choice D (5/18 = 10/36) represents overcounting.
- Two discrete random variables and are independent with , , , and . Let . What is ? Answer: Since A and B are independent, Var(Q) = Var(2A - B + 5) = Var(2A) + Var(-B) + Var(5) = 4·Var(A) + 1·Var(B) + 0 = 4(2) + 4 = 12. The constant 5 doesn't affect variance. Choice A uses Var(A) only. Choice B uses 2·Var(A) + Var(B) = 4 + 4. Choice D uses (2)²·Var(A) + (2)²·Var(B) incorrectly.
- A fair six-sided die is rolled times. Let be the number of times a 6 appears. If is chosen so that , what is ? Answer: When you encounter a problem about counting successes in repeated independent trials, you're dealing with a binomial distribution. Here, rolling a 6 is a "success" with probability , and we're looking for the relationship between variance and expected value. For a binomial distribution with trials and success probability , the key formulas are: - Variance: - Expected value: Given that and , we can find : Solving: Therefore: Looking at the wrong answers: Choice A () gives you just the probability of rolling a 6 on one trial, not accounting for multiple rolls. Choice B () might result from incorrectly inverting the probability or misapplying the variance formula. Choice C () could come from approximating or making an error in the calculation steps. Study tip: For binomial distribution problems, always identify , , and the relationship , . When given one parameter, use these formulas to find the others systematically.
- Two independent random variables and have the same distribution with and . Let and . What is ? Answer: When you encounter questions about covariance with linear combinations of random variables, you need to use the fundamental properties of covariance and the given independence condition. To find where and , use the bilinearity property of covariance: Expanding this using covariance properties: Since and , and because and are independent, : Therefore, A) is correct. B) might arise from incorrectly computing without accounting for the zero covariance terms. C) could result from adding the variances as instead of subtracting them properly. D) might come from doubling the sum of variances, perhaps confusing this with calculations. Key takeaway: When dealing with covariance of linear combinations, always expand using bilinearity and remember that independent variables have zero covariance. The independence condition is crucial—don't overlook it when it's given in the problem setup.
- Two independent discrete random variables and have the same distribution with and . Let and . What is ? Answer: When you encounter problems involving covariance of linear combinations of random variables, the key is understanding how covariance distributes across sums and differences. This tests your grasp of fundamental covariance properties. To find , use the bilinearity property of covariance: This simplifies to: Since and , and because and are independent, : Choice A () likely comes from incorrectly thinking covariance equals one of the variances. Choice C () might result from adding the variances without considering the subtraction in . Choice D () could stem from multiplying the expected values incorrectly or confusing covariance with some other calculation. The correct answer is B. Study tip: Remember that for independent variables and , the covariance between and always equals . When they have equal variances, this difference is zero.
- A box contains 5 balls numbered 1, 2, 3, 4, 5. Two balls are drawn without replacement. Let be the sum of the numbers on the drawn balls. What is the variance of ? Answer: There are C(5,2) = 10 possible outcomes. The possible sums and their frequencies are: 3(1), 4(1), 5(2), 6(2), 7(2), 8(1), 9(1). So P(X=3) = P(X=4) = P(X=8) = P(X=9) = 1/10, and P(X=5) = P(X=6) = P(X=7) = 2/10 = 1/5. E(X) = (3+4+5×2+6×2+7×2+8+9)/10 = 60/10 = 6. E(X²) = (9+16+25×2+36×2+49×2+64+81)/10 = 390/10 = 39. Therefore Var(X) = E(X²) - [E(X)]² = 39 - 36 = 3. Choice A incorrectly calculates E(X²) = 36 + 9/4. Choice B uses the formula for sampling with replacement. Choice D incorrectly includes an extra term in the variance calculation.
- A discrete random variable has moment generating function for all real . What is ? Answer: From the MGF, T takes values 1, 2, 3, 4 each with probability 1/4. So E[T] = (1+2+3+4)/4 = 10/4 = 5/2. And E[T²] = (1+4+9+16)/4 = 30/4 = 15/2. Therefore, Var(T) = E[T²] - (E[T])² = 15/2 - (5/2)² = 15/2 - 25/4 = 30/4 - 25/4 = 5/4. Choice B is (E[T])²/4. Choice C is 6/4. Choice D is (5/2)².
- A biased coin has probability of landing heads. The coin is flipped until the first head appears. Let be the number of flips required. If and , what is the value of ? Answer: When you encounter a problem about flipping a coin until the first success, you're dealing with a geometric distribution. This distribution models the number of trials needed to achieve the first success, where each trial has the same probability of success. For a geometric distribution, the key formulas are: - Expected value: - Variance: Given that , you can find directly from the first formula: Let's verify this using the variance condition. With : ✓ This confirms answer C is correct. Looking at the wrong answers: A) would give , not 3. B) would give and , missing both conditions. D) would give , which is too small. Study tip: For geometric distribution problems, always start with the expected value formula to find quickly, then use the variance formula as verification. Remember that higher success probability means fewer trials needed on average.
- A discrete random variable takes values with probabilities respectively. What is the value of ? Answer: First, E(X) = (-2)(0.1) + (0)(0.4) + (1)(0.3) + (3)(0.2) = -0.2 + 0 + 0.3 + 0.6 = 0.7. Next, E(X²) = (-2)²(0.1) + (0)²(0.4) + (1)²(0.3) + (3)²(0.2) = 0.4 + 0 + 0.3 + 1.8 = 2.5. Therefore, E(X²) - 2E(X) + 1 = 2.5 - 2(0.7) + 1 = 2.5 - 1.4 + 1 = 2.1. Wait, let me recalculate: E(X²) - 2E(X) + 1 = 2.5 - 1.4 + 1 = 2.1. Actually, this equals Var(X) + [E(X) - 1]² = Var(X) + (0.7-1)² = 1.61 + 0.09 = 1.7. Let me verify: Var(X) = E(X²) - [E(X)]² = 2.5 - 0.49 = 2.01, so E(X²) - 2E(X) + 1 = 2.5 - 1.4 + 1 = 2.1. Actually, E(X²) - 2E(X) + 1 = Var(X) + [E(X)]² - 2E(X) + 1 = Var(X) + [E(X) - 1]² = 2.01 + (-0.3)² = 2.01 - 0.12 = 1.89. Choice A uses an incorrect calculation of E(X²) = 3.5. Choice B incorrectly calculates Var(X) = 2.25. Choice D uses E(X) = 0.9 incorrectly.
- Two discrete random variables and are independent with , , , and . If , what is ? Answer: When you encounter linear combinations of independent random variables, you need to apply the key properties of variance: variance scales quadratically with constants, and for independent variables, the variance of a sum equals the sum of variances. For , start by recognizing that constants don't affect variance, so the "+5" term disappears. You're left with . Since and are independent, . The crucial rule is that for any constant and random variable . Therefore: - - So , making B correct. Choice A (29) likely comes from incorrectly computing , mistakenly subtracting the constant. Choice C (25) suggests using , confusing expected values with variances. Choice D (39) might result from adding all given values: . Remember: for variance calculations with linear combinations, square the coefficients, ignore additive constants, and add variances when variables are independent (even with subtraction, since ).
- A biased coin is flipped 3 times. The probability of heads on each flip is . Let represent the number of times the coin shows the same face as the previous flip (so can range from 0 to 2). What is ? Answer: When you encounter problems about counting "consecutive events" or "runs" in probability, you need to carefully define what's being counted and consider all possible sequences. Here, counts matches between consecutive flips in a 3-flip sequence. With flips 1, 2, and 3, you can have matches between (1,2) and between (2,3), so ranges from 0 to 2. The key insight is to use indicator random variables: let if flips 1 and 2 match (0 otherwise), and if flips 2 and 3 match. Then . For any two consecutive flips, they match if both are heads or both are tails: - - - So , and by linearity of expectation, . Choice A (1.56) likely comes from incorrectly using , forgetting that only 2 pairs exist. Choice B (1.20) might result from using instead of properly calculating match probabilities. Choice C (1.44) could arise from miscalculating the match probability as and computing . Remember: when counting relationships between consecutive items in a sequence, you always have one fewer relationship than items. Use indicator variables and linearity of expectation to simplify complex counting problems.