Skip to main content
Statistics LibreTexts

5.2: Properties of Continuous Probability Density Functions

  • Page ID
    14649
  • \( \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}\)

    The graph of a continuous probability distribution is a curve. Probability is represented by area under the curve. We have already met this concept when we developed relative frequencies with histograms in Chapter 2. The relative area for a range of values was the probability of drawing at random an observation in that group. Again with the Poisson distribution, the graph in Example 4.3.3 used boxes to represent the probability of specific values of the random variable. In this case, we were being a bit casual because the random variables of a Poisson distribution are discrete, whole numbers, and a box has width. Notice that the horizontal axis, the random variable \(X\), purposefully did not mark the points along the axis. The probability of a specific value of a continuous random variable will be zero because the area under a point is zero. Probability is area.

    The curve is called the probability density function (abbreviated as pdf). We use the symbol \(f(x))\) to represent the curve. \(f(x))\) is the function that corresponds to the graph; we use the density function \(f(x))\) to draw the graph of the probability distribution.

    Area under the curve is given by a different function called the cumulative distribution function (abbreviated as cdf). The cumulative distribution function is used to evaluate probability as area. Mathematically, the cumulative probability density function is the integral of the pdf, and the probability between two values of a continuous random variable will be the integral of the pdf between these two values: the area under the curve between these values. Remember that the area under the pdf for all possible values of the random variable is one, certainty. Probability thus can be seen as the relative percent of certainty between the two values of interest.

    • The outcomes are measured, not counted.
    • The entire area under the curve and above the x-axis is equal to one.
    • Probability is found for intervals of \(x\) values rather than for individual \(x\) values.
    • \(P(c < X < d)\) is the probability that the random variable X is in the interval between the values c and d. \(P(c < X < d)\) is the area under the curve, above the x-axis, to the right of \(c\) and the left of \(d\).
    • \(P(X = c) = 0\) The probability that \(X\) takes on any single individual value is zero. The area below the curve, above the x-axis, and between \(x = c\) and \(x = c\) has no width, and therefore no area (\(\text{area }= 0\)). Since the probability is equal to the area, the probability is also zero.
    • \(P(c < X < d)\) is the same as \(P(c ≤ x ≤ d)\) because probability is equal to area.

    We will find the area that represents probability by using geometry, formulas, technology, or probability tables. In general, integral calculus is needed to find the area under the curve for many probability density functions. When we use formulas to find the area in this textbook, the formulas were found by using the techniques of integral calculus.

    There are many continuous probability distributions. When using a continuous probability distribution to model probability, the distribution used is selected to model and fit the particular situation in the best way.

    In this chapter, we will study the uniform distribution, the exponential distribution, and the normal distribution. The following graphs illustrate these distributions.

    This graph shows a uniform distribution. The horizontal axis ranges from 0 to 10. The distribution is modeled by a rectangle extending from x = 2 to x = 8.8. A region from x = 3 to x = 6 is shaded inside the rectangle. The shaded area represents P(3  x < 6).
    Figure \(\PageIndex{1}\) The graph shows a Uniform Distribution with the area between \(x = 3\) and \(x = 6\) shaded to represent the probability that the value of the random variable \(X\) is in the interval between three and six.
    6838b1c546d56c6fb980a68715a26d097b339ebb
    Figure \(\PageIndex{2}\) The graph shows an Exponential Distribution with the area between \(x = 2\) and \(x = 4\) shaded to represent the probability that the value of the random variable \(X\) is in the interval between two and four.
    This graph shows an exponential distribution. The graph slopes downward. It begins at a point on the y-axis and approaches the x-axis at the right edge of the graph. The region under the graph from x = 2 to x = 4 is shaded to represent P(2 < x < 4).
    Figure \(\PageIndex{3}\) The graph shows the Standard Normal Distribution with the area between \(x = 1\) and \(x = 2\) shaded to represent the probability that the value of the random variable \(X\) is in the interval between one and two.

    For continuous probability distributions, PROBABILITY = AREA.

    Example \(\PageIndex{1}\)

    Consider the function \(f(x) = \frac{1}{20}\) for \(0 ≤ x ≤ 20\). The graph of \(f(x) = \frac{1}{20}\) is a horizontal line. However, since \(0 ≤ x≤ 20, f(x)\) is restricted to the portion between \(x = 0\) and \(x = 20\), inclusive.

    This shows the graph of the function f(x) = 1/20. A horiztonal line ranges from the point (0, 1/20) to the point (20, 1/20). A vertical line extends from the x-axis to the end of the line at point (20, 1/20) creating a rectangle.
    Figure \(\PageIndex{4}\)

    \(f(x) = \frac{1}{20}\) for \(0 ≤ x ≤ 20\).

    The graph of \(f(x) =\frac{1}{20}\) is a horizontal line segment when \(0 ≤ x ≤ 20\).

    The area between \(f(x) = \frac{1}{20}\) where \(0 ≤ x ≤ 20\) and the x-axis is the area of a rectangle with base \(= 20\) and height \(= \frac{1}{20}\).

    \[\operatorname{AREA}=20\left(\frac{1}{20}\right)=1\nonumber\]

    Suppose we want to find the area between \(bf{f(x)) = \frac{1}{20}}\) and the x-axis where \(\bf{0 < x < 2}\).

    This shows the graph of the function f(x) = 1/20. A horiztonal line ranges from the point (0, 1/20) to the point (20, 1/20). A vertical line extends from the x-axis to the end of the line at point (20, 1/20) creating a rectangle. A region is shaded inside the rectangle from x = 0 to x = 2.
    Figure \(\PageIndex{5}\)

    \[\operatorname{AREA}=(2-0)\left(\frac{1}{20}\right)=0.1\nonumber\]

    \[(2-0)=2= \text{base of rectangle}\nonumber\]

    REMINDER

    area of a rectangle = (base)(height).

    The area corresponds to a probability. The probability that \(x\) is between zero and two is \(0.1\), which can be written mathematically as \(P(0 < x < 2) = P(x < 2) = 0.1\).

    Suppose we want to find the area between \(\bf{f(x) = \frac{1}{20}}\) and the x-axis where \(\bf{ 4 < x < 15 }\).

    This shows the graph of the function f(x) = 1/20. A horiztonal line ranges from the point (0, 1/20) to the point (20, 1/20). A vertical line extends from the x-axis to the end of the line at point (20, 1/20) creating a rectangle. A region is shaded inside the rectangle from x = 4 to x = 15.
    Figure \(\PageIndex{6}\)

    \(\operatorname{AREA}=(15-4)\left(\frac{1}{20}\right)=0.55\)

    \((15 – 4) = 11 = \text{the base of a rectangle}\)

    The area corresponds to the probability \(P (4 < x < 15) = 0.55\).

    Suppose we want to find \(P(x = 15)\). On an x-y graph, \(x = 15\) is a vertical line. A vertical line has no width (or zero width). Therefore, \(P(x = 15) =\) (base)(height) \(= (0)\left(\frac{1}{20}\right) = 0\)

    This shows the graph of the function f(x) = 1/20. A horiztonal line ranges from the point (0, 1/20) to the point (20, 1/20). A vertical line extends from the x-axis to the end of the line at point (20, 1/20) creating a rectangle. A vertical line extends from the horizontal axis to the graph at x = 15.
    Figure \(\PageIndex{7}\)

    \(P(X ≤ x)\), which can also be written as \(P(X < x)\) for continuous distributions, is called the cumulative distribution function or CDF. Notice the "less than or equal to" symbol. We can also use the CDF to calculate \(P (X > x)\). The CDF gives "area to the left" and \(P(X > x)\) gives "area to the right." We calculate \(P(X > x)\) for continuous distributions as follows: \(P(X > x) = 1 – P (X < x)\).

    This shows the graph of the function f(x) = 1/20. A horiztonal line ranges from the point (0, 1/20) to the point (20, 1/20). A vertical line extends from the x-axis to the end of the line at point (20, 1/20) creating a rectangle. The area to the left of a value, x, is shaded.
    Figure \(\PageIndex{8}\)

    Label the graph with \(f(x)\) and \(x\). Scale the \(x\) and \(y\) axes with the maximum \(x\) and \(y\) values. \(f(x) = \frac{1}{20} , 0 ≤ x ≤ 20\).

    To calculate the probability that \(x\) is between two values, look at the following graph. Shade the region between \(x = 2.3\) and \(x = 12.7\). Then calculate the shaded area of a rectangle.

    This shows the graph of the function f(x) = 1/20. A horiztonal line ranges from the point (0, 1/20) to the point (20, 1/20). A vertical line extends from the x-axis to the end of the line at point (20, 1/20) creating a rectangle. A region is shaded inside the rectangle from x = 2.3 to x = 12.7
    Figure \(\PageIndex{9}\)

    \(P(2.3<x<12.7)=(\text { base })(\text { height })=(12.7-2.3)\left(\frac{1}{20}\right)=0.52\)

    Exercise \(\PageIndex{1}\)

    Consider the function \(f(x) = \frac{1}{8}\) for \(0 \leq x \leq 8\). Draw the graph of \(f(x))\) and find \(P(2.5 < x < 7.5)\).


    This page titled 5.2: Properties of Continuous Probability Density Functions is shared under a CC BY 4.0 license and was authored, remixed, and/or curated by OpenStax.

    • Was this article helpful?