For this, we need to verify two conditions: $f(x)$ should be non-negative and the integral of $f(x)$ from negative infinity to positive infinity should be equal to 1.
We can see that $f(x)$ is either 0 or 0.1, both of which are non-negative. So, the first
Show more…