The mode is the value of the continuous random variable where its probability density function is greatest. The median is the value that divides the total area under the probability density function into two equal halves.
This is IB Mathematics: Analysis and Approaches HL content from AHL 4.14: Properties of discrete and continuous random variables.
Before calculating either measure, first verify that is a valid density: it must be non-negative on its domain and have total area . If the density contains an unknown constant, use the normalization condition to find that constant before continuing.
| Measure | How to find it |
|---|---|
| Mode | Find the value of at which the probability density function reaches its maximum. Check stationary points and endpoints of the domain. |
| Median | Find such that , so . |
For example, suppose has probability density function
Since increases throughout the interval, its maximum occurs at . Therefore,
To find the median, set the accumulated probability equal to :
Therefore,
Only the positive solution is valid because . Hence the median is .
These values need not be equal because the mode depends on the height of the density while the median depends on accumulated area. For a skewed distribution, the density's highest point and halfway-area point usually occur at different -values.
A common misconception is that the mode equals the maximum value of . This is incorrect: the mode is the corresponding value of , not the height of the density curve.
In an IB exam response, write the integral equation before solving for the median. For the mode, justify the maximum using the derivative, the behaviour of the function, or a comparison of stationary points and endpoints. This AHL topic may appear analytically on Paper 1 or with technology on Papers 2 and 3. Always show the equation used on a GDC.
