Study Guide

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.

πŸ“˜ Definition

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.

πŸ“ Worked Example

Explain why if is the height of a person in meters.

  1. 1

    The probability of falling into an interval decreases as the interval width shrinks. For a single point, the interval width approaches 0.

  2. 2
    lim⁑δ→0P(xβˆ’Ξ΄/2<X<x+Ξ΄/2)=0\lim_{\delta \to 0} P(x - \delta/2 < X < x + \delta/2) = 0
  3. 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.

πŸ“˜ Definition

Probability Density Function (PDF)

f(x)f(x)

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 .

πŸ“ Worked Example

Verify if is a valid PDF.

  1. 1

    First check the non-negativity condition. For , , and elsewhere. So for all , first condition satisfied.

  2. 2

    Next, integrate over the entire domain to check total area is 1:

  3. 3
    βˆ«βˆ’βˆžβˆžf(x)dx=∫012xdx\int_{-\infty}^{\infty} f(x) dx = \int_0^1 2x dx
  4. 4
    =[x2]01=12βˆ’02=1= \left[ x^2 \right]_0^1 = 1^2 - 0^2 = 1
  5. 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.

πŸ“ Worked Example

For the valid PDF , find .

  1. 1

    We integrate the PDF from 0.2 to 0.6, since outside this interval:

  2. 2
    P(0.2<X<0.6)=∫0.20.62xdxP(0.2 < X < 0.6) = \int_{0.2}^{0.6} 2x dx
  3. 3
    =[x2]0.20.6=(0.6)2βˆ’(0.2)2= \left[ x^2 \right]_{0.2}^{0.6} = (0.6)^2 - (0.2)^2
  4. 4
    =0.36βˆ’0.04=0.32= 0.36 - 0.04 = 0.32
  5. 5

    So the required probability is 0.32.

βœ“ Quick check

Check your understanding of core PDF properties

  1. 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.

πŸ“˜ Definition

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.

πŸ“ Worked Example

Find the mode of .

  1. 1

    Expand and differentiate to find critical points:

  2. 2
    f(x)=12x2βˆ’12x3f(x) = 12x^2 - 12x^3
  3. 3
    fβ€²(x)=24xβˆ’36x2=12x(2βˆ’3x)f'(x) = 24x - 36x^2 = 12x(2 - 3x)
  4. 4

    Set derivative equal to 0 to find critical points:

  5. 5
    12x(2βˆ’3x)=0β€…β€ŠβŸΉβ€…β€Šx=0 or x=2312x(2 - 3x) = 0 \implies x = 0 \text{ or } x = \frac{2}{3}
  6. 6

    Use the second derivative test to confirm a maximum:

  7. 7
    fβ€²β€²(x)=24βˆ’72x.At x=23,fβ€²β€²(23)=24βˆ’48=βˆ’24<0f''(x) = 24 - 72x. \quad At \ x = \frac{2}{3}, f''(\frac{2}{3}) = 24 - 48 = -24 < 0
  8. 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.