Let $X$ be a continuous random variable with density $f_X$ such that $X$ has the same distribution as $-X$. Evaluate if the following statement is true or false and bubble in your solution:
Statement: The density of the random variable $|X|$ is given by $f_{|X|}(x) = 2f_X(x)$ for all $x\in\mathbb R$.
I just wanted to ensure that my reasoning was sound on this question. For the density of $X$ to have the same distribution as $-X$ we must have something symmetric. Ie. we can essentially "fold" the part of the distribution left of the $y$-axis over the positive $x$ values which is why I think this would be correct. I just wanted to make sure that I did not miss any hidden caveat of the question.
Your intuition is right.
To formalize just notice that if $x > 0$: $$ P(|X| \leq x) = 1 - P(|X| > x) = 1 - (P(X > x)+P(X<-x)) = 1 - (P(X > x)+P(-X > x)) $$
So, $$ P(|X| \leq x) = 1 - 2P(X > x) = 1 - 2(1- P(X \leq x)) $$
In terms of the cdfs: $$ F_{|X|} (x) = 2F_X(x) - 1\text{ when } x> 0 $$
Clearly, $F_{|X|} (x) = 0$ when $x\leq 0$.
We can take the derivative when $x>0$ and so: $$ f_{|X|}(x) = \begin{cases} 2f_X(x)\text{, if }x > 0\\ 0\text{, if }x\leq 0 \end{cases}$$