Continuous probability distributions
A continuous random variable X that can assume values between 0 and 1 has a density function given by:
\[ \begin{align}
f(x) &= 2(1 - x) \quad 0 \le x \le 1 \\
&= 0 \qquad \text{elsewhere}
\end{align}\]
(a) Confirm this is a probability distribution.
(b) What is the probability of X taking a value less than 1/2?
You will gain most benefit if you work through each problem first and then come back and check your work against the solution.