In a textbook I'm reading:
A random variable $X$ is continuous if there exists a function $f_X$ such that $f_X(x) \ge 0$ for all $x$, $\int_\infty^\infty f_X(x) dx = 1$ and for every $a \le b$,
$$ \mathbb{P}(a < X < b) = \int_a^b f_X(x)dx. $$
This is different than the definition provided for on Wikipedia, which seems to define a continuous random variable $X$ as any random variable with an uncountably infinite range.
- Are these two definitions equivalent?
- Does it matter if the left-side of the equition above uses $\le$ instead of $<$? That is do we have the following:
$$ \mathbb{P}(a < X < b) = \int_a^b f_X(x)dx = \mathbb{P}(a \le X \le b)? $$
Edit: Wikipedia link on random variables. Here is the quote:
If the image is uncountably infinite then $X$ is called a continuous random variable.