Continuous probability distributions and PDFs
IB Mathematics AA HLΒ· 4.8Β· 15 min read
1. Discrete vs Continuous Random Variablesβ β ββββ± 5 min
Discrete random variables take countable distinct values (e.g. number of heads in 10 coin flips), while continuous random variables can take any value within one or more intervals (e.g. height of a randomly selected adult, wait time for a bus). Probabilities for discrete distributions are assigned to individual outcomes, but this is not true for continuous distributions.
Continuous random variable
A random variable is continuous if its set of possible values is an uncountable interval, and the probability that equals any single value is 0.
Example:
The mass of an apple, measured to any precision, is a continuous random variable.
Explain why if is the height of a person in meters.
- 1
The probability of falling into an interval decreases as the interval width shrinks. For a single point, the interval width approaches 0.
- 2
- 3
Therefore, the probability that equals exactly 2.5 is 0.
2. Properties of a Valid Probability Density Functionβ β ββββ± 5 min
Instead of assigning probability to single points, we use a function called the probability density function (PDF) to find the probability that a continuous random variable falls in an interval. The probability equals the area under the PDF curve over the interval.
Probability Density Function (PDF)
For a continuous random variable defined over , is the PDF of if it satisfies two core conditions: (1) for all , and (2) . Any probability is given by .
Verify if is a valid PDF.
- 1
First check the non-negativity condition. For , , and elsewhere. So for all , first condition satisfied.
- 2
Next, integrate over the entire domain to check total area is 1:
- 3
- 4
- 5
Both conditions are satisfied, so this is a valid PDF.
3. Calculating Probabilities from a PDFβ β β βββ± 6 min
Once you confirm a PDF is valid, you calculate the probability that lies between two values by integrating the PDF between those bounds. This corresponds directly to finding the area under the PDF curve over the interval of interest.
For the valid PDF , find .
- 1
We integrate the PDF from 0.2 to 0.6, since outside this interval:
- 2
- 3
- 4
- 5
So the required probability is 0.32.
Check your understanding of core PDF properties
What is for the PDF in the worked example above?
0
0.5
1
Cannot be determined
Reveal answer
0 βFor any continuous distribution, the probability of taking a single exact value is always 0, regardless of the PDF value at that point.
4. Mode of a Continuous Distributionβ β β βββ± 4 min
For discrete distributions, the mode is the most likely individual value. For continuous distributions, the mode is the value of where the PDF reaches its maximum value. We use calculus to find this maximum.
Mode of a continuous distribution
The mode is the value of at which the PDF attains its global maximum value. A distribution can be unimodal (one mode), bimodal (two modes), or have no unique mode.
Find the mode of .
- 1
Expand and differentiate to find critical points:
- 2
- 3
- 4
Set derivative equal to 0 to find critical points:
- 5
- 6
Use the second derivative test to confirm a maximum:
- 7
- 8
Endpoints and give , which is the minimum. So the global maximum is at , so the mode is .
5. Common Pitfalls
Wrong move:
Claiming
Why:
For continuous distributions, is the density at , not a probability. Probability is always area over an interval.
Correct move:
Always state for any continuous random variable, regardless of .
Wrong move:
Using instead of integrating to find
Why:
Many students mix up PDF properties with the fundamental theorem of calculus for CDFs, and incorrectly use the difference of PDF values.
Correct move:
Always calculate as the definite integral of from to .
Wrong move:
Only checking that the total integral equals 1 when verifying a PDF, ignoring non-negativity
Why:
A function with a negative region cannot be a valid PDF, even if its total integral equals 1. Examiners frequently test this.
Correct move:
Always explicitly check both conditions: for all , and .
Wrong move:
Stopping at the first internal critical point when finding the mode, ignoring endpoints
Why:
The maximum of can occur at the endpoint of the domain, not just at a turning point inside the interval.
Correct move:
Always evaluate at all critical points and endpoints to confirm the global maximum for the mode.
6. Quick Reference Cheatsheet
PDF Property | Rule |
|---|---|
Non-negativity | for all |
Total area under curve | |
Interval probability | |
Single point probability | |
Mode | Value of where is maximized |
When this came up on past exams
AI-estimated based on syllabus patterns β cross-check with official past papers for accuracy. Use only as revision-focus signals.
- 2025 Β· 2
Verify PDF validity, calculate probability
- 2022 Β· 1
Find mode of a triangular PDF
What's Next
PDFs are the foundation of all continuous probability topics you will encounter in IB AA HL, and mastery of these core rules is essential for exam success. Next, you will extend this knowledge to cumulative distribution functions (CDFs), which let you calculate cumulative probabilities, percentiles, and quantiles. From there, you will study common named continuous distributions including the uniform, exponential, and normal distribution, all of which are heavily tested in IB exams. You will also learn to calculate expectation and variance for continuous distributions, building on the PDF integration skills you practiced here.
