## Exercise 1

Construct the sample space of the following random experiments:

- Pick a random person and record the gender and whether she or he is smoker or not.
- Pick a random person and record the blood type and whether she or he is smoker or not.
- Pick a random person and record the gender, the blood type and whether she or he is smoker or not.

## Exercise 2

There are two boxes with balls of different colors. The first box contains 3 white balls and 2 black balls, and the second one contains 2 blue balls, 1 red ball and 1 green ball. Construct the sample space of the following random experiments:

- Pick a random ball from every box.
- Pick two random balls from every box.

## Exercise 3

The Morgan’s laws state that given two events $A$ and $B$ from the same sample space, $\overline{A\cup B}=\bar A \cap \bar B$ and $\overline{A\cap B}=\bar A \cup \bar B$. Proof both statements graphically using Venn diagrams.

## Exercise 4

Compute the probability of the following events of the random experiment consisting in tossing 3 coins:

- Get exactly 1 head.
- Get exactly 2 tails.
- Get two or more heads.
- Get some tails.

## Exercise 5

In a laboratory there are 4 flasks with sulfuric acid and 2 with nitric acid, and in another laboratory there are 1 flask with sulfuric acid and 3 with nitric acid. A random experiment consist in picking two flask, one from every laboratory. Compute the probability of the following events:

- The two picked flasks are of sulfuric acid.
- The two picked flasks are of nitric acid.
- The two picked flasks contains different acids.

Compute again the above probabilities if the flask picked in the first laboratory is put in the second laboratory before picking the flask from it.

## Exercise 6

Let $A$ and $B$ two be events of a same sample space, such that $P(A)=3/8$, $P(B)=1/2$, $P(A\cap B)=1/4$. Compute the following probabilities:

- $P(A\cup B)$.
- $P(\bar A)$ y $P(\bar B)$.
- $P(\bar A\cap \bar B)$.
- $P(A\cap \bar B)$.
- $P(A\vert B)$.
- $P(A\vert \bar B)$.

## Exercise 7

In a hospital the probability of getting hepatitis in a blood transfusion from a unit of blood is $0.01$. A patient gets two units of blood while staying at the hospital. What is the probability of getting hepatitis?

## Exercise 8

Let $A$ and $B$ be two events of a same sample space, such that $P(A)=0.6$ and $P(A\cup B)=0.9.$ Compute $P(B)$ under the following assumptions:

- $A$ and $B$ are incompatible.
- $A$ and $B$ are independent.

## Exercise 9

A study about smoking has found that 40% of smokers have a smoker father, 25% have a smoker mother and 52% have al least one of the parents smoker. We pick a random person from this population. Answer the following questions:

- What is the probability of having a smoker mother if the father smokes?
- What is the probability of having a smoker mother if the father does not smoke?
- Are independent the events having a smoker father and having a smoker mother?

## Exercise 10

The probability that an injury $A$ is repeated is $4/5$, the probability that another injury $B$ is repeated is $1/2$, and the probability that both injuries are repeated is $1/3$. Compute the probability of the following events:

- Only injury $B$ is repeated.
- At least one injury is repeated.
- Injury $B$ is repeated if injury $A$ has been repeated.
- Injury $B$ is repeated if injury $A$ has not been repeated.

## Exercise 11

In a digestive clinic, from every 1000 patients that arrive with stomach pain, 700 have gastritis, 200 have an ulcer and 100 have cancer. After analyzing the gastric symptoms, it is known that the probability of vomiting is $0.3$ in case of gastritis, $0.6$ in case of ulcer and $0.9$ in case of cancer. What is the diagnosis for a new patient with stomach pain that suffers from vomiting?

Note: Assume that the only diseases are gastritis, ulcer and cancer and that are incompatible among them.

## Exercise 12

A severe pain without effusion in a particular zone of the knee joint is a symptom of sprained lateral collateral ligament (SLCL). If the sprains in that ligament are classified into grade 1, when there is only distension (60% of cases), grade 2 when there is a partial tearing (30% of cases) and grade 3 when there is a complete tearing (10% of cases). Taking into account that the symptom appears in 80% of cases of grade 1 sprains, 90% of cases of grade 2 and 100% of cases of grade 3, answer the following questions:

- If a person has SLCL what is the probability that he or she present severe pain without effusion?
- What is the diagnosis for a person with severe pain without effusion?
- From a total of 10000 people with severe pain without effusion, how many are expected to have a grade 1 sprain? How many are expected to have a grade 2 sprain? And a grade 3 sprain?

## Exercise 13

A physiotherapist uses two techniques $A$ and $B$ to cure an injury. It is known that the injury is 3 times more frequent in people over 30 than in people under 30. It is also known that in people over 30 technique $A$ works in 30% of cases and technique $B$ in 60%, while in people under 30 technique $A$ works in 50% of cases and technique $B$ in 70%. If both techniques are applied with the same probability, no matter the age,

- What is the probability that a random person under 30 is cured? And for a people over 30?
- What is the probability that a random person is cured?
- If after applying a technique to a person over 30, the person does not cure, what is the probability that the technique applied was $A$?