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

How does a probability density function describe a continuous random variable, and how do we find probabilities from it?

Use probability density functions to find probabilities as areas, determine an unknown constant, and compute the mean and variance by integration

WACE Year 12 Mathematics Methods Unit 4 probability density functions: the validity conditions, probability as area, finding an unknown constant, the median, and mean and variance by integration, with worked SCSA-style examples.

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. Validity conditions
  3. Finding an unknown constant
  4. Mean and variance by integration
  5. Variance by integration
  6. The median

What this dot point is asking

SCSA Unit 4 introduces continuous random variables, where outcomes fill an interval rather than a list. This dot point asks you to verify a probability density function (pdf), find probabilities and an unknown constant, and compute the mean and variance by integration. It is examined in both sections, with the calculator-assumed section favouring integrals that need numerical evaluation and the calculator-free section favouring polynomial densities with exact answers.

Validity conditions

Because area over a single point is zero, P(X=a)=0P(X=a)=0 for any value aa, so P(aXb)=P(a<X<b)P(a\le X\le b)=P(a<X<b). The inequality endpoints do not change a continuous probability. The density f(x)f(x) is not itself a probability and can exceed 11; only areas under it represent probabilities. The support of the variable is the set of xx where f(x)>0f(x)>0, and outside the support ff is zero, contributing nothing to any integral. Always integrate only across the support.

Finding an unknown constant

If a pdf contains an unknown coefficient, the total-area condition determines it.

Mean and variance by integration

The discrete sums become integrals for a continuous variable.

Variance by integration

The variance uses the same idea with an extra factor of x2x^{2}, then subtracts the square of the mean, exactly mirroring the discrete shortcut.

The median

The median mm splits the area in half: mf(x)dx=0.5\int_{-\infty}^{m} f(x)\,dx = 0.5. For a symmetric pdf the median equals the mean, but for a skewed density such as the one above they differ, and each must be found from its own integral equation. To find the median of f(x)=19x2f(x)=\dfrac{1}{9}x^{2} on [0,3][0,3], solve 19m33=0.5\dfrac{1}{9}\cdot\dfrac{m^{3}}{3}=0.5, giving m3=13.5m^{3}=13.5 and m2.38m\approx 2.38, which lies above the median position you might guess because the density is heaviest near x=3x=3.

Exam-style practice questions

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

WACE 20227 marksCalculator-assumed. A continuous random variable XX has probability density function f(x)=k(4x)f(x)=k(4-x) for 0x40\le x\le 4 and zero otherwise. (a) Find kk. (b) Find P(X1)P(X\le 1). (c) Find E(X)E(X).
Show worked answer →

A full pdf question.

(a) Total area 11: 04k(4x)dx=k[4xx22]04=k(168)=8k=1\displaystyle\int_{0}^{4}k(4-x)\,dx=k\left[4x-\dfrac{x^{2}}{2}\right]_{0}^{4}=k(16-8)=8k=1, so k=18k=\dfrac{1}{8}.

(b) P(X1)=0118(4x)dx=18[4xx22]01=18(412)=716P(X\le 1)=\displaystyle\int_{0}^{1}\dfrac{1}{8}(4-x)\,dx=\dfrac{1}{8}\left[4x-\dfrac{x^{2}}{2}\right]_{0}^{1}=\dfrac{1}{8}\left(4-\dfrac{1}{2}\right)=\dfrac{7}{16}.

(c) E(X)=04x18(4x)dx=1804(4xx2)dx=18[2x2x33]04=18(32643)=43E(X)=\displaystyle\int_{0}^{4}x\cdot\dfrac{1}{8}(4-x)\,dx=\dfrac{1}{8}\int_{0}^{4}(4x-x^{2})\,dx=\dfrac{1}{8}\left[2x^{2}-\dfrac{x^{3}}{3}\right]_{0}^{4}=\dfrac{1}{8}\left(32-\dfrac{64}{3}\right)=\dfrac{4}{3}.

Markers reward the area-equals-one equation, integrating over the correct interval, and the extra factor of xx for the mean.

WACE 20245 marksCalculator-free. A continuous random variable has f(x)=38x2f(x)=\dfrac{3}{8}x^{2} for 0x20\le x\le 2. (a) Verify that ff is a valid pdf. (b) Find P(X1)P(X\ge 1).
Show worked answer →

A verify-and-compute question.

(a) f(x)0f(x)\ge 0 on [0,2][0,2], and 0238x2dx=38[x33]02=3883=1\displaystyle\int_{0}^{2}\dfrac{3}{8}x^{2}\,dx=\dfrac{3}{8}\left[\dfrac{x^{3}}{3}\right]_{0}^{2}=\dfrac{3}{8}\cdot\dfrac{8}{3}=1. Both conditions hold, so ff is a valid pdf.

(b) P(X1)=1238x2dx=38[x33]12=18(81)=78P(X\ge 1)=\displaystyle\int_{1}^{2}\dfrac{3}{8}x^{2}\,dx=\dfrac{3}{8}\left[\dfrac{x^{3}}{3}\right]_{1}^{2}=\dfrac{1}{8}(8-1)=\dfrac{7}{8}.

Markers reward checking both validity conditions and integrating over [1,2][1,2].

ExamExplained