Finding the Mode of a Continuous Random Variable

Learn how to find the mode of a continuous random variable by maximizing its probability density function, handling interior critical points, endpoint maxima, and infinite-domain PDFs.

Step 1 of 157%

Tutorial

Definition of the Mode

The mode of a continuous random variable XX with probability density function ff is the value xx^* in the support of XX at which ff attains its maximum:

x=argmaxxf(x).x^* = \arg\max_{x} f(x).

For a smooth PDF on an interval, we find the mode by setting f(x)=0f'(x)=0 and identifying which critical point yields the largest value of ff.

Illustration. Let XX have PDF f(x)=6x(1x)f(x) = 6x(1-x) on [0,1][0,1]. Then

f(x)=612x.f'(x) = 6 - 12x.

Setting f(x)=0f'(x) = 0 gives x=12x = \dfrac{1}{2}. Since f(x)=12<0f''(x) = -12 < 0, this critical point is a maximum. The mode of XX is x=12x^* = \dfrac{1}{2}.

navigate · Enter open · Esc close · ⌘K/Ctrl K toggle