University of Washington
Department of Mathematics
Homework 6
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.
Please:
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.
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. Conditional Distribution Above a Threshold
Source: Blitzstein and Hwang, Introduction to Probability, Chapter 5, Problem 4.
Let \(X\) be a continuous random variable with CDF \(F\) and PDF \(f\).
Final Answer for Part (a)
Final Answer for Part (b)
Final Answer for Part (c)
Problem 2. Random Radius Circle
Source: Blitzstein and Hwang, Introduction to Probability, Chapter 5, Problem 5.
A circle with a random radius \(R\sim \operatorname {Unif}(0,1)\) is generated. Let \(A\) be its area.
Final Answer for Part (a)
Final Answer for Part (b)
Problem 3. Longer Piece of a Broken Stick
Source: Blitzstein and Hwang, Introduction to Probability, Chapter 5, Problem 12.
A stick is broken into two pieces, at a uniformly random breakpoint. Find the CDF and average of the length of the longer piece.
Final Answer
Problem 4. Maximum of Uniforms
Source: Blitzstein and Hwang, Introduction to Probability, Chapter 5, Problem 14.
Let \(U_1,\dots ,U_n\) be i.i.d. \(\operatorname {Unif}(0,1)\), and \[ X=\max (U_1,\dots ,U_n). \] What is the PDF of \(X\)? What is \(E(X)\)?
Hint: Find the CDF of \(X\) first, by translating the event \(X\le x\) into an event involving \(U_1,\dots ,U_n\).
Final Answer
Problem 5. Constructing an Exponential Random Variable
Source: Blitzstein and Hwang, Introduction to Probability, Chapter 5, Problem 15.
Let \(U\sim \operatorname {Unif}(0,1)\). Using \(U\), construct \[ X\sim \operatorname {Expo}(\lambda ). \]
Final Answer
Problem 6. Measurement Error
Source: Blitzstein and Hwang, Introduction to Probability, Chapter 5, Problem 22.
The distance between two points needs to be measured, in meters. The true distance between the points is 10 meters, but due to measurement error we cannot measure the distance exactly. Instead, we will observe a value of \(10+\epsilon \), where the error \(\epsilon \) is distributed \[ N(0,0.04). \]
Find the probability that the observed distance is within \(0.4\) meters of the true distance, 10 meters. Give both an exact answer in terms of \(\Phi \) and an approximate numerical answer.
Final Answer
Problem 7. Absolute Value of a Normal
Source: Blitzstein and Hwang, Introduction to Probability, Chapter 5, Problem 29.
Let \[ Y=|X|, \qquad X\sim N(\mu ,\sigma ^2). \] This is a well-defined continuous random variable, even though the absolute value function is not differentiable at 0.
Final Answer for Part (a)
Final Answer for Part (b)
Final Answer for Part (c)
Problem 8. Post Office with Two Clerks
Source: Blitzstein and Hwang, Introduction to Probability, Chapter 5, Problem 36.
A post office has 2 clerks. Alice enters the post office while 2 other customers, Bob and Claire, are being served by the 2 clerks. She is next in line. Assume that the time a clerk spends serving a customer has an \(\operatorname {Expo}(\lambda )\) distribution.
Hint: No integrals are needed.
Final Answer for Part (a)
Final Answer for Part (b)
Problem 9. Exponential as a Limit of Geometric
Source: Blitzstein and Hwang, Introduction to Probability, Chapter 5, Problem 43.
The Exponential is the analog of the Geometric in continuous time. This problem explores the connection between Exponential and Geometric in more detail, asking what happens to a Geometric in a limit where the Bernoulli trials are performed faster and faster but with smaller and smaller success probabilities.
Suppose that Bernoulli trials are being performed in continuous time; rather than only thinking about first trial, second trial, etc., imagine that the trials take place at points on a timeline. Assume that the trials are at regularly spaced times \[ 0,\Delta t,2\Delta t,\dots , \] where \(\Delta t\) is a small positive number. Let the probability of success of each trial be \(\lambda \Delta t\), where \(\lambda \) is a positive constant. Let \(G\) be the number of failures before the first success in discrete time, and let \(T\) be the time of the first success in continuous time.
Hint: Draw a timeline and try out a simple example.
Hint: First find \(P(T>t)\).
Hint: Use the compound interest limit.
Final Answer for Part (a)
Final Answer for Part (b)
Final Answer for Part (c)
Problem 10. Median and Mode
Source: Blitzstein and Hwang, Introduction to Probability, Chapter 6, Problem 1–2.
Final Answer for Part (a)
Final Answer for Part (b)
Problem 11. MGF of a Sum of Dice
Source: Blitzstein and Hwang, Introduction to Probability, Chapter 6, Problem 13.
A fair die is rolled twice, with outcomes \(X\) for the first roll and \(Y\) for the second roll. Find the moment generating function \[ M_{X+Y}(t) \] of \(X+Y\). Your answer should be a function of \(t\) and may contain unsimplified finite sums.
Final Answer
Problem 12. Sum of Squared Normals
Source: Blitzstein and Hwang, Introduction to Probability, Chapter 6, Problem 15.
Let \[ W=X^2+Y^2, \] with \(X,Y\) i.i.d. \(N(0,1)\). The MGF of \(X^2\) turns out to be \[ (1-2t)^{-1/2},\qquad t<\frac 12, \] and you may assume this.
Final Answer for Part (a)
Final Answer for Part (b)
Problem 13. Standardized Sample Mean
Source: Blitzstein and Hwang, Introduction to Probability, Chapter 6, Problem 17.
Let \(X_1,\dots ,X_n\) be i.i.d. with mean \(\mu \), variance \(\sigma ^2\), and MGF \(M\). Let \[ Z_n=\sqrt n\left (\frac {\bar X_n-\mu }{\sigma }\right ). \]
Final Answer for Part (a)
Final Answer for Part (b)
Problem 14. Poisson Approximation via MGFs
Source: Blitzstein and Hwang, Introduction to Probability, Chapter 6, Problem 21.
Let \[ X_n\sim \operatorname {Bin}(n,p_n) \] for all \(n\ge 1\), where \(np_n\) is a constant \(\lambda >0\) for all \(n\), so that \[ p_n=\frac {\lambda }{n}. \] Let \[ X\sim \operatorname {Pois}(\lambda ). \]
Show that the MGF of \(X_n\) converges to the MGF of \(X\). This gives another way to see that the \(\operatorname {Bin}(n,p)\) distribution can be well-approximated by the \(\operatorname {Pois}(\lambda )\) distribution when \(n\) is large, \(p\) is small, and \(\lambda =np\) is moderate.
Final Answer
Problem 15. Triangular Distribution via MGFs
Source: Blitzstein and Hwang, Introduction to Probability, Chapter 6, Problem 23.
Let \(U_1,U_2\) be i.i.d. \(\operatorname {Unif}(0,1)\). The random variable \(U_1+U_2\) has a Triangular distribution, with PDF \[ f(t)= \begin {cases} t, & 0<t\le 1,\\ 2-t, & 1<t<2. \end {cases} \]
Show that \(U_1+U_2\) has a Triangular distribution by showing that they have the same MGF.
Final Answer