University of Washington
Department of Mathematics Homework 8

MATH 394: Probability I

Instructor: Arman Jahangiri

Submission: Single PDF on Gradescope

Deadline: 10:00 PM Pacific Time on the listed due date

This homework is worth 50 points.

Across the quarter, there are eight homework assignments, worth 400 points total. Homework assignments together account for 40% of the final course grade. Further course policies can be seen in the MATH 394 syllabus.

Homework Policy

Submission and Deadline

Please:

Late Days

Each student is allotted six late days for the quarter. A late day extends a homework deadline by up to 24 hours without penalty. For example, submitting an assignment anytime between 10:01 PM on the due date and 10:00 PM the following day counts as one late day.

The following rules apply:

Once all late days have been exhausted, additional late submissions will incur a penalty of 10% per day, up to a maximum deduction of 50%. Assignments submitted more than five days late, or after solutions have been released, will not be accepted.

Submission Issues and Technical Difficulties

If a serious technical issue prevents a timely Gradescope submission, students may temporarily submit their assignment by email to the instructor at armanjg@uw.edu. In such cases:

Email submissions are intended only for genuine technical emergencies and should not be used as a substitute for timely Gradescope submission.

Problem 1. Transformations of Random Variables

Source: Blitzstein and Hwang, Introduction to Probability, Chapter 8, Problem 1–5.

Find the following PDFs.

(a)
Find the PDF of \(e^{-X}\) for \(X\sim \operatorname {Expo}(1)\).
(b)
Find the PDF of \(X^7\) for \(X\sim \operatorname {Expo}(\lambda )\).
(c)
Find the PDF of \(Z^3\) for \(Z\sim N(0,1)\).
(d)
Find the PDF of \(Z^4\) for \(Z\sim N(0,1)\).
(e)
Find the PDF of \(|Z|\) for \(Z\sim N(0,1)\).

Final Answer for Part (a)

Final Answer for Part (b)

Final Answer for Part (c)

Final Answer for Part (d)

Final Answer for Part (e)

Problem 2. Log Ratio of Exponentials

Source: Blitzstein and Hwang, Introduction to Probability, Chapter 8, Problem 13.

Let \(X\) and \(Y\) be i.i.d. \(\operatorname {Expo}(\lambda )\), and let \[ T=\log (X/Y). \] Find the CDF and PDF of \(T\).

Final Answer

Problem 3. Linear Change of Variables

Source: Blitzstein and Hwang, Introduction to Probability, Chapter 8, Problem 14.

Let \(X\) and \(Y\) have joint PDF \(f_{X,Y}(x,y)\), and transform \((X,Y)\mapsto (T,W)\) linearly by letting \[ T=aX+bY, \qquad W=cX+dY, \] where \(a,b,c,d\) are constants such that \[ ad-bc\ne 0. \]

(a)
Find the joint PDF \(f_{T,W}(t,w)\) in terms of \(f_{X,Y}\), though your answer should be written as a function of \(t\) and \(w\).
(b)
For the case where \[ T=X+Y, \qquad W=X-Y, \] show that \[ f_{T,W}(t,w) = \frac 12 f_{X,Y}\left (\frac {t+w}{2},\frac {t-w}{2}\right ). \]

Final Answer for Part (a)

Final Answer for Part (b)

Problem 4. Sum of Independent Gamma Random Variables

Source: Blitzstein and Hwang, Introduction to Probability, Chapter 8, Problem 29.

Let \[ X\sim \operatorname {Gamma}(a,\lambda ), \qquad Y\sim \operatorname {Gamma}(b,\lambda ), \] and suppose \(X\) and \(Y\) are independent, with \(a\) and \(b\) integers.

Show that \[ X+Y\sim \operatorname {Gamma}(a+b,\lambda ) \] in three ways:

(a)
with a convolution integral;
(b)
with MGFs;
(c)
with a story proof.

Final Answer for Part (a)

Final Answer for Part (b)

Final Answer for Part (c)

Problem 5. A Chebyshev Bound for the Sample Mean

Source: Blitzstein and Hwang, Introduction to Probability, Chapter 10, Problem 2.

For i.i.d. random variables \(X_1,\dots ,X_n\) with mean \(\mu \) and variance \(\sigma ^2\), give a value of \(n\), as a specific number, that will ensure that there is at least a \(99\%\) chance that the sample mean will be within \(2\) standard deviations of the true mean \(\mu \).

Final Answer

Problem 6. AM–GM from Jensen’s Inequality

Source: Blitzstein and Hwang, Introduction to Probability, Chapter 10, Problem 4.

The famous arithmetic mean–geometric mean inequality says that for any positive numbers \[ a_1,a_2,\dots ,a_n, \] we have \[ \frac {a_1+a_2+\cdots +a_n}{n} \ge (a_1a_2\cdots a_n)^{1/n}. \]

Show that this inequality follows from Jensen’s inequality, by considering \(E(\log X)\) for a random variable \(X\) whose possible values are \(a_1,\dots ,a_n\). You should specify the PMF of \(X\).

Final Answer

Problem 7. Equality and Inequality Symbols

Source: Blitzstein and Hwang, Introduction to Probability, Chapter 10, Problem 7.

Let \(X\) and \(Y\) be i.i.d. positive random variables, and let \(c>0\). For each part below, fill in the appropriate equality or inequality symbol.

Write \(=\) if the two sides are always equal, \(\le \) if the left-hand side is less than or equal to the right-hand side but not necessarily equal, and similarly for \(\ge \). If no relation holds in general, write \(?\).

(a)
\(E(\log X)\ \underline {\hspace {1cm}}\ \log (E X)\)
(b)
\(E(X)\ \underline {\hspace {1cm}}\ \sqrt {E(X^2)}\)
(c)
\(E(\sin ^2 X)+E(\cos ^2 X)\ \underline {\hspace {1cm}}\ 1\)
(d)
\(E(|X|)\ \underline {\hspace {1cm}}\ \sqrt {E(X^2)}\)
(e)
\(P(X>c)\ \underline {\hspace {1cm}}\ \dfrac {E(X^3)}{c^3}\)
(f)
\(P(X\le Y)\ \underline {\hspace {1cm}}\ P(X\ge Y)\)
(g)
\(E(XY)\ \underline {\hspace {1cm}}\ \sqrt {E(X^2)E(Y^2)}\)
(h)
\(P(X+Y>10)\ \underline {\hspace {1cm}}\ P(X>5\text { or }Y>5)\)
(i)
\(E(\min (X,Y))\ \underline {\hspace {1cm}}\ \min (EX,EY)\)
(j)
\(E(X/Y)\ \underline {\hspace {1cm}}\ \dfrac {EX}{EY}\)
(k)
\(E\!\left (X^2(X^2+1)\right )\ \underline {\hspace {1cm}}\ E\!\left (X^2(Y^2+1)\right )\)
(l)
\(E\!\left (\dfrac {X^3}{X^3+Y^3}\right )\ \underline {\hspace {1cm}}\ E\!\left (\dfrac {Y^3}{X^3+Y^3}\right )\)

Final Answer

Problem 8. Ratio of Sample Sums

Source: Blitzstein and Hwang, Introduction to Probability, Chapter 10, Problem 21.

Let \(X_1,X_2,\dots \) be i.i.d. positive random variables with mean \(2\). Let \(Y_1,Y_2,\dots \) be i.i.d. positive random variables with mean \(3\).

Show that \[ \frac {X_1+X_2+\cdots +X_n}{Y_1+Y_2+\cdots +Y_n} \to \frac 23 \] with probability \(1\).

Does it matter whether the \(X_i\) are independent of the \(Y_j\)?

Final Answer

Problem 9. CLT Approximation

Source: Blitzstein and Hwang, Introduction to Probability, Chapter 10, Problem 22.

Let \[ U_1,U_2,\dots ,U_{60} \] be i.i.d. \(\operatorname {Unif}(0,1)\) and let \[ X=U_1+U_2+\cdots +U_{60}. \]

(a)
Which important distribution is the distribution of \(X\) very close to? Specify what the parameters are, and state which theorem justifies your choice.
(b)
Give a simple but accurate approximation for \[ P(X>17). \] Justify briefly.

Final Answer for Part (a)

Final Answer for Part (b)

Problem 10. Exponential Transformation and Sample Mean

Source: Blitzstein and Hwang, Introduction to Probability, Chapter 10, Problem 25.

(a)
Let \[ Y=e^X, \qquad X\sim \operatorname {Expo}(3). \] Find the mean and variance of \(Y\).
(b)
For \(Y_1,\dots ,Y_n\) i.i.d. with the same distribution as \(Y\) from part (a), what is the approximate distribution of the sample mean \[ \bar Y_n=\frac 1n\sum _{j=1}^{n}Y_j \] when \(n\) is large?

Final Answer for Part (a)

Final Answer for Part (b)

Problem 11. MGF of the Poisson Sample Mean

Source: Blitzstein and Hwang, Introduction to Probability, Chapter 10, Problem 27.

Consider i.i.d. \(\operatorname {Pois}(\lambda )\) random variables \[ X_1,X_2,\dots . \] The MGF of \(X_j\) is \[ M(t)=e^{\lambda (e^t-1)}. \]

(a)
Find the MGF \(M_n(t)\) of the sample mean \[ \bar X_n=\frac 1n\sum _{j=1}^{n}X_j. \]
(b)
Find the limit of \(M_n(t)\) as \(n\to \infty \). You can do this with almost no calculation using a relevant theorem, or you can use part (a) and the fact that \(e^x\approx 1+x\) if \(x\) is very small.

Final Answer for Part (a)

Final Answer for Part (b)