Probability density functionsAQA A-Level Further Maths: Revision notes
Section 1
Discrete and continuous random variables
A discrete random variable takes separate values (for example the score on a die), and each value has a probability . A continuous random variable can take any value in an interval (for example a time or a mass), so we cannot list the values. Instead a continuous random variable is described by a probability density function (pdf) . Probability is the area under the curve, not the height. Because a single value has no width, for every , and therefore .
Reading as . The value is a density and can even exceed 1; only areas are probabilities.
Section 2
What makes a valid pdf
A function is a pdf if both conditions hold:
- for all ;
- the total area is 1: . A pdf is usually given in pieces and is outside the stated range, so only integrate over the range where is non-zero. If contains an unknown constant , integrate over the range, set the result equal to 1 and solve. For on : , so .
Section 3
Probabilities for an interval
The probability that lies between and is the area under between them: Since , it makes no difference whether the inequalities are strict. For a tail, either integrate to the end of the range or use . Example: on gives . When is defined in pieces, split the integral at the point where the formula changes.
If the range of integration crosses a change in the formula for , write two integrals and add them.
Section 4
Median and quartiles
The median is the value with half the probability below it: The lower quartile satisfies and the upper quartile satisfies . The interquartile range is . Integrate from the lower end of the range (since below it), set the area equal to , or and solve. Reject any root outside the range of .
Giving a root that lies outside the range of . For a quadratic in , check each root against the stated limits.
Section 5
Worked example
for , and otherwise. Check: . , and . Median: , so and . Lower quartile: , so .
That's the notes covered.
Carry on to the next subtopic.
Exam questions on Probability density functions
- The continuous random variable has probability density function for , and otherwise, where is a constant.Find .2 marks
- The continuous random variable has probability density function for , and otherwise.Find the median of .2 marks
- The continuous random variable has probability density function for , and otherwise, where is a constant.Show that .3 marks
Written by the Exaim team, led by Shaun Daswani (Head of Upper Secondary, Improve ME Institute; MSc Financial Mathematics, Imperial College London; BSc, UCL) and Jason Daswani (operational lead, Improve ME Institute; LSE).