Skip to main content
ExamExplained
SA · Math Methods
Math Methods study scene
§-Syllabus dot point
SAMath MethodsSyllabus dot point

How do we describe probability for a variable that can take any value in an interval?

A continuous random variable is described by a probability density function, where probability is the area under the curve found by integration.

What a probability density function is, why probability equals area under the curve, the two conditions a valid PDF must satisfy, and how to find probabilities and the mean by integration.

Reviewed by: AI editorial process; not yet individually human-reviewed

Have a quick question? Jump to the Q&A page

Jump to a section
  1. What this dot point is asking
  2. Probability is area
  3. Mean and variance by integration
  4. The median and other percentiles
  5. The cumulative distribution function
  6. Common errors
  7. Why it matters

What this dot point is asking

A continuous random variable can take any value in a range - a height, a time, a mass - not just a list of separate values. Because there are infinitely many possible values, the probability of any single exact value is zero, and we describe probability by a density function instead. This is the key conceptual shift from Topic 2: where a discrete variable had a probability attached to each value, a continuous variable has probability spread smoothly across an interval, and you recover any probability by measuring area rather than reading off a table entry.

Probability is area

The defining idea of Topic 5 is that probability equals area under the curve, computed by integration:

Mean and variance by integration

The discrete sums become integrals for a continuous variable:

The median and other percentiles

The median mm of a continuous variable splits the area in half: it is the value with mf(x)dx=0.5\int_{-\infty}^{m} f(x)\,dx=0.5. More generally, the ppth percentile is the value with cumulative area p100\dfrac{p}{100} below it. For the density f(x)=12xf(x)=\tfrac12 x on [0,2][0,2], the median solves 0m12xdx=0.5\int_0^m \tfrac12 x\,dx=0.5, that is m24=0.5\tfrac{m^2}{4}=0.5, giving m=21.41m=\sqrt{2}\approx 1.41. Notice the median is larger than you might first guess: because the density rises toward x=2x=2, more probability sits on the right, pulling the halfway point above the midpoint of the interval. Comparing the mean (431.33\tfrac43\approx 1.33) with the median (1.411.41) describes the skew of the distribution.

The cumulative distribution function

Just as discrete variables have a running total, a continuous variable has a cumulative distribution function F(x)=xf(t)dtF(x)=\int_{-\infty}^{x} f(t)\,dt, which gives P(Xx)P(X\le x) directly. By the Fundamental Theorem of Calculus, differentiating the CDF returns the density: F(x)=f(x)F'(x)=f(x). This is why probability questions can be answered either by integrating the density between limits or by subtracting two values of the CDF, P(aXb)=F(b)F(a)P(a\le X\le b)=F(b)-F(a) - whichever the question makes easier.

Common errors

Why it matters

Probability density functions are the continuous counterpart of the discrete distributions in Topic 2 and the foundation for the normal distribution that follows. The "probability = area = integral" principle ties Topic 5 directly back to the integral calculus of Topic 3.

Exam-style practice questions

Practice questions written in the style of SACE Board exam questions on this dot point, with worked answer explainers. The year tag is the paper they imitate, not the source.

SACE 20225 marksCalculator-assumed. A continuous probability density function is f(x)=af(x) = a (a constant) defined for 0x40 \le x \le 4. (a) Find the value of aa. (b) Write an integral expression for the mean and evaluate it.
Show worked answer →

(a) A valid PDF has total area 11, so 04adx=1\int_0^4 a\,dx = 1. The rectangle of width 44 and height aa gives 4a=14a = 1, so a=14a = \tfrac{1}{4}. (2 marks)

(b) The mean is 04xf(x)dx\int_0^4 x f(x)\,dx:

μ=04x14dx=14[x22]04=148=2.\mu = \int_0^4 x \cdot \tfrac{1}{4}\,dx = \tfrac{1}{4}\Big[\tfrac{x^2}{2}\Big]_0^4 = \tfrac{1}{4}\cdot 8 = 2.

So a=14a = \tfrac{1}{4} and the mean is 22. This is a uniform distribution, so the mean sits at the midpoint, a useful check. (3 marks: 1 for the expression, 2 for evaluation.)

SACE 20232 marksCalculator-assumed. The time TT (in minutes) for a customer to receive an order is modelled by f(t)=0.3e0.3tf(t) = 0.3e^{-0.3t} for t0t \ge 0. Determine the probability that a randomly chosen customer receives their order in less than 5 minutes.
Show worked answer →

Probability is the area under the density: P(T<5)=050.3e0.3tdtP(T < 5) = \int_0^5 0.3e^{-0.3t}\,dt.

The antiderivative of 0.3e0.3t0.3e^{-0.3t} is e0.3t-e^{-0.3t}. Evaluate:

P(T<5)=[e0.3t]05=e1.5+e0=1e1.5=10.22310.777.P(T < 5) = \Big[-e^{-0.3t}\Big]_0^5 = -e^{-1.5} + e^0 = 1 - e^{-1.5} = 1 - 0.2231 \approx 0.777.

So P(T<5)0.777P(T < 5) \approx 0.777. Marks: one for the integral set-up, one for evaluating 1e1.51 - e^{-1.5}.

SACE 20213 marksCalculator-assumed. The lifetime XX (years) of a component has density f(x)=kx(4x)f(x) = kx(4 - x) for 0x40 \le x \le 4, zero otherwise. Find kk, then P(X2)P(X \le 2).
Show worked answer →

Total area is 11: 04kx(4x)dx=k04(4xx2)dx=k[2x2x33]04=k(32643)=k323=1\int_0^4 kx(4 - x)\,dx = k\int_0^4 (4x - x^2)\,dx = k\Big[2x^2 - \tfrac{x^3}{3}\Big]_0^4 = k\left(32 - \tfrac{64}{3}\right) = k\cdot\tfrac{32}{3} = 1, so k=332k = \tfrac{3}{32}.

Then P(X2)=33202(4xx2)dx=332[2x2x33]02=332(883)=332163=12P(X \le 2) = \tfrac{3}{32}\int_0^2 (4x - x^2)\,dx = \tfrac{3}{32}\Big[2x^2 - \tfrac{x^3}{3}\Big]_0^2 = \tfrac{3}{32}\left(8 - \tfrac{8}{3}\right) = \tfrac{3}{32}\cdot\tfrac{16}{3} = \tfrac{1}{2}.

So k=332k = \tfrac{3}{32} and P(X2)=0.5P(X \le 2) = 0.5 (which is expected by the symmetry of the density about x=2x = 2). Marks: one for the area integral, one for kk, one for P(X2)P(X \le 2).

ExamExplained