Mathematical Methods · Unit 4 · QCAA sample IA3 All sample IA3 questions
QCAA sample IA3 · Paper 1 · Complex familiar

Question 5

[4 marks] Complex familiar Technology-free

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.

The question [4 marks]

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$.

Watch the solution first

Make the area 1, find the balance point, then measure the spread about it

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.

0.511.520.511.520xyp(x) = 0beyond 2p(x) = ½xk = 1: area = 2k = 0.9: area = 1.8k = 0.8: area = 1.6k = 0.7: area = 1.4k = 0.6: area = 1.2k = ½: area = 1x × p(x)x × p(x)x × p(x)x × p(x)μ = 4/3 ≈ 1.333(x − 4/3)²× ½xarea = 2/9E(X²) = 2, not the variancek = ½E(X) = 4/3Var(X) = 2/9 ≈ 0.222Mark 1Mark 2Mark 3Mark 4Mark 5Mark 6p(x) = kx for 0 ≤ x ≤ 2, k unknownTotal area must be 1: ∫ kx dx from 0 to 2 = 1[kx²/2] from 0 to 2 = 2k = 1, so k = ½E(X) = ∫ x p(x) dx = ∫ ½x² dx from 0 to 2E(X) = [x³/6] from 0 to 2 = 8/6 = 4/3Var(X) = ∫ (x − 4/3)² × ½x dx from 0 to 2½(¼ × 24 − 8/9 × 23 + 8/9 × 23) − 0 = 2/9 ≈ 0.222E(X²) = 2 is not Var(X): 2 − (4/3)² = 2/9Var(X) = 2/9 ≈ 0.222
Now for the mathematics

Make the area 1, then move the centre until the spread is smallest

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.

p(x) = 0 beyond 2 00.511.522.5 0.511.52 x y c
solid: $y=kx$ shaded: the total area dashed and hatched: $y=(x-c)^{2}p(x)$ grey dotted: a slip the centre $c$
$k$
Total area $\int_0^{2}kx\,dx=2k$
$E(X)=\int_0^{2}x\,p(x)\,dx$$\frac{4}{3}\approx1.3333$Make the area 1 first
Spread about $c$$\int_0^{2}(x-c)^{2}\times\frac{1}{2}x\,dx=c^{2}-\frac{8}{3}c+2$Make the area 1 first

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}$.

UsedCorrect
$\mathrm{Var}(X)$2.0000 ✗0.2222 ✓

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.

UsedCorrect
$\mathrm{Var}(X)$$2-\frac{4}{3}=0.6667$ ✗0.2222 ✓

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.

UsedCorrect
$\mathrm{Var}(X)$$\frac{34}{9}\approx3.7778$ ✗0.2222 ✓

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.

UsedCorrect
$k$1 ✗0.5 ✓
Total area2.0000 ✗1.0000 ✓
$E(X)$$\frac{8}{3}\approx2.6667$ ✗1.3333 ✓
Variance4.0000 ✗0.2222 ✓

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.

UsedCorrect
$k$0.25 ✗0.5 ✓
$E(X)$$\frac{2}{3}\approx0.6667$ ✗1.3333 ✓
Variance$\frac{1}{3}\approx0.3333$ ✗0.2222 ✓

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.

QCAA sample marking scheme · 4 marks

Work through the solution one mark at a time

Try each step yourself before you reveal it. This question has six marking points worth half a mark or one mark each.

Step 1Mark 1½ mark

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

Step 2Mark 2½ mark

$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}$$

Marking

Allow FT mark due to error/s in prior working

Marker: determines the value of $k$

Step 3Mark 3½ mark

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$$

Marking

Accept equivalent rule, e.g. $Var(X)=E(X^{2})-E(X)^{2}$

Marker: correctly identifies the rule for $E(X)$

Step 4Mark 41 mark

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}$$

Marking

Allow FT mark due to error/s in prior working

Marker: determines $E(X)$

Step 5Mark 5½ mark

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)$

Step 6Mark 61 mark

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}$$

Check

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}$.

Marking

Allow FT mark due to error/s in prior working

The variance of $X$ is $\mathrm{Var}(X)=\dfrac{2}{9}\approx0.222$.

Marker: determines $Var(X)$

Common errors

If I had to guess where you might lose marks…

  • You report $E(X^{2})$ as the variance: $\int_0^{2}x^{2}\times\dfrac{1}{2}x\,dx=2$, so $\mathrm{Var}(X)=2$. The square of the mean is never subtracted. 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 subtract $E(X)$ instead of $E(X)^{2}$: $\mathrm{Var}(X)=2-\dfrac{4}{3}=\dfrac{2}{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 drop the middle term when expanding: $\left(x-\dfrac{4}{3}\right)^{2}=x^{2}+\dfrac{16}{9}$ gives $\int_0^{2}\dfrac{1}{2}x\left(x^{2}+\dfrac{16}{9}\right)dx=\dfrac{34}{9}$. Mark 6 is for determining $\mathrm{Var}(X)$, so this is the step to check.
  • You leave $k$ out and treat $p(x)=x$ as the density: the area is 2, not 1, then $E(X)=\dfrac{8}{3}$ and, with the rule $\int(x-\mu)^{2}p(x)\,dx$, $\int_0^{2}\left(x-\dfrac{8}{3}\right)^{2}x\,dx=4$. 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 integrate $kx$ as $kx^{2}$: $4k=1$ gives $k=\dfrac{1}{4}$, then $E(X)=\dfrac{2}{3}$ and, with the rule $\int(x-\mu)^{2}p(x)\,dx$, $\mathrm{Var}(X)=\dfrac{1}{3}$. 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.
What makes this complex familiar

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.

Back to the index

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.