• Nie Znaleziono Wyników

Mutually exclusive and independent events

N/A
N/A
Protected

Academic year: 2021

Share "Mutually exclusive and independent events"

Copied!
42
0
0

Pełen tekst

(1)

Mutually exclusive and independent events

(2)

Mutually exclusive events

Two events are called mutually exclusive if they cannot both happen (one excludes the other). This is fairly easy to write down in terms of

probability.

Events A and B are mutually exclusive if P(A ∩ B) = 0

ie the probability that both A and B happen is 0.

An example would be rolling a dice once and A - scoring a 6, B - scoring an odd number. Of course A and B exclude each other, so P(A ∩ B) = 0

(3)

Mutually exclusive events

Two events are called mutually exclusive if they cannot both happen (one excludes the other). This is fairly easy to write down in terms of

probability. Events A and B are mutually exclusive if P(A ∩ B) = 0

ie the probability that both A and B happen is 0.

An example would be rolling a dice once and A - scoring a 6, B - scoring an odd number. Of course A and B exclude each other, so P(A ∩ B) = 0

(4)

Mutually exclusive events

Two events are called mutually exclusive if they cannot both happen (one excludes the other). This is fairly easy to write down in terms of

probability. Events A and B are mutually exclusive if P(A ∩ B) = 0

ie the probability that both A and B happen is 0.

An example would be rolling a dice once and A - scoring a 6, B - scoring an odd number. Of course A and B exclude each other, so P(A ∩ B) = 0

(5)

Independent events

Two events are called independent if occurence of one event does not influence the occurence of the other. In terms of probability we write A and B are independent if

P(A|B) = P(A)

so the probability of A given B is the same as probability of A, ie the fact of B happening does not change the probability of A.

An example would be rolling a dice twice and B - scoring a 6 on the first roll, A - scoring a 6 on the second roll. The first roll does not influence the outcome of the second roll, so we have P(A|B) = P(A) = 16.

(6)

Independent events

Two events are called independent if occurence of one event does not influence the occurence of the other. In terms of probability we write A and B are independent if

P(A|B) = P(A)

so the probability of A given B is the same as probability of A, ie the fact of B happening does not change the probability of A.

An example would be rolling a dice twice and B - scoring a 6 on the first roll, A - scoring a 6 on the second roll. The first roll does not influence the outcome of the second roll, so we have P(A|B) = P(A) = 16.

(7)

Independent events

Note that the formula:

P(A|B) = P(A) can be rearranged.

We know that the conditional probability

P(A|B) = P(A ∩ B)

P(B) , so we get : P(A ∩ B)

P(B) = P(A) and by multiplying by P(B) we get:

P(A ∩ B) = P(A)P(B)

(8)

Independent events

Note that the formula:

P(A|B) = P(A)

can be rearranged. We know that the conditional probability

P(A|B) = P(A ∩ B)

P(B) , so we get

:

P(A ∩ B)

P(B) = P(A) and by multiplying by P(B) we get:

P(A ∩ B) = P(A)P(B)

(9)

Independent events

Note that the formula:

P(A|B) = P(A)

can be rearranged. We know that the conditional probability

P(A|B) = P(A ∩ B)

P(B) , so we get : P(A ∩ B)

P(B) = P(A)

and by multiplying by P(B) we get:

P(A ∩ B) = P(A)P(B)

(10)

Independent events

Note that the formula:

P(A|B) = P(A)

can be rearranged. We know that the conditional probability

P(A|B) = P(A ∩ B)

P(B) , so we get : P(A ∩ B)

P(B) = P(A) and by multiplying by P(B) we get:

P(A ∩ B) = P(A)P(B)

(11)

So we have the following formulae:

Mutually exclusive events: P(A ∩ B) = 0.

Independent events P(A ∩ B) = P(A) · P(B).

Note, this is very important, you can only use these formulae if you are told that the events are mutually exclusive/independent or if you want to check if they are. A common mistake is to apply the second formula for events that are not independent.

(12)

So we have the following formulae:

Mutually exclusive events: P(A ∩ B) = 0.

Independent events P(A ∩ B) = P(A) · P(B).

Note, this is very important, you can only use these formulae if you are told that the events are mutually exclusive/independent or if you want to check if they are. A common mistake is to apply the second formula for events that are not independent.

(13)

So we have the following formulae:

Mutually exclusive events: P(A ∩ B) = 0.

Independent events P(A ∩ B) = P(A) · P(B).

Note, this is very important, you can only use these formulae if you are told that the events are mutually exclusive/independent or if you want to check if they are. A common mistake is to apply the second formula for events that are not independent.

(14)

Example 1

Given that P(A) = 0.4 and P(B) = 0.5 find P(A ∩ B) if i. P(A ∪ B) = 0.8,

ii. A and B are mutually exclusive, iii. A and B are independent.

i. P(A ∪ B) = 0.8, We have:

P(A ∩ B) = P(A) + P(B) − P(A ∪ B) = 0.4 + 0.5 − 0.8 = 0.1 ii. A and B are mutually exclusive, P(A ∩ B) = 0

iii. A and B are independent.P(A ∩ B) = P(A)P(B) = 0.4 · 0.5 = 0.2

(15)

Example 1

Given that P(A) = 0.4 and P(B) = 0.5 find P(A ∩ B) if i. P(A ∪ B) = 0.8,

ii. A and B are mutually exclusive, iii. A and B are independent.

i. P(A ∪ B) = 0.8,

We have:

P(A ∩ B) = P(A) + P(B) − P(A ∪ B) = 0.4 + 0.5 − 0.8 = 0.1 ii. A and B are mutually exclusive, P(A ∩ B) = 0

iii. A and B are independent.P(A ∩ B) = P(A)P(B) = 0.4 · 0.5 = 0.2

(16)

Example 1

Given that P(A) = 0.4 and P(B) = 0.5 find P(A ∩ B) if i. P(A ∪ B) = 0.8,

ii. A and B are mutually exclusive, iii. A and B are independent.

i. P(A ∪ B) = 0.8, We have:

P(A ∩ B) = P(A) + P(B) − P(A ∪ B) = 0.4 + 0.5 − 0.8 = 0.1

ii. A and B are mutually exclusive, P(A ∩ B) = 0

iii. A and B are independent.P(A ∩ B) = P(A)P(B) = 0.4 · 0.5 = 0.2

(17)

Example 1

Given that P(A) = 0.4 and P(B) = 0.5 find P(A ∩ B) if i. P(A ∪ B) = 0.8,

ii. A and B are mutually exclusive, iii. A and B are independent.

i. P(A ∪ B) = 0.8, We have:

P(A ∩ B) = P(A) + P(B) − P(A ∪ B) = 0.4 + 0.5 − 0.8 = 0.1 ii. A and B are mutually exclusive,

P(A ∩ B) = 0

iii. A and B are independent.P(A ∩ B) = P(A)P(B) = 0.4 · 0.5 = 0.2

(18)

Example 1

Given that P(A) = 0.4 and P(B) = 0.5 find P(A ∩ B) if i. P(A ∪ B) = 0.8,

ii. A and B are mutually exclusive, iii. A and B are independent.

i. P(A ∪ B) = 0.8, We have:

P(A ∩ B) = P(A) + P(B) − P(A ∪ B) = 0.4 + 0.5 − 0.8 = 0.1 ii. A and B are mutually exclusive, P(A ∩ B) = 0

iii. A and B are independent.P(A ∩ B) = P(A)P(B) = 0.4 · 0.5 = 0.2

(19)

Example 1

Given that P(A) = 0.4 and P(B) = 0.5 find P(A ∩ B) if i. P(A ∪ B) = 0.8,

ii. A and B are mutually exclusive, iii. A and B are independent.

i. P(A ∪ B) = 0.8, We have:

P(A ∩ B) = P(A) + P(B) − P(A ∪ B) = 0.4 + 0.5 − 0.8 = 0.1 ii. A and B are mutually exclusive, P(A ∩ B) = 0

P(A ∩ B) = P(A)P(B) = 0.4 · 0.5 = 0.2

(20)

Example 1

Given that P(A) = 0.4 and P(B) = 0.5 find P(A ∩ B) if i. P(A ∪ B) = 0.8,

ii. A and B are mutually exclusive, iii. A and B are independent.

i. P(A ∪ B) = 0.8, We have:

P(A ∩ B) = P(A) + P(B) − P(A ∪ B) = 0.4 + 0.5 − 0.8 = 0.1 ii. A and B are mutually exclusive, P(A ∩ B) = 0

iii. A and B are independent.P(A ∩ B) = P(A)P(B) = 0.4 · 0.5 = 0.2

(21)

Example 1

Given that P(A) = 0.4 and P(B) = 0.5 find P(A ∩ B) if i. P(A ∪ B) = 0.8,

ii. A and B are mutually exclusive, iii. A and B are independent.

i. P(A ∪ B) = 0.8, We have:

P(A ∩ B) = P(A) + P(B) − P(A ∪ B) = 0.4 + 0.5 − 0.8 = 0.1 ii. A and B are mutually exclusive, P(A ∩ B) = 0

(22)

Example 2

Given that P(A) = 0.5 and P(B0) = 0.8 find P(A ∩ B) if i. P(A ∪ B) = 0.65,

ii. A and B are mutually exclusive, iii. A and B are independent.

First we calculate P(B) = 1 − P(B0) = 0.2 i. P(A ∪ B) = 0.65, We have:

P(A ∩ B) = P(A) + P(B) − P(A ∪ B) = 0.5 + 0.2 − 0.65 = 0.05 ii. A and B are mutually exclusive, P(A ∩ B) = 0

iii. A and B are independent.P(A ∩ B) = P(A)P(B) = 0.5 · 0.2 = 0.1

(23)

Example 2

Given that P(A) = 0.5 and P(B0) = 0.8 find P(A ∩ B) if i. P(A ∪ B) = 0.65,

ii. A and B are mutually exclusive, iii. A and B are independent.

First we calculate P(B) = 1 − P(B0) = 0.2 i. P(A ∪ B) = 0.65,

We have:

P(A ∩ B) = P(A) + P(B) − P(A ∪ B) = 0.5 + 0.2 − 0.65 = 0.05 ii. A and B are mutually exclusive, P(A ∩ B) = 0

iii. A and B are independent.P(A ∩ B) = P(A)P(B) = 0.5 · 0.2 = 0.1

(24)

Example 2

Given that P(A) = 0.5 and P(B0) = 0.8 find P(A ∩ B) if i. P(A ∪ B) = 0.65,

ii. A and B are mutually exclusive, iii. A and B are independent.

First we calculate P(B) = 1 − P(B0) = 0.2 i. P(A ∪ B) = 0.65, We have:

P(A ∩ B) = P(A) + P(B) − P(A ∪ B) = 0.5 + 0.2 − 0.65 = 0.05

ii. A and B are mutually exclusive, P(A ∩ B) = 0

iii. A and B are independent.P(A ∩ B) = P(A)P(B) = 0.5 · 0.2 = 0.1

(25)

Example 2

Given that P(A) = 0.5 and P(B0) = 0.8 find P(A ∩ B) if i. P(A ∪ B) = 0.65,

ii. A and B are mutually exclusive, iii. A and B are independent.

First we calculate P(B) = 1 − P(B0) = 0.2 i. P(A ∪ B) = 0.65, We have:

P(A ∩ B) = P(A) + P(B) − P(A ∪ B) = 0.5 + 0.2 − 0.65 = 0.05

P(A ∩ B) = 0

iii. A and B are independent.P(A ∩ B) = P(A)P(B) = 0.5 · 0.2 = 0.1

(26)

Example 2

Given that P(A) = 0.5 and P(B0) = 0.8 find P(A ∩ B) if i. P(A ∪ B) = 0.65,

ii. A and B are mutually exclusive, iii. A and B are independent.

First we calculate P(B) = 1 − P(B0) = 0.2 i. P(A ∪ B) = 0.65, We have:

P(A ∩ B) = P(A) + P(B) − P(A ∪ B) = 0.5 + 0.2 − 0.65 = 0.05 ii. A and B are mutually exclusive, P(A ∩ B) = 0

iii. A and B are independent.P(A ∩ B) = P(A)P(B) = 0.5 · 0.2 = 0.1

(27)

Example 2

Given that P(A) = 0.5 and P(B0) = 0.8 find P(A ∩ B) if i. P(A ∪ B) = 0.65,

ii. A and B are mutually exclusive, iii. A and B are independent.

First we calculate P(B) = 1 − P(B0) = 0.2 i. P(A ∪ B) = 0.65, We have:

P(A ∩ B) = P(A) + P(B) − P(A ∪ B) = 0.5 + 0.2 − 0.65 = 0.05

P(A ∩ B) = P(A)P(B) = 0.5 · 0.2 = 0.1

(28)

Example 2

Given that P(A) = 0.5 and P(B0) = 0.8 find P(A ∩ B) if i. P(A ∪ B) = 0.65,

ii. A and B are mutually exclusive, iii. A and B are independent.

First we calculate P(B) = 1 − P(B0) = 0.2 i. P(A ∪ B) = 0.65, We have:

P(A ∩ B) = P(A) + P(B) − P(A ∪ B) = 0.5 + 0.2 − 0.65 = 0.05 ii. A and B are mutually exclusive, P(A ∩ B) = 0

iii. A and B are independent.P(A ∩ B) = P(A)P(B) = 0.5 · 0.2 = 0.1

(29)

Example 2

Given that P(A) = 0.5 and P(B0) = 0.8 find P(A ∩ B) if i. P(A ∪ B) = 0.65,

ii. A and B are mutually exclusive, iii. A and B are independent.

First we calculate P(B) = 1 − P(B0) = 0.2 i. P(A ∪ B) = 0.65, We have:

P(A ∩ B) = P(A) + P(B) − P(A ∪ B) = 0.5 + 0.2 − 0.65 = 0.05

(30)

Example 3

Two events A and B are such that P(A) = 0.6, P(B) = 0.25 and P(A ∪ B) = 0.8. Check if A and B are

i. mutually exclusive, ii. independent.

We first calculate P(A ∩ B). We use the formula that can always be applied:

P(A ∩ B) = P(A) + P(B) − P(A ∪ B) = 0.6 + 0.25 − 0.8 = 0.05 P(A ∩ B) 6= 0, so these events are not mutually exclusive.

If A and B were independent then P(A ∩ B) would be equal to

P(A) · P(B) = 0.6 · 0.25 = 0.15, but P(A ∩ B) 6= 0.15, so these events are not independent.

(31)

Example 3

Two events A and B are such that P(A) = 0.6, P(B) = 0.25 and P(A ∪ B) = 0.8. Check if A and B are

i. mutually exclusive, ii. independent.

We first calculate P(A ∩ B). We use the formula that can always be applied:

P(A ∩ B) = P(A) + P(B) − P(A ∪ B) = 0.6 + 0.25 − 0.8 = 0.05

P(A ∩ B) 6= 0, so these events are not mutually exclusive. If A and B were independent then P(A ∩ B) would be equal to

P(A) · P(B) = 0.6 · 0.25 = 0.15, but P(A ∩ B) 6= 0.15, so these events are not independent.

(32)

Example 3

Two events A and B are such that P(A) = 0.6, P(B) = 0.25 and P(A ∪ B) = 0.8. Check if A and B are

i. mutually exclusive, ii. independent.

We first calculate P(A ∩ B). We use the formula that can always be applied:

P(A ∩ B) = P(A) + P(B) − P(A ∪ B) = 0.6 + 0.25 − 0.8 = 0.05 P(A ∩ B) 6= 0, so these events are not mutually exclusive.

If A and B were independent then P(A ∩ B) would be equal to

P(A) · P(B) = 0.6 · 0.25 = 0.15, but P(A ∩ B) 6= 0.15, so these events are not independent.

(33)

Example 3

Two events A and B are such that P(A) = 0.6, P(B) = 0.25 and P(A ∪ B) = 0.8. Check if A and B are

i. mutually exclusive, ii. independent.

We first calculate P(A ∩ B). We use the formula that can always be applied:

P(A ∩ B) = P(A) + P(B) − P(A ∪ B) = 0.6 + 0.25 − 0.8 = 0.05 P(A ∩ B) 6= 0, so these events are not mutually exclusive.

(34)

Example 4

Two events A and B are such that P(A) = 0.4, P(B) = 0.3 and P(A ∪ B) = 0.7. Check if A and B are

i. mutually exclusive, ii. independent.

We first calculate P(A ∩ B):

P(A ∩ B) = P(A) + P(B) − P(A ∪ B) = 0.4 + 0.3 − 0.7 = 0 P(A ∩ B) = 0, so these events are mutually exclusive.

If A and B were independent then P(A ∩ B) would be equal to

P(A) · P(B) = 0.4 · 0.3 = 0.12, but P(A ∩ B) 6= 0.12, so these events are not independent.

(35)

Example 4

Two events A and B are such that P(A) = 0.4, P(B) = 0.3 and P(A ∪ B) = 0.7. Check if A and B are

i. mutually exclusive, ii. independent.

We first calculate P(A ∩ B):

P(A ∩ B) = P(A) + P(B) − P(A ∪ B) = 0.4 + 0.3 − 0.7 = 0

P(A ∩ B) = 0, so these events are mutually exclusive.

If A and B were independent then P(A ∩ B) would be equal to

P(A) · P(B) = 0.4 · 0.3 = 0.12, but P(A ∩ B) 6= 0.12, so these events are not independent.

(36)

Example 4

Two events A and B are such that P(A) = 0.4, P(B) = 0.3 and P(A ∪ B) = 0.7. Check if A and B are

i. mutually exclusive, ii. independent.

We first calculate P(A ∩ B):

P(A ∩ B) = P(A) + P(B) − P(A ∪ B) = 0.4 + 0.3 − 0.7 = 0 P(A ∩ B) = 0, so these events are mutually exclusive.

If A and B were independent then P(A ∩ B) would be equal to

P(A) · P(B) = 0.4 · 0.3 = 0.12, but P(A ∩ B) 6= 0.12, so these events are not independent.

(37)

Example 4

Two events A and B are such that P(A) = 0.4, P(B) = 0.3 and P(A ∪ B) = 0.7. Check if A and B are

i. mutually exclusive, ii. independent.

We first calculate P(A ∩ B):

P(A ∩ B) = P(A) + P(B) − P(A ∪ B) = 0.4 + 0.3 − 0.7 = 0 P(A ∩ B) = 0, so these events are mutually exclusive.

(38)

Example 4

Two events A and B are such that P(A) = 0.6, P(B) = 0.5 and P(A ∪ B) = 0.8. Check if A and B are

i. mutually exclusive, ii. independent.

We first calculate P(A ∩ B):

P(A ∩ B) = P(A) + P(B) − P(A ∪ B) = 0.6 + 0.5 − 0.8 = 0.3 P(A ∩ B) 6= 0, so these events are not mutually exclusive.

If A and B were independent then P(A ∩ B) would be equal to

P(A) · P(B) = 0.6 · 0.5 = 0.3 and indeed P(A ∩ B) = 0.3, so these events are independent.

(39)

Example 4

Two events A and B are such that P(A) = 0.6, P(B) = 0.5 and P(A ∪ B) = 0.8. Check if A and B are

i. mutually exclusive, ii. independent.

We first calculate P(A ∩ B):

P(A ∩ B) = P(A) + P(B) − P(A ∪ B) = 0.6 + 0.5 − 0.8 = 0.3

P(A ∩ B) 6= 0, so these events are not mutually exclusive. If A and B were independent then P(A ∩ B) would be equal to

P(A) · P(B) = 0.6 · 0.5 = 0.3 and indeed P(A ∩ B) = 0.3, so these events are independent.

(40)

Example 4

Two events A and B are such that P(A) = 0.6, P(B) = 0.5 and P(A ∪ B) = 0.8. Check if A and B are

i. mutually exclusive, ii. independent.

We first calculate P(A ∩ B):

P(A ∩ B) = P(A) + P(B) − P(A ∪ B) = 0.6 + 0.5 − 0.8 = 0.3 P(A ∩ B) 6= 0, so these events are not mutually exclusive.

If A and B were independent then P(A ∩ B) would be equal to

P(A) · P(B) = 0.6 · 0.5 = 0.3 and indeed P(A ∩ B) = 0.3, so these events are independent.

(41)

Example 4

Two events A and B are such that P(A) = 0.6, P(B) = 0.5 and P(A ∪ B) = 0.8. Check if A and B are

i. mutually exclusive, ii. independent.

We first calculate P(A ∩ B):

P(A ∩ B) = P(A) + P(B) − P(A ∪ B) = 0.6 + 0.5 − 0.8 = 0.3 P(A ∩ B) 6= 0, so these events are not mutually exclusive.

(42)

The short test on Monday will include similar examples.

Cytaty

Powiązane dokumenty

Artykuł umieszczony jest w kolekcji cyfrowej bazhum.muzhp.pl, gromadzącej zawartość polskich czasopism humanistycznych i społecznych, tworzonej przez Muzeum Historii Polski

Nie można w prawdzie po­ wiedzieć, że au to r pominął którekolw iek z napraw dę liczących się nazw isk polskiej poezji, już rzu t oka na indeks pozwala się

If the moment generating function of R is finite over all R, we will see that the dependence structure may have significant impact on the rate of convergence even for logarithmic

This is a direct consequence o the defnition o mathematical independence.. Sets and

[r]

It is also known that the test gives a positive result for a rabbit that does not have the disease in 0.1 % of cases.. A rabbit is chosen at random from

Gdy spostrzeżenia te otrzymano w sposób zależny, chodzić nam będzie o to, aby wyznaczyć liczbę ri spostrze ­ żeń niezależnych zmiennej yx równoważną liczbie

In this section we used a standard random number generator which we verified to return a nearly uniform distribution for samples of size 10 6 lending some credibility to the