suppose g is a deterministic function, and X a rv. Then we define Y=g(X) and
$f_Y(y) = f_X(g^{-1}(y))/|g'(g^{-1}(y))|$
But I don't understand at all why the $/|g'(g^{-1}(y))|$ is there. Seems like it would make perfect sense without it.
suppose g is a deterministic function, and X a rv. Then we define Y=g(X) and
$f_Y(y) = f_X(g^{-1}(y))/|g'(g^{-1}(y))|$
But I don't understand at all why the $/|g'(g^{-1}(y))|$ is there. Seems like it would make perfect sense without it.
From comments, whuber writes
You need to remember that a PDF $f(x)$ is always (implicitly) accompanied by an infinitesimal term $dx$. See Can a probability distribution value exceeding 1 be OK? for an elementary explanation, https://stats.stackexchange.com/a/154298/919 for a modern (dating to the late 19th century) approach, or search this site for Jacobian.