# Definition:Median of Continuous Random Variable

## Definition

Let $X$ be a continuous random variable on a probability space $\struct {\Omega, \Sigma, \Pr}$.

Let $X$ have probability density function $f_X$.

A **median** of $X$ is defined as a real number $m_X$ such that:

- $\displaystyle \map \Pr {X < m_X} = \int_{-\infty}^{m_X} \map {f_X} x \rd x = \frac 1 2$

## Notes

Care should be directed towards the uniqueness of **medians**.

For example, if $\map {f_X} x = 0$ on some closed real interval $\closedint a b$ of $x$, we may have $\displaystyle \int_{-\infty}^{m_X} \map {f_X} x \rd x = \frac 1 2$ for all $m_X \in \closedint a b$.