Revision as of 18:24, 1 May 2023 by Admin (Created page with "'''Solution: C''' First note that the distribution function jumps ½ at x = 1, so there is discrete probability at that point. From 1 to 2, the density function is the deriva...")
Exercise
ABy Admin
May 01'23
Answer
Solution: C
First note that the distribution function jumps ½ at x = 1, so there is discrete probability at that point. From 1 to 2, the density function is the derivative of the distribution function, x – 1. Then,
[[math]]
\begin{align*}
\operatorname{E}(X) = \frac{1}{2} + \int_{1}^2 x(x-1) dx = \frac{1}{2} + \int_{1}^2 (x^2-x) dx &= \frac{1}{2} + (\frac{1}{3}x^3 - \frac{1}{2} x^2) \Big |_1^2 \\
&= 1/2 + 8/3 - 4/2 - 1/3 + 1/2 \\ &= 7/3 -1 = 4/3
\end{align*}
[[/math]]
[[math]]
\begin{align*}
\operatorname{E}(X^2) = \frac{1}{2} + \int_{1}^2 x^2(x-1) dx = \frac{1}{2} + \int_{1}^2 (x^3-x^2) dx &= \frac{1}{2} + (\frac{1}{4}x^4 - \frac{1}{3} x^3) \Big |_1^2 \\
&= 1/2 +16/4 - 8/3 - 1/4 + 1/3 \\ &= 17/4 -7/3 \\ &= 23/12
\end{align*}
[[/math]]
[[math]]
\operatorname{Var}(X) = \operatorname{E}[X^2] - (\operatorname{E}[X])^2 = \frac{23}{12} - \left( \frac{4}{3} \right)^2 = \frac{23}{12} - \frac{16}{9} = \frac{5}{36}
[[/math]]