Module 5: Additional Practice Problems

Interactive Guided Walkthrough

Problem Statement

The probability density function of \(X\), the lifetime of a certain type of electronic device (measured in hours), is given by:

$$ f(x) = \begin{cases} \frac{10}{x^2}, & x > 10 \\ 0, & x \le 10 \end{cases} $$

Part (a) & (b): PDF & CDF Explorer

Drag the slider to change the threshold \(x_0\).

Calculated Probabilities:

\(P(X > x_0) = \int_{x_0}^{\infty} \frac{10}{x^2} dx = \) 0.500

\(F(x_0) = P(X \le x_0) = 1 - \frac{10}{x_0} = \) 0.500

Part (c): Binomial Application

Consider 6 devices. We want to find the probability that at least 3 function for at least 15 hours.

Step 1: Probability for a single device

Threshold: 15 hours

\(p = P(X \ge 15) = 1 - F(15) = 1 - (1 - \frac{10}{15}) = \frac{2}{3} \approx 0.667\)

Step 2: Binomial Distribution \(Y \sim \text{Bin}(6, 2/3)\)

Find \(P(Y \ge 3)\)

Total Probability \(P(Y \ge 3) = \) 0.8999

(Sum of bars for k=3, 4, 5, 6)

Problem Statement

Compute \(E[X]\) for the following density functions.

Part (a): Symmetry

$$ f(x) = \frac{3}{4}(1-x^2), \quad -1 < x < 1 $$

The expectation is \( E[X] = \int_{-1}^{1} x f(x) \, dx \).

Observation:

The function \(f(x)\) (blue) is even (symmetric about y-axis).

The integrand \(x f(x)\) (red) is odd (symmetric about origin).

Result: \( E[X] = 0 \)

Part (b): Divergence

$$ f(x) = \frac{5}{x^2}, \quad x > 5 $$

The expectation is \( E[X] = \int_{5}^{\infty} x \cdot \frac{5}{x^2} \, dx = \int_{5}^{\infty} \frac{5}{x} \, dx \).

Value of Integral \(\int_{5}^{M} \frac{5}{x} dx\):

14.98

As \(M \to \infty\), the area grows logarithmically without bound.

Result: \( E[X] = \infty \)

Question 3: Finding Parameters

The density function of \(X\) is given by \( f(x) = a + bx^2 \) for \( 0 \le x \le 1 \).

Given that \( E[X] = 3/5 \), find \(a\) and \(b\).

Interactive Solver

Adjust \(a\) and \(b\) to satisfy the conditions.

Condition 1: Area \(\int f(x)dx\) 0.00 (Target: 1.00)
Condition 2: \(E[X]\) 0.00 (Target: 0.60)

Visualization

Question 4: Transformation of Variables

If \(X \sim \text{Uniform}(0, 1)\), find the PDF of \(Y = e^X\).

Simulation

Generate random samples from \(X\) and transform them to \(Y\).

Theoretical PDF of Y:

$$ f_Y(y) = \frac{1}{y}, \quad 1 < y < e $$

Distribution of Y

Question 5: Uniform Distribution (Bus Arrival)

You arrive at a bus stop at 10 a.m., knowing that the bus will arrive at some time uniformly distributed between 10 and 10:30.

(a) What is the probability that you will have to wait longer than 10 minutes?

(b) If, at 10:15, the bus has not yet arrived, what is the probability that you will have to wait at least an additional 10 minutes?

Part (a): Wait > 10 mins

Probability that you wait longer than 10 minutes.

Total Interval: [0, 30]

Target Interval: (10, 30]

Probability = \(\frac{30-10}{30} = \frac{20}{30} = \frac{2}{3}\)

Part (b): Conditional Probability

Given bus hasn't arrived by 10:15, prob waiting > 10 more mins?

Condition: \(X > 15\) (Interval length 15)

Target: \(X > 15 + 10 = 25\) (Interval length 5)

Probability = \(\frac{5}{15} = \frac{1}{3}\)

Question 6: Normal Distribution

If \(X\) is a normal random variable with parameters \(\mu = 10\) and \(\sigma^2 = 36\), compute:

  • (a) \(P(X > 5)\)
  • (b) \(P(4 < X < 16)\)
  • (c) \(P(X < 8)\)
  • (d) \(P(X < 20)\)
  • (e) \(P(X > 16)\)

Controls

Select Problem Part:

Visualization

Calculated Probability:

0.0000

Select a problem part...

Question 7: Normal Distribution (Salaries)

The salaries of physicians in a certain area are approximately normally distributed. If 25 percent of these physicians earn less than $180,000 and 25 percent earn more than $320,000, approximately what fraction earn:

  • (a) less than $200,000?
  • (b) between $280,000 and $320,000?

Find Parameters

Adjust Mean (\(\mu\)) and Std Dev (\(\sigma\)) to match the conditions.

\(P(X < 180)\) 0.00 (Target: 0.25)
\(P(X > 320)\) 0.00 (Target: 0.25)

Visualization

Question 8: CLT Approximation

If 65 percent of the population of a large community is in favor of a proposed rise in school taxes, approximate the probability that a random sample of 100 people will contain:

  • (a) at least 50 who are in favor;
  • (b) between 60 and 70 inclusive who are in favor;
  • (c) fewer than 75 in favor.

Use the central limit theorem.

Select Case

Parameters:

\(n = 100, p = 0.65\)

\(\mu = np = 65\)

\(\sigma = \sqrt{np(1-p)} \approx 4.77\)

Visualization (with Continuity Correction)

Approximation:

Select a case

Question 9: Die Rolls (CLT)

One thousand independent rolls of a fair die will be made. Compute an approximation to the probability that the number 6 will appear between 150 and 200 times inclusively. If the number 6 appears exactly 200 times, find the probability that the number 5 will appear less than 150 times. Use the central limit theorem.

Part 1: Count of 6s

Approximate probability that the number 6 appears between 150 and 200 times.

$$ n=1000, p=1/6 \implies \mu \approx 166.67, \sigma \approx 11.79 $$

Calculation (with continuity correction):

$$ P(149.5 < Y < 200.5) $$

Z-scores: \( z_1 \approx -1.46, z_2 \approx 2.87 \)

Result: 0.9258

Part 2: Conditional Count of 5s

Given exactly 200 sixes, prob that 5 appears < 150 times.

Remaining rolls: \( 1000 - 200 = 800 \). Outcomes: {1,2,3,4,5}.

$$ P(5|\text{not } 6) = 0.2 \implies \mu' = 160, \sigma' \approx 11.31 $$

Calculation:

$$ P(Y' < 149.5) $$

Z-score: \( z \approx -0.93 \)

Result: 0.1762

Question 10: Exponential Repair Time

The time (in hours) required to repair a machine is an exponentially distributed random variable with parameter \(\lambda = 1/2\). What is

  • (a) the probability that a repair time exceeds 2 hours?
  • (b) the conditional probability that a repair takes at least 10 hours, given that its duration exceeds 9 hours?

Part (a): P(X > 2)

Probability repair takes longer than 2 hours.

Calculation:

$$ P(X > 2) = e^{-0.5(2)} = e^{-1} $$

Result: \(\approx 0.3679\)

Part (b): Memoryless Property

\( P(X \ge 10 \mid X > 9) \)

Given it has already taken 9 hours, what is the prob it takes at least 1 more hour?

Calculation:

$$ P(X \ge 10 \mid X > 9) = P(X \ge 1) $$

$$ = e^{-0.5(1)} = e^{-0.5} $$

Result: \(\approx 0.6065\)

Question 11: Memoryless Property (Radio)

The number of years a radio functions is exponentially distributed with parameter \(\lambda = 1/8\).

If Jones buys “a 2-years old radio”, what is the probability that it will be working after an additional 8 years?

Interactive Explorer

Explore how the conditional probability depends only on the additional time.

Calculations:

Total required life: \(s + t = \) 10 years

\(P(X > s+t \mid X > s) = \frac{P(X > s+t)}{P(X > s)} = \) 0.3679

\(P(X > t) = e^{-\lambda t} = \) 0.3679

Notice they are always equal!

Visualization