Your teacher writes your IA3. This is the QCAA sample, so use it for the question shapes, and ask your teacher for practice that matches your school’s paper.
Let $X$ be a continuous random variable with probability density function given as:
$$p(x)=\begin{cases}kx, & 0\le x\le 2\\ 0, & \text{otherwise}\end{cases}$$
Determine the variance of the variable $X$.
The total area fixes $k$. The mean is where the density balances, and the variance is the area under the squared distance from that point, weighted by the density.
Move $k$ to see the total area, then press Make the area 1. That unlocks the centre $c$, which draws $(x-c)^{2}p(x)$ and hatches the area under it. Find the centre that makes the spread smallest. Each slip button swaps in one common error, and Clear puts everything back.
This is the smallest spread of all seven centres. The centre is $c=\mu=\frac{4}{3}$, so this spread is $\mathrm{Var}(X)=\frac{2}{9}$.
You found $E(X^{2})=\int_0^{2}x^{2}\times\frac{1}{2}x\,dx=2$ and reported it as the variance. The square of the mean is never subtracted, so this is the spread about $c=0$, not about $\mu=\frac{4}{3}$. Mark 5 is for the rule for $\mathrm{Var}(X)$ and Mark 6 is for determining $\mathrm{Var}(X)$, so these are the steps to check.
You subtracted $E(X)$ instead of $E(X)^{2}$, so $\mathrm{Var}(X)=2-\frac{4}{3}=\frac{2}{3}$. The rule squares the mean: $2-\left(\frac{4}{3}\right)^{2}=2-\frac{16}{9}=\frac{2}{9}$. Mark 5 is for the rule for $\mathrm{Var}(X)$ and Mark 6 is for determining $\mathrm{Var}(X)$, so these are the steps to check.
You dropped the middle term when expanding, so $\left(x-\frac{4}{3}\right)^{2}=x^{2}+\frac{16}{9}$ and $\int_0^{2}\frac{1}{2}x\left(x^{2}+\frac{16}{9}\right)dx=\frac{34}{9}$. The grey dotted curve is that integrand. The expansion is $x^{2}-\frac{8}{3}x+\frac{16}{9}$. Mark 6 is for determining $\mathrm{Var}(X)$, so this is the step to check.
You left $k$ out and treated $p(x)=x$ as the density. Its area is 2, not 1, so it is not a probability density function. Then $E(X)=\frac{8}{3}$ and, with the rule $\int(x-\mu)^{2}p(x)\,dx$, $\int_0^{2}\left(x-\frac{8}{3}\right)^{2}x\,dx=4$. The grey dotted curve is $\left(x-\frac{8}{3}\right)^{2}x$. Mark 1 is for the PDF condition and Mark 2 is for the value of $k$, so these are the steps to check. The scheme allows an FT mark due to error/s in prior working on Mark 4 and on Mark 6.
You integrated $kx$ as $kx^{2}$, so $4k=1$ and $k=\frac{1}{4}$ (the grey dotted line). Then $E(X)=\frac{2}{3}$ and, with the rule $\int(x-\mu)^{2}p(x)\,dx$, $\mathrm{Var}(X)=\frac{1}{3}$. The antiderivative of $kx$ is $\frac{kx^{2}}{2}$. Mark 2 is for the value of $k$, so this is the step to check. The scheme allows an FT mark due to error/s in prior working on Mark 4 and on Mark 6.
Try each step yourself before you reveal it. This question has six marking points worth half a mark or one mark each.
The total area under a probability density function is 1. The function is non-zero only for $0\le x\le2$, so the integral runs from 0 to 2.
$$\int_0^{2}kx\,dx=1$$
Marker: correctly identifies the PDF condition
$k$ is a constant, so it stays in front while you raise the power of $x$ by 1 and divide by the new power.
$$\left[\frac{kx^{2}}{2}\right]_0^{2}=1$$
$$\frac{k\times2^{2}}{2}-0=1$$
$$2k=1$$
$$k=\frac{1}{2}$$
Allow FT mark due to error/s in prior working
Marker: determines the value of $k$
The mean weights each $x$ by its density. Outside $0\le x\le2$ the density is 0, so only that interval contributes.
$$E(X)=\mu=\int_{-\infty}^{\infty}x\ p(x)\,dx$$
$$=\int_0^{2}x\times\frac{1}{2}x\,dx$$
Accept equivalent rule, e.g. $Var(X)=E(X^{2})-E(X)^{2}$
Marker: correctly identifies the rule for $E(X)$
Simplify the integrand to a single power of $x$, then integrate and substitute the limits.
$$E(X)=\int_0^{2}\frac{1}{2}x^{2}\,dx$$
$$=\left[\frac{1}{6}x^{3}\right]_0^{2}$$
$$=\frac{8}{6}-0$$
$$=\frac{4}{3}$$
Allow FT mark due to error/s in prior working
Marker: determines $E(X)$
The variance is the mean squared distance from $\mu$, weighted by the density. You need $\mu=\frac{4}{3}$ from Step 4 before you can write it.
$$\mathrm{Var}(X)=\int_{-\infty}^{\infty}(x-\mu)^{2}\ p(x)\,dx$$
$$\mathrm{Var}(X)=\int_0^{2}\left(x-\frac{4}{3}\right)^{2}\times\frac{1}{2}x\,dx$$
Marker: correctly identifies the rule for $Var(X)$
There is no rule for integrating a product directly, so expand the bracket first and keep the middle term $-\frac{8}{3}x$.
$$\left(x-\frac{4}{3}\right)^{2}=x^{2}-\frac{8}{3}x+\frac{16}{9}$$
Integrate term by term, then substitute $x=2$. The lower limit gives 0.
$$\mathrm{Var}(X)=\left[\frac{1}{2}\left(\frac{1}{4}x^{4}-\frac{8}{9}x^{3}+\frac{8}{9}x^{3}\right)\right]_0^{2}$$
$$=\frac{1}{2}\left(\frac{1}{4}\times2^{4}-\frac{8}{9}\times2^{3}+\frac{8}{9}\times2^{3}\right)-0$$
$$=\frac{2}{9}$$
The equivalent rule catches a dropped term in the expansion. $E(X^{2})=\int_0^{2}x^{2}\times\frac{1}{2}x\,dx$ $=\left[\frac{1}{8}x^{4}\right]_0^{2}=2$, so $\mathrm{Var}(X)=2-\left(\frac{4}{3}\right)^{2}=2-\frac{16}{9}=\frac{2}{9}$.
Allow FT mark due to error/s in prior working
Marker: determines $Var(X)$
Every step is a standard probability density function routine: make the total area 1, find the mean, then find the variance. The difficulty is the chain. $k$ is needed before the mean, the mean is needed before the variance, and a slip at any link carries through to the answer, all by hand.
Only mark this done when you could do it without help. Reading the solution does not count.
Question wording is from the QCAA Mathematical Methods 2025 v1.3 IA3 sample assessment instrument, and the marker lines are from its sample marking scheme, © State of Queensland (QCAA) 2026, licensed under CC BY 4.0 (www.qcaa.qld.edu.au/copyright). Figures are redrawn. The solutions, animations and commentary are Tangent Tuition’s. Tangent Tuition is not affiliated with the QCAA.
Spot a mistake on this page? Report it