Example 1
Question: A survey on daily exercise habits found that a person exercises between 1 and 5 hours per day. The probability distribution of the number of hours X spent exercising is given by: \[ P(X = x) = \begin{cases} kx, & \text{for } x = 1, 2, 3 \\ k(6 - x), & \text{for } x = 4, 5 \\ 0, & \text{otherwise} \end{cases} \] where x denotes the number of hours. Find the value of k and express the probability distribution in the form of a probability distribution table.
Solution: Step 1: Use the condition that all probabilities must sum to 1. The total probability is: \[ P(X=1) + P(X=2) + P(X=3) + P(X=4) + P(X=5) = 1 \] Substituting the given piecewise definition: \[ k(1) + k(2) + k(3) + k(6-4) + k(6-5) = 1 \] Simplifying each term: \[ k + 2k + 3k + 2k + k = 1 \] \[ 9k = 1 \] Therefore: \[ k = \frac{1}{9} \] Step 2: Calculate each probability using \( k = \frac{1}{9} \). For \( x = 1 \): \( P(X=1) = k(1) = \frac{1}{9} \) For \( x = 2 \): \( P(X=2) = k(2) = \frac{2}{9} \) For \( x = 3 \): \( P(X=3) = k(3) = \frac{3}{9} = \frac{1}{3} \) For \( x = 4 \): \( P(X=4) = k(6-4) = k(2) = \frac{2}{9} \) For \( x = 5 \): \( P(X=5) = k(6-5) = k(1) = \frac{1}{9} \) Step 3: Verify the sum. \[ \frac{1}{9} + \frac{2}{9} + \frac{3}{9} + \frac{2}{9} + \frac{1}{9} = \frac{9}{9} = 1 \] The sum equals 1, confirming the distribution is valid. Step 4: Construct the probability distribution table. The probability distribution table is: X: 1, 2, 3, 4, 5 P(X): \( \frac{1}{9} \), \( \frac{2}{9} \), \( \frac{3}{9} \), \( \frac{2}{9} \), \( \frac{1}{9} \)
Answer: \( k = \frac{1}{9} \). The probability distribution table has values: \( P(X=1) = \frac{1}{9} \), \( P(X=2) = \frac{2}{9} \), \( P(X=3) = \frac{3}{9} \), \( P(X=4) = \frac{2}{9} \), \( P(X=5) = \frac{1}{9} \).
Example 2
Question: A study on screen time of students shows that a student spends between 1 and 6 hours per day on a screen. The probability distribution of the number of hours X is given by: \[ P(X = x) = \begin{cases} k(x+1), & \text{for } x = 1, 2, 3 \\ k(9 - x), & \text{for } x = 4, 5, 6 \\ 0, & \text{otherwise} \end{cases} \] where x denotes the number of hours. Find the value of k and construct the probability distribution table.
Solution: Step 1: Apply the condition \( \sum P(X = x) = 1 \). \[ P(X=1) + P(X=2) + P(X=3) + P(X=4) + P(X=5) + P(X=6) = 1 \] Substituting the piecewise definition: \[ k(1+1) + k(2+1) + k(3+1) + k(9-4) + k(9-5) + k(9-6) = 1 \] Simplifying: \[ k(2) + k(3) + k(4) + k(5) + k(4) + k(3) = 1 \] \[ 2k + 3k + 4k + 5k + 4k + 3k = 1 \] \[ 21k = 1 \] Therefore: \[ k = \frac{1}{21} \] Step 2: Calculate each probability using \( k = \frac{1}{21} \). For \( x = 1 \): \( P(X=1) = k(2) = \frac{2}{21} \) For \( x = 2 \): \( P(X=2) = k(3) = \frac{3}{21} = \frac{1}{7} \) For \( x = 3 \): \( P(X=3) = k(4) = \frac{4}{21} \) For \( x = 4 \): \( P(X=4) = k(5) = \frac{5}{21} \) For \( x = 5 \): \( P(X=5) = k(4) = \frac{4}{21} \) For \( x = 6 \): \( P(X=6) = k(3) = \frac{3}{21} = \frac{1}{7} \) Step 3: Verify the sum. \[ \frac{2}{21} + \frac{3}{21} + \frac{4}{21} + \frac{5}{21} + \frac{4}{21} + \frac{3}{21} = \frac{21}{21} = 1 \] The sum equals 1, so the distribution is valid. Step 4: Construct the probability distribution table. X: 1, 2, 3, 4, 5, 6 P(X): \( \frac{2}{21} \), \( \frac{3}{21} \), \( \frac{4}{21} \), \( \frac{5}{21} \), \( \frac{4}{21} \), \( \frac{3}{21} \)
Answer: \( k = \frac{1}{21} \). The probability distribution table has values: \( P(X=1) = \frac{2}{21} \), \( P(X=2) = \frac{3}{21} \), \( P(X=3) = \frac{4}{21} \), \( P(X=4) = \frac{5}{21} \), \( P(X=5) = \frac{4}{21} \), \( P(X=6) = \frac{3}{21} \).