Everything from the 1 lessons of this topic on a few pages: the key idea of each lesson, the diagram to remember, the points to learn and the traps examiners set. Read it, cover it, test yourself.
A probability density function satisfies \(f(x) \ge 0\) and \(\displaystyle\int f(x)\,dx = 1\) over its domain. \(\text{P}(a < X < b) = \displaystyle\int_a^b f(x)\,dx\), \(\text{E}(X) = \displaystyle\int x f(x)\,dx\), \(\text{Var}(X) = \displaystyle\int x^{2} f(x)\,dx - \mu^{2}\), and the median \(m\) has half the area to its left.
\(f(2) = \tfrac{3}{8}\) is not \(\text{P}(X = 2)\). For a continuous variable that probability is 0; a value of \(f\) only becomes a probability after you integrate it over an interval.
\(\text{Var}(X) = \int x^{2} f(x)\,dx\) is NOT the variance until you subtract \(\mu^{2}\). Leaving the answer as 4.8 above is the most frequent lost mark.
The median is not half-way along the domain. For \(f(x) = \tfrac{x}{8}\) on \([0, 4]\) it is \(2.83\), not \(2\): more of the area sits on the right where the density is higher.