Continuous random variables
HSC Maths Advanced · Module 6: Statistics & Probability
Continuous random variables notes
Fact-checked by a second, independent AI review.
Learn how continuous random variables are described by a probability density function (PDF) and its cumulative distribution function (CDF), with a focus on the uniform distribution and how to go from PDF to CDF and back.
- Probability density function (PDF)
- A non-negative function f(x) that integrates to 1 over the variable’s support; probabilities are areas under the curve: P(a≤X≤b)=∫a^b f(x)dx.
- Cumulative distribution function (CDF)
- F(x)=P(X≤x)=∫−∞^x f(t)dt; F is nondecreasing, with limits F(−∞)=0 and F(∞)=1, and F′(x)=f(x) where f is continuous.
- From PDF to CDF
- Differentiate the CDF to get the PDF: f(x)=dF/dx; integrate the PDF to recover the CDF.
- Uniform distribution
- X∼Uniform(a,b): PDF f(x)=1/(b−a) for a≤x≤b, 0 otherwise; CDF F(x)=(x−a)/(b−a) for a≤x≤b; mean=(a+b)/2, variance=(b−a)²/12.
- Key use
- Use the PDF to find probabilities via areas; use the CDF for cumulative probabilities and to locate percentiles.
Remember it: Area under the PDF’s curve equals probability.
Exam tip: Markers expect correct definitions, proper normalisation of the PDF, correct use of limits and supports, ability to compute probabilities via integrals, and to connect PDFs with CDFs (including mean/variance for uniform).
Syllabus checklist
- Probability density functions
- Cumulative distribution
- Uniform distribution
Practice questions
1. A continuous variable X is Uniform on [0,6]. What is P(2 ≤ X ≤ 5)?
Answer checked
Show answer
Answer: 1/2. Length of interval 3 over total length 6 = 3/6 = 1/2.
2. If X ∼ Uniform(0,1), what is P(X > 0.7)?
Answer checked
Show answer
Answer: 0.3. P(X > 0.7) = 1 − 0.7 = 0.3.
3. The CDF F(x) for a Uniform(0,1) equals 0 for x<0, x for 0≤x≤1, and 1 for x≥1.
Answer checked
Show answer
Answer: True. This is the correct form of the CDF for Uniform(0,1).
4. For a pdf f(x) = c on [0,2], the constant c must be ____ to make total area 1.
Answer checked
Show answer
Answer: 1/2. Integral from 0 to 2 of c dx = 2c = 1 → c = 1/2.

Practise continuous random variables as a game
Hearts, combos, streaks and an AI tutor that explains every answer. Start free.