Chapter 5: Continuous Random Variables

Chapter 5 Homework

5.1 Homework

For each probability and percentile problem, draw the picture.

Consider the following experiment. You are one of 100 people enlisted to take part in a study to determine the percent of nurses in America with an R.N. (registered nurse) degree.  You ask nurses if they have an R.N. degree.  The nurses answer “yes” or “no.”  You then calculate the percentage of nurses with an R.N. degree.  You give that percentage to your supervisor.

  1. What part of the experiment will yield discrete data?
  2. What part of the experiment will yield continuous data?

When age is rounded to the nearest year, do the data stay continuous, or do they become discrete?  Why?

Solution

Age is a measurement, regardless of the accuracy used.

5.2 Homework

For each probability and percentile problem, draw the picture.

Births are approximately uniformly distributed between the 52 weeks of the year. They can be said to follow a uniform distribution from one to 53 (spread of 52 weeks).

  1. X ~ _________
  2. Graph the probability distribution.
  3. f(x) = _________
  4. μ = _________
  5. σ = _________
  6. Find the probability that a person is born at the exact moment week 19 starts. That is, find P(x = 19) = _________
  7. P(2 < x < 31) = _________
  8. Find the probability that a person is born after week 40.
  9. P(12 < x|x < 28) = _________
  10. Find the 70th percentile.
  11. Find the minimum for the upper quarter.

A random number generator picks a number from one to nine in a uniform manner.

  1. X ~ _________
  2. Graph the probability distribution.
  3. f(x) = _________
  4. μ = _________
  5. σ = _________
  6. P(3.5 < x < 7.25) = _________
  7. P(x > 5.67)
  8. P(x > 5|x > 3) = _________
  9. Find the 90th percentile.
Solution
  1. X ~ U(1, 9)
  2. Check student’s solution.
  3. [latex]f\left(x\right)=\frac{1}{8}[/latex] where [latex]1\le x\le 9[/latex]
  4. five
  5. 2.3
  6. [latex]\frac{15}{32}[/latex]
  7. [latex]\frac{333}{800}[/latex]
  8. [latex]\frac{2}{3}[/latex]
  9. 8.2

According to a study by Dr. John McDougall of his live-in weight loss program at St. Helena Hospital, the people who follow his program lose between six and 15 pounds a month until they approach trim body weight. Let’s suppose that the weight loss is uniformly distributed. We are interested in the weight loss of a randomly selected individual following the program for one month.

  1. Define the random variable. X = _________
  2. X ~ _________
  3. Graph the probability distribution.
  4. f(x) = _________
  5. μ = _________
  6. σ = _________
  7. Find the probability that the individual lost more than ten pounds in a month.
  8. Suppose it is known that the individual lost more than ten pounds in a month. Find the probability that he lost less than 12 pounds in the month.
  9. P(7 < x < 13|x > 9) = __________. State this in a probability question, similarly to parts g and h, draw the picture, and find the probability.

A subway train on the Red Line arrives every eight minutes during rush hour. We are interested in the length of time a commuter must wait for a train to arrive. The time follows a uniform distribution.

  1. Define the random variable. X = _______
  2. X ~ _______
  3. Graph the probability distribution.
  4. f(x) = _______
  5. μ = _______
  6. σ = _______
  7. Find the probability that the commuter waits less than one minute.
  8. Find the probability that the commuter waits between three and four minutes.
  9. Sixty percent of commuters wait more than how long for the train? State this in a probability question, similarly to parts g and h, draw the picture, and find the probability.
Solution
  1. X represents the length of time a commuter must wait for a train to arrive on the Red Line.
  2. X ~ U(0, 8)
  3. [latex]f\left(x\right)=\frac{1}{8}[/latex] where ≤ x ≤ 8
  4. four
  5. 2.31
  6. [latex]\frac{1}{8}[/latex]
  7. [latex]\frac{1}{8}[/latex]
  8. 3.2

The age of a first grader on September 1 at Garden Elementary School is uniformly distributed from 5.8 to 6.8 years. We randomly select one first grader from the class.

  1. Define the random variable. X = _________
  2. X ~ _________
  3. Graph the probability distribution.
  4. f(x) = _________
  5. μ = _________
  6. σ = _________
  7. Find the probability that she is over 6.5 years old.
  8. Find the probability that she is between four and six years old.
  9. Find the 70th percentile for the age of first graders on September 1 at Garden Elementary School.

Use the following information to answer the next three exercises. The Sky Train from the terminal to the rental–car and long–term parking center is supposed to arrive every eight minutes. The waiting times for the train are known to follow a uniform distribution.

What is the average waiting time (in minutes)?

  1. zero
  2. two
  3. three
  4. four
Solution

d

Find the 30th percentile for the waiting times (in minutes).

  1. two
  2. 2.4
  3. 2.75
  4. three

The probability of waiting more than seven minutes given a person has waited more than four minutes is?

  1. 0.125
  2. 0.25
  3. 0.5
  4. 0.75
Solution

b

The time (in minutes) until the next bus departs a major bus depot follows a distribution with f(x) = [latex]\frac{1}{20}[/latex] where x goes from 25 to 45 minutes.

  1. Define the random variable. X = ________
  2. X ~ ________
  3. Graph the probability distribution.
  4. The distribution is ______________ (name of distribution). It is _____________ (discrete or continuous).
  5. μ = ________
  6. σ = ________
  7. Find the probability that the time is at most 30 minutes. Sketch and label a graph of the distribution. Shade the area of interest. Write the answer in a probability statement.
  8. Find the probability that the time is between 30 and 40 minutes. Sketch and label a graph of the distribution. Shade the area of interest. Write the answer in a probability statement.
  9. P(25 < x < 55) = _________. State this in a probability statement, similarly to parts g and h, draw the picture, and find the probability.
  10. Find the 90th percentile. This means that 90% of the time, the time is less than _____ minutes.
  11. Find the 75th percentile. In a complete sentence, state what this means. (See part j.)
  12. Find the probability that the time is more than 40 minutes given (or knowing that) it is at least 30 minutes.

Suppose that the value of a stock varies each day from 💲16 to 💲25 with a uniform distribution.

  1. Find the probability that the value of the stock is more than 💲19.
  2. Find the probability that the value of the stock is between 💲19 and 💲22.
  3. Find the upper quartile – 25% of all days the stock is above what value? Draw the graph.
  4. Given that the stock is greater than 💲18, find the probability that the stock is more than 💲21.
Solution
  1. The probability density function of X is [latex]\frac{1}{25-16}=\frac{1}{9}[/latex].

    P(X > 19) = (25 – 19) [latex]\left(\frac{1}{9}\right)[/latex]
    = [latex]\frac{6}{9}[/latex] = [latex]\frac{2}{3}[/latex].

  2. P(19 < X < 22) = (22 – 19) [latex]\left(\frac{1}{9}\right)[/latex] = [latex]\frac{3}{9}[/latex] = [latex]\frac{1}{3}[/latex].
  3. The area must be 0.25, and 0.25 = (width)[latex]\left(\frac{1}{9}\right)[/latex], so width = (0.25)(9) = 2.25. Thus, the value is 25 – 2.25 = 22.75.
  4. This is a conditional probability question. P(x > 21| x > 18). You can do this two ways:
    • Draw the graph where a is now 18 and b is still 25. The height is [latex]\frac{1}{\left(25-18\right)}[/latex] = [latex]\frac{1}{7}[/latex]

      So, P(x > 21|x > 18) = (25 – 21)[latex]\left(\frac{1}{7}\right)[/latex] = 4/7.

    • Use the formula: P(x > 21|x > 18) = [latex]\frac{P\left(x>21\text{ AND }x>18\right)}{P\left(x>18\right)}[/latex]

      = [latex]\frac{P\left(x>21\right)}{P\left(x>18\right)}[/latex] = [latex]\frac{\left(25-21\right)}{\left(25-18\right)}[/latex] = [latex]\frac{4}{7}[/latex].

A fireworks show is designed so that the time between fireworks is between one and five seconds, and follows a uniform distribution.

  1. Find the average time between fireworks.
  2. Find the probability that the time between fireworks is greater than four seconds.

    The number of miles driven by a truck driver falls between 300 and 700, and follows a uniform distribution.

    1. Find the probability that the truck driver goes more than 650 miles in a day.
    2. Find the probability that the truck driver goes between 400 and 650 miles in a day.
    3. At least how many miles does the truck driver travel on the farthest 10% of days?
    Solution
    1. P(X > 650) = [latex]\frac{700-650}{700-300}=\frac{500}{400}=\frac{1}{8}[/latex] = 0.125.
    2. P(400 < X < 650) = [latex]\frac{700-650}{700-300}=\frac{250}{400}[/latex] = 0.625
    3. 0.10 = [latex]\frac{\text{width}}{\text{700}-\text{300}}[/latex], so width = 400(0.10) = 40. Since 700 – 40 = 660, the drivers travel at least 660 miles on the farthest 10% of days.

    5.3 Homework

    Suppose that the length of long distance phone calls, measured in minutes, is known to have an exponential distribution with the average length of a call equal to eight minutes.

    1. Define the random variable. X = ________________.
    2. Is X continuous or discrete?
    3. X ~ ________
    4. μ = ________
    5. σ = ________
    6. Draw a graph of the probability distribution. Label the axes.
    7. Find the probability that a phone call lasts less than nine minutes.
    8. Find the probability that a phone call lasts more than nine minutes.
    9. Find the probability that a phone call lasts between seven and nine minutes.
    10. If 25 phone calls are made one after another, on average, what would you expect the total to be? Why?

    Suppose that the useful life of a particular car battery, measured in months, decays with parameter 0.025. We are interested in the life of the battery.

    1. Define the random variable. X = _________________________________.
    2. Is X continuous or discrete?
    3. X ~ ________
    4. On average, how long would you expect one car battery to last?
    5. On average, how long would you expect nine car batteries to last, if they are used one after another?
    6. Find the probability that a car battery lasts more than 36 months.
    7. Seventy percent of the batteries last at least how long?
    Solution
    1. X = the useful life of a particular car battery, measured in months.
    2. X is continuous.
    3. X ~ Exp(0.025)
    4. 40 months
    5. 360 months
    6. 0.4066
    7. 14.27

    The percent of persons (ages five and older) in each state who speak a language at home other than English is approximately exponentially distributed with a mean of 9.848. Suppose we randomly pick a state.

    1. Define the random variable. X = _________________________________.
    2. Is X continuous or discrete?
    3. X ~ ________
    4. μ = ________
    5. σ = ________
    6. Draw a graph of the probability distribution. Label the axes.
    7. Find the probability that the percent is less than 12.
    8. Find the probability that the percent is between eight and 14.
    9. The percent of all individuals living in the United States who speak a language at home other than English is 13.8.
      1. Why is this number different from 9.848%?
      2. What would make this number higher than 9.848%?

    The time (in years) after reaching age 60 that it takes an individual to retire is approximately exponentially distributed with a mean of about five years. Suppose we randomly pick one retired individual. We are interested in the time after age 60 to retirement.

    1. Define the random variable. X = _________________________________.
    2. Is X continuous or discrete?
    3. X ~ = ________
    4. μ = ________
    5. σ = ________
    6. Draw a graph of the probability distribution. Label the axes.
    7. Find the probability that the person retired after age 70.
    8. Do more people retire before age 65 or after age 65?
    9. In a room of 1,000 people over age 80, how many do you expect will NOT have retired yet?
    Solution
    1. X = the time (in years) after reaching age 60 that it takes an individual to retire
    2. X is continuous.
    3. X ~ Exp[latex]\left(\frac{1}{5}\right)[/latex]
    4. five
    5. five
    6. Check student’s solution.
    7. 0.1353
    8. before
    9. 18.3

    The cost of all maintenance for a car during its first year is approximately exponentially distributed with a mean of 💲150.

    1. Define the random variable. X = _________________________________.
    2. X ~ = ________
    3. μ = ________
    4. σ = ________
    5. Draw a graph of the probability distribution. Label the axes.
    6. Find the probability that a car required over 💲300 for maintenance during its first year.

    Use the following information to answer the next three exercises. The average lifetime of a certain new cell phone is three years. The manufacturer will replace any cell phone failing within two years of the date of purchase. The lifetime of these cell phones is known to follow an exponential distribution.

    The decay rate is:

    1. 0.3333
    2. 0.5000
    3. 2
    4. 3
    Solution

    a

    What is the probability that a phone will fail within two years of the date of purchase?

    1. 0.8647
    2. 0.4866
    3. 0.2212
    4. 0.9997

    What is the median lifetime of these phones (in years)?

    1. 0.1941
    2. 1.3863
    3. 2.0794
    4. 5.5452
    Solution

    c

    Let X ~ Exp(0.1).

    1. decay rate = ________
    2. μ = ________
    3. Graph the probability distribution function.
    4. On the graph, shade the area corresponding to P(x < 6) and find the probability.
    5. Sketch a new graph, shade the area corresponding to P(3 < x < 6) and find the probability.
    6. Sketch a new graph, shade the area corresponding to P(x < 7) and find the probability.
    7. Sketch a new graph, shade the area corresponding to the 40th percentile and find the value.
    8. Find the average value of x.

    Suppose that the longevity of a light bulb is exponential with a mean lifetime of eight years.

    1. Find the probability that a light bulb lasts less than one year.
    2. Find the probability that a light bulb lasts between six and ten years.
    3. Seventy percent of all light bulbs last at least how long?
    4. A company decides to offer a warranty to give refunds to light bulbs whose lifetime is among the lowest two percent of all bulbs. To the nearest month, what should be the cutoff lifetime for the warranty to take place?
    5. If a light bulb has lasted seven years, what is the probability that it fails within the 8th year?
    Solution

    Let T = the lifetime of a light bulb.

    The decay parameter is m = 1/8, and T ∼ Exp(1/8). The cumulative distribution function is [latex]P\left(T

    1. Therefore, P(T < 1) = 1 – e[latex]–\frac{1}{8}[/latex] ≈ 0.1175.
    2. We want to find P(6 < t < 10).

      To do this, P(6 < t < 10) – P(t < 6)

      = [latex]=\left(1–{e}^{–\frac{1}{8}*10}\right)–\left(1–{e}^{–\frac{1}{8}*6}\right)[/latex] ≈ 0.7135 – 0.5276 = 0.1859

    3. We want to find 0.70 [latex]=P\left(T>t\right)=1–\left(1–{e}^{-\frac{t}{8}}\right)={e}^{-\frac{t}{8}}.[/latex]

      Solving for t, e[latex]–\frac{t}{8}[/latex] = 0.70, so [latex]–\frac{t}{8}[/latex] = ln(0.70), and t = –8ln(0.70) ≈ 2.85 years.

      Or use t = [latex]\frac{ln\text{(area_to_the_right)}}{\left(–m\right)}=\frac{ln\text{(0}\text{.70)}}{–\frac{1}{8}}\approx 2.\text{85 years}[/latex].

    4. We want to find 0.02 = P(T < t) = 1 – e[latex]–\frac{t}{8}[/latex].

      Solving for t, e[latex]–\frac{t}{8}[/latex] = 0.98, so [latex]–\frac{t}{8}[/latex] = ln(0.98), and t = –8ln(0.98) ≈ 0.1616 years, or roughly two months.

      The warranty should cover light bulbs that last less than 2 months.

      Or use [latex]\frac{\ln(\text{area\_to\_the\_right})}{(-m)} = \frac{\ln(1-0.2)}{(-\frac{1}{8})}[/latex] = 0.1616.

    5. We must find P(T < 8|T > 7).

      Notice that by the rule of complement events, P(T < 8|T > 7) = 1 – P(T > 8|T > 7).

      By the memoryless property (P(X > r + t|X > r) = P(X > t)).

      So P(T > 8|T > 7) = P(T > 1) = [latex]1–\left(1–{e}^{–\frac{1}{8}}\right)={e}^{–\frac{1}{8}}\approx 0.8825[/latex]

      Therefore, P(T < 8|T > 7) = 1 – 0.8825 = 0.1175.

    At a 911 call center, calls come in at an average rate of one call every two minutes. Assume that the time that elapses from one call to the next has the exponential distribution.

    1. On average, how much time occurs between five consecutive calls?
    2. Find the probability that after a call is received, it takes more than three minutes for the next call to occur.
    3. Ninety percent of all calls occur within how many minutes of the previous call?
    4. Suppose that two minutes have elapsed since the last call. Find the probability that the next call will occur within the next minute.
    5. Find the probability that less than 20 calls occur within an hour.

    In major league baseball, a no-hitter is a game in which a pitcher, or pitchers, doesn’t give up any hits throughout the game. No-hitters occur at a rate of about three per season. Assume that the duration of time between no-hitters is exponential.

    1. What is the probability that an entire season elapses with a single no-hitter?
    2. If an entire season elapses without any no-hitters, what is the probability that there are no no-hitters in the following season?
    3. What is the probability that there are more than 3 no-hitters in a single season?
    Solution

    Let X = the number of no-hitters throughout a season. Since the duration of time between no-hitters is exponential, the number of no-hitters per season is Poisson with mean λ = 3.

    Therefore, (X = 0) = [latex]\frac{{3}^{0}{e}^{–3}}{0\text{!}}[/latex] = e–3 ≈ 0.0498

    You could let T = duration of time between no-hitters. Since the time is exponential and there are 3 no-hitters per season, then the time between no-hitters is [latex]\frac{1}{3}[/latex] season. For the exponential, µ = [latex]\frac{1}{3}[/latex].

    Therefore, m = [latex]\frac{1}{\mu }[/latex] = 3 and TExp(3).

    1. The desired probability is P(T > 1) = 1 – P(T < 1) = 1 – (1 – e–3) = e–3 ≈ 0.0498.
    2. Let T = duration of time between no-hitters. We find P(T > 2|T > 1), and by the memoryless property this is simply P(T > 1), which we found to be 0.0498 in part a.
    3. Let X = the number of no-hitters is a season. Assume that X is Poisson with mean λ = 3. Then P(X > 3) = 1 – P(X ≤ 3) = 0.3528.

    During the years 1998–2012, a total of 29 earthquakes of magnitude greater than 6.5 have occurred in Papua New Guinea. Assume that the time spent waiting between earthquakes is exponential.

    1. What is the probability that the next earthquake occurs within the next three months?
    2. Given that six months has passed without an earthquake in Papua New Guinea, what is the probability that the next three months will be free of earthquakes?
    3. What is the probability of zero earthquakes occurring in 2014?
    4. What is the probability that at least two earthquakes will occur in 2014?

    According to the American Red Cross, about one out of nine people in the U.S. have Type B blood. Suppose the blood types of people arriving at a blood drive are independent. In this case, the number of Type B blood types that arrive roughly follows the Poisson distribution.

    1. If 100 people arrive, how many on average would be expected to have Type B blood?
    2. What is the probability that over 10 people out of these 100 have type B blood?
    3. What is the probability that more than 20 people arrive before a person with type B blood is found?
    Solution
    1. [latex]\frac{100}{9}[/latex] = 11.11
    2. P(X > 10) = 1 – P(X ≤ 10) = 1 – Poissoncdf(11.11, 10) ≈ 0.5532.
    3. The number of people with Type B blood encountered roughly follows the Poisson distribution, so the number of people X who arrive between successive Type B arrivals is roughly exponential with mean μ = 9 and m = [latex]\frac{1}{9}[/latex]. The cumulative distribution function of X is [latex]P\left(XP(X > 20) = 1 – P(X ≤ 20) = [latex]1-\left(1-{e}^{-\frac{20}{9}}\right)\approx 0.1084.[/latex]
    Note

    We could also deduce that each person arriving has a 8/9 chance of not having Type B blood. So the probability that none of the first 20 people arrive have Type B blood is [latex]{\left(\frac{8}{9}\right)}^{20}\approx 0.0948[/latex]. (The geometric distribution is more appropriate than the exponential because the number of people between Type B people is discrete instead of continuous.)

    A web site experiences traffic during normal working hours at a rate of 12 visits per hour. Assume that the duration between visits has the exponential distribution.

    1. Find the probability that the duration between two successive visits to the website is more than ten minutes.
    2. The top 25% of durations between visits are at least how long?
    3. Suppose that 20 minutes have passed since the last visit to the web site. What is the probability that the next visit will occur within the next 5 minutes?
    4. Find the probability that less than 7 visits occur within a one-hour period.

    At an urgent care facility, patients arrive at an average rate of one patient every seven minutes. Assume that the duration between arrivals is exponentially distributed.

    1. Find the probability that the time between two successive visits to the urgent care facility is less than 2 minutes.
    2. Find the probability that the time between two successive visits to the urgent care facility is more than 15 minutes.
    3. If 10 minutes have passed since the last arrival, what is the probability that the next person will arrive within the next five minutes?
    4. Find the probability that more than eight patients arrive during a half-hour period.
    Solution

    Let T = duration (in minutes) between successive visits. Since patients arrive at a rate of one patient every seven minutes, μ = 7 and the decay constant is m = [latex]\frac{1}{7}[/latex]. The cdf is P(T < t) = [latex]1-{e}^{\frac{t}{7}}[/latex]

    1. P(T < 2) = 1 – [latex]1-{e}^{-\frac{2}{7}}[/latex] ≈ 0.2485.
    2. P(T > 15) = [latex]1-P\left(T15\right)=1-\left(1-{e}^{-\frac{15}{7}}\right)\approx {e}^{-\frac{15}{7}}\approx 0.1173[/latex].
    3. P(T > 15|T > 10) = P(T > 5) = [latex]1-\left(1-{e}^{-\frac{5}{7}}\right)={e}^{-\frac{5}{7}}\approx 0.4895[/latex].
    4. Let X = # of patients arriving during a half-hour period. Then X has the Poisson distribution with a mean of [latex]\frac{30}{7}[/latex], X ∼ Poisson[latex]\left(\frac{30}{7}\right)[/latex]. Find P(X > 8) = 1 – P(X ≤ 8) ≈ 0.0311.

    License

    Icon for the Creative Commons Attribution-ShareAlike 4.0 International License

    Introductory Statistics Copyright © 2024 by LOUIS: The Louisiana Library Network is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License, except where otherwise noted.

    Share This Book