X | -2 | -1 | 1 | 2 | 3 |
P(X=x) | k | 2k | 2k | k | 3k |
Given the probability distribution of random variable \( X \):
\( X \) | -2 | -1 | 1 | 2 | 3 |
---|---|---|---|---|---|
\( P(X=x) \) | \( k \) | \( 2k \) | \( 2k \) | \( k \) | \( 3k \) |
Step 1: Find the value of \( k \) using the fact that probabilities must sum to 1: \[ k + 2k + 2k + k + 3k = 1 \\ 9k = 1 \\ k = \frac{1}{9} \]
Step 2: Calculate \( E(X^2) \): \[ E(X^2) = \sum x^2 P(X=x) \\\]
\[ = (-2)^2 \cdot \frac{1}{9} + (-1)^2 \cdot \frac{2}{9} + 1^2 \cdot \frac{2}{9} + 2^2 \cdot \frac{1}{9} + 3^2 \cdot \frac{3}{9} \\ \]
\[= 4 \cdot \frac{1}{9} + 1 \cdot \frac{2}{9} + 1 \cdot \frac{2}{9} + 4 \cdot \frac{1}{9} + 9 \cdot \frac{3}{9} \\\]
\[ = \frac{4}{9} + \frac{2}{9} + \frac{2}{9} + \frac{4}{9} + \frac{27}{9} \\\] \[= \frac{4 + 2 + 2 + 4 + 27}{9} \\ = \frac{39}{9} = \frac{13}{3} \]
First, we need to find the value of \( k \). Since the sum of probabilities for all possible values of \( X \) must equal 1, we have:
\[ k + 2k + 2k + k + 3k = 1 \] \[ 9k = 1 \] \[ k = \frac{1}{9} \]
Now we can find \( E(X^2) \):
\[ E(X^2) = \sum [x^2 \cdot P(X = x)] \quad \text{for all } x \] \[ E(X^2) = (-2)^2\left(\frac{1}{9}\right) + (-1)^2\left(\frac{2}{9}\right) + (1)^2\left(\frac{2}{9}\right) + (2)^2\left(\frac{1}{9}\right) + (3)^2\left(\frac{3}{9}\right) \] \[ = 4\left(\frac{1}{9}\right) + 1\left(\frac{2}{9}\right) + 1\left(\frac{2}{9}\right) + 4\left(\frac{1}{9}\right) + 9\left(\frac{3}{9}\right) \] \[ = \frac{4}{9} + \frac{2}{9} + \frac{2}{9} + \frac{4}{9} + \frac{27}{9} \] \[ = \frac{4 + 2 + 2 + 4 + 27}{9} \] \[ = \frac{39}{9} \] \[ = \frac{13}{3} \]
Therefore, \( E(X^2) = \frac{13}{3} \).
A shop selling electronic items sells smartphones of only three reputed companies A, B, and C because chances of their manufacturing a defective smartphone are only 5%, 4%, and 2% respectively. In his inventory, he has 25% smartphones from company A, 35% smartphones from company B, and 40% smartphones from company C.
A person buys a smartphone from this shop
A shop selling electronic items sells smartphones of only three reputed companies A, B, and C because chances of their manufacturing a defective smartphone are only 5%, 4%, and 2% respectively. In his inventory, he has 25% smartphones from company A, 35% smartphones from company B, and 40% smartphones from company C.
A person buys a smartphone from this shop
(i) Find the probability that it was defective.