5.03a Continuous random variables: pdf and cdf

617 questions

Sort by: Default | Easiest first | Hardest first
OCR MEI S4 2006 June Q2
24 marks Standard +0.8
2 [In this question, you may use the result \(\int _ { 0 } ^ { \infty } u ^ { m } \mathrm { e } ^ { - u } \mathrm {~d} u = m\) ! for any non-negative integer \(m\).]
The random variable \(X\) has probability density function $$\mathrm { f } ( x ) = \begin{cases} \frac { \lambda ^ { k + 1 } x ^ { k } \mathrm { e } ^ { - \lambda x } } { k ! } , & x > 0 \\ 0 , & \text { elsewhere } \end{cases}$$ where \(\lambda > 0\) and \(k\) is a non-negative integer.
  1. Show that the moment generating function of \(X\) is \(\left( \frac { \lambda } { \lambda - \theta } \right) ^ { k + 1 }\).
  2. The random variable \(Y\) is the sum of \(n\) independent random variables each distributed as \(X\). Find the moment generating function of \(Y\) and hence obtain the mean and variance of \(Y\). [8]
  3. State the probability density function of \(Y\).
  4. For the case \(\lambda = 1 , k = 2\) and \(n = 5\), it may be shown that the definite integral of the probability density function of \(Y\) between limits 10 and \(\infty\) is 0.9165 . Calculate the corresponding probability that would be given by a Normal approximation and comment briefly.
OCR MEI S4 2012 June Q1
24 marks Standard +0.3
1 In a certain country, any baby born is equally likely to be a boy or a girl, independently for all births. The birthweight of a baby boy is given by the continuous random variable \(X _ { B }\) with probability density function (pdf) \(\mathrm { f } _ { B } ( x )\) and cumulative distribution function (cdf) \(\mathrm { F } _ { B } ( x )\). The birthweight of a baby girl is given by the continuous random variable \(X _ { G }\) with pdf \(\mathrm { f } _ { G } ( x )\) and cdf \(\mathrm { F } _ { G } ( x )\). The continuous random variable \(X\) denotes the birthweight of a baby selected at random.
  1. By considering $$\mathrm { P } ( X \leqslant x ) = \mathrm { P } ( X \leqslant x \mid \text { boy } ) \mathrm { P } ( \text { boy } ) + \mathrm { P } ( X \leqslant x \mid \text { girl } ) \mathrm { P } ( \text { girl } ) ,$$ find the cdf of \(X\) in terms of \(\mathrm { F } _ { B } ( x )\) and \(\mathrm { F } _ { G } ( x )\), and deduce that the pdf of \(X\) is $$\mathrm { f } ( x ) = \frac { 1 } { 2 } \left\{ \mathrm { f } _ { B } ( x ) + \mathrm { f } _ { G } ( x ) \right\} .$$
  2. The birthweights of baby boys and girls have means \(\mu _ { B }\) and \(\mu _ { G }\) respectively. Deduce that $$\mathrm { E } ( X ) = \frac { 1 } { 2 } \left( \mu _ { B } + \mu _ { G } \right) .$$
  3. The birthweights of baby boys and girls have common variance \(\sigma ^ { 2 }\). Find an expression for \(\mathrm { E } \left( X ^ { 2 } \right)\) in terms of \(\mu _ { B } , \mu _ { G }\) and \(\sigma ^ { 2 }\), and deduce that $$\operatorname { Var } ( X ) = \sigma ^ { 2 } + \frac { 1 } { 4 } \left( \mu _ { B } - \mu _ { G } \right) ^ { 2 } .$$
  4. A random sample of size \(2 n\) is taken from all the babies born in a certain period. The mean birthweight of the babies in this sample is \(\bar { X }\). Write down an approximation to the sampling distribution of \(\bar { X }\) if \(n\) is large.
  5. Suppose instead that a stratified sample of size \(2 n\) is taken by selecting \(n\) baby boys at random and, independently, \(n\) baby girls at random. The mean birthweight of the \(2 n\) babies in this sample is \(\bar { X } _ { s t }\). Write down the expected value of \(\bar { X } _ { s t }\) and find the variance of \(\bar { X } _ { s t }\).
  6. Deduce that both \(\bar { X }\) and \(\bar { X } _ { s t }\) are unbiased estimators of the population mean birthweight. Find which is the more efficient.
OCR MEI S4 2014 June Q2
24 marks Challenging +1.2
2
  1. The probability density function of the random variable \(X\) is $$\mathrm { f } ( x ) = \frac { x ^ { k - 1 } \mathrm { e } ^ { - x / \phi } } { \phi ^ { k } ( k - 1 ) ! } , x > 0$$ where \(k\) is a known positive integer and \(\phi\) is an unknown parameter ( \(\phi > 0\) ). Show that the moment generating function (mgf) of \(X\) is $$\mathrm { M } _ { X } ( \theta ) = ( 1 - \phi \theta ) ^ { - k }$$ for \(\theta < \frac { 1 } { \phi }\).
  2. Write down the mgf of the random variable \(W = \sum _ { i = 1 } ^ { n } X _ { i }\) where \(X _ { 1 } , X _ { 2 } , \ldots , X _ { n }\) are independent random variables each with the same distribution as \(X\).
  3. Write down the mgf of the random variable \(Y = \frac { 2 W } { \phi }\). Given that the mgf of the random variable \(V\) having the \(\chi _ { m } ^ { 2 }\) distribution is \(\mathrm { M } _ { V } ( \theta ) = ( 1 - 2 \theta ) ^ { - m / 2 }\) (for \(\theta < \frac { 1 } { 2 }\) ), deduce the distribution of \(Y\).
  4. Deduce that \(\mathrm { P } \left( l < \frac { 2 W } { \phi } < u \right) = 0.95\) where \(l\) and \(u\) are the lower and upper \(2 \frac { 1 } { 2 } \%\) points of the \(\chi _ { 2 n k } ^ { 2 }\) distribution. Hence deduce that a \(95 \%\) confidence interval for \(\phi\) is given by \(\left( \frac { 2 w } { u } , \frac { 2 w } { l } \right)\) where \(w\) is an observation on the random variable \(W\).
  5. For the case \(k = 2\) and \(n = 10\), use percentage points of the \(\chi ^ { 2 }\) distribution to write down, in terms of \(w\), an expression for a \(95 \%\) confidence interval for \(\phi\). By considering the \(\operatorname { mgf }\) of \(W\), find in terms of \(\phi\) the expected length of this interval.
OCR MEI S4 2015 June Q1
24 marks Standard +0.3
1 The random variable \(X\) has the following probability density function, in which \(a\) is a (positive) parameter. $$\mathrm { f } ( x ) = \frac { 2 } { a } x \mathrm { e } ^ { - x ^ { 2 } / a } , \quad x \geqslant 0 .$$
  1. Verify that \(\int _ { 0 } ^ { \infty } \mathrm { f } ( x ) \mathrm { d } x = 1\).
  2. Show that \(\mathrm { E } \left( X ^ { 2 } \right) = a\) and \(\mathrm { E } \left( X ^ { 4 } \right) = 2 a ^ { 2 }\). The parameter \(a\) is to be estimated by maximum likelihood based on an independent random sample from the distribution, \(X _ { 1 } , X _ { 2 } , \ldots , X _ { n }\).
  3. Show that the logarithm of the likelihood function is $$n \ln 2 - n \ln a + \sum _ { i = 1 } ^ { n } \ln X _ { i } - \frac { 1 } { a } \sum _ { i = 1 } ^ { n } X _ { i } ^ { 2 }$$ Hence obtain the maximum likelihood estimator, \(\hat { a }\), for \(a\).
    [0pt] [You are not required to verify that any turning point you find is a maximum.]
  4. Using the results from part (ii), show that \(\hat { a }\) is unbiased for \(a\) and find the variance of \(\hat { a }\).
  5. In a particular random sample from this distribution, \(n = 100\) and \(\sum x _ { i } ^ { 2 } = 147.1\). Obtain an approximate 95\% confidence interval for \(a\). (You may assume that the Central Limit Theorem holds in this case.) Option 2: Generating Functions
OCR MEI S4 2016 June Q1
24 marks Hard +2.3
1 The random variable \(X\) has a Cauchy distribution centred on \(m\). Its probability density function ( pdf ) is \(\mathrm { f } ( x )\) where $$\mathrm { f } ( x ) = \frac { 1 } { \pi } \frac { 1 } { 1 + ( x - m ) ^ { 2 } } , \quad \text { for } - \infty < x < \infty$$
  1. Sketch the pdf. Show that the mode and median are at \(x = m\).
  2. A sample of size 1 , consisting of the observation \(x _ { 1 }\), is taken from this distribution. Show that the maximum likelihood estimate (MLE) of \(m\) is \(x _ { 1 }\).
  3. Now suppose that a sample of size 2 , consisting of observations \(x _ { 1 }\) and \(x _ { 2 }\), is taken from the distribution. By considering the logarithm of the likelihood function or otherwise, show that the MLE, \(\hat { m }\), satisfies the cubic equation $$\left( 2 \hat { m } - \left( x _ { 1 } + x _ { 2 } \right) \right) \left( \hat { m } ^ { 2 } - \left( x _ { 1 } + x _ { 2 } \right) \hat { m } + 1 + x _ { 1 } x _ { 2 } \right) = 0$$
  4. Obtain expressions for the three roots of this equation. Show that if \(\left| x _ { 1 } - x _ { 2 } \right| < 2\) then only one root is real. How do you know, without doing further calculations, that in this case the real root will be the MLE of \(m\) ?
  5. Obtain the three possible values of \(\hat { m }\) in the case \(x _ { 1 } = - 2\) and \(x _ { 2 } = 2\). Evaluate the likelihood function for each value of \(\hat { m }\) and comment on your answer.
Edexcel S1 2016 January Q1
12 marks Moderate -0.8
  1. The discrete random variable \(X\) has the probability distribution given in the table below.
\(x\)- 21346
\(\mathrm { P } ( X = x )\)\(\frac { 1 } { 4 }\)\(\frac { 1 } { 6 }\)\(\frac { 1 } { 3 }\)\(\frac { 1 } { 12 }\)\(\frac { 1 } { 6 }\)
  1. Write down the value of \(\mathrm { F } ( 5 )\)
  2. Find \(\mathrm { E } ( X )\)
  3. Find \(\operatorname { Var } ( X )\) The random variable \(Y = 7 - 2 X\)
  4. Find
    1. \(\mathrm { E } ( Y )\)
    2. \(\operatorname { Var } ( Y )\)
    3. \(\mathrm { P } ( Y > X )\) \includegraphics[max width=\textwidth, alt={}, center]{70137e9a-0a6b-48b5-8dd4-c436cb063351-03_2261_47_313_37}
Edexcel S1 2017 January Q7
10 marks Standard +0.3
  1. The discrete random variable \(X\) can take only the values \(1,2,3\) and 4 . For these values, the probability function is given by
$$\mathrm { P } ( X = x ) = \frac { a x + b } { 60 } \quad \text { for } x = 1,2,3,4$$ where \(a\) and \(b\) are constants.
  1. Show that \(5 a + 2 b = 30\) Given that \(\mathrm { F } ( 3 ) = \frac { 13 } { 20 }\)
  2. find the value of \(a\) and the value of \(b\) Given also that \(Y = X ^ { 2 }\)
  3. find the cumulative distribution function of \(Y\)
OCR S2 2013 January Q4
9 marks Moderate -0.5
4 A continuous random variable \(X\) has probability density function $$\mathrm { f } ( x ) = \left\{ \begin{array} { c l } k x & 0 \leqslant x \leqslant a \\ 0 & \text { otherwise } \end{array} \right.$$ where \(k\) and \(a\) are constants.
  1. State what the letter \(x\) represents.
  2. Find \(k\) in terms of \(a\).
  3. Find \(\operatorname { Var } ( X )\) in terms of \(a\).
OCR S2 2015 June Q3
10 marks Standard +0.3
3 A continuous random variable \(X\) has probability density function $$f ( x ) = \left\{ \begin{array} { c l } \frac { 3 } { 2 a ^ { 3 } } x ^ { 2 } & - a \leqslant x \leqslant a \\ 0 & \text { otherwise } \end{array} \right.$$ where \(a\) is a constant.
  1. It is given that \(\mathrm { P } ( - 3 \leqslant X \leqslant 3 ) = 0.125\). Find the value of \(a\) in this case.
  2. It is given instead that \(\operatorname { Var } ( X ) = 1.35\). Find the value of \(a\) in this case.
  3. Explain the relationship between \(x\) and \(X\) in this question.
OCR S3 2014 June Q6
8 marks Standard +0.3
6 The continuous random variable \(X\) has probability density function given by $$\mathrm { f } ( x ) = \left\{ \begin{array} { c l } k \sin x & 0 \leqslant x \leqslant \frac { 1 } { 2 } \pi , \\ k \left( 2 - \frac { 2 x } { \pi } \right) & \frac { 1 } { 2 } \pi \leqslant x \leqslant \pi , \\ 0 & \text { otherwise, } \end{array} \right.$$ where \(k\) is a constant.
  1. Show that \(k = \frac { 4 } { 4 + \pi }\).
  2. Find \(\mathrm { E } ( X )\), correct to 3 significant figures, showing all necessary working.
OCR S3 2014 June Q9
11 marks Challenging +1.2
9 A rectangle of area \(A \mathrm {~m} ^ { 2 }\) has a perimeter of 20 m and each of the two shorter sides are of length \(X \mathrm {~m}\), where \(X\) is uniformly distributed between 0 and 2 .
  1. Write down an expression for \(A\) in terms of \(X\), and hence show that \(A = 25 - ( X - 5 ) ^ { 2 }\).
  2. Write down the probability density function of \(X\).
  3. Show that the cumulative distribution function of \(A\) is $$\mathrm { F } ( a ) = \left\{ \begin{array} { l r } 0 & a < 0 , \\ \frac { 1 } { 2 } ( 5 - \sqrt { 25 - a } ) & 0 \leqslant a \leqslant 16 , \\ 1 & a > 16 . \end{array} \right.$$
  4. Find the probability density function of \(A\). \section*{END OF QUESTION PAPER} \section*{OCR}
OCR S3 2015 June Q7
14 marks Standard +0.3
7 A continuous random variable \(X\) has probability density function $$f ( x ) = \left\{ \begin{array} { c c } k x & 0 \leqslant x < 2 \\ \frac { k ( 4 - x ) ^ { 2 } } { 2 } & 2 \leqslant x \leqslant 4 \\ 0 & \text { otherwise } \end{array} \right.$$ where \(k\) is a constant.
  1. Show that \(k = \frac { 3 } { 10 }\).
  2. Find \(\mathrm { E } ( X )\).
  3. Find the cumulative distribution function of \(X\).
  4. Find the upper quartile of \(X\), correct to 3 significant figures. \section*{END OF QUESTION PAPER}
CAIE Further Paper 4 2020 Specimen Q4
7 marks Standard +0.8
4 The number, \(x\), of a certain type of sea shell was counted at 60 randomly chosen sites, each one metre square, along the coastline in country \(A\). The number, \(y\), of the same type of sea shell was counted at 50 randomly chosen sites, each one metre square, along the coastline in country \(B\). The results are summarised as follows, where \(\bar{x}\) and \(\bar{y}\) denote the sample means of \(x\) and \(y\) respectively. $$\bar{x} = 29.2 \quad \Sigma(x - \bar{x})^{2} = 4341.6 \quad \bar{y} = 24.4 \quad \Sigma(y - \bar{y})^{2} = 3732.0$$ Find a \(95\%\) confidence interval for the difference between the mean number of sea shells, per square metre, on the coastlines in country \(A\) and in country \(B\).
OCR S2 2009 January Q5
9 marks Standard +0.3
5 The continuous random variables \(S\) and \(T\) have probability density functions as follows. $$\begin{array} { l l } S : & \mathrm { f } ( x ) = \begin{cases} \frac { 1 } { 4 } & - 2 \leqslant x \leqslant 2 \\ 0 & \text { otherwise } \end{cases} \\ T : & \mathrm { g } ( x ) = \begin{cases} \frac { 5 } { 64 } x ^ { 4 } & - 2 \leqslant x \leqslant 2 \\ 0 & \text { otherwise } \end{cases} \end{array}$$
  1. Sketch, on the same axes, the graphs of f and g .
  2. Describe in everyday terms the difference between the distributions of the random variables \(S\) and \(T\). (Answers that comment only on the shapes of the graphs will receive no credit.)
  3. Calculate the variance of \(T\).
OCR S2 2011 January Q7
10 marks Moderate -0.8
7 Two continuous random variables \(S\) and \(T\) have probability density functions \(\mathrm { f } _ { S }\) and \(\mathrm { f } _ { T }\) given respectively by $$\begin{aligned} & f _ { S } ( x ) = \begin{cases} \frac { a } { x ^ { 2 } } & 1 \leqslant x \leqslant 3 \\ 0 & \text { otherwise } \end{cases} \\ & f _ { T } ( x ) = \begin{cases} b & 1 \leqslant x \leqslant 3 \\ 0 & \text { otherwise } \end{cases} \end{aligned}$$ where \(a\) and \(b\) are constants.
  1. Sketch on the same axes the graphs of \(y = \mathrm { f } _ { S } ( x )\) and \(y = \mathrm { f } _ { T } ( x )\).
  2. Find the value of \(a\).
  3. Find \(\mathrm { E } ( S )\).
  4. A student gave the following description of the distribution of \(T\) : "The probability that \(T\) occurs is constant". Give an improved description, in everyday terms.
OCR S2 2009 June Q7
16 marks Standard +0.3
7 The continuous random variable \(X\) has probability density function given by $$f ( x ) = \begin{cases} \frac { 2 } { 9 } x ( 3 - x ) & 0 \leqslant x \leqslant 3 , \\ 0 & \text { otherwise } . \end{cases}$$
  1. Find the variance of \(X\).
  2. Show that the probability that a single observation of \(X\) lies between 0.0 and 0.5 is \(\frac { 2 } { 27 }\).
  3. 108 observations of \(X\) are obtained. Using a suitable approximation, find the probability that at least 10 of the observations lie between 0.0 and 0.5 .
  4. The mean of 108 observations of \(X\) is denoted by \(\bar { X }\). Write down the approximate distribution of \(\bar { X }\), giving the value(s) of any parameter(s).
OCR S2 2010 June Q8
12 marks Standard +0.3
8 The continuous random variable \(X\) has probability density function given by $$\mathrm { f } ( x ) = \begin{cases} k x ^ { - a } & x \geqslant 1 \\ 0 & \text { otherwise } \end{cases}$$ where \(k\) and \(a\) are constants and \(a\) is greater than 1 .
  1. Show that \(k = a - 1\).
  2. Find the variance of \(X\) in the case \(a = 4\).
  3. It is given that \(\mathrm { P } ( X < 2 ) = 0.9\). Find the value of \(a\), correct to 3 significant figures.
OCR S2 2011 June Q4
8 marks Standard +0.3
4 A continuous random variable \(X\) has probability density function $$f ( x ) = \begin{cases} \frac { 3 } { 16 } ( x - 2 ) ^ { 2 } & 0 \leqslant x \leqslant 4 \\ 0 & \text { otherwise } \end{cases}$$
  1. Sketch the graph of \(y = \mathrm { f } ( x )\).
  2. Calculate the variance of \(X\).
  3. A student writes " \(X\) is more likely to occur when \(x\) takes values further away from 2 ". Explain whether you agree with this statement.
OCR S2 2012 June Q7
12 marks Standard +0.3
7 The continuous random variable \(X\) has probability density function $$f ( x ) = \begin{cases} k x ^ { 2 } & 0 \leqslant x \leqslant a \\ 0 & \text { otherwise } \end{cases}$$ where \(a\) and \(k\) are constants.
  1. Sketch the graph of \(y = \mathrm { f } ( x )\) and explain in non-technical language what this tells you about \(X\).
  2. Given that \(\mathrm { E } ( X ) = 4.5\), find
    1. the value of \(a\),
    2. \(\operatorname { Var } ( X )\).
OCR S2 2013 June Q5
10 marks Moderate -0.3
5 Two random variables \(S\) and \(T\) have probability density functions given by $$\begin{aligned} & f _ { S } ( x ) = \begin{cases} \frac { 3 } { a ^ { 3 } } ( x - a ) ^ { 2 } & 0 \leqslant x \leqslant a \\ 0 & \text { otherwise } \end{cases} \\ & f _ { T } ( x ) = \begin{cases} c & 0 \leqslant x \leqslant a \\ 0 & \text { otherwise } \end{cases} \end{aligned}$$ where \(a\) and \(c\) are constants.
  1. On a single diagram sketch both probability density functions.
  2. Calculate the mean of \(S\), in terms of \(a\).
  3. Use your diagram to explain which of \(S\) or \(T\) has the bigger variance. (Answers obtained by calculation will score no marks.)
OCR S3 2009 January Q2
5 marks Standard +0.3
2 The continuous random variable \(U\) has (cumulative) distribution function given by $$\mathrm { F } ( u ) = \begin{cases} \frac { 1 } { 5 } \mathrm { e } ^ { u } & u < 0 \\ 1 - \frac { 4 } { 5 } \mathrm { e } ^ { - \frac { 1 } { 4 } u } & u \geqslant 0 \end{cases}$$
  1. Find the upper quartile of \(U\).
  2. Find the probability density function of \(U\).
OCR S3 2009 January Q4
7 marks Standard +0.3
4 The weekly sales of petrol, \(X\) thousand litres, at a garage may be modelled by a continuous random variable with probability density function given by $$f ( x ) = \begin{cases} c & 25 \leqslant x \leqslant 45 \\ 0 & \text { otherwise } \end{cases}$$ where \(c\) is a constant. The weekly profit, in \(\pounds\), is given by \(( 400 \sqrt { X } - 240 )\).
  1. Obtain the value of \(c\).
  2. Find the expected weekly profit.
  3. Find the probability that the weekly profit exceeds \(\pounds 2000\).
OCR S3 2010 January Q1
8 marks Moderate -0.3
1 The continuous random variable \(X\) has probability density function given by $$\mathrm { f } ( x ) = \begin{cases} \frac { 2 } { 5 } & - a \leqslant x < 0 \\ \frac { 2 } { 5 } \mathrm { e } ^ { - 2 x } & x \geqslant 0 \end{cases}$$ Find
  1. the value of the constant \(a\),
  2. \(\mathrm { E } ( X )\).
OCR S3 2013 January Q4
9 marks Challenging +1.2
4 The continuous random variable \(X\) has probability density function given by $$f ( x ) = \begin{cases} \frac { 3 } { 2 } \sqrt { x } & 0 < x \leqslant 1 \\ 0 & \text { otherwise } \end{cases}$$ The random variable \(Y\) is given by \(Y = \frac { 1 } { \sqrt { X } }\).
  1. Find the (cumulative) distribution function of \(Y\), and hence show that its probability density function is given by $$\mathrm { g } ( y ) = \frac { 3 } { y ^ { 4 } }$$ for a set of values of \(y\) to be stated.
  2. Find the value of \(\mathrm { E } \left( Y ^ { 2 } \right)\).
OCR S3 2009 June Q1
6 marks Standard +0.3
1 A continuous random variable \(X\) has probability density function given by $$f ( x ) = \begin{cases} \frac { 2 x } { 5 } & 0 \leqslant x \leqslant 1 \\ \frac { 2 } { 5 \sqrt { x } } & 1 < x \leqslant 4 \\ 0 & \text { otherwise } \end{cases}$$ Find
  1. \(\mathrm { E } ( X )\),
  2. \(\mathrm { P } ( X \geqslant \mathrm { E } ( X ) )\).