Showing posts with label mutually exclusive events. Show all posts
Showing posts with label mutually exclusive events. Show all posts

Sunday, September 10, 2023

16.6 - Probability of The Event "A or B"

In the previous section, we saw how to calculate the Probability of an event. In this section, we will see probability of the event "A or B".

Probability of the event “A or B”

• Suppose that, we have two events: Event A and Event B. We have seen that, a new event (A∪B) can be created.
   ♦ If any outcome in A occurs, we say that A∪B has also occurred.
   ♦ If any outcome in B occurs, then also we say that A∪B has also occurred.
• So A∪B indicates “A or B”.
• If we know P(A) and P(B), can we find P(A∪B)?
We have already seen axiom 3 which says:
P(A∪B) = P(A) + P(B)
• But this axiom is valid only if A and B are disjoint sets (mutually exclusive events).
• When A and B are not disjoint sets, we need a method to calculate P(A∪B).

Let us see an example. It can be written in 9 steps:

1. Consider the experiment of tossing a coin thrice.
2. We know that, S = {(H,H,H), (H,H,T), (H,T,H), (H,T,T), (T,H,H), (T,H,T), (T,T,H), (T,T,T)}  
• We see that, there are eight possible outcomes.
3. Next step is to assign probabilities for each of these outcomes.
• Let the probabilities be as shown below:

$\begin{array}{cc}
{\textbf{Outcomes}}&{\textbf{HHH}}
& {\textbf{HHT}}& {\textbf{HTH}} & {\textbf{HTT}} & {\textbf{THH}} & {\textbf{THT}} & {\textbf{TTH}} & {\textbf{TTT}}\\

{\textbf{Probabilities}}&{\frac{1}{8}} &{\frac{1}{8}} &{\frac{1}{8}} &{\frac{1}{8}} &{\frac{1}{8}} &{\frac{1}{8}} &{\frac{1}{8}} &{\frac{1}{8}}\\

\end{array}$

• Note that, we put 8 in the denominator because, the total number of outcomes is 8.
• The reader may verify that, the above assigned probabilities satisfy both condition 1 and condition 2. that we saw in the previous section.
(The reader must keep in mind that, 1/8 is only a theoretical value. In actual practice, we will get “values close to 1/8” only when the experiment is repeated a very large number of times)  
4. Suppose that an event A is such that:
A = {HHT, HTH, THH}
• Now we use result 4:
$\rm{P(A)~=~\sum{P \left(\lbrace \omega_i \rbrace \right)}}$
• So in our present case, we get:

$\begin{array}{ll}
{}&{\rm{P(A)}}
& {~=~}& {\rm{P \left(\lbrace HHT \rbrace \right) + P \left(\lbrace HTH \rbrace \right) + P \left(\lbrace THH \rbrace \right)}} &{} \\

{}&{}
& {~=~}& {\frac{1}{8}~+~\frac{1}{8}~+~\frac{1}{8}} &{} \\

{}&{}
& {~=~}& {\frac{3}{8}} &{} \\

\end{array}$

5. Suppose that an event B is such that:
B = {HTH, THH, HHH}
• Now we use result 4 again:
$\rm{P(B)~=~\sum{P \left(\lbrace \omega_i \rbrace \right)}}$
• So in our present case, we get:

$\begin{array}{ll}
{}&{\rm{P(B)}}
& {~=~}& {\rm{P \left(\lbrace HTH \rbrace \right) + P \left(\lbrace THH \rbrace \right) + P \left(\lbrace HHH \rbrace \right)}} &{} \\

{}&{}
& {~=~}& {\frac{1}{8}~+~\frac{1}{8}~+~\frac{1}{8}} &{} \\

{}&{}
& {~=~}& {\frac{3}{8}} &{} \\

\end{array}$

6. Also we have:
A∪B = {HHT, HTH, THH} ∪ {HTH, THH, HHH}
= {HHT, HTH, THH, HHH}

• Now we use result 4 one more time:
$\rm{P(B)~=~\sum{P \left(\lbrace \omega_i \rbrace \right)}}$
• So in our present case, we get:

$\begin{array}{ll}
{}&{\rm{P(A \cup B)}}
& {~=~}& {\rm{P \left(\lbrace HHT \rbrace \right) + P \left(\lbrace HTH \rbrace \right) + P \left(\lbrace THH \rbrace \right) + P \left(\lbrace HHH \rbrace \right)}} &{} \\

{}&{}
& {~=~}& {\frac{1}{8}~+~\frac{1}{8}~+~\frac{1}{8}~+~\frac{1}{8}} &{} \\

{}&{}
& {~=~}& {\frac{4}{8}} &{} \\

{}&{}
& {~=~}& {\frac{1}{2}} &{} \\

\end{array}$

7. Now we can check whether P(A∪B) is equal to [P(A) + P(B)]
   ♦ From (6) we have: P(A∪B) = ½
   ♦ From (4) and (5), we have: P(A) + P(B) = 3/8 + 3/8 = 6/8 = 3/4.
• We see that, they are not equal.
8. So what happened?
Answer can be written in 4 steps:
(i) In our present case, A and B are not disjoint sets.
• Two outcomes appear in both A and B. They are: HTH and THH
(ii) So when we calculate [P(A) + P(B)], the probabilities of those two events will be taken twice.
• But for calculating P(A∪B), we must take the probabilities of each outcome only once.
(iii) So we must make the following deductions from P(A) + P(B):
   ♦ P({HTH}) must be deducted once.
   ♦ P({THH}) must be deducted once.
• That means:
For each element in A∩B, we must deduct it’s probability once.
(iv) Let us write it as a formula:
P(A∪B) = P(A) + P(B) - P(A∩B)
9. Let us check the above formula:
(i) We have: A∩B = {HTH, THH}
(ii) So we get:

$\begin{array}{ll}
{}&{\rm{P(A \cap B)}}
& {~=~}& {\rm{P \left(\lbrace HTH \rbrace \right) + P \left(\lbrace THH \rbrace \right)}} &{} \\

{}&{}
& {~=~}& {\frac{1}{8}~+~\frac{1}{8}} &{} \\

{}&{}
& {~=~}& {\frac{1}{4}} &{} \\

\end{array}$

(iii) Substituting the values in the formula, we get:

$\begin{array}{ll}
{}&{\rm{P(A \cup B)}}
& {~=~}& {\rm{P(A)~+~P(B)~-~P(A \cap B)}} &{} \\

{}&{}
& {~=~}& {\frac{3}{8}~+~\frac{3}{8}~-~\frac{1}{4}} &{} \\

{}&{}
& {~=~}& {\frac{4}{8}} &{} \\

{}&{}
& {~=~}& {\frac{1}{2}} &{} \\

\end{array}$

• This is the same result that we obtained in (6). So the formula seems to be working. However, we must write the general proof.


The general proof can be written in 4 steps:
1. Consider the Venn diagram shown below:

Explanation for the Probability of the event "A or B" using Venn diagram.
Fig.16.1

• We see three sets:
   ♦ A-B, (Red color)
   ♦ A∩B (Blue color)
   ♦ B-A (Green color)
• From the diagram, it is clear that:
The three are disjoint sets.
• From the diagram, it also is clear that:
A∪B = (A-B) ∪ (A∩B) ∪ (B-A)
2. Since the three are disjoint sets, we can apply axiom 3 (see section 16.4). We get:
$\begin{array}{ll}
{}&{\rm{P(A \cup B)}}
& {~=~}& {\rm{P \left[(A-B)~ \cup ~ (A \cap B)~ \cup ~(B-A) \right]}} &{} \\

{}&{}
& {~=~}& {\rm{P \left[(A-B)\right]~ \cup ~ P \left[(A \cap B)\right]~ \cup ~P \left[(B-A) \right]}} &{} \\

{}&{}
& {~=~}& {\rm{\left[\sum{P(\{\omega_i\})}~\forall \omega_i \in (A-B)\right]~+~\left[\sum{P(\{\omega_i\})}~\forall \omega_i \in (A \cap B)\right]~+~\left[\sum{P(\{\omega_i\})}~\forall \omega_i \in (B-A)\right]}~\color{green}{\text{- - - I}}} &{} \\

\end{array}$

◼ Remarks:
• Line marked as I:
In this line, there are three terms in the RHS. At a first glance, all three terms may appear to be the same. But on close inspection, we will see the differences:
   ♦ In the first term, we add the probabilities for all elements in (A-B)     
(The symbol ‘∀’ stands for ‘for all’)
   ♦ In the second term, we add the probabilities for all elements in (A∩B)     
   ♦ In the third term, we add the probabilities for all elements in (B-A)

3. In the above step (2), we have derived an important result. We will be using it soon.
• Now we will add the probabilities of events A and B. We get:

$\begin{array}{ll}
{}&{\rm{P(A)~+~P(B)}}
& {~=~}& {\rm{\Bigl[\sum{P(\{\omega_i\})}~\forall \omega_i \in A \Bigr]~+~\Bigl[\sum{P(\{\omega_i\})}~\forall \omega_i \in (B) \Bigr]}} &{} \\

{}&{}
& {~=~}& {\rm{\Bigl[\sum{P(\{\omega_i\})}~\forall \omega_i \in [(A-B) \cup (A \cap B)]\Bigr]~+~\Bigl[\sum{P(\{\omega_i\})}~\forall \omega_i \in [(B-A) \cup (A \cap B)] \Bigr]}~\color{green}{\text{- - - I}}} &{} \\

{}&{}
& {~=~}& {\rm{
\Bigl[\sum{P(\{\omega_i\})}~\forall \omega_i \in (A-B) \Bigr]
~+~\Bigl[\sum{P(\{\omega_i\})}~\forall \omega_i \in  (A \cap B) \Bigr]
~+~\Bigl[\sum{P(\{\omega_i\})}~\forall \omega_i \in (B-A) \Bigr]
~+~\Bigl[\sum{P(\{\omega_i\})}~\forall \omega_i \in  (A \cap B) \Bigr]}~\color{green}{\text{- - - II}}} &{} \\

{}&{}
& {~=~}& {\rm{
P(A \cup B)
~+~\Bigl[\sum{P(\{\omega_i\})}~\forall \omega_i \in  (A \cap B) \Bigr]}~\color{green}{\text{- - - III}}} &{} \\

{}&{}
& {~=~}& {\rm{
P(A \cup B)
~+~P(A \cap B)}} &{} \\

\end{array}$

◼ Remarks:
• Line marked as I:
In this line,
   ♦ We replace A by (A-B)∪(A∩B)
   ♦ We replace B by (B-A)∪(A∩B)
• Line marked as II:
In this line, there are four terms in the RHS.
This is because, each of the two terms in I, is split into two terms.
• Line marked as III:
The first three terms in II, are replaced using the result in (2)

4. Let us write the above result again:
P(A) + P(B) = P(A∪B) + P(A∩B)
• Rearranging the terms, we get:
P(A∪B) = P(A) + P(B) - P(A∩B)

• Thus the formula is proved.


Alternate method:
This can be written in 5 steps:
1. Consider the Venn diagram in fig.16.1 above.
2. Suppose that, we want (A∪B).
• The union of the following two sets will give A∪B:
(i) Set A, which is (red + blue)
(ii) Set B-A, which is green.
• So we can write:
A∪B = A ∪ (B-A)
2. Set A and set (B-A) are disjoint sets. So we can apply axiom 3. We get:
P(A∪B) = P(A) + P(B-A)
3. Now consider set B.
• It is the union of two sets:
(i) Set A∩B, which is blue.
(ii) Set B-A, which is green
• So we can write:
B = (A∩B) ∪ (B-A)
4. Set (A∩B) and set (B-A) are disjoint sets. So we can apply axiom 3. We get:
P(B) = P(A∩B) + P(B-A)
• From this we get:
P(B-A) = P(B) – P(A∩B)
5. Substituting this value of P(B-A) in (2), we get:
P(A∪B) = P(A) + P(B) – P(A∩B)
• Thus the formula is proved.


Let us see an interesting case. It can be written in 3 steps:
1. Consider the two formulas:
(i) P(A∪B) = P(A) + P(B)
• We obtained this formula from axiom 3. We use this formula when A and B are disjoint sets.
(ii) P(A∪B) = P(A) + P(B) – P(A∩B)
• We use this formula when A and B are not disjoint sets.
2. However, the second formula can be used even if A and B are disjoint sets. The reason can be explained in 4 steps:
(i) When A and B are disjoint sets, (A∩B) = Φ.
(ii) Substituting this in the second formula, we get:
P(A∪B) = P(A) + P(B) – P(Φ)
(iii) But we have seen result 1 in a previous section (see section 16.4):
P(Φ) = 0
(iv) So we get:
P(A∪B) = P(A) + P(B) – 0
⇒ P(A∪B) = P(A) + P(B)
3. We can write:
The formula in 1(ii) is valid even if A and B are disjoint sets.


In the next section, we will see Probability of event "not A".

Previous

Contents

Next

Copyright©2023 Higher secondary mathematics.blogspot.com

Wednesday, September 6, 2023

16.5 - Probability of an Event

In the previous section, we saw the basics of the axiomatic approach to probability. In this section, we will see Probability of an event.

Probability of an event

This can be explained using an example. It can be written in 7 steps:
1. Consider the following experiment:
A machine continuously produces pens. Three consecutive pens are examined. Each of those three pens are classified as defective or non-defective.
2. Let us use short forms for defective and non-defective:
• We will put ‘B’ if the pen taken is defective. Here ‘B’ stands for ‘bad’.
• We will put ‘G’ if the pen taken is non-defective. Here ‘G’ stands for ‘good’.
3. So, while examining the three pens, one outcome may be: BBG
• In that case,
   ♦ First pen is bad.
   ♦ Second pen is bad.
   ♦ Third pen is good.
4. In this way, we can write all the possible outcomes:
S = {BBB, BBG, BGB, BGG, GBB, GBG, GGB, GGG}  
• We see that, there are eight possible outcomes.
5. Next step is to assign probabilities for each of these outcomes.
• It is not mentioned that, the machine has any special properties.
• If it has the property of making mostly good pens, then the outcomes like GGG, GBG etc., will get greater probability.
• If it has the property of making mostly bad pens, then the outcomes like BBB, BGB, etc., will get greater probability.
• Since there is no mention of special properties, we will assign equal probabilities as shown below:

$\begin{array}{cc}
{\textbf{Outcomes}}&{\textbf{BBB}}
& {\textbf{BBG}}& {\textbf{BGB}} & {\textbf{BGG}} & {\textbf{GBB}} & {\textbf{GBG}} & {\textbf{GGB}} & {\textbf{GGG}}\\

{\textbf{Probabilities}}&{\frac{1}{8}} &{\frac{1}{8}} &{\frac{1}{8}} &{\frac{1}{8}} &{\frac{1}{8}} &{\frac{1}{8}} &{\frac{1}{8}} &{\frac{1}{8}}\\

\end{array}$

• Note that, we put 8 in the denominator because, the total number of outcomes is 8.
• The reader may verify that, the above assigned probabilities satisfy both condition 1 and condition 2. that we saw in the previous section.
(The reader must keep in mind that, 1/8 is only a theoretical value. In actual practice, we will get “values close to 1/8” only when the experiment is repeated a very large number of times)  
6. Suppose that an event A is: “getting exactly one defective pen”.
• Then we get: A = {BGG, GBG, GGB}
• Now we use result 4 that we saw in the previous section:
$\rm{P(A)~=~\sum{P \left(\lbrace \omega_i \rbrace \right)}}$
• So in our present case, we get:

$\begin{array}{ll}
{}&{\rm{P(A)}}
& {~=~}& {\rm{P \left(\lbrace BGG \rbrace \right) + P \left(\lbrace GBG \rbrace \right) + P \left(\lbrace GGB \rbrace \right)}} &{} \\

{}&{}
& {~=~}& {\frac{1}{8}~+~\frac{1}{8}~+~\frac{1}{8}} &{} \\

{}&{}
& {~=~}& {\frac{3}{8}} &{} \\

\end{array}$

7. Suppose that an event B is: “getting atleast two defective pen”.
• Then we get: B = {BBB, BBG, BGB, GBB}
• Now we use result 4 that we saw in the previous section:
$\rm{P(A)~=~\sum{P \left(\lbrace \omega_i \rbrace \right)}}$
• So in our present case, we get:

$\begin{array}{ll}
{}&{\rm{P(B)}}
& {~=~}& {\rm{P \left(\lbrace BBB \rbrace \right) + P \left(\lbrace BBG \rbrace \right) + P \left(\lbrace BGB \rbrace \right) + P \left(\lbrace GBB \rbrace \right)}} &{} \\

{}&{}
& {~=~}& {\frac{1}{8}~+~\frac{1}{8}~+~\frac{1}{8}~+~\frac{1}{8}} &{} \\

{}&{}
& {~=~}& {\frac{4}{8}} &{} \\

{}&{}
& {~=~}& {\frac{1}{2}} &{} \\

\end{array}$


Let us see another example. It can be written in 5 steps:
1. Consider the experiment of tossing a coin twice.
2. We know that, S = {HH, HT, TH, TT}  
• We see that, there are four possible outcomes.
3. Next step is to assign probabilities for each of these outcomes.
• Let the probabilities be as shown below:

$\begin{array}{cc}
{\textbf{Outcomes}}&{\textbf{HH}}
& {\textbf{HT}}& {\textbf{TH}} & {\textbf{TT}}\\

{\textbf{Probabilities}}&{\frac{1}{4}} &{\frac{1}{7}} &{\frac{2}{7}} &{\frac{9}{28}}\\

\end{array}$

• The reader may verify that, the above assigned probabilities satisfy both condition 1 and condition 2. that we saw in the previous section. 
4. Suppose that an event E is: “getting the same result in both the tosses”.
• Then we get: A = {TT, HH}
• Now we use result 4 that we saw in the previous section:
$\rm{P(A)~=~\sum{P \left(\lbrace \omega_i \rbrace \right)}}$
• So in our present case, we get:

$\begin{array}{ll}
{}&{\rm{P(E)}}
& {~=~}& {\rm{P \left(\lbrace HH \rbrace \right) + P \left(\lbrace TT \rbrace \right)}} &{} \\

{}&{}
& {~=~}& {\frac{1}{4}~+~\frac{9}{28}} &{} \\

{}&{}
& {~=~}& {\frac{4}{7}} &{} \\

\end{array}$

5. Suppose that an event F is: “getting exactly two heads”.
• Then we get: F = {HH}
• Now we use result 4 that we saw in the previous section:
$\rm{P(A)~=~\sum{P \left(\lbrace \omega_i \rbrace \right)}}$
• So in our present case, we get:

$\begin{array}{ll}
{}&{\rm{P(F)}}
& {~=~}& {\rm{P \left(\lbrace HH \rbrace \right)}} &{} \\

{}&{}
& {~=~}& {\frac{1}{4}} &{} \\

\end{array}$


The above two examples help us to understand how the probability of an event is calculated.


Probabilities of equally likely outcomes

This can be explained using an example. It can be written in 4 steps:
1. Consider the example of pens that we saw above.
• We saw that, all outcomes in S have the same probability.
2. We also saw that: P(A) = 3/8.
• Here the numerator ‘3’ is the number of elements in A. It is the number of outcomes favorable to A.
• Recall that, the number of elements in any set A is denoted as: n(A)
• So we can write:
When the outcomes in S are equally likely, the numerator of the probability for any event A is simply n(A)
• Now consider the denominator ‘8’. It is the number of elements in S.
• So we can write:
When the outcomes in S are equally likely, the denominator of the probability for event A is simply n(S)
3. Similarly, we saw that: P(B) = 1/2 = 4/8.
• Here the numerator ‘4’ is the number of elements in B. It is the number of outcomes favorable to B. It is n(B).
• Now consider the denominator ‘8’. It is n(S).
• Here also, we get the same result:
When the outcomes in S are equally likely, the denominator of the probability for event B is simply n(S)
4. So we can write it as a formula:
• When the outcomes in S are equally likely, the probability of any event A is given by:
$\rm{P(A)~=~\frac{n(A)}{n(S)}}$


The above formula is based on an example. We must write the general proof. It can be written in 3 steps:
1. Let S = {𝜔1, 𝜔2, 𝜔3, . . . , 𝜔k} be the sample space of an experiment.
• We see that, there are k outcomes. So n(S) = k
• Let us assume that, all those outcomes have the same probability. That is:
P({𝜔i}) = p, where 𝜔i ∈ S
2. Using axiom 2, we have:
For any experiment, P(S) = 1
• So for the present case, we can write:
P(S) = p + p + p + . . . + p
(Here p must be written k times because, number of elements in S is k)
• So we get: P(S) = kp = 1
Thus: $p = \frac{1}{k}$.
3. Let A be an event of the experiment. Let the set A have m elements. So n(A) = m.
• Then we can write:
P(A) = p + p + p + . . . + p
(Here p must be written m times because, number of elements in A is m)
• So we get: $\rm{P(A)~=~mp~=~m \times \frac{1}{k}}$
Thus: $\rm{P(A)~=~\frac{m}{k}~=~\frac{n(A)}{n(S)}}$


In the next section, we will see Probability of the event "A or B".

Previous

Contents

Next

Copyright©2023 Higher secondary mathematics.blogspot.com

Tuesday, September 5, 2023

16.4 - Axiomatic Approach to Probability

In the previous section, we saw Exhaustive events. In this section, we will see Axiomatic approach to probability.

• In our earlier classes, we have seen how probability can be calculated in simple cases.
• We calculated probability as a fraction. It was a proper fraction. That is., numerator will be less than the denominator. If a proper fraction is converted to decimal form, the value on the left side of the decimal point will be zero.
• In the denominator, we gave total number of possible outcomes. In the numerator, we gave the total number of favorable outcomes.
• In our present discussion, we will see three axioms developed by the Russian mathematician A.N. Kolmogorov. Those axioms will enable us to calculate probability in complex problems.
• Axiom means a statement or rule, which is self-evident. Such a statement/rule can be a useful basis for more advanced mathematical calculations.

Axiom 1: For any event A, P(A) ≥ 0.
• This can be explained in 5 steps:
(i) The probability any event A to occur will be greater than or equal to zero.
    ♦ If P(A) is zero, A will never occur.
    ♦ If P(A) is large, there is a higher probability for A to occur.
    ♦ If P(A) is small, there is a lower probability for A to occur.
(ii) We saw that, probability is always a proper fraction. So the largest possible value for P(A) is 1. When the probability is 1, the event will surely occur.
(iii) Also, the smallest possible value for P(A) is zero. When the probability is zero, the event will never occur.
(iv) Since P(A) is a proper fraction, “zero value” is obtained when the numerator is zero. This happens when there are no favorable outcomes.
(v) Since P(A) is a proper fraction, “1 value” is obtained when the numerator is same as the denominator. This happens when number of favorable outcomes is same as the total number of outcomes.

Axiom 2:
For any experiment, P(S) = 1
• This can be explained in 2 steps:
(i) We know that, any event A can be denoted as a set A. The elements of set A will be the favorable outcomes of event A.
(ii) The sample space of an experiment is also a set. We denote it as S.
• So this S can be considered as an event. Whenever we perform that experiment, we will surely obtain an element of S. Based on this, we can say: Probability for S to occur is 1.

Axiom 3:
If A and B are two mutually exclusive events then P(A∪B) = P(A) + P(B)
• This can be explained using an example. It can be written in 5 steps:
(i) First we will assign the sets.
• Let set S of an experiment have 6 elements.
• Let event A of that experiment have 3 elements.
• Let event B of that experiment have 2 elements.
(ii) Now we will write the probabilities of the individual events:
• We get:
    ♦ P(A) = 3/6 = 1/2
    ♦ P(B) = 2/6 = 1/3
(iii) Given that A and B are disjoint sets. So A∪B will have 5 elements.
• So P(A∪B) = 5/6
(iv) Let us add the individual probabilities:
P(A) + P(B) = 1/2 + 1/3 = 5/6
• This is same as the result in (iii)
(v) Comparing the results in (iii) and (iv), we can write:
P(A∪B) = P(A) + P(B)


Using the above axioms, we can derive four important results.
Result 1:
This can be written in 3 steps:
1. Suppose that, B is a null set. That means, no outcome in S can be used to define the event B.
(For example, when a die is thrown once, the event of “getting number 7” is a null set)
• So we can write: B = Ф
2. Applying axiom 3, we get:
$\begin{array}{ll}
{}&{P(A \cup B)}
& {~=~}& {P(A) + P(B)}
&{} \\

{\Rightarrow}&{P(A \cup \phi)}
& {~=~}& {P(A) + P(\phi)~~ \color {green} {\text{- - - (I)}}}
&{} \\

{\Rightarrow}&{P(A)}
& {~=~}& {P(A) + P(\phi)~~ \color {green} {\text{- - - (II)}}}
&{} \\

{\Rightarrow}&{P(\phi)}
& {~=~}& {0}
&{} \\

\end{array}$

◼ Remarks:
• Line marked as I:
In this line, we are able to apply axiom 3 because, any set A and the null set are disjoint sets
• Line marked as II:
In this line, we use the rule:
Union of any set A with the null set will give A
3. Based on the above calculations, we can write:
If there are no outcomes for an event, then the probability for that event to occur is zero.


Result 2:
This can be written in 4 steps:
1. Let S be the sample space of an experiment.
• Also, let 𝜔1, 𝜔2, 𝜔3, . . . , 𝜔n be the n elements of S.
• Then we can write: S= {𝜔1, 𝜔2, 𝜔3, . . . , 𝜔n}
2. So S is the union of n singleton sets:
S = {𝜔1} ∪ {𝜔2} ∪ {𝜔3} ∪ . . . ∪ {𝜔n}
3. Applying axiom 3, we get:

$\begin{array}{ll}
{}&{\rm{P \left(\lbrace \omega_1 \rbrace \cup \lbrace \omega_2 \rbrace \cup \lbrace \omega_3 \rbrace \cup ~.~.~.~ \cup \lbrace \omega_n \rbrace \right)}}
& {~=~}& {\rm{P \left(\lbrace \omega_1 \rbrace \right) + P \left(\lbrace \omega_2 \rbrace \right) + P \left(\lbrace \omega_3 \rbrace \right) ~+~.~.~.~+~P \left(\lbrace \omega_n \rbrace \right)}}
&{} \\

{\Rightarrow}&{\rm{P(S)}}
& {~=~}& {\rm{P \left(\lbrace \omega_1 \rbrace \right) + P \left(\lbrace \omega_2 \rbrace \right) + P \left(\lbrace \omega_3 \rbrace \right) ~+~.~.~.~+~P \left(\lbrace \omega_n \rbrace \right)}}
&{} \\

{\Rightarrow}&{\rm{1}}
& {~=~}& {\rm{P \left(\lbrace \omega_1 \rbrace \right) + P \left(\lbrace \omega_2 \rbrace \right) + P \left(\lbrace \omega_3 \rbrace \right) ~+~.~.~.~+~P \left(\lbrace \omega_n \rbrace \right)}}
&{} \\

\end{array}$

◼ Remarks:
From axiom 2, we know that: P(S) = 1

4. So we can write:
Sum of the individual probabilities of all individual outcomes of an experiment will be 1.


Result 3:
This can be written in 5 steps:
1. From result 2, we know that:
P({𝜔1}) + P({𝜔2}) + P({𝜔3}) + . . . + P({𝜔n}) = 1
• Note that, the sum on the RHS is 1.
2. Each term on the LHS is a proper fraction.
• Since the sum is 1, each term must be either less than 1 or equal to 1.
3. But axiom 1 tells us that:
Each term will be either greater than zero or equal to zero.
4. Combining (2) and (3), we get:
0 ≤ Any term ≤ 1
• Mathematically, we write this as:
0 ≤ P({𝜔i}) ≤ 1
5. So we can write:
Take any outcome from S. That outcome can be considered as a simple event (event with only one outcome). The probability of that event will be greater than or equal to zero and at the same time, less than or equal to 1.


Result 4:
This can be written in 4 steps:
1. Let A be an event in an experiment.
• Also, let 𝜔1, 𝜔2, 𝜔3, . . . , 𝜔n be the n elements of A.
• Then we can write: A = {𝜔1, 𝜔2, 𝜔3, . . . , 𝜔n}
2. So A is the union of n singleton sets:
A = {𝜔1} ∪ {𝜔2} ∪ {𝜔3} ∪ . . . ∪ {𝜔n}
3. Applying axiom 3, we get:

$\begin{array}{ll}
{}&{\rm{P \left(\lbrace \omega_1 \rbrace \cup \lbrace \omega_2 \rbrace \cup \lbrace \omega_3 \rbrace \cup ~.~.~.~ \cup \lbrace \omega_n \rbrace \right)}}
& {~=~}& {\rm{P \left(\lbrace \omega_1 \rbrace \right) + P \left(\lbrace \omega_2 \rbrace \right) + P \left(\lbrace \omega_3 \rbrace \right) ~+~.~.~.~+~P \left(\lbrace \omega_n \rbrace \right)}}
&{} \\

{\Rightarrow}&{\rm{P(A)}}
& {~=~}& {\rm{P \left(\lbrace \omega_1 \rbrace \right) + P \left(\lbrace \omega_2 \rbrace \right) + P \left(\lbrace \omega_3 \rbrace \right) ~+~.~.~.~+~P \left(\lbrace \omega_n \rbrace \right)}}
&{} \\

{\Rightarrow}&{\rm{P(A)}}
& {~=~}& {\rm{\sum{P \left(\lbrace \omega_i \rbrace \right)}}}
&{} \\

\end{array}$

4. So we can write:
Sum of the individual probabilities of all individual outcomes of an event will be the probability of that event.


◼ Based on the three axioms and four results, we can write:
Any experiment must satisfy two conditions:
Condition 1:
Take any individual outcome of an experiment. The probability of that outcome will be greater than or equal to zero, but at the same time less than or equal to 1.

• Mathematically, we can write this as:
$\rm{0 \le P(\lbrace \omega_i\rbrace) \le 1,~Where~ \omega_i \in S}$
Condition 2:
Take the sum of the probabilities of all individual outcomes in S. That sum will be 1.

• Mathematically, we can write this as:
$\rm{\sum{P(\lbrace \omega_i\rbrace)} = 1,~Where~ \omega_i \in S}$

• Let us see an example. It can be written in steps:
1. Consider the experiment of tossing a coin once.
We know that, S = {H,T}
2. Let us assign individual probabilities for the two outcomes:
    ♦ P({H}) = ½
    ♦ P({T}) = ½
3. Does the above probability values satisfy the two conditions?
(i) We have: 0 ≤ ½ ≤ 1
So condition 1 is satisfied.
(ii) We have: (½ + ½) = 1
So condition 2 is also satisfied.
4. We know that exact ½ cannot be obtained even if we repeat the experiment 50000 times. What if we repeat the experiment only 20 times and get the following values?
    ♦ P({H}) = 1/4
    ♦ P({T}) = 3/4
5. Does the above probability values satisfy the two conditions?
(i) We have:
    ♦ 0 ≤ 1/4 ≤ 1
    ♦ 0 ≤ 3/4 ≤ 1
So condition 1 is satisfied.
(ii) We have: (1/4 + 3/4) = 1
So condition 2 is also satisfied.
6. We see that ¼ and ¾ also satisfy the two conditions.
• In fact, there are infinite number of possible values such that:
    ♦ P({H}) = p
    ♦ P({T}) = (1- p)
Where 0 ≤ p ≤ 1


Now we will see a solved example:

Solved example 16.9
Let a sample space be S = {𝜔1, 𝜔2, 𝜔3, . . . , 𝜔6}. Which of the following assignments of probabilities to each outcome are valid ?

$\begin{array}{cc}
{\textbf{Outcomes}}&{\mathbf{\omega_1}}
& {\mathbf{\omega_2}}& {\mathbf{\omega_3}}
&{\mathbf{\omega_4}} &{\mathbf{\omega_5}} &{\mathbf{\omega_6}}\\

{\textbf{(a)}}&{\frac{1}{6}}
& {\frac{1}{6}}& {\frac{1}{6}}
&{\frac{1}{6}} &{\frac{1}{6}} &{\frac{1}{6}}\\

{\textbf{(b)}}&{1}
& {0}& {0}
&{0} &{0} &{0}\\

{\textbf{(c)}}&{\frac{1}{8}}
& {\frac{2}{3}}& {\frac{1}{3}}
&{\frac{1}{3}} &{- \frac{1}{4}} &{- \frac{1}{3}}\\

{\textbf{(d)}}&{\frac{1}{12}}
& {\frac{1}{12}}& {\frac{1}{6}}
&{\frac{1}{6}} &{\frac{1}{6}} &{\frac{3}{2}}\\

{\textbf{(e)}}&{0.1}
& {0.2}& {0.3}
&{0.4} &{0.5} &{0.6}\\

\end{array}$

Solution:
We have two conditions to check whether the probabilities assigned to the outcomes are valid.
Condition 1:
$\rm{0 \le P(\lbrace \omega_i\rbrace) \le 1,~Where~ \omega_i \in S}$
Condition 2:
$\rm{\sum{P(\lbrace \omega_i\rbrace)} = 1,~Where~ \omega_i \in S}$

Let us check each case:
Part (a):
• Condition 1 is satisfied because, all probability values are greater than or equal to 0 and at the same time, less than or equal to 1.
• Condition 2 is satisfied because:
$\frac{1}{6} + \frac{1}{6} + \frac{1}{6} + \frac{1}{6} + \frac{1}{6} + \frac{1}{6}~=~1$
• Both conditions are satisfied. So the assigned probabilities are valid.

Part (b):
• Condition 1 is satisfied because, all probability values are greater than or equal to 0 and at the same time, less than or equal to 1.
• Condition 2 is satisfied because:
1 + 0 + 0 + 0 + 0 + 0 = 1
• Both conditions are satisfied. So the assigned probabilities are valid.

Part (c):
• Condition 1 is not satisfied because, P({𝜔5}) and P({𝜔6}) are less than 0.
• Since condition 1 is not satisfied, there is no need to check condition 2.
• Condition 1 is not satisfied. So the assigned probabilities are not valid.

Part (d):
• Condition 1 is not satisfied because, P({𝜔6}) is greater than 1.
• Since condition 1 is not satisfied, there is no need to check condition 2.
• Condition 1 is not satisfied. So the assigned probabilities are not valid.

Part (e):
• Condition 1 is satisfied because, all probability values are greater than or equal to 0 and at the same time, less than or equal to 1.
• Condition 2 is not satisfied because:
0.1 + 0.2 + 0.3 + 0.4 + 0.5 + 0.6 = 2.1 ≠ 1
• Condition 2 is not satisfied. So the assigned probabilities are not valid.


In the next section, we will see Probability of an event.

Previous

Contents

Next

Copyright©2023 Higher secondary mathematics.blogspot.com

Tuesday, August 29, 2023

16.3 - Exhaustive Events

In the previous section, we saw algebra of events. We also saw mutually exclusive events. In this section, we will see Exhaustive events.

Exhaustive events

This can be explained in 7 steps:
1. Consider the experiment of rolling a die.
• We know that S = {1, 2, 3, 4, 5, 6}
2. Suppose that event A occurs if the number obtained is less than 4.
• Then we have: A = {1, 2,3}
3. Suppose that event B occurs if the number obtained is greater than 2 but less than 5.
• Then we have: B = {3,4}
4. Suppose that event C occurs if the number obtained is greater than 4.
• Then we have: C = {5,6}
5. Let us find A∪B∪C:
{1,2,3}∪{3,4}∪{5,6} = {1,2,3,4,5,6} = S
• We see that:
The union is same as S
6. Now we can write the definition of exhaustive events. It can be written in 2 steps:
(i) Let E1, E2, E3, . . . En be some events associated with an experiment.
(ii) If the union of those events give the S of that experiment, then those events are called exhaustive events.
7. Let us see an interesting fact about exhaustive events. It can be written in 3 steps:
(i) Let E1, E2, E3, . . . En be the exhaustive events associated with an experiment.
• The union of those events will be S. We can write:
$\rm{E_1 \cup E_2 \cup E_3 \cup~.~.~.~ \cup E_n~=~\cup_{i=1}^{i=n}{E_i}~=~S}$
(ii) We know that:
• When a set is formed by the union of two or more sets,
    ♦ All elements of all participating sets
    ♦ Will be present in the resulting set.
• So all elements of E1, E2, E3, . . . En , will be present in $\rm{\cup_{i=1}^{i=n}{E_i}}$.
(iii) We also know that:
Whenever we perform the experiment, the outcome will be a member of S.
• But $\rm{S\,=\,\cup_{i=1}^{i=n}{E_i}}$
• So we can write:
Whenever the experiment is performed, one of the exhaustive events will surely occur.


Events which are both mutually exclusive and exhaustive

This can be explained in 3 steps:
1. Let E1, E2, E3, . . . En be some exhaustive events associated with an experiment.
2. Take any two sets from that list of exhaustive events. Those two sets must be disjoint.
• That is., which ever pair we take, the sets in that pair must be disjoint.
3. If the condition in (2) is satisfied, then we can say:
E1, E2, E3, . . . En are both mutually exclusive and exhaustive.


Now we will see some solved examples
Solved example 16.7
Two dice are thrown and the sum of the numbers which come up on the dice is noted. Let us consider the following events associated with the experiment.
A: the sum is even
B: the sum is a multiple of 3
C: the sum is less than 4
D: the sum is greater than 11
Which pairs of these events are mutually exclusive?
Solution:
1. We know that, the sample space is:
S ={
(1,1), (1,2), (1,3), (1,4), (1,5), (1,6),
(2,1), (2,2), (2,3), (2,4), (2,5), (2,6),
(3,1), (3,2), (3,3), (3,4), (3,5), (3,6),
(4,1), (4,2), (4,3), (4,4), (4,5), (4,6),
(5,1), (5,2), (5,3), (5,4), (5,5), (5,6),
(6,1), (6,2), (6,3), (6,4), (6,5), (6,6)}
2. Now we can write the events:
(i) A: the sum is even
So A ={
(1,1), (1,3), (1,5),
(2,2), (2,4), (2,6),
(3,1), (3,3), (3,5),
(4,2), (4,4), (4,6),
(5,1), (5,3), (5,5),
(6,2), (6,4), (6,6)}
(ii) B: the sum is a multiple of 3
So B ={
(1,2), (1,5),
(2,1), (2,4),
(3,3), (3,6),
(4,2), (4,5),
(5,1), (5,4),
(6,3), (6,6)}
(iii) C: the sum is less than 4
So C ={
(1,1), (1,2), (2,1)}
(iv) D: the sum is greater than 11
So D = {(6,6)}
3. We have four sets: A, B, C and D
We must consider all possible pairs.
(i) Consider A and B
They are not disjoint sets because, there are some common elements. For example, (1,5).
(ii) Consider A and C
They are not disjoint sets because, there is one common element which is (1,1).
(iii) Consider A and D
They are not disjoint sets because, there is one common element which is (6,6).
(iv) Consider B and C
They are not disjoint sets because, there are two common elements: (1,2) and (2,1).
(v) Consider B and D
They are not disjoint sets because, there is one common element which is (6,6).
(vi) Consider C and D
They are disjoint sets because, there are no common elements.
4. So we can write:
Only one pair "C, D" are mutually exclusive events.

Solved example 16.8
A coin is tossed three times, consider the following events.
A: No head appears
B: Exactly one head appears
C: Atleast two heads appear
Do they form a set of mutually exclusive and exhaustive events?
Solution:
1. We know that, the sample space is:
S = {(H,H,H), (H,H,T), (H,T,H), (H,T,T), (T,H,H), (T,H,T), (T,T,H), (T,T,T)}
2. Now we can write the events:
(i) A: No head appears
So A = {(T,T,T)}
(ii) B: Exactly one head appears
So B = {(H,T,T), (T,H,T), (T,T,H)}
(iii) C: Atleast two heads appear
So C = {(H,H,H), (H,H,T), (H,T,H), (T,H,H)}
3. First we will check whether they are exhaustive events. For that, we must find A∪B∪C. We get:
{(T,T,T)}∪{(H,T,T), (T,H,T), (T,T,H)}∪ {(H,H,H), (H,H,T), (H,T,H), (T,H,H)}
= {(T,T,T), (H,T,T), (T,H,T), (T,T,H), (H,H,H), (H,H,T), (H,T,H), (T,H,H)}
• Compare this union with
S = {(H,H,H), (H,H,T), (H,T,H), (H,T,T), (T,H,H), (T,H,T), (T,T,H), (T,T,T)}
• We see that, A∪B∪C = S
So A, B and C are exhaustive events.
4. Next we check whether A, B and C are mutually exclusive. For that, we must consider all possible pairs.
(i) Consider A and B
They are disjoint sets because, there are no common elements.
(ii) Consider A and C
They are disjoint sets because, there are no common elements.
(iii) Consider B and C
They are disjoint sets because, there are no common elements.
5. So we can write:
A, B and C are mutually exclusive and exhaustive events.


Link to a few more solved examples is given below:

Exercise 16.2


In the next section, we will see Axiomatic approach to probability.

Previous

Contents

Next

Copyright©2023 Higher secondary mathematics.blogspot.com

16.2 - Algebra of Events

In the previous section, we saw various types of events. In this section, we will see algebra of events.

• In an earlier chapter on sets, we saw various operations that can be performed on sets.
• We saw these topics:
   ♦ Union of sets
   ♦ Intersection of sets
   ♦ Difference of sets
   ♦ Complement of a set etc.,
(see fig.1.5 in section 1.5)
• In our present chapter, we saw that, events are sets. So we can apply those operations here also.
• We know that all events are subsets of S. So the set S can be considered as the universal set.


Complementary event

This can be explained in 6 steps:
1. Consider the experiment of tossing a coin three times.
• We know that S = {(H,H,H), (H,H,T), (H,T,H), (H,T,T), (T,H,H), (T,H,T), (T,T,H), (T,T,T)}
(see first example in exercise 16.1 )
2. Suppose that, we are interested in those outcomes in which:
   ♦ Exactly one T is obtained.
• Then we can pick out three outcomes, which are (H,H,T), (H,T,H) and (T,H,H).
• We can write a set E using these outcomes:
E = {(H,H,T), (H,T,H), (T,H,H)}
• So set E corresponds to the event in which T is obtained only once.
3. We picked out three out of the eight outcomes in S. So there are five outcomes remaining.
• If any one of those five outcomes occur, we can say that:
Event E has not occurred.
4. When an outcome occurs, we check whether it is an element of E.
• If it is an element of E, then we say that:
Event E has occurred.
• If it is not an element of E, then we say that:
Event "not E" has occurred.
5. If E is an event, then "not E" is also an event.
• "not E" is also known as the complementary event to E.
   ♦ It is denoted as E’.
6. Clearly, the set corresponding to "not E" will contain all elements of S except the elements of E.
• So we can write:
   ♦ Set E’
   ♦ is same as the
   ♦ Complement of set E.
• We already know the significance of the complement of a set. See fig.1.19 in section 1.8.
• From what we learned from those lessons, we can write: E’ = S - E


The event “A or B”

This can be explained in 3 steps:
1. Consider an experiment whose sample space is S.
• Let A and B be two events associated with the experiment.
• Then both A and B will be subsets of S
2. Since both A and B are sets, we can write a new set: A∪B.
• Since both A and B are subsets of S, the set A∪B will also be a subset of S
• Since A∪B is a subset of S, we can write:
A∪B is an event.
(Recall that, all subsets of S are events)
3. A∪B will contain elements of both A and B
• So, if the event A∪B occurs, we can write:
Either A or B has occurred.


The event “A and B”

This can be explained in 3 steps:
1. Consider an experiment whose sample space is S.
• Let A and B be two events associated with the experiment.
• Then both A and B will be subsets of S
2. Since both A and B are sets, we can write a new set: A∩B.
• Since both A and B are subsets of S, the set A∩B will also be a subset of S
• Since A∩B is a subset of S, we can write:
A∩B is an event.
(Recall that, all subsets of S are events)
3. A∩B will contain only those elements which are present in both A and B
• So, if the event A∩B occurs, we can write:
Both A and B has occurred.

• Let us see an example. It can be written in 5 steps:
1. Consider the experiment of rolling a die two times.
• We know the 36 elements of S
(see second example in exercise 16.1 )
2. Suppose that, we are interested in those outcomes in which:
   ♦ Number in the first throw is 6.
• Then from the 36 outcomes, we can pick out six, which are (6,1), (6,2), (6,3), (6,4), (6,5) and (6,6).
• We can write a set A using these six outcomes:
A = {(6,1), (6,2), (6,3), (6,4), (6,5), (6,6)}
• So set A corresponds to the event in which 6 is obtained in the first throw.
3. Also suppose that, we are interested in those outcomes in which:
   ♦ Sum of the numbers in the two throws is atleast 11.
• Then, from the 36 outcomes, we can pick out three, which are (5,6), (6,6) and (6,5).
• We can write a set B using these three outcomes:
B = {(5,6), (6,6), (6,5)}
• So set B corresponds to the event in which sum of the numbers in the two throws is atleast 11.
4. Now we can find A∩B.
We get: A∩B = {(6,5), (6,6)}
5. When the experiment gives an outcome which is an element of A∩B, we can write:
Both A and B has occurred.
• This is because,
   ♦ First throw has given 6.
   ♦ Sum of two numbers is atleast 11.


The event “A but not B”

This can be explained in 3 steps:
1. Consider an experiment whose sample space is S.
• Let A and B be two events associated with the experiment.
• Then both A and B will be subsets of S
2. Since both A and B are sets, we can write a new set: A-B.
• Since both A and B are subsets of S, the set A-B will also be a subset of S
• Since A-B is a subset of S, we can write:
A-B is an event.
(Recall that, all subsets of S are events)
3. A-B will contain only those elements which are present in A but not in B.
(see fig.1.16 in section 1.7)
• So, if the event A-B occurs, we can write:
A has occurred. But B has not occurred.


Now we will see a solved example
Solved example 16.6
Consider the experiment of rolling a die. Let A be the event “getting a prime number”, B be the event, getting an odd number. Write the sets representing the events (i) A or B  (ii) A and B  (iii) A but not B  (iv) “not A”
Solution:
• For this experiment, we can easily write S, A and B.
• We have:
   ♦ S = {1, 2, 3, 4, 5, 6}
   ♦ A = {2, 3, 5}
   ♦ B = {1, 3, 5}
Part (i): A or B
1. If the event A∪B occurs, we can say A or B has occurred.
2. We have: A∪B = {1, 2, 3, 5}
Part (ii): A and B
1. If the event A∩B occurs, we can say A and B has occurred.
2. We have: A∩B = {3, 5}
Part (iii): A but not B
1. If the event A-B occurs, we can say A has occurred, but  B has not occurred.
2. We have: A-B = {2}
Part (iv): "not A"
1. If the event S-A occurs, we can say "not A" has occurred.
2. We have: S-A = {1, 4, 6}


Mutually exclusive events

This can be explained in 4 steps:
1. We have seen the case of "A and B"
• If an outcome in A∩B occurs, we can say: Both A and B has occurred.
• It is clear that there is atleast one element in A∩B.
2. What if there are no elements in A∩B? (That is.,A∩B = Φ)
• This happens when there are no elements common to A and B. In other words, A and B are disjoint sets.
• In such a situation, we will be able to write two points:
(i) If A occurs, B has not occurred.
(ii) If B occurs, A has not occurred.
3. Two events A and B are called mutually exclusive events if occurrence of any one of them excludes the occurrence of the other event.
• In other words, mutually exclusive events cannot occur simultaneously.
4. We have seen that, if S have n elements, then there will be n simple events.
• Those n simple events are mutually exclusive events. When any one of them occurs, we can readily say that the remaining (n-1) events have not occurred. This is because, each of the n simple events have only one element. They cannot have any common elements.

• Let us see an example for mutually exclusive events. It can be written in 4 steps:
1. Consider the experiment of rolling a die.
• We know that S = {1, 2, 3, 4, 5, 6}
2. Suppose that event A occurs if the number obtained is odd.
Then we have: A = {1, 3, 5}
3. Suppose that event B occurs if the number obtained is even.
Then we have: B = {2, 4, 6}
4. We see that, A and B are disjoint sets. A and B will never occur simultaneously. 

• Let us see an example for two events which are "not mutually exclusive". Such an example will help us to get a better understanding about events which are actually "mutually exclusive". It can be written in 5 steps:
1. Consider the experiment of rolling a die.
• We know that S = {1, 2, 3, 4, 5, 6}
2. Suppose that event A occurs if the number obtained is odd.
Then we have: A = {1, 3, 5}
3. Suppose that event B occurs if the number obtained is less than 4.
• Then we have: B = {1, 2, 3}
4. We see that, A and B are not disjoint sets.
• We can write:
    ♦ If 1 is obtained, A and B has occurred simultaneously.
    ♦ If 3 is obtained, A and B has occurred simultaneously.
5. So in this case, A and B are not mutually exclusive events.


In the next section, we will see Exhaustive Events.

Kindly consider making a donation

Like us on facebook

Discussion on the notes can be started here

Previous

Contents

Next

Copyright©2023 Higher secondary mathematics.blogspot.com