πŸ“² Free Maths PDF app for iPhone and AndroidDownload β†’
Skip to content
Maths PDF – Otto the owl teaching maths: free lessons, worksheets, quizzes and tests

Probability and random variables – university Year 1 maths worksheet answers to download as PDF

University probability and random variables worksheet answers – Otto the owl, Maths PDF
University Maths Year 1 – Worksheets with Answers – PDF
Prefer a book?The same course as a ready-to-print PDF Β· Β£7.99See the book

These University probability and random variables worksheet answers give a full worked solution to all 20 questions of the probability and random variables worksheet. Try each question yourself first, then check your method step by step.

← Back to the worksheet

  1. Answer to Question 1

    1. By the addition rule, \(P(A\cup B)=P(A)+P(B)-P(A\cap B)=0.6+0.5-0.3=\) 0.8; we subtract the overlap because it was counted twice. By De Morgan's law, \(A^c\cap B^c=(A\cup B)^c\), so \(P(A^c\cap B^c)=1-0.8=\) 0.2.
    2. The event \(B\) splits into the disjoint parts \(A\cap B\) and \(A^c\cap B\). Hence \(P(A^c\cap B)=P(B)-P(A\cap B)=0.5-0.3=\) 0.2.
    3. By definition, \(P(A\mid B)=\dfrac{P(A\cap B)}{P(B)}=\dfrac{0.3}{0.5}=\) 0.6, which equals \(P(A)\). Knowing that \(B\) happened does not change the probability of \(A\). Equivalently \(P(A)P(B)=0.3=P(A\cap B)\), so \(A\) and \(B\) are independent.
  2. Answer to Question 2

    1. The tree has first branches "urn 1" and "urn 2", each with probability \(\tfrac12\), and second branches red/blue with probabilities \(\tfrac35,\tfrac25\) for urn 1 and \(\tfrac15,\tfrac45\) for urn 2. By the law of total probability, \(P(R)=\tfrac12\times\tfrac35+\tfrac12\times\tfrac15=0.3+0.1=\) 0.4.
    2. By Bayes' theorem, \(P(U_1\mid R)=\dfrac{P(U_1\cap R)}{P(R)}=\dfrac{0.3}{0.4}=\) 0.75. A red ball makes urn 1 more likely, because urn 1 contains more red balls.
    3. \(P(\text{blue})=1-0.4=0.6\) and \(P(U_1\cap\text{blue})=\tfrac12\times\tfrac25=0.2\). So \(P(U_1\mid\text{blue})=\dfrac{0.2}{0.6}=\) \(\dfrac13\); a blue ball points towards urn 2.
  3. Answer to Question 3

    1. All the probabilities are non-negative and \(0.1+0.3+0.4+0.2=1\), so the distribution is valid. Then \(E[X]=\sum xP(X=x)=0(0.1)+1(0.3)+2(0.4)+3(0.2)=0+0.3+0.8+0.6=\) 1.7.
    2. \(E[X^2]=0(0.1)+1(0.3)+4(0.4)+9(0.2)=0.3+1.6+1.8=3.7\). Using \(\operatorname{Var}(X)=E[X^2]-(E[X])^2\), we get \(3.7-1.7^2=3.7-2.89=\) 0.81, so the standard deviation is \(0.9\).
    3. Expectation is linear: \(E[2X-1]=2(1.7)-1=\) 2.4. For the variance, \(\operatorname{Var}(aX+b)=a^2\operatorname{Var}(X)\), so \(\operatorname{Var}(2X-1)=2^2\times0.81=\) 3.24. The constant \(-1\) shifts the values but does not change their spread.
  4. Answer to Question 4

    1. For \(X\sim B(n,p)\), \(P(X=k)=\dbinom nkp^k(1-p)^{n-k}\). Here \(P(X=3)=\dbinom{12}3(0.25)^3(0.75)^9=220\times0.015625\times0.07508\approx\) 0.2581.
    2. \(P(X\le1)=P(X=0)+P(X=1)\). We have \(P(X=0)=0.75^{12}\approx0.03168\) and \(P(X=1)=12(0.25)(0.75)^{11}\approx0.12671\). Adding, \(P(X\le1)\approx\) 0.1584.
    3. For a binomial distribution, \(E[X]=np=12\times0.25=\) 3 and \(\operatorname{Var}(X)=np(1-p)=3\times0.75=2.25\). The standard deviation is \(\sigma=\sqrt{2.25}=\) 1.5.
  5. Answer to Question 5

    1. For \(X\sim\text{Po}(\lambda)\), \(P(X=k)=e^{-\lambda}\dfrac{\lambda^k}{k!}\). So \(P(X=2)=e^{-2.5}\dfrac{2.5^2}{2!}=0.082085\times3.125\approx\) 0.2565.
    2. Add the first three probabilities: \(P(X\le2)=e^{-2.5}\left(1+2.5+\dfrac{2.5^2}2\right)=0.082085\times6.625\approx\) 0.5438. Using the complement, \(P(X\ge3)=1-P(X\le2)=1-0.5438=\) 0.4562.
    3. For a Poisson distribution, the mean and the variance are both equal to \(\lambda\), so \(E[X]=\operatorname{Var}(X)=\) 2.5.
  6. Answer to Question 6

    1. Standardise with \(Z=\dfrac{X-50}8\sim N(0,1)\). Then \(P(X\lt 62)=\Phi\left(\dfrac{62-50}8\right)=\Phi(1.5)=\) 0.9332. For the interval, the \(z\)-values are \(\pm1.25\), so \(P(40\lt X\lt 60)=\Phi(1.25)-\Phi(-1.25)=2(0.8944)-1=\) 0.7887, using symmetry.
    2. We need \(\Phi(z)=0.9\), which gives \(z=1.2816\) from tables. Then \(x=\mu+z\sigma=50+1.2816\times8=\) 60.25.
    3. For a continuous variable, \(E[Y]=\int yf(y)\,dy=\int_0^13y^3dy=\) \(\dfrac34\). Also \(E[Y^2]=\int_0^13y^4dy=\dfrac35\), so \(\operatorname{Var}(Y)=\dfrac35-\left(\dfrac34\right)^2=\dfrac35-\dfrac9{16}=\) \(\dfrac3{80}\).
  7. Answer to Question 7

    1. Of the 200 ill people, 90% test positive: \(180\) positive and \(20\) negative. Of the 9 800 healthy people, 95% test negative: \(9\,310\) negative and \(490\) positive.
    2. By total probability, \(P(+)=0.02\times0.9+0.98\times0.05=0.018+0.049=\) 0.067; that is 670 positives per 10 000.
    3. By Bayes' theorem, \(P(\text{ill}\mid+)=\dfrac{0.018}{0.067}\approx\) 0.269 (or \(180/670\) from the table). Only about 27% of people who test positive are ill: the disease is rare, so most positives come from the large healthy group.
    4. The probability 0.2687 becomes the new prior. Then \(\dfrac{0.2687\times0.9}{0.2687\times0.9+0.7313\times0.05}=\dfrac{0.2418}{0.2784}\approx\) 0.869. A second positive test makes illness very likely.
  8. Answer to Question 8

    1. By the law of total probability, \(P(F)=0.5(0.02)+0.3(0.03)+0.2(0.05)=0.010+0.009+0.010=\) 0.029.
    2. By Bayes' theorem, \(P(C\mid F)=\dfrac{P(C)P(F\mid C)}{P(F)}=\dfrac{0.010}{0.029}\approx\) 0.345.
    3. In the same way \(P(A\mid F)=\dfrac{0.010}{0.029}\approx0.345\) and \(P(B\mid F)=\dfrac{0.009}{0.029}\approx0.310\). So A and C are equally likely, for different reasons: A supplies more chargers, while C has a higher fault rate.
    4. Expected faulty chargers: \(2000\times0.029=\) 58. Of these, about \(2000\times0.5\times0.02=\) 20 come from factory A.
  9. Answer to Question 9

    1. Calls must occur independently of each other and singly (never two at exactly the same instant), at a constant average rate over the period.
    2. \(P(X=0)=e^{-4}\dfrac{4^0}{0!}=e^{-4}\approx\) 0.0183, so a quiet 10 minutes is rare.
    3. Use the complement: \(P(X>6)=1-P(X\le6)=1-0.8893=\) 0.1107, with \(P(X\le6)\) from tables or a calculator.
    4. The rate scales with time: in 5 minutes the mean is 2, so \(Y\sim\text{Po}(2)\). Then \(P(Y\le1)=e^{-2}(1+2)=3e^{-2}\approx\) 0.406.
    5. Half an hour is three 10-minute periods, so the number of calls is \(\text{Po}(3\times4)=\text{Po}(12)\), with mean and variance both equal to 12.
  10. Answer to Question 10

    1. \(Y\sim B(186,\,0.05)\) with mean \(186\times0.05=\) 9.3.
    2. Overbooked when more than 180 turn up, that is \(Y\le5\): \(P(Y\le5)\).
    3. \(P(Y\le5)\approx\) 0.0929, about a 9% risk.
    4. \(\text{Po}(9.3)\) gives \(P(Y\le5)\approx\) 0.0986, close to the exact value because \(n\) is large and \(p\) small.
    5. \(186\times0.95=\) 176.7 passengers.
  11. Answer to Question 11

    1. There are 36 equally likely outcomes. Only (6,6) wins Β£10, so \(P(W=10)=\dfrac1{36}\). The other five doubles win Β£4, so \(P(W=4)=\dfrac5{36}\). The remaining 30 outcomes win nothing: \(P(W=0)=\dfrac{30}{36}\).
    2. \(E[W]=10\times\dfrac1{36}+4\times\dfrac5{36}=\dfrac{10+20}{36}=\dfrac56\approx\) Β£0.83. Each game brings in Β£2, so the school expects to gain \(2-\dfrac56=\dfrac76\approx\) Β£1.17 per game.
    3. \(E[W^2]=100\times\dfrac1{36}+16\times\dfrac5{36}=\dfrac{180}{36}=5\), so \(\operatorname{Var}(W)=5-\left(\dfrac56\right)^2=5-\dfrac{25}{36}\approx\) 4.31.
    4. Expected profit over 300 games: \(300\times\dfrac76=\) Β£350.
  12. Answer to Question 12

    1. Standardise: \(z=\dfrac{185-170}7=\dfrac{15}7\approx2.143\). Then \(P(H>185)=1-\Phi(2.143)\approx\) 0.0161, about 1.6% of students.
    2. The \(z\)-values are \(\pm\dfrac{10}7\approx\pm1.429\). By symmetry, \(P(160\lt H\lt 180)=2\Phi(1.429)-1\approx\) 0.847.
    3. We need the 95th percentile: \(\Phi(z)=0.95\) gives \(z=1.6449\). Then \(h=170+1.6449\times7\approx\) 181.5 cm.
    4. Expected number \(=np=500\times0.0161\approx\) 8 students would need to duck under the old doors.
  13. Answer to Question 13

    1. \(E[T]=6\), \(\operatorname{Var}(T)=\dfrac{12^2}{12}=\) 12, \(P(T>9)=\dfrac3{12}=\) 0.25.
    2. \(P(S>8)=e^{-8/5}\approx\) 0.202.
    3. \(\dfrac{e^{-(s+t)/5}}{e^{-s/5}}=e^{-t/5}=P(S>t)\). The exponential distribution is memoryless: having waited does not make the bus more likely to come soon.
    4. Route 1: 6 minutes; route 2: 5 minutes. The random route has the shorter mean wait here but a much larger chance of a long wait.
  14. Answer to Question 14

    1. A sum of independent normal variables is normal. Means add: \(500+20=520\). Variances add: \(16+1=17\). So \(M\sim\) \(N(520,17)\), with standard deviation \(\sqrt{17}\approx4.12\) g.
    2. Standardise: \(P(M\lt 515)=\Phi\left(\dfrac{515-520}{\sqrt{17}}\right)=\Phi(-1.213)\approx\) 0.113.
    3. \(D=M_1-M_2\) has mean \(0\) and variance \(17+17=34\), so \(D\sim N(0,34)\). Then \(P(|D|>10)=2\left(1-\Phi\left(\dfrac{10}{\sqrt{34}}\right)\right)=2(1-\Phi(1.715))\approx\) 0.086.
    4. \(\operatorname{Var}(M_1-M_2)=\operatorname{Var}(M_1)+(-1)^2\operatorname{Var}(M_2)\). The factor \(-1\) is squared, so it becomes \(+1\): subtracting a random quantity adds uncertainty rather than removing it.
  15. Answer to Question 15

    1. The first person can have any birthday, the second must avoid one day, the third two days, and so on; the events are multiplied because birthdays are independent.
    2. \(1-q_{23}\approx\) 0.507: just over one half.
    3. \(q_n\approx e^{-(0+1+\dots+(n-1))/365}=e^{-n(n-1)/730}\). Setting this equal to \(\frac12\): \(n(n-1)=730\ln2\approx506\), so \(n\approx\) 23.
    4. \(1-q_{30}\approx\) 0.706. People compare with their own birthday (only 29 chances), but there are \(\binom{30}2=435\) pairs that could match.
  16. Answer to Question 16

    1. \(e^{-0.3}=0.7408\), \(0.3e^{-0.3}=0.2222\), \(0.045e^{-0.3}=0.0333\), and \(1-0.9964=0.0036\).
    2. Expected cost \(1500\times0.3=\) Β£450; standard deviation \(1500\sqrt{0.3}\approx\) Β£822.
    3. \(Y\sim\text{Po}(300)\).
    4. \(Y\approx N(300,300)\): \(P(Y\ge331)\approx P\left(Z>\dfrac{330.5-300}{\sqrt{300}}\right)=P(Z>1.761)\approx\) 0.039.
    5. Premiums bring in Β£480 000 and claims cost Β£450 000 on average. The premium covers claims unless \(Y>320\); \(P(Y\ge321)\approx P(Z>1.184)\approx0.12\), so in roughly one year in eight claims exceed premiums: the company needs reserves.
  17. Answer to Question 17

    1. Stick: \(\dfrac{49}{150}\approx0.33\). Switch: \(\dfrac{101}{150}\approx0.67\).
    2. \(P(H_3\mid C_1)=\frac12\) (the host chooses at random between 2 and 3), \(P(H_3\mid C_2)=1\), \(P(H_3\mid C_3)=0\).
    3. \(P(H_3)=\tfrac13\left(\tfrac12+1+0\right)=\tfrac12\), so \(P(C_2\mid H_3)=\dfrac{\tfrac13\times1}{\tfrac12}=\) \(\dfrac23\).
    4. Your first choice is right with probability \(\frac13\), and the host's action does not change that. Switching wins whenever your first choice was wrong, with probability \(\frac23\). The simulation (0.67) agrees well.
  18. Answer to Question 18

    1. \(X\sim B(400,0.45)\): mean \(180\), variance \(400\times0.45\times0.55=\) 99.
    2. \(np=180\) and \(n(1-p)=220\) are both large, so the distribution is nearly symmetric and bell-shaped.
    3. \(P(X\ge200)\approx P\left(Z>\dfrac{199.5-180}{\sqrt{99}}\right)=P(Z>1.960)\approx\) 0.025.
    4. \(\sigma=\sqrt{99}\approx9.95\): from about \(160\) to \(200\), i.e. a sample proportion between 40% and 50% in about 95% of polls.
    5. \(\sqrt{\dfrac{0.45\times0.55}n}\le0.01\) gives \(n\ge\dfrac{0.2475}{0.0001}=\) 2 475.
  19. Answer to Question 19

    1. Add the columns for \(X\): \(P(X=0)=0.25\), \(P(X=1)=0.45\), \(P(X=2)=0.30\). Add the rows for \(Y\): \(P(Y=0)=0.4\), \(P(Y=1)=0.6\).
    2. \(E[X]=0(0.25)+1(0.45)+2(0.30)=\) 1.05 and \(E[Y]=\) 0.6. Only cells with \(Y=1\) and \(X\ne0\) contribute to \(E[XY]\): \(1\times0.25+2\times0.20=\) 0.65.
    3. \(\operatorname{Cov}(X,Y)=E[XY]-E[X]E[Y]=0.65-1.05\times0.6=\) 0.02, a very weak positive association.
    4. No. Independence needs every cell to equal the product of its marginals. \(P(X=1,Y=0)=0.20\) but \(P(X=1)P(Y=0)=0.18\). (Note that \(P(X=0,Y=0)=0.10=0.25\times0.4\): one matching cell is not enough.)
    5. By linearity, \(E[2.5X+3Y]=2.5(1.05)+3(0.6)=\) Β£4.425, about Β£4.43 per customer.
  20. Answer to Question 20

    1. Each new box gives a figure not yet owned with probability \(\frac{6-k}6\), independently of the past: the waiting time to the first success is geometric.
    2. \(E[G]=\sum_{g\ge1}g(1-p)^{g-1}p=p\cdot\dfrac1{p^2}=\dfrac1p\).
    3. Summing the means \(\frac66+\frac65+\frac64+\frac63+\frac62+\frac61=6\left(1+\frac12+\dots+\frac16\right)=6\times2.45=\) 14.7 boxes.
    4. \(6\ln6\approx10.75\); adding the correction \(0.577n\) (Euler's constant) gives \(14.2\), close to \(14.7\). The last figures take the longest: the final one alone needs 6 boxes on average.

How to use these University probability and random variables worksheet answers

First, try every question on the worksheet without looking. Then compare your working with the solution line by line, not only the final answer. When your answer is different, find the first step that changes, because that is where the mistake is. After that, read the matching part of the probability and random variables lesson again. Finally, check that the method is secure with the quiz or the test.

Also, the University probability and random variables worksheet answers are available as a PDF, so you can mark printed work quickly. Moreover, all the pages of this chapter work together, so you can move between them at any time. For example, many pupils read the lesson on Monday, practise on Wednesday and test themselves on Friday. In short, these University probability and random variables worksheet answers show every step, so nothing is left unexplained.