The pdf is $$ f(x) = \left\{ \begin{array}{ll} mx+b & \quad 0<x<5 \\ 0 & \quad \text {otherwise} \end{array} \right. $$
The question is:
What is P(X=1)?
In my textbook, it says $P(X=1)=F(1)-F(1^-)$. F is the cumulative density function CDF.
My answer:$$P(X=1)=\int^1_0 (mx+b) dx-\int^{1^-}_0 (mx+b) dx$$
Is this zero?