I have to calculate the pdf $f_Y(y)$ where $y=\mathbb{I}_{\left[-c,c\right]}( x )$ where the pdf of $x$ is known and denoted by $f_X(x)$ and $c$ is a constant. In this case, $\mathbb{I}_{\mathcal{A}} ( x )$ denotes the indicator function and is $x$ if $x \in \mathcal A$ and $0$ otherwise.
So far I tried to apply the standard method $f_Y(y)=f_X(x)\vert \frac{dx}{dy}\vert$ but I think this will fail, because it requires in this case the existence of an inverse function of the indicator function, right?