Suppose $X$ has density function $f(x)$ for $-1\leq x\leq1$ and 0 otherwise. Find the density function of $Y=\vert X\vert$

471 Views Asked by At

The answer is $f(-y)+f(y)$ for $-1\leq y\leq1$ but I don't see how that answer was reached using the formula $g(s(y))s'(y)$.