Question bank › IB Maths AA › Statistics and probability

Bayes' theorem and continuous random variables

Answer on paper first, then reveal the mark scheme one mark at a time.

1HardCalculatorHL only8 marks

The continuous random variable $X$ has probability density function $f(x)=k(4-x)$ for $0\le x\le4$, and $f(x)=0$ otherwise.

(a) Show that $k=\dfrac18$. [2]

(b) Find $E(X)$. [2]

(c) Find the median of $X$. [3]

(d) Find $P(X>3)$. [1]

2CoreCalculatorHL only6 marks

A phone repair shop buys replacement screens from three suppliers, $A$, $B$ and $C$. Of all screens bought, $50\%$ come from $A$, $30\%$ from $B$ and $20\%$ from $C$. The probability that a screen is faulty is $0.02$ for supplier $A$, $0.03$ for supplier $B$ and $0.05$ for supplier $C$.

A screen is chosen at random.

(a) Find the probability that the screen is faulty. [2]

(b) Given that the screen is faulty, find the probability that it came from supplier $C$. [2]

(c) Given that the screen is not faulty, find the probability that it came from supplier $A$. [2]

3CoreNon-calculatorHL only7 marks

The discrete random variable $X$ has the probability distribution shown, where $a$ and $b$ are constants.

$x$0123
$P(X=x)$$0.1$$a$$b$$0.2$

It is given that $E(X)=1.6$.

(a) Find the value of $a$ and the value of $b$. [3]

(b) Find $\mathrm{Var}(X)$. [2]

(c) Hence find $E(5-2X)$ and $\mathrm{Var}(5-2X)$. [2]

Stuck on Bayes' theorem and continuous random variables?

Get it sorted in a free 30-minute session

We work through your weakest questions on this topic on Zoom. I reply the same day.

4StandardNon-calculatorHL only7 marks

The continuous random variable $X$ has probability density function $f$ shown in the diagram. The graph of $f$ is the horizontal line $y=h$ for $0\le x\le2$ and a straight line from $(2,h)$ to $(4,0)$ for $2\le x\le4$. $f(x)=0$ otherwise.

(a) Find the value of $h$. [2]

(b) Find $P(1<X<3)$. [3]

(c) Find the median of $X$. [2]

01234hxf(x)y = h
5StandardCalculatorHL only10 marks

The continuous random variable $X$ has probability density function

$$f(x)=\begin{cases}kx^2(3-x), & 0\le x\le3\\ 0, & \text{otherwise.}\end{cases}$$

(a) Show that $k=\dfrac4{27}$. [2]

(b) Find the mode of $X$. [2]

(c) Find $E(X)$ and the standard deviation of $X$. [4]

(d) The median of $X$ is $1.84$, correct to 3 significant figures. With reference to your answers, comment on the shape of the distribution. [2]

6StandardNon-calculatorHL only7 marks

Sam travels to college by bus, by bicycle or on foot. On any given day, the probability that Sam takes the bus is $\tfrac12$, cycles is $\tfrac13$ and walks is $\tfrac16$. The probability that Sam is late is $\tfrac15$ if travelling by bus, $\tfrac1{10}$ if cycling and $\tfrac14$ if walking.

(a) Show that the probability that Sam is late on a randomly chosen day is $\tfrac7{40}$. [2]

(b) On one day Sam is late. Find the probability that Sam walked. [2]

(c) Find the probability that Sam took the bus, given that Sam is late. [1]

(d) Hence determine whether the events “Sam takes the bus” and “Sam is late” are independent. Justify your answer. [2]

7HardNon-calculatorHL only10 marks

The continuous random variable $X$ has probability density function $f(x)=\cos x$ for $0\le x\le\dfrac{\pi}2$, and $f(x)=0$ otherwise.

(a) Show that $f$ is a valid probability density function. [2]

(b) Find the exact value of the median of $X$. [2]

(c) Use integration by parts to show that $E(X)=\dfrac{\pi}2-1$. [3]

(d) Given that $\displaystyle\int_0^{\pi/2}x^2\cos x\,dx=\frac{\pi^2}4-2$, show that $\mathrm{Var}(X)=\pi-3$. [3]

8HardNon-calculatorHL only9 marks

The continuous random variable $X$ has probability density function $f(x)=ax+b$ for $0\le x\le2$, and $f(x)=0$ otherwise, where $a$ and $b$ are constants. It is given that $E(X)=\dfrac76$.

(a) Find the value of $a$ and the value of $b$. [4]

(b) Find $\mathrm{Var}(X)$. [3]

(c) The random variable $Y$ is defined by $Y=6X-2$. Find $E(Y)$ and $\mathrm{Var}(Y)$. [2]

9StretchCalculatorHL only8 marks

A screening test is used for a rare condition. A proportion $p$ of a population has the condition. If a person has the condition, the test is positive with probability $0.95$. If a person does not have the condition, the test is positive with probability $0.1$.

(a) Show that the probability that a randomly chosen person tests positive is $0.1+0.85p$. [2]

(b) Health officials find that half of the people who test positive actually have the condition. Find the value of $p$. [3]

A person who tests positive is given the test a second time. Assume that results of the two tests are independent for a given person.

(c) Find the probability that the person has the condition, given that both tests are positive. [3]

10StretchCalculatorHL only10 marks

The continuous random variable $X$ has probability density function

$$f(x)=\begin{cases}kx^2, & 0\le x\le1\\ \dfrac{k(3-x)}2, & 1<x\le3\\ 0, & \text{otherwise,}\end{cases}$$

where $k$ is a positive constant. The graph of $y=f(x)$ is shown.

(a) Find the value of $k$. [2]

(b) Write down the mode of $X$. [1]

(c) Find the median of $X$. [3]

(d) Find $E(X)$. [2]

(e) Find $P(X<2\mid X>1)$. [2]

0123kxf(x)y = kx²y = k(3 − x)/2

Stuck on this topic?

Book a free 30-minute session on WhatsApp and we'll find exactly which step is costing you the marks. Or build a timed paper on it.

Free 30-minute session