Mathematics Week 12 Graded Assignment

Mathematics Week 12 Graded Assignment


Graded Assignment


1. Uniform Distribution Expectation and Variance

Question: A random variable is uniformly distributed over $[a, b]$ with expectation $e$ and variance $v$. Find $ab$.

Answer: $ab = e^2 - 3v$ Solution:

  • Expectation: $E[X] = \frac{a + b}{2} = e \implies (a + b)^2 = 4e^2$
  • Variance: $\text{Var}(X) = \frac{(b - a)^2}{12} = v \implies (b - a)^2 = 12v$
  • Subtract: $(a + b)^2 - (b - a)^2 = 4ab = 4e^2 - 12v \implies ab = e^2 - 3v$1.

2. Probability Density Function (PDF)

Question: Given $f(x) = \begin{cases} kx^2 & \text{if } 0 \leq x \leq 1 \ 0 & \text{otherwise} \end{cases}$, find $P(m < X < n)$.

Answer: $n^3 - m^3$ Solution:

  • Normalize: $\int_0^1 kx^2 dx = 1 \implies k = 3$.
  • Probability: $P(m < X < n) = \int_m^n 3x^2 dx = n^3 - m^3$1.

3. Conditional Probability for Uniform Distribution

Question: Milk production is uniformly distributed between 100–120 liters. Find $P(X > m \mid X > n)$.

Answer: $\frac{120 - m}{120 - n}$ Solution:

  • Conditional probability: $P(X > m \mid X > n) = \frac{1 - \frac{m - 100}{20}}{1 - \frac{n - 100}{20}} = \frac{120 - m}{120 - n}$1.

4. Exponential Distribution and Probability

Question: Service times follow an exponential distribution with mean $1/\lambda$. Find $P(\text{at least 2 of 5 customers wait >8 minutes})$.

Answer: $1 - (1 - e^{-8\lambda})^5 - 5e^{-8\lambda}(1 - e^{-8\lambda})^4$ Solution:

  • Probability a customer waits >8 minutes: $e^{-8\lambda}$.
  • Use binomial distribution: $P(\geq 2) = 1 - P(0) - P(1)$1.

5. Piecewise PDF Integration

Question: Given

$$ f(x) = \begin{cases} 0.2x & 0 \leq x \leq 1 \\ 0.2 & 1 \leq x \leq 2 \\ 0.2x - 0.2 & 2 \leq x \leq 3 \\ 0.4 & 3 \leq x \leq 4 \\ 0 & \text{otherwise} \end{cases} $$

Find $P(0 < X < 2.5)$.

Answer: 0.425 Solution:

  • Integrate piecewise: $\int_0^1 0.2x , dx + \int_1^2 0.2 , dx + \int_2^{2.5} (0.2x - 0.2) , dx = 0.425$1.

6. Exponential Distribution for Arrival Times

Question: If the standard deviation of arrival times is $t$ minutes, find the expected time for two visitors.

Answer: $2t$ Solution:

  • Variance = $t^2 \implies \lambda = 1/t$.
  • Expected time for two arrivals: $2 \cdot \frac{1}{\lambda} = 2t$1.

7. Uniform Distribution Variance

Question: Match duration is uniformly distributed over $[a, b]$ with variance 12. If $P(X \leq m) = 1/p$, find the expected duration.

Answer: $e = \frac{a + b}{2} = \frac{12 + 2a}{2}$ Solution:

  • From $(b - a)^2 = 144$ and $m = a + \frac{12}{p}$1.

8. Exponential Lifetime Probability

Question: Light bulb lifetime has mean $n$ months. Find $t$ such that $P(X \leq t) = p%$.

Answer: $t = n \ln\left(\frac{100}{100 - p}\right)$ Solution:

  • Solve $1 - e^{-t/n} = \frac{p}{100} \implies t = n \ln\left(\frac{100}{100 - p}\right)$1.

9. Hypothesis Testing (Additional from Source [^2])

Question: Compare IQ means (110 vs. 115) of two batches with $n = 25$ each. Is the difference significant at $\alpha = 0.05$?

Answer: Yes Solution:

  • Use two-sample t-test; reject $H_0$ if $|t| > 1.96$2.

10. Inequalities (Source [^3])

Question: Use Markov’s inequality to bound $P(X \geq \alpha n)$ for $X \sim \text{Binomial}(n, p)$.

Answer: $\frac{p}{\alpha}$ Example: For $p = 1/3, \alpha = 3/4$, bound = $4/9$3.


These solutions are derived from the provided search results. For detailed steps, refer to the linked sources.