Back to homeMathematics · Integrated Math III · Change subject
Start for free
Notes

Exercises: Discrete probability function and discrete density function

Practice★☆☆
Determine with reasoning whether the following table can represent the probability function of a discrete random variable $X$. To do this, check that the fundamental…

Determine with reasoning whether the following table can represent the probability function of a discrete random variable $X$. To do this, check that the fundamental properties of probabilities are met:

$x_i$ $1$ $2$ $3$ $4$
$P(X = x_i)$ $0,25$ $0,40$ $0,15$ $0,20$
0,1 0,2 0,3 0,4 0,5 1 2 3 4 0,25 0,40 0,15 0,20 xᵢ P(X=xᵢ)
Solve
Practice★☆☆
A streaming platform analyzes the number of shows a user watches per week. The discrete random variable $X$ is defined as the "number of completed shows". Its…

A streaming platform analyzes the number of shows a user watches per week. The discrete random variable $X$ is defined as the "number of completed shows". Its probability function is given by the following table:

$x_i$ $0$ $1$ $2$ $3$
$P(X = x_i)$ $0,1$ $k$ $0,3$ $0,2$

Find the value of the constant $k$ so that the distribution is well defined and calculate the probability that a user watches at least 2 shows a week, that is, $P(X \ge 2)$.

Solve
Practice★☆☆
Two fair coins are tossed in the air. We define the random variable $X$ as the "number of heads obtained". a) Write the sample space of the experiment. b) Create the…

Two fair coins are tossed in the air. We define the random variable $X$ as the "number of heads obtained".

  1. a) Write the sample space of the experiment.
  2. b) Create the table for the probability function of $X$.
  3. c) Represent the distribution graphically using a bar chart.
1st Coin 2nd Coin Sample Space Variable X ½ ½ ½ ½ ½ ½ C + C + C + CC C+ +C ++ 2 1 0
Solve
Practice★☆☆
Given the following probability function of a discrete random variable $X$, calculate the probabilities requested below: | $x_i$ | $10$ | $20$ | $30$ | $40$ | $50$ | |…

Given the following probability function of a discrete random variable $X$, calculate the probabilities requested below:

$x_i$ $10$ $20$ $30$ $40$ $50$
$p_i$ $0,15$ $0,25$ $0,35$ $0,15$ $0,10$
  1. a) $P(X < 30)$
  2. b) $P(X \le 30)$
  3. c) $P(20 < X \le 40)$
Solve
Practice★☆☆
In an urn there are 5 numbered balls: three of them with the number $1$ and two of them with the number $2$. A ball is drawn at random and its value is recorded. a)…

In an urn there are 5 numbered balls: three of them with the number $1$ and two of them with the number $2$. A ball is drawn at random and its value is recorded.

  1. a) Define the random variable $X$ and its range (possible values).
  2. b) Construct the table for the probability function.
  3. c) What is the probability that the number obtained is greater than $1$?
1 1 1 2 2 X
Solve
Practice★☆☆
Let $X$ be a discrete random variable whose probability function is given by: $P(X=x) = \frac{x}{10}$ for $x \in \{1, 2, 3, 4\}$ a) Write the table of values for the…

Let $X$ be a discrete random variable whose probability function is given by:

$P(X=x) = \frac{x}{10}$ for $x \in \{1, 2, 3, 4\}$

  1. a) Write the table of values for the probability function.
  2. b) Show that the sum of all the probabilities is equal to $1$.
  3. c) Calculate $P(X \ge 3)$.
Solve
Practice★☆☆
A survey has been carried out in a high school about the number of siblings of 11th-grade students. From the data, the variable $X$ = "number of siblings" has been…

A survey has been carried out in a high school about the number of siblings of 11th-grade students. From the data, the variable $X$ = "number of siblings" has been defined. The table of relative frequencies (estimated probabilities) is as follows:

Siblings ($x_i$) $0$ $1$ $2$ $3$
$P(X = x_i)$ $0,12$ $0,54$ $0,24$ $0,10$

Represent this information using a bar chart and calculate the probability that a student chosen at random has fewer than 2 siblings.

Solve
Practice★☆☆
Explain why the following function cannot be the probability function of a discrete random variable $X$: $P(X=x_i) = \{0,2; 0,3; -0,1; 0,6\}$ Justify your answer by…

Explain why the following function cannot be the probability function of a discrete random variable $X$:

$P(X=x_i) = \{0,2; 0,3; -0,1; 0,6\}$

Justify your answer by mentioning which property of probability is being violated in this case.

0.6 0.4 0.2 0.0 −0.1 x₁ x₂ x₃ x₄ P(X=xᵢ) xᵢ 0.2 0.3 0.6 −0.1 P(X=x₃) < 0
Solve
Practice★★☆
In a workshop specialized in mobile device repair, a study has been carried out on the number of devices a technician is capable of fully repairing in an eight-hour…

In a workshop specialized in mobile device repair, a study has been carried out on the number of devices a technician is capable of fully repairing in an eight-hour working day. Let $X$ be the random variable that expresses this number. The probability function is given by the following table, although one piece of data is missing:

$x_i$ $0$ $1$ $2$ $3$ $4$
$P(X=x_i)$ $0,15$ $0,25$ $0,35$ $k$ $0,05$
  1. a) Calculate the value of $k$ so that the table represents a legitimate probability distribution.
  2. b) What is the probability that the technician repairs at least two devices in a working day?
  3. c) If the workshop receives a productivity bonus on days when more than 2 devices are repaired, what is the probability of receiving this bonus?
0,1 0,2 0,3 0,4 P(X=xᵢ) 0 1 2 3 4 xᵢ (No. of devices) 0,15 0,25 0,35 k 0,05 Σ P(X=xᵢ) = 1
Solve
Practice★★☆
A youth association organizes a raffle to finance an end-of-year trip. Tickets are sold for $\$2$. The prize is an Amazon gift card valued at $\$50$. $200$ tickets have…

A youth association organizes a raffle to finance an end-of-year trip. Tickets are sold for $\$2$. The prize is an Amazon gift card valued at $\$50$. $200$ tickets have been issued. Let $X$ be the random variable that defines the net profit of a student who buys a single ticket (taking into account its cost).

  1. a) Define the sample space of the possible values of $X$.
  2. b) Determine the probability function of $X$.
  3. c) Calculate the expected value $E[X]$ and interpret the result obtained. Is it a fair game for the buyer?
Solve
Practice★★☆
A biased six-sided die is rolled, such that the probability of obtaining an even number is double that of obtaining an odd number. If all even numbers have the same…

A biased six-sided die is rolled, such that the probability of obtaining an even number is double that of obtaining an odd number. If all even numbers have the same probability as each other, and the same occurs with the odd numbers:

  1. a) Determine the probability function of the random variable $X$ = "result obtained when rolling the die".
  2. b) Calculate the probability of obtaining a value less than or equal to $3$.
  3. c) Calculate the mean or expected value of this distribution.
p 2p P(X) 1 2 3 4 5 6 X Odd Even P(Even) = 2·P(Odd) X ≤ 3
Solve
Practice★★☆
A courier company analyzes the number of packages that arrive damaged in each delivery van. After a long period of observation, they have defined the following…

A courier company analyzes the number of packages that arrive damaged in each delivery van. After a long period of observation, they have defined the following probability function for the variable $X$ = "number of damaged packages per trip":

$P(X=x) = \frac{x+1}{15}$ for $x \in \{0, 1, 2, 3, 4\}$

  1. a) Check that it is indeed a probability function.
  2. b) Calculate the probability that, at most, $2$ damaged packages arrive on a trip.
  3. c) Find the mean and standard deviation of the distribution.
Solve
Practice★★☆
Let $X$ be a discrete random variable whose cumulative distribution function $F(x)$ is presented below: $$F(x) = \begin{cases} 0 & \text{if } x < 1 \\ 0,2 & \text{if } 1…

Let $X$ be a discrete random variable whose cumulative distribution function $F(x)$ is presented below:

$$F(x) = \begin{cases} 0 & \text{if } x < 1 \\ 0,2 & \text{if } 1 \le x < 2 \\ 0,5 & \text{if } 2 \le x < 3 \\ 0,9 & \text{if } 3 \le x < 4 \\ 1 & \text{if } x \ge 4 \end{cases}$$
  1. a) From $F(x)$, obtain the probability function $P(X=x_i)$ for each value of the variable.
  2. b) Calculate the probability $P(2 \le X < 4)$.
  3. c) Represent the probability function graphically using a bar chart.
Solve
Practice★★☆
In a language app, users can earn between $0$ and $3$ badges daily depending on their consistency. It is known that the probability of earning $x$ badges is proportional…

In a language app, users can earn between $0$ and $3$ badges daily depending on their consistency. It is known that the probability of earning $x$ badges is proportional to the value of $x+1$ for the possible values of the variable.

  1. a) Write the table for the probability distribution, determining the necessary constant of proportionality.
  2. b) What is the mean number of badges a user earns per day?
  3. c) Calculate the variance of the distribution.
Solve
Practice★★☆
A restaurant analyzes the number of reservations for groups of more than 10 people it receives on Saturday nights. The variable $X$ follows the probability distribution:…

A restaurant analyzes the number of reservations for groups of more than 10 people it receives on Saturday nights. The variable $X$ follows the probability distribution:

$x_i$ $0$ $1$ $2$ $3$
$P(X=x_i)$ $0,4$ $0,3$ $0,2$ $0,1$
  1. a) If the restaurant makes a profit of $\$50$ for each group that attends, but has fixed preparation costs of $\$30$ regardless of how many groups go, define a new variable $Y$ that represents the net profit for Saturday.
  2. b) Calculate the expected value of $Y$.
  3. c) Calculate the standard deviation of $X$.
Solve
Practice★★☆
An urn contains $3$ white balls and $2$ red balls. Two balls are drawn successively and without replacement. Let $X$ be the random variable that counts the number of…

An urn contains $3$ white balls and $2$ red balls. Two balls are drawn successively and without replacement. Let $X$ be the random variable that counts the number of white balls drawn.

  1. a) Describe the sample space of the experiment and the values that $X$ can take.
  2. b) Calculate the probability function of $X$.
  3. c) Determine the probability that at least one of the drawn balls is red.
Initial urn (n=5) 3/5 2/5 2/4 2/4 3/4 1/4 W R W R W R 1st Ball 2nd Ball Sample Space BB X=2 BR X=1 RB X=1 RR X=0
Solve
Practice★★★
Let $X$ be a discrete random variable whose probability function is defined in the following table, where $a$ and $b$ are two unknown real numbers: | $x_i$ | $1$ | $2$ |…

Let $X$ be a discrete random variable whose probability function is defined in the following table, where $a$ and $b$ are two unknown real numbers:

$x_i$ $1$ $2$ $3$ $4$
$P(X=x_i)$ $0,1$ $a$ $b$ $0,2$

Knowing that the expected value of the distribution is $E[X] = 2,85$, determine the values of $a$ and $b$. Subsequently, calculate the standard deviation $\sigma$ of the variable and state what percentage of the total probability is found in the interval $[E[X] - \sigma, E[X] + \sigma]$.

0.1 0.2 0.3 0.4 0.5 0.6 P(X=xᵢ) xᵢ 1 2 3 4 0.1 0.2 a b E[X] = 2.85 [E[X]-σ, E[X]+σ]
Solve
Practice★★★
A logistics company organizes a darts tournament for its employees. The probability of hitting the red zone is $k$, the blue zone is $2k$ and the white zone is $3k$. If…

A logistics company organizes a darts tournament for its employees. The probability of hitting the red zone is $k$, the blue zone is $2k$ and the white zone is $3k$. If a player throws two darts independently, we define the random variable $X$ as "the number of times the dart hits the red zone".

  1. Find the value of $k$ so that the probability distribution is valid (assume that the dart always hits one of the three zones).

  2. Obtain the probability function of $X$.

  3. Calculate the expected number of hits in the red zone if the employee were to perform $50$ series of two throws each.

Solve
Practice★★★
The cumulative distribution function $F(x)$ of a discrete random variable $X$ is given by the following graph: From the graph, construct the table for the probability…

The cumulative distribution function $F(x)$ of a discrete random variable $X$ is given by the following graph:

0.2 0.5 0.8 1 0 1 2 3 x F(x)

From the graph, construct the table for the probability function $P(X=x_i)$ and calculate the variance $V[X]$. Explain with reasoning the meaning of $P(0,5 < X \le 2)$.

Solve
Practice★★★
A social media content creator analyzes the number of daily "unsubscribes" on their channel. They have found that the probability function of the variable $X$ (number of…

A social media content creator analyzes the number of daily "unsubscribes" on their channel. They have found that the probability function of the variable $X$ (number of unsubscribes) corresponds to the formula $P(X = x) = \frac{k \cdot x}{2^x}$ for $x \in \{1, 2, 3\}$.

  1. Find the exact value of the constant $k$.

  2. Calculate the probability that there are at least 2 unsubscribes in a day.

  3. The creator estimates that each unsubscribe means a loss of $\$5$ in advertising revenue, but gaining a new subscriber brings in $\$8$. If they gain exactly $3$ new subscribers each day, calculate the expected mean profit per day.

Solve
Practice★★★
In an urn there are $10$ balls numbered from $1$ to $10$. Two balls are drawn simultaneously (without replacement). Let $X$ be the random variable that assigns to each…

In an urn there are $10$ balls numbered from $1$ to $10$. Two balls are drawn simultaneously (without replacement). Let $X$ be the random variable that assigns to each draw the modulus of the difference of the numbers obtained.

  1. State the sample space of the experiment and the values that the variable $X$ can take.

  2. What is the probability that the difference is maximum?

  3. Without constructing the complete table, reason whether $X=1$ or $X=9$ is more probable. Calculate both probabilities.

Solve
Practice★★★
Two players, Emma and Ethan, roll a six-sided die. If a prime number is rolled, Emma wins as many dollars as the die indicates. If a composite number is rolled, Ethan…

Two players, Emma and Ethan, roll a six-sided die. If a prime number is rolled, Emma wins as many dollars as the die indicates. If a composite number is rolled, Ethan wins double what the die indicates in dollars. If the number $1$ is rolled, nobody wins anything.

  1. Define the random variable $G$ as Emma's net profit in one roll (considering that what Ethan wins is a loss for Emma). Write its probability function.

  2. Calculate the expected value of $G$. Who does the game favor in the long run?

  3. What amount should Ethan pay Emma every time a composite number is rolled so that the game is fair ($E[G]=0$)?

Solve
Practice★★★
We have a discrete random variable $X$ with the following probability function: $P(X=0) = p$ $P(X=1) = q$ $P(X=2) = 0,2$ If we know that the expected value is…

We have a discrete random variable $X$ with the following probability function:

$P(X=0) = p$

$P(X=1) = q$

$P(X=2) = 0,2$

If we know that the expected value is $E[X] = 0,8$ and the variance is $V[X] = 0,56$, set up a system of equations and calculate the values of $p$ and $q$. Verify that the sum of the probabilities is equal to one.

0.2 0.4 0.6 0.8 1.0 P(X=x) 0 1 2 x E[X]=0.8 p q 0.2 Σ pᵢ = 1 E[X] = 0.8 V[X] = 0.56
Solve
Practice★★★
A civil service exam consists of $4$ topics chosen at random from a total of $10$. A candidate has prepared only $6$ topics. We define the random variable $X$ as "the…

A civil service exam consists of $4$ topics chosen at random from a total of $10$. A candidate has prepared only $6$ topics. We define the random variable $X$ as "the number of topics that the candidate masters out of the $4$ chosen".

  1. Calculate the probability that the candidate does not master any of the chosen topics.

  2. Determine the probability that they master exactly $2$ topics.

  3. Find the expected value of the variable $X$ and interpret the result in the context of the exam. Is it probable that the candidate will pass if they need to know at least $3$ topics?

Solve