3.2: Probability Distribution Function (PDF) for a Discrete Random Variable (2024)

Table of Contents
Review Glossary FAQs
  1. Last updated
  2. Save as PDF
  • Page ID
    42690
  • \( \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}}} \)

    A discrete probability distribution function has two characteristics:

    1. Each probability is between zero and one, inclusive.
    2. The sum of the probabilities is one.
    Example \(\PageIndex{1}\)

    A child psychologist is interested in the number of times a newborn baby's crying wakes its mother after midnight. For a random sample of 50 mothers, the following information was obtained. Let \(X =\) the number of times per week a newborn baby's crying wakes its mother after midnight. For this example, \(x = 0, 1, 2, 3, 4, 5\).

    \(P(x) =\) probability that \(X\) takes on a value \(x\).

    \(x\) \(P(x)\)
    0 \(P(x = 0) = \dfrac{2}{50}\)
    1 \(P(x = 1) = \dfrac{11}{50}\)
    2 \(P(x = 2) = \dfrac{23}{50}\)
    3 \(P(x = 3) = \dfrac{9}{50}\)
    4 \(P(x = 4) = \dfrac{4}{50}\)
    5 \(P(x = 5) = \dfrac{1}{50}\)

    \(X\) takes on the values 0, 1, 2, 3, 4, 5. This is a discrete PDF because:

    1. Each \(P(x)\) is between zero and one, inclusive.
    2. The sum of the probabilities is one, that is,

    \[\dfrac{2}{50} + \dfrac{11}{50} + \dfrac{23}{50} + \dfrac{9}{50} + \dfrac{4}{50} + \dfrac{1}{50} = 1\]

    Exercise \(\PageIndex{1}\)

    A hospital researcher is interested in the number of times the average post-op patient will ring the nurse during a 12-hour shift. For a random sample of 50 patients, the following information was obtained. Let \(X =\) the number of times a patient rings the nurse during a 12-hour shift. For this exercise, \(x = 0, 1, 2, 3, 4, 5\). \(P(x) =\) the probability that \(X\) takes on value \(x\). Why is this a discrete probability distribution function (two reasons)?

    \(X\) \(P(x)\)
    0 \(P(x = 0) = \dfrac{4}{50}\)
    1 \(P(x = 1) = \dfrac{8}{50}\)
    2 \(P(x = 2) = \dfrac{16}{50}\)
    3 \(P(x = 3) = \dfrac{14}{50}\)
    4 \(P(x = 4) = \dfrac{6}{50}\)
    5 \(P(x = 5) = \dfrac{2}{50}\)

    Answer

    Each \(P(x)\) is between 0 and 1, inclusive, and the sum of the probabilities is 1, that is:

    \[\dfrac{4}{50} + \dfrac{8}{50} +\dfrac{16}{50} +\dfrac{14}{50} +\dfrac{6}{50} + \dfrac{2}{50} = 1\]

    Example \(\PageIndex{2}\)

    Suppose Nancy has classes three days a week. She attends classes three days a week 80% of the time, two days 15% of the time, one day 4% of the time, and no days 1% of the time. Suppose one week is randomly selected.

    1. Let \(X\) = the number of days Nancy ____________________.
    2. \(X\) takes on what values?
    3. Suppose one week is randomly chosen. Construct a probability distribution table (called a PDF table) like the one in Example. The table should have two columns labeled \(x\) and \(P(x)\). What does the \(P(x)\) column sum to?

    Solutions

    a. Let \(X\) = the number of days Nancy attends class per week.

    b. 0, 1, 2, and 3

    c

    \(x\) \(P(x)\)
    0 0.01
    1 0.04
    2 0.15
    3 0.80
    Exercise \(\PageIndex{2}\)

    Jeremiah has basketball practice two days a week. Ninety percent of the time, he attends both practices. Eight percent of the time, he attends one practice. Two percent of the time, he does not attend either practice. What is X and what values does it take on?

    Answer

    \(X\) is the number of days Jeremiah attends basketball practice per week. X takes on the values 0, 1, and 2.

    Review

    The characteristics of a probability distribution function (PDF) for a discrete random variable are as follows:

    1. Each probability is between zero and one, inclusive (inclusive means to include zero and one).
    2. The sum of the probabilities is one.

    Use the following information to answer the next five exercises: A company wants to evaluate its attrition rate, in other words, how long new hires stay with the company. Over the years, they have established the following probability distribution.

    Let \(X =\) the number of years a new hire will stay with the company.

    Let \(P(x) =\) the probability that a new hire will stay with the company x years.

    Exercise 4.2.3

    Complete Table using the data provided.

    \(x\) \(P(x)\)
    0 0.12
    1 0.18
    2 0.30
    3 0.15
    4
    5 0.10
    6 0.05

    Answer

    \(x\) \(P(x)\)
    0 0.12
    1 0.18
    2 0.30
    3 0.15
    4 0.10
    5 0.10
    6 0.05
    Exercise 4.2.4

    \(P(x = 4) =\) _______

    Exercise 4.2.5

    \(P(x \geq 5) =\) _______

    Answer

    0.10 + 0.05 = 0.15

    Exercise 4.2.6

    On average, how long would you expect a new hire to stay with the company?

    Exercise 4.2.7

    What does the column “P(x)” sum to?

    Answer

    1

    Use the following information to answer the next six exercises: A baker is deciding how many batches of muffins to make to sell in his bakery. He wants to make enough to sell every one and no fewer. Through observation, the baker has established a probability distribution.

    \(x\) \(P(x)\)
    1 0.15
    2 0.35
    3 0.40
    4 0.10
    Exercise 4.2.8

    Define the random variable \(X\).

    Exercise 4.2.9

    What is the probability the baker will sell more than one batch? \(P(x > 1) =\) _______

    Answer

    0.35 + 0.40 + 0.10 = 0.85

    Exercise 4.2.10

    What is the probability the baker will sell exactly one batch? \(P(x = 1) =\) _______

    Exercise 4.2.11

    On average, how many batches should the baker make?

    Answer

    1(0.15) + 2(0.35) + 3(0.40) + 4(0.10) = 0.15 + 0.70 + 1.20 + 0.40 = 2.45

    Use the following information to answer the next four exercises: Ellen has music practice three days a week. She practices for all of the three days 85% of the time, two days 8% of the time, one day 4% of the time, and no days 3% of the time. One week is selected at random.

    Exercise 4.2.12

    Define the random variable \(X\).

    Exercise 4.2.13

    Construct a probability distribution table for the data.

    Answer

    \(x\) \(P(x)\)
    0 0.03
    1 0.04
    2 0.08
    3 0.85
    Exercise 4.2.14

    We know that for a probability distribution function to be discrete, it must have two characteristics. One is that the sum of the probabilities is one. What is the other characteristic?

    Use the following information to answer the next five exercises: Javier volunteers in community events each month. He does not do more than five events in a month. He attends exactly five events 35% of the time, four events 25% of the time, three events 20% of the time, two events 10% of the time, one event 5% of the time, and no events 5% of the time.

    Exercise 4.2.15

    Define the random variable \(X\).

    Answer

    Let \(X =\) the number of events Javier volunteers for each month.

    Exercise 4.2.16

    What values does \(x\) take on?

    Exercise 4.2.17

    Construct a PDF table.

    Answer

    \(x\) \(P(x)\)
    0 0.05
    1 0.05
    2 0.10
    3 0.20
    4 0.25
    5 0.35
    Exercise 4.2.18

    Find the probability that Javier volunteers for less than three events each month. \(P(x < 3) =\) _______

    Exercise 4.2.19

    Find the probability that Javier volunteers for at least one event each month. \(P(x > 0) =\) _______

    Answer

    1 – 0.05 = 0.95

    Glossary

    Probability Distribution Function (PDF)
    a mathematical description of a discrete random variable (RV), given either in the form of an equation (formula) or in the form of a table listing all the possible outcomes of an experiment and the probability associated with each outcome.
    3.2: Probability Distribution Function (PDF) for a Discrete Random Variable (2024)

    FAQs

    3.2: Probability Distribution Function (PDF) for a Discrete Random Variable? ›

    3.2: Probability Distribution Function (PDF) for a Discrete Random Variable. A discrete probability distribution function has two characteristics: Each probability is between zero and one, inclusive. The sum of the probabilities is one.

    How to find the PDF of a discrete random variable? ›

    For a discrete random variable if you have the CDF, the pdf is defined as f(x)=F(x)−F(x−).

    What is the probability distribution function for a discrete random variable? ›

    Probability distribution for a discrete random variable.

    The function f(x) p(x)= P(X=x) for each x within the range of X is called the probability distribution of X. It is often called the probability mass function for the discrete random variable X.

    What is the PDF of a discrete function? ›

    The probability density function of a discrete random variable is simply the collection of all these probabilities. The discrete probability density function (PDF) of a discrete random variable X can be represented in a table, graph, or formula, and provides the probabilities Pr(X = x) for all possible values of x.

    What is the formula for a discrete PDF? ›

    P(x) = probability that X takes on a value x. X takes on the values 0, 1, 2, 3, 4, 5. This is a discrete PDF because we can count the number of values of x and also because of the following two reasons: Each P(x) is between zero and one, therefore inclusive.

    What is PDF for a discrete probability distribution? ›

    A probability distribution is an assignment of probabilities to the values of the random variable. The abbreviation of pdf is used for a probability distribution function.

    What is the PDF formula for a random variable? ›

    The probability density function (pdf) f(x) of a continuous random variable X is defined as the derivative of the cdf F(x): f(x)=ddxF(x). The pdf f(x) has two important properties: f(x)≥0, for all x.

    What is an example of a discrete probability distribution function? ›

    These distributions model the probabilities of random variables that can have discrete values as outcomes. For example, the possible values for the random variable X that represents the number of heads that can occur when a coin is tossed twice are the set {0, 1, 2} and not any value from 0 to 2 like 0.1 or 1.6.

    How to find the probability distribution function of a random variable? ›

    Probability Distribution of a Random Variable

    xn are the possible values of the random variable X, and p1, p2, p3, …pn are the probabilities of the random variable X that takes the value xi. Therefore, P(X = xi) = pi.

    What is a probability distribution for a discrete variable? ›

    For a discrete random variable, its probability distribution (also called the probability distribution function) is any table, graph, or formula that gives each possible value and the probability of that value.

    What is discrete variable PDF? ›

    The probability density function (PDF) of a random variable is a function describing the probabilities of each particular event occurring. For instance, a random variable describing the result of a single dice roll has the p.d.f.

    What is the PDF function of a random variable? ›

    The Probability Density Function(PDF) defines the probability function representing the density of a continuous random variable lying between a specific range of values. In other words, the probability density function produces the likelihood of values of the continuous random variable.

    What is PDF probability distribution function? ›

    A probability density function (pdf) is a function over the sample space S , where S⊆R S ⊆ R , of a continuous random variable X from which the probability that X is within a certain interval can be obtained.

    How is the PDF calculated? ›

    It is the limit of the probability of the interval (x,x+Δ] divided by the length of the interval as the length of the interval goes to 0. Remember that P(x<X≤x+Δ)=FX(x+Δ)−FX(x). =dFX(x)dx=F′X(x),if FX(x) is differentiable at x. is called the probability density function (PDF) of X.

    What is the formula for calculating PDF? ›

    Let X be a continuous random variable with pdf f and cdf F.
    • By definition, the cdf is found by integrating the pdf: F(x)=x∫−∞f(t)dt.
    • By the Fundamental Theorem of Calculus, the pdf can be found by differentiating the cdf: f(x)=ddx[F(x)]
    Feb 29, 2024

    How do I find the distribution function of a PDF? ›

    In summary, we used the distribution function technique to find the p.d.f. of the random function Y = u ( X ) by:
    1. First, finding the cumulative distribution function: F Y ( y ) = P ( Y ≤ y )
    2. Then, differentiating the cumulative distribution function to get the probability density function . That is:

    What is the CDF and PDF of a discrete random variable? ›

    The PDF and CDF are interrelated concepts in probability theory. The PDF gives the probability of a continuous random variable taking on a specific value. At the same time, the CDF provides the cumulative probability of the random variable being less than or equal to a given value.

    How to calculate the probability of a discrete random variable? ›

    How to Represent the Probability Distribution for a Discrete Random Variable as a Table. Step 1: Record the values of the variable and their corresponding frequencies. Step 2: Divide each frequency in Step 1 by the sum of all the frequencies. This will give you the probability of the corresponding value of the variable ...

    What is the formula for calculating the probability of a discrete random variable? ›

    To work out the probability that a discrete random variable X takes a particular value x, we need to identify the event (the set of possible outcomes) that corresponds to "X=x". pX(x)=Pr(X=x). In general, the probability function pX(x) may be specified in a variety of ways.

    Top Articles
    Latest Posts
    Article information

    Author: Zonia Mosciski DO

    Last Updated:

    Views: 5607

    Rating: 4 / 5 (71 voted)

    Reviews: 94% of readers found this page helpful

    Author information

    Name: Zonia Mosciski DO

    Birthday: 1996-05-16

    Address: Suite 228 919 Deana Ford, Lake Meridithberg, NE 60017-4257

    Phone: +2613987384138

    Job: Chief Retail Officer

    Hobby: Tai chi, Dowsing, Poi, Letterboxing, Watching movies, Video gaming, Singing

    Introduction: My name is Zonia Mosciski DO, I am a enchanting, joyous, lovely, successful, hilarious, tender, outstanding person who loves writing and wants to share my knowledge and understanding with you.