What is a continuous random variable, and how are its probability density function, expected value and variance defined and computed?
Continuous random variables, their probability density functions, cumulative distribution functions, expected value (mean), variance and standard deviation, and computation of probabilities as definite integrals
A focused answer to the VCE Math Methods Unit 4 key-knowledge point on continuous random variables. Defines the probability density function and cumulative distribution function, computes mean and variance as definite integrals, and works through the conditions a pdf must satisfy and the standard Paper 2 set-up questions.
Have a quick question? Jump to the Q&A page
What this dot point is asking
VCAA wants you to define a continuous random variable through its probability density function (pdf), compute probabilities as definite integrals, and compute expected value, variance and standard deviation as integrals. The dot point is the integration application that bridges Unit 4 calculus to Unit 4 statistics.
What is a continuous random variable
A continuous random variable takes values in a continuum (an interval of real numbers), not a finite or countable set. Examples: the time a customer waits in a queue, the length of a manufactured part, the maximum temperature on a given day.
Because has uncountably many possible values, the probability that takes any specific single value is zero. Probabilities are computed for intervals, not for points.
The probability density function
A continuous random variable is described by its probability density function , with the property:
A valid pdf must satisfy two conditions:
- Non-negative. for all .
- Integrates to 1. .
If is given as zero outside a finite interval (the most common Unit 4 case), condition 2 becomes . The interval is called the support of the random variable.
Finding a normalising constant
A typical Paper 2 question gives on some interval and asks for the value of that makes a valid pdf.
Procedure: Set . Compute the integral; solve for .
Example. If on , normalising gives (worked above).
Computing probabilities
For a continuous random variable with pdf :
The endpoints' open or closed nature does not matter: for any single value, so:
For probabilities on one side only:
For an with support , these reduce to integrals over the appropriate sub-interval.
The cumulative distribution function
The cumulative distribution function (cdf) of is:
Properties of the cdf:
- IMATH_36 is non-decreasing.
- IMATH_37 and .
- IMATH_39 .
The cdf is the antiderivative of the pdf (with appropriate constant), so where is continuous. This is the fundamental theorem applied to probability.
Expected value (mean)
The expected value of a continuous random variable is:
For with support :
Interpretation: is the centre of mass of the pdf, the long-run average of many independent observations of .
Linearity of expectation
for constants .
for any two random variables on the same sample space.
Expectation of a function
For a function :
In particular, .
Variance and standard deviation
The variance of is:
The right-hand identity is the working formula; compute and separately, then subtract.
The standard deviation is .
Properties
. Adding a constant does not change variance; multiplying by a constant scales variance by the constant squared.
Worked variance
For the pdf on (worked above), , , , .
Median and quartiles
The median of a continuous random variable is the value such that . Find by solving:
The first and third quartiles satisfy similar equations with and .
Median and quartiles do not, in general, equal the mean. For symmetric pdfs (rectangle, isosceles triangle, normal) the median equals the mean. For skewed pdfs they differ.
The uniform distribution
The simplest continuous random variable. has pdf:
Properties:
- IMATH_69 (midpoint)
- IMATH_70
- Median = (symmetric)
- IMATH_72 for IMATH_73
The uniform is the "no information" distribution: all values in are equally likely.
Common errors
Forgetting the normalisation condition. A pdf must integrate to 1 over its support. Forgetting to find from this condition is the most common Paper 2 mistake.
Using as if it were a probability. does not mean "". For a continuous random variable, always. The pdf is a density, not a probability.
Wrong formula for variance. , not or . The square applies to the mean.
Forgetting to use the pdf inside . , not . The pdf is the weight.
Treating support as when it is . If is zero outside , do not integrate outside ; the integral is zero there. Set limits to and .
Confusing median and mean. For skewed pdfs the median and mean differ. Symmetric pdfs have median equal to mean.
In one sentence
A continuous random variable is described by a probability density function that integrates to 1 over its support and is non-negative; probabilities are computed as definite integrals , expected value as , and variance as where .
Past exam questions, worked
Real questions from past VCAA papers on this dot point, with our answer explainer.
2024 VCAA Paper 25 marksA continuous random variable $X$ has probability density function $f(x) = k x (2 - x)$ for $0 \leq x \leq 2$ and $f(x) = 0$ elsewhere. (a) Find the value of $k$. (b) Find $E(X)$.Show worked answer β
(a) Find . A pdf must integrate to 1 over its support.
.
Set equal to 1: , so .
(b) Expected value.
.
Evaluate. .
.
Markers reward the normalisation condition for finding , the explicit set-up for expected value, and exact-value evaluation.
2023 VCAA Paper 24 marksA continuous random variable has $f(x) = \frac{1}{8} x$ for $0 \leq x \leq 4$ and 0 elsewhere. (a) Find $P(X \leq 2)$. (b) Find $\text{Var}(X)$.Show worked answer β
(a) Probability.
.
(b) Variance. First find .
.
.
.
Markers reward correct definite integrals for , and , the variance formula , and exact-value answers.
Related dot points
- The normal distribution with mean $\mu$ and standard deviation $\sigma$, the standard normal $Z$, the use of the empirical 68/95/99.7 rule, and computation of normal probabilities and inverse probabilities using technology or standard tables
A focused answer to the VCE Math Methods Unit 4 key-knowledge point on the normal distribution. The pdf, the standardisation transformation $Z = (X - \mu)/\sigma$, the empirical rule, and the inverse-probability technique. Includes worked Paper 2 examples and standard CAS workflows.
- The sample proportion $\hat{p}$ as a random variable, the sampling distribution of $\hat{p}$ for repeated samples of size $n$ from a population with true proportion $p$, and the normal approximation for large $n$
A focused answer to the VCE Math Methods Unit 4 key-knowledge point on the sample proportion. Defines $\hat{p}$ as a random variable, gives its mean and standard deviation, sets out the normal-approximation conditions, and works through a Paper 2 estimation question.
- The definite integral, the fundamental theorem of calculus linking definite integration to antidifferentiation, and the properties of the definite integral over intervals
A focused answer to the VCE Math Methods Unit 4 key-knowledge point on definite integration. Defines the definite integral, states the fundamental theorem of calculus, sets out the linearity and interval properties, and works through a Paper 1 evaluation with the standard antiderivatives.