2
Given vectors:
\( \mathbf{a} = 3\hat{i} + 4\hat{j} \)
\( \mathbf{b} = 2\hat{i} - \hat{j} \)
The dot product of vectors \( \mathbf{a} = a_1 \hat{i} + a_2 \hat{j} \) and \( \mathbf{b} = b_1 \hat{i} + b_2 \hat{j} \) is \( \mathbf{a} \cdot \mathbf{b} = a_1 b_1 + a_2 b_2 \).
For \( \mathbf{a} = 3\hat{i} + 4\hat{j} \) and \( \mathbf{b} = 2\hat{i} - \hat{j} \), the components are \( a_1 = 3, \, a_2 = 4, \, b_1 = 2, \, b_2 = -1 \). Substituting these into the formula:
\[ \mathbf{a} \cdot \mathbf{b} = (3)(2) + (4)(-1) = 6 - 4 = 2 \]
The dot product \( \mathbf{a} \cdot \mathbf{b} \) equals \( 2 \).
If \( X \) is a random variable such that \( P(X = -2) = P(X = -1) = P(X = 2) = P(X = 1) = \frac{1}{6} \), and \( P(X = 0) = \frac{1}{3} \), then the mean of \( X \) is