Geometry Solver
Home › Probability and statistics

How to find P(a < X ≤ b) from a distribution function

The rule: P(a < X ≤ b) = F(b) − F(a)

A distribution function (CDF) already stores all the probability accumulated up to the point . So the probability of landing inside an interval is simply the difference of its values at the two ends:

Nothing has to be integrated: take the piece of that covers each endpoint and substitute. If an endpoint falls where is constant, that value is used as it is.

Problem

A random variable is given by the distribution function

Find .

Answer

Checked by hand: the solution is correct.

Step-by-step solution

1. Write the rule for the interval

For a continuous random variable the probability of falling into is the increment of the distribution function:

Here and , so

2. Substitute both endpoints

Both endpoints sit in the middle piece , where (the point is the border, and both pieces give the same value there). For :

For :

3. Take the difference

A quick sanity check: the value is between and , and it is smaller than , as it must be for a part of the whole range.

Add to Chrome - solve your own

Screenshot any problem on your screen and get the steps. Chrome on a computer; free.