Continuous Random Variables

Suppose XX is some uncertain continuous quantity.

Then the probability that XX lies in any interveal a≤X≤ba \leq X \leq b can be computed as follows:

Define events A=(X≤a)A = (X \leq a), B=(X≤b)B = (X \leq b) and W=(a<X≤b)W = (a \lt X \leq b)

B=A∪WB = A \cup W

and AA and WW are mutually exclusive

This means that

p(B)=p(A)+p(W)p(B) = p(A) + p(W)

and so

p(W)=p(B)−p(A)p(W) = p(B) - p(A)

Now define the function F(q)=p(X≤q)F(q) = p(X\leq q). This is called the cumulative distribution function or cdf.

Now, the probability density function is

f(x)=ddxF(x)f(x) = \frac{d}{dx}F(x)