If $X \sim Unif([-1,2])$ and $Y=(X-1)^{2}$, find the PDF of $Y$

171 Views Asked by At

I can find the range of $Y$ easily but I get lost going anywhere past this because this is not an invertible function because $(X-1)^2$ does not pass the horizontal line test on this interval so I have no idea how to proceed.