To do this, we need to consider the two cases for the absolute value function: when $x$ is greater than or equal to $0$, and when $x$ is less than $0$.
When $x \geq 0$, $|x| = x$, so $f(x) = x^2$.
When $x < 0$, $|x| = -x$, so $f(x) = -x^2$.
Therefore, the
Show more…