Cumulative distribution functions
Studying this course? Keep your progress in one place.
Key facts
- The cdf is .
- is non-decreasing, runs from to , and has no jumps for a continuous variable.
- for each piece.
- and the median solves .
- For a cdf in pieces, use at the join to choose the right piece.
What the cdf is
is the probability that is at most : the area under the pdf up to .
The cumulative distribution function (cdf) of a continuous random variable is
Properties: is non-decreasing; as and as , so ; for a continuous variable has no jumps.
Which cannot be a value of ?
From the pdf to the cdf
Integrate from the bottom of the range up to , using a dummy variable .
Integrate from the bottom of its range up to , using a dummy variable :
with below the range and above it.
For a pdf in pieces, add the total area of the earlier pieces to the integral over the current piece, so is continuous at each join.
- within the range
- Below / above the range /
Worked example
for . Find .
- 1
Integrate from the lower end: .
- 2
.
- 3
Check: and as .
on . What is on that range?
From the cdf to the pdf
Differentiate each piece: .
Differentiate each piece:
Outside the range .
If on , then on that range.
An unknown constant in is found from continuity or from at the top of the range: if on then , so .
- pdf from cdf
- Unknown constantuse at the top of the range
on . What is on that range?
Using the cdf
Probabilities are differences of ; the median solves .
Probabilities come straight from , with no integration:
The median satisfies ; the quartiles satisfy and .
When is in pieces, compare the target with at the join to choose which piece to solve in, then check the root lies in that piece.
- Median
Worked example
for and for . Find , the median and the upper quartile.
- 1
.
- 2
, so the median is in the first piece: , so .
- 3
, so the upper quartile is in the second piece: , so .
on . What is ?
Try an exam question
A continuous random variable has cumulative distribution function for , for , for and for . Find and the median of .
[5 marks]
- [1].
- [1].
- [1], so the median is in the first piece.
- [1], so .
- [1].
That's the notes covered.
Carry on to the next subtopic.
Try a question
Find .
1 mark, marked against the mark scheme
Find .
1 mark, marked against the mark scheme