Skip to main content
Statistics LibreTexts

5.1: Probability Distributions of Continuous Random Variables

  • Page ID
    48790
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)

    ( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\id}{\mathrm{id}}\)

    \( \newcommand{\Span}{\mathrm{span}}\)

    \( \newcommand{\kernel}{\mathrm{null}\,}\)

    \( \newcommand{\range}{\mathrm{range}\,}\)

    \( \newcommand{\RealPart}{\mathrm{Re}}\)

    \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)

    \( \newcommand{\Argument}{\mathrm{Arg}}\)

    \( \newcommand{\norm}[1]{\| #1 \|}\)

    \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)

    \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    \( \newcommand{\vectorA}[1]{\vec{#1}}      % arrow\)

    \( \newcommand{\vectorAt}[1]{\vec{\text{#1}}}      % arrow\)

    \( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vectorC}[1]{\textbf{#1}} \)

    \( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)

    \( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)

    \( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)

    \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)

    \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)

    \(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)

    In unit 4, we organized outcomes and probabilities for a discrete random variable. The values of a discrete random variable can be listed in order (can be counted).

    Continuous Random Variables

    Sometimes the values of a variable cannot be listed in order. This is because, for any given value, it is impossible to list a next value. These variables are considered continuous variables.

    For example, let’s try to list the heights of all randomly selected men in order. We are not talking about specific heights, but rather, all possible heights. Consider a man who is 6 feet tall. If we could put these values in order, we should be able to tell what height comes after 6 feet or 6.0000… feet. So what is the next height on the list? Maybe we think 6.1 feet is the next height. But that isn’t correct because 6.01 feet is closer to 6 feet. So is the next height 6.01 feet? No, because 6.001 is again closer to 6 feet, and 6.0001 feet is closer to that. We could continue this forever and we would never be able to find the “next height” on the list. This is why the heights of randomly selected men are values of a continuous random variable.

    A random variable is continuous if it cannot be listed in order, or counted. Usually, continuous random variables are measured (like height, time, or weight).
     

    1. Classify each of the random variables described as either discrete or continuous.
      1. The number of high school students in a dual enrollment program.

         
      2. The time it takes to sprint 500 meters.

         
      3. The number of assignments in an online class.

         
      4. The time it takes to complete all assignments in an online class.

         
      5. The distance a planet is from the sun.

         
      6. The sum of the roll of three dice.

         
      7. The life expectancy of a person living in a blue zone.

         
      8. The amount of money in someone's pocket.








         

    Statistical Inference

    In statistical inference (where we use sample data to make judgements about a population), we often work with continuous random variables, and statistical inference depends on probability. In previous lessons, we visualized probability distributions for discrete random variables using histograms. Each value of a discrete random variable has a probability associated with it, and the probability is the area of the corresponding bar on the probability histogram.

    Consider our original example, the distribution of heights of men. Below is a histogram that represents the probabilities that are estimated by relative frequencies from a large random sample of men’s heights. The area of each bar represents the probability that a random man’s height is within the corresponding range. The mean for all men’s heights is 69 inches. Each bar in the histogram has a width of 2 inches.

    AD_4nXdcaH00xWCSpSAVoOJD4VdC5EM-73KFyt45n9CYwpunT94vxlZJoBc-OPjagL2xhbAsvNQgtyY857Zvul-P2p178nbEtNTtHIEAjdBWC6aNEAgKLRNnGP6sbmAujmpOPD5n6GOJeBgKpaSkUvnCvY46Yxrqkeyi1XJeTDlU718V25snr3PRQ

    Images are created with the graphing calculator, used with permission from Desmos Studio PBC.

    The problem with using this histogram is that it only allows us to estimate probabilities for a predetermined range of values. It does not allow us to find probabilities for other ranges (like the probability that a randomly selected man is between 70 and 71 inches tall). A bar with width 1 would allow us to compute this probability. See the histogram below.

    AD_4nXf8ilFNiBAHorP4hitPAYKIlyIwDz9_fxdeq7vwISF12S-xLTAo3ET9p_2ReOltNt21LY9P2OUY2OCyuisfHx1jbAwBHkocWCQZ7fI8CYETW535tROnjAsmKSwK94w6-LNofEy00-RvWyWEsRNLCb6tTylykeyi1XJeTDlU718V25snr3PRQ

    Images are created with the graphing calculator, used with permission from Desmos Studio PBC.

    With thinner bars, the graph begins to look closer to a smooth curve. In particular, this histogram is bell-shaped. Unfortunately, we still can’t find the probability that a randomly selected man is between 70 and 70.1 inches tall. We can again decrease the width of each bar to be 0.1 inches. See the histogram below.

    AD_4nXcocP6MgMOKMWkGi4ysR6pyREnsUTybfO4hfTWjMZCStHtBjJ88wWJ8Cv5IYYd1BuBBoUKeuyoZGMLzWLfluF-TWu9xddbX6FP-XYjk5HgdIt8glfNzQaecBG2GSLzVUuP_mls1yIOyPyoQ6yWZEClnzxVwkeyi1XJeTDlU718V25snr3PRQ

    Images are created with the graphing calculator, used with permission from Desmos Studio PBC.

    We continue in this way forever until we have achieved a smooth curve. This curve is a continuous probability distribution. Mathematicians use Calculus to find areas under this curve which corresponds to probability. The total area under the curve is 1.

    AD_4nXe6if5DEf9ohOtukULgM13pnm8CJ-Auk7NUtMHKSEgeL4xmT3kOdiG06TG2u3aKt6F01KaTk5OrMh986cJDfxhtt0D0Q4T8vxVS7L3RtrL9Tkn60_q9kRV-JRgApYgXWxg3MJ8Jan4u6KplLQ9Y2-2GveRHkeyi1XJeTDlU718V25snr3PRQ

    Images are created with the graphing calculator, used with permission from Desmos Studio PBC.

    Below, the area under the curve from 70.6 to 72.9 inches is shaded.

    AD_4nXdzdeykHiGsDYpWGR34qWbLSZhuj7j25vZA445cPesbIh6DoFWGItik8VF0Z2rMQNfYV9AlR7SX4IH3QpkiA1r0Dh7_gw2zfeJTqi1_lwkr_n2nsqkghtMW91mQMcwlHBTxdQuuFkz7DFA5j-oen7TdFqwkeyi1XJeTDlU718V25snr3PRQ

    Images are created with the graphing calculator, used with permission from Desmos Studio PBC.

    The area of this shaded region is 0.2001. It represents the probability that a randomly selected man is between 70.6 and 72.9 inches tall. If \(x\) represents adult male height in inches, we can say this using probability notation: \(P(70.6<x<72.9)=0.2001\). The proportion of all adult males that are between 70.6 and 72.9 inches tall is around 20%.

    Probabilities from a Bimodal Continuous Probability Distribution

    There are many continuous probability distributions. We will use bell-shaped probability curves often in this course. We may see distributions that have other shapes. Sometimes when two populations are merged into one, they form a probability distribution with two peaks. This type of distribution is called bimodal.

    Black bears weights tend to differ by sex. Female black bears weigh 175 pounds on average, whereas, male black bears weigh 400 pounds on average. Below is the continuous probability distribution of adult black bear weights. Let the continuous random variable take on values of adult black bear weight. The curve has been divided into intervals of equal length. The area of each range is written in each region above the corresponding interval. For example, the area 0.1915 corresponds to the range of values between 150 and 200. In context, this says the probability that a randomly selected black bear weighs between 150 and 200 pounds is 0.1915 or 19.15%.

    AD_4nXcy-5sNuS5NBHLwN35lJiIPlka6eEzbdFXq6uTI_Dj7bX_95gnUjhz-RqAxxiEIK44DKqzfLtCr-jpuHjux4cw91Z3kzcG7pBCn2XR6Cu1euS4aMScDfNL6krc2PXDnii8WUMu8KyafHRH1JAkTnrMPF_Ihkeyi1XJeTDlU718V25snr3PRQ

    Images are created with the graphing calculator, used with permission from Desmos Studio PBC.

    Using probability notation, we say \(P(150 \leq x \leq 200)=0.1915=19.15 \%\).

    AD_4nXdXfcSnxob9cT3gtUwdT-krFaNv_EYcdftasoyi_ubuxbxigG4cNKnRoP9g6CQ7dr1DnLZTRr4vqWbwQR0xw7UkQsPqETON4bNdcVgnURy3AK8rqeHYq9vQytpIZTrEwzUs5Cmu2rlJFpQTYZHK7jXpkZuokeyi1XJeTDlU718V25snr3PRQ

    Images are created with the graphing calculator, used with permission from Desmos Studio PBC.

    1. Use the continuous probability distribution of randomly selected black bear weights above to answer the following questions.
      1. Compute the total area under the curve above.

         
      2. Shade the region that represents the probability that a randomly selected black bear weighs between 350 and 500 lbs.

         
      3. The area you shaded can be written using probability notation as \(P(350<x<500)\). What is this probability?

        \(P(350<x<500)=\)

         

      4. Compute the proportion of black bears that weigh between 50 and 250 lbs. Use probability notation in your answer. Shade the area that represents the probability to show your thinking.

         

        AD_4nXdXfcSnxob9cT3gtUwdT-krFaNv_EYcdftasoyi_ubuxbxigG4cNKnRoP9g6CQ7dr1DnLZTRr4vqWbwQR0xw7UkQsPqETON4bNdcVgnURy3AK8rqeHYq9vQytpIZTrEwzUs5Cmu2rlJFpQTYZHK7jXpkZuokeyi1XJeTDlU718V25snr3PRQ_8y0d

        Images are created with the graphing calculator, used with permission from Desmos Studio PBC.

    2. Use the continuous probability distribution of randomly selected black bear weights above to answer the following questions.
      1. Shade the region that represents the probability that a randomly selected black bear weighs at most 100 lbs.

         
      2. The area you shaded can be written using probability notation as \(P(x \leq 100)\) which is equal to P(x<100) in a continuous probability distribution. What is this probability?

        \(P(x \leq 100)=\)

         

      3. Compute the proportion of black bears that weigh at least 100 lbs. Use probability notation in your answer. Hint: apply the complement rule.


         

         

         

         

         




         

    This page titled 5.1: Probability Distributions of Continuous Random Variables is shared under a CC BY-NC-SA 4.0 license and was authored, remixed, and/or curated by Hannah Seidler-Wright.

    • Was this article helpful?