1 Exercises 1
Counting (Combinatorics)
Exercise 1.1 Separated questions:
- In computing, the binary system is used to code characters. A bit (binary digit) is an element that takes the value 0 or the value 1. With 8 binary digits (one byte), how many characters can we code?
- In a sports competition grouping 18 athletes, one gold, one silver and one bronze medal are awarded. How many distributions are there possible (before the competition, of course…)?
- A sports tournament has 8 participating teams. Each team must meet all the others once. How many games must we organize?
Exercise 1.2 Five cards are drawn simultaneously from a deck of 52 cards.
How many different draws can we get?
-
How many different draws can we get? containing:
5 diamonds or 5 hearts;
2 hearts and 3 spades;
at least 1 king
at most 1 king.
Events
Exercise 1.3 Let \(A\),\(B\) and \(C\) be three events of a measurable space \((\Omega,\mathcal{A})\). Express in terms of \(A\),\(B\) and \(C\) and the operations (Union, intersection and complementary) the following events below:
\(A\) alone (among the 3 events) occurs.
\(A\) and \(C\) occur, but not \(B\).
All three events occur.
At least one of the 3 events occurs.
None of the three events occur.
Probability
Exercise 1.4 Let the events \(A\) et \(B\) such that \(P(A) = x, P(B) = y\) and \(P(A \cup B) = z\). Find the following probabilities: \(P(A \cap B), P(\bar{A} \cup \bar{B})\), and \(P(A \cap \bar{B})\).
Exercise 1.5 An urn contains 13 balls, 6 black, 3 white and 4 red. We draw 4 balls. Let
- E: ” get exactly 2 white “.
- F: ” get exactly 2 red “.
We suppose that we draw without replacement. Calculate the following probabilities: \(P(E \cap F), P_F (E), P_E(F)\). Are the events E and F independent?
Bayes
Exercise 1.6 A new vaccine was tested on 12,500 people. 75 of them, including 35 pregnant women, had adverse reactions requiring hospitalization.
Knowing that this vaccine was administered to 680 pregnant women, what is the probability that a pregnant woman will have a secondary reaction if she receives the vaccine?
What is the probability that a non-pregnant person would have a secondary reaction?
Discrete random variables
Exercise 1.7 Two balls are chosen randomly from an urn containing 8 white balls, 4 black balls and 2 orange balls. Assume we receive 2 euros for each black ball drawn and we lose 1 euro for each white ball drawn. Let’s refer to the net gains by \(X\).
What are the possible values for \(X\) and the probabilities associated with these values ?
What is the expected value of \(X\)?
Exercise 1.8 Let \(X\) be a random variable that follows the uniform distribution (e.g. equiprobability of values of \(X\)) on the set \(X(\Omega) = \{-3, -2, 1, 4\}\).
Give the law of \(X\).
-
Calculate \(E(X)\) and \(V(X)\).
We define the random variable \(Y=(X+1)^2\).
Give \(Y(\Omega)\) and the law of \(Y\).
Calculate \(E(Y)\) using two different methods.
Exercise 1.9 Let X and Y be discrete random variables whose joined distribution is given by the following table:
\(X\)\\(Y\) | -1 | 0 | 2 | 5 |
---|---|---|---|---|
0 | 0.10 | 0.05 | 0.15 | 0.05 |
1 | 0.15 | 0.20 | 0.25 | 0.05 |
What is the marginal distribution of X?
What is the marginal distribution of Y?
Calculate \(P(Y \geq 0 / X = 1)\).
Compute \(E(X)\), \(E(Y)\), and \(cov(X,Y)\).
Are the variables \(X\) and \(Y\) independent?
Discrete Random Variables
Exercise 1.10 An urn contains 2 balls with number 20, 4 balls with number 10 and 4 balls with number 5.
An experiment consists in drawing simultaneously 3 balls from the urn. Calculate probability p so that the sum of the numbers drawn is equal to 30.
-
This experiment is repeated 4 times, each time putting the three balls drawn back into the urn. Let \(X\) be the random variable indicating the number of draws giving a sum of numbers equal to 30.
What is the probability law of \(X\). Give its expected and standard deviation.
Calculate the probability of having at least once the sum 30 out of 4 draws.
Exercise 1.11 You need someone to help you move. When you call a friend, there’s a one out of four chances he will accept. Let \(X\) be the random variable that represents the number of friends you will need to contact to get this help.
Determine the probability distribution of \(X\).
Calculate \(P(X\leq 3)\).
Calculate \(E(X)\).
Exercise 1.12 The number of power outages that occur in a certain region over a one-year timeframe follows a Poisson distribution of parameter \(\lambda=3\).
Calculate the probability that within a period of one year one failure occurs exactly.
Assuming there is an independence of outages from one year to another, calculate the probability that in the upcoming ten years there will be at least one year in which exactly one failure occurs.