Sample MTH 304 questions
  1. Sample Spaces and Counting · Short answer · 2 marks

    A class of 1212 students is split into three project groups called Red, Blue and Green, with 55, 44 and 33 students respectively. In how many ways can the groups be formed?

    Show solution

    Choose the Red group, then the Blue group from those left, and the rest are Green: (125)(74)(33)=792⋅35⋅1=27 720\binom{12}{5}\binom{7}{4}\binom{3}{3} = 792 \cdot 35 \cdot 1 = 27\,720, which equals the multinomial coefficient 12!5! 4! 3!\dfrac{12!}{5!\,4!\,3!}.

  2. Conditional Probability, Bayes and Independence · Short answer · 2 marks

    A fair die is rolled repeatedly until the first 66 appears; let NN be the number of rolls. Given that NN is even, find the probability that N=2N = 2. Give an exact fraction.

    Show solution

    P(N=k)=(5/6)k−1(1/6)P(N = k) = (5/6)^{k-1}(1/6), so P(N even)=∑j≥1(5/6)2j−1(1/6)=(5/6)(1/6)1−25/36=5/3611/36=511P(N \text{ even}) = \sum_{j \ge 1} (5/6)^{2j-1}(1/6) = \dfrac{(5/6)(1/6)}{1 - 25/36} = \dfrac{5/36}{11/36} = \dfrac{5}{11}. Since {N=2}⊆{N even}\{N = 2\} \subseteq \{N \text{ even}\}, P(N=2∣N even)=5/365/11=1136P(N = 2 \mid N \text{ even}) = \dfrac{5/36}{5/11} = \dfrac{11}{36}.

  3. Continuous Random Variables · Problem · 5 marks

    The time XX (in hours) that a technician needs to repair a server has pdf f(x)=x4 e−x/2f(x) = \dfrac{x}{4}\,e^{-x/2} for x>0x > 0 and f(x)=0f(x) = 0 otherwise.

    1. Show that ff is a valid pdf. [1]

    2. Find the cdf F(x)F(x) for x>0x > 0. [2]

    3. Find E[X]E[X]. [1]

    4. Find P(X>4)P(X > 4). [1]

    Show solution

    (a) The function is non-negative, and by parts ∫0∞xe−x/2 dx=[−2xe−x/2]0∞+2∫0∞e−x/2 dx=0+2(2)=4\int_0^\infty x e^{-x/2}\,dx = \left[-2xe^{-x/2}\right]_0^\infty + 2\int_0^\infty e^{-x/2}\,dx = 0 + 2(2) = 4, so ∫0∞x4e−x/2 dx=1\int_0^\infty \tfrac{x}{4}e^{-x/2}\,dx = 1.

    (b) By parts, ∫0xt4e−t/2 dt=14[−2te−t/2−4e−t/2]0x=1−(1+x2)e−x/2\int_0^x \tfrac{t}{4}e^{-t/2}\,dt = \tfrac14\left[-2te^{-t/2} - 4e^{-t/2}\right]_0^x = 1 - \left(1 + \tfrac{x}{2}\right)e^{-x/2}. (Check: differentiating gives back x4e−x/2\tfrac{x}{4}e^{-x/2}.)

    (c) This is the Gamma(2,12)\text{Gamma}(2, \tfrac12) density, so E[X]=αλ=21/2=4E[X] = \tfrac{\alpha}{\lambda} = \tfrac{2}{1/2} = 4 hours. Directly, ∫0∞x24e−x/2 dx=14⋅Γ(3)⋅23=4\int_0^\infty \tfrac{x^2}{4}e^{-x/2}\,dx = \tfrac14\cdot\Gamma(3)\cdot 2^3 = 4.

    (d) P(X>4)=1−F(4)=(1+2)e−2=3e−2≈0.4060P(X > 4) = 1 - F(4) = (1 + 2)e^{-2} = 3e^{-2} \approx 0.4060.

  4. Joint Distributions, Covariance and Correlation · Problem · 4 marks

    A circuit board has two chips that fail independently. Let XX be the number of defects on chip A and YY the number on chip B, with

    xx012
    P(X=x)P(X=x)0.60.30.1
    yy01
    P(Y=y)P(Y=y)0.50.5
    1. Give the joint pmf of (X,Y)(X,Y) as a table. [2]

    2. Find the probability that the board has at least two defects in total. [1]

    3. Find Var⁡(X+Y)\operatorname{Var}(X + Y). [1]

    Show solution

    (a) By independence p(x,y)=P(X=x)P(Y=y)p(x,y) = P(X=x)P(Y=y):

    Y=0Y=0Y=1Y=1
    X=0X=00.300.30
    X=1X=10.150.15
    X=2X=20.050.05

    (b) The pairs with x+y≥2x + y \ge 2 are (1,1)(1,1), (2,0)(2,0) and (2,1)(2,1): 0.15+0.05+0.05=0.250.15 + 0.05 + 0.05 = 0.25.

    (c) E[X]=0.3+0.2=0.5E[X] = 0.3 + 0.2 = 0.5, E[X2]=0.3+0.4=0.7E[X^2] = 0.3 + 0.4 = 0.7, so Var⁡(X)=0.7−0.25=0.45\operatorname{Var}(X) = 0.7 - 0.25 = 0.45; Var⁡(Y)=0.25\operatorname{Var}(Y) = 0.25. By independence Var⁡(X+Y)=0.45+0.25=0.70\operatorname{Var}(X+Y) = 0.45 + 0.25 = 0.70.

  5. Inequalities and Limit Theorems · Short answer · 2 marks

    A fair coin is tossed 400400 times and p^\hat{p} is the proportion of heads. Use Chebyshev’s inequality to give a lower bound on P(0.4<p^<0.6)P(0.4 < \hat{p} < 0.6).

    Show solution

    p^\hat{p} is the sample mean of 400400 Bernoulli(12)(\tfrac12) variables, so E[p^]=12E[\hat{p}] = \tfrac12 and Var⁡(p^)=(1/2)(1/2)400=11600\operatorname{Var}(\hat{p}) = \dfrac{(1/2)(1/2)}{400} = \dfrac{1}{1600}. Then P(∣p^−12∣≥0.1)≤1/16000.12=116P(|\hat{p} - \tfrac12| \ge 0.1) \le \dfrac{1/1600}{0.1^2} = \tfrac{1}{16}, so P(0.4<p^<0.6)≥1−116=1516P(0.4 < \hat{p} < 0.6) \ge 1 - \tfrac{1}{16} = \tfrac{15}{16}.

About MTH 304 practice exams

MTH 304 practice exams

Probability · Toronto Metropolitan University (TMU, Ryerson) · also written MTH304

Make a free, printable MTH 304 practice exam: choose the topics, the length and the difficulty above, and get an exam-style PDF with a full answer key. Each paper draws on 480 original questions and skips the ones you have already seen.

Looking for MTH 304 past exams?

Start with the past exams and tests your instructor or the TMU library shares: they show what your course actually asks. Most courses only have a few, so once you have worked through them, make fresh MTH 304 practice exams here on the same topics, with full answer keys, as many as you need. The questions here are original, not copies of past exams.

Topics covered

  • Sample Spaces and Counting · 60 questions
  • Conditional Probability, Bayes and Independence · 60 questions
  • Discrete Random Variables · 60 questions
  • Continuous Random Variables · 60 questions
  • Expectation and Variance · 60 questions
  • Joint Distributions, Covariance and Correlation · 60 questions
  • Transformations and Generating Functions · 60 questions
  • Inequalities and Limit Theorems · 60 questions

More TMU courses

questionbank.dev is independent and not affiliated with Toronto Metropolitan University. Course codes only say which topics a paper covers; papers are original practice material, not past or upcoming exams.