22  Probability Density Functions of Continuous Random Variables

Example 22.1 Recall Example 21.3. Based on earlier examples, it seems reasonable to assume that the pdf \(f_X\) is linear as a function of possible \(x\) values, with an intercept of 0 and positive slope; that is, \[ f_X(x) = \begin{cases} cx, & 0<x<60,\\ 0 & \text{otherwise.} \end{cases} \]

  1. Compute the value of \(c\). Note: this involves more than just reading off a value from a plot. What is the key principle that will determine the value of \(c\)?




  2. Use the pdf (and geometry) to compute \(\text{P}(X < 15)\).




  3. Use the pdf (and geometry) to compute \(\text{P}(X > 45)\).




  4. Use the pdf (and geometry) to find an expression for the cdf of \(X\). (Compare to the cdf from Example 21.3.)




Example 22.2 Continuing Example 22.1. Han’s arrival time \(X\) (minutes after noon) has pdf \[ f_X(x) = \begin{cases} (2/3600)x, & 0<x<60,\\ 0 & \text{otherwise.} \end{cases} \] The corresponding cdf satisfies \(F_X(x) = (x/60)^2, 0<x<60\).

  1. Compute and interpret \(\text{P}(X = 15)\) and \(\text{P}(X = 45)\).




  2. Compute the probability that \(X\), truncated to the nearest minute, is 15 minutes after noon; that is, compute \(\text{P}(15 \le X<16)\). How does this probability compare to \(f(15)\)?




  3. Compute the probability that \(X\), truncated to the nearest minute, is 45 minutes after noon; that is, compute \(\text{P}(45 \le X<46)\). How does this probability compare to \(f(45)\)?




  4. Compute and interpret the ratio of the probabilities from the two previous parts. How does this ratio compare to \(f(45)/f(15)\)?




Example 22.3 Continuing Example 21.2. Let \(X\) be the times (minutes) until the next earthquake occurs (of any magnitude in a certain region). Assume that the pdf of \(X\) is \[ f_X(x) = (1/120) e^{-x/120}, \qquad x \ge0 \]

  1. Sketch the pdf of \(X\). What does this tell you about waiting times?




  2. Without doing any integration, approximate the probability that \(X\) rounded to the nearest second is 30 minutes.




  3. Without doing any integration determine how much more likely that \(X\) rounded to the nearest second is to be 30 than 60 minutes.




  4. Compute and interpret \(\text{P}(X < 30)\).




  5. Compute and interpret \(\text{P}(X > 360)\).




  6. Find the cdf of \(X\).




  7. Find the 25th percentile of \(X\).




  8. Find the quantile function of \(X\).




  9. Sketch a spinner for simulating values of \(X\).