Tutorial-4_Solution
Tutorial-4_Solution
Bernoulli Distribution
1. A fair coin is tossed. Let X be the random variable that takes the value 1 if heads occurs and 0
if tails occurs. What is the probability mass function of X?
Solution: P(X > 5) = 1 - P(X ≤ 5) = 1 - (e^(-2) * (2^0/0! + 2^1/1! + 2^2/2! + 2^3/3! + 2^4/4!
+ 2^5/5!)) ≈ 0.0527
Uniform Distribution (Continuous)
10. A bus is scheduled to arrive at a stop every 15 minutes. If you arrive at the stop at a random
time, what is the probability you'll wait less than 5 minutes?
Solution: P(1200 < X < 1400) = (1400 - 1200) / (1500 - 1000) = 200 / 500 = 0.4
12. A random number is chosen from the interval [0, 10]. What is the probability that it's greater
than 7?
Solution: This follows a binomial distribution with n = 15, p = 0.2 P(X ≥ 5) = 1 - P(X < 5) =
1 - [P(X = 0) + P(X = 1) + P(X = 2) + P(X = 3) + P(X = 4)] ≈ 1 - 0.8605 = 0.1395
15. A continuous uniform random variable X is distributed over the interval [a, b]. If P(X < 10) =
0.4 and P(X > 15) = 0.3, find the values of a and b.
Solution: Let's solve this step by step: 1) P(X < 10) = (10 - a) / (b - a) = 0.4 2) P(X > 15) = (b
- 15) / (b - a) = 0.3 3) From (2), we can say P(X < 15) = 1 - 0.3 = 0.7 4) (15 - a) / (b - a) = 0.7
5) From (1) and (4): (10 - a) / (b - a) = 0.4 (15 - a) / (b - a) = 0.7 6) Solving these equations: 15
- a = 1.75(10 - a) 15 - a = 17.5 - 1.75a 0.75a = 2.5 a = 3.33 7) Substituting back: (10 - 3.33) / (b
- 3.33) = 0.4 6.67 = 0.4b - 1.332 8.002 = 0.4b b = 20 Therefore, a ≈ 3.33 and b = 20.
16. A group of 100 people take a test. The scores are normally distributed with a mean of
70 and a standard deviation of 15. The top 10% of scorers are offered a scholarship.
What is the minimum score needed to qualify for the scholarship?
Solution: Let X be the test score. We need to find x such that P(X > x) = 0.10. This is
equivalent to finding x where P(X ≤ x) = 0.90. For a standard normal Z, this means
P(Z ≤ z) = 0.90. From the standard normal table, z ≈ 1.28. Now we can convert back
to X: (x - μ)/σ = 1.28, so x = 70 + (1.28 * 15) = 89.2. Therefore, a minimum score of
about 89.2 is needed to qualify.
17. In a Poisson process, events occur at an average rate of 3 per hour. What is the
probability that exactly 5 events occur in a 2-hour period, given that at least 2 events
occur?
Solution: This is the coupon collector's problem. Let X be the number of rolls needed.
E[X] = n * (1/1 + 1/2 + 1/3 + 1/4 + 1/5 + 1/6), where n = 6 (number of sides). E[X] = 6
* (1 + 1/2 + 1/3 + 1/4 + 1/5 + 1/6) ≈ 14.7 rolls.