Let $Y$ be a random with the following probability density :
$$ f_Y(y) = \begin{cases} 2y, & 0 \leq y \leq 1 \\ 0, & \text{elsewhere} \end{cases} $$
Let $U = 3Y -1$. I want to find the density function $f_U(u)$. I know I can find it using the Method of Distribution Functions namely by finding $F_U(u) = P(U \leq u) = P(Y \leq \frac{u+1}{3})$ and then differentiating $F_U(u)$. However, I wonder why it is not possible to directly calculate $f_U(u)$ as follows :
$$f_U(u) = P(U = u) = P(Y = \frac{u+1}{3})$$
It does give the same result. Why?