Professional Documents
Culture Documents
Math Assignment SEM 2
Math Assignment SEM 2
The same way of simulation is repeated for the 10000 trials and 100000 trials on a dice.
P( A ∪ B) is determined by using the formula.
The data of more than 150 consecutive positive integers is listed using Microsoft Excel
Spreadsheet without repletely using the number. The data that is listed down is used to make an
experiment to determine whether the events are mutually exclusive.
The same method is used but the data of more than 150 consecutive number can be used
twice.
The concept of conditional probability is explained using one of the events in the
experiment before. The formula of conditional probability is also used to explain the concept of
conditional probability.
After completing the experiment, a conclusion is made to conclude about the differences
between mutually exclusive and independent events.
Result
Mutually exclusive is a statistical term describing two or more events that cannot happen
simultaneously. It is commonly used to describe a situation where the occurrence of one outcome
supersede the other. The mathematical formula for mutually exclusive event can be represented
as P ( A ∩ B )=0. Meanwhile, independent event is when the occurrence of one event does not
control the happening of the other event then it is termed as an independent event. The
mathematical formula of independent event can be defined as P ( A ∩ B )=P( A)× P( B) , whereas,
P ( A|B )=P( A) and P ( B| A )=P( B).
Mutually exclusive events are events that cannot occur in the same time. Meanwhile,
independent events are events that occur at the same time and have intersection.
Independent Events:
0.3 0.6
0.1
A B
(3,6),(4,5),(4,6),(5,4), (2,1),(2,2),(2,3),(2,4),
(5,5),(5,6),(6,3),(6,4), (2,5),(2,6),(1,2),(3,2),
(6,5),(6,6) (4,2),(5,2),(6,2)
(1,1),(1,3),(1,4),(1,5),(1,6),(3,1),(3,3),
(3,4),(3,5),(4,1),(4,3),(4,4),(5,1),(5,3),
(6,1)
10 11
P ( A )= P ( B )= P ( A ∩ B )=0
36 36
10 11 21 21
P ( A )+ P (B)= + = ∴ P ( A ∪ B )=P ( A ) + P ( B )=
36 36 36 36
21
Based on the observation, since P ( A ∩ B )=0and P ( A ∪ B ) =P ( A )+ P ( B )=
, the
36
condition of the events fulfills the requirement of mutually exclusive event, thus A and B are
mutually exclusive events.
Non-mutually exclusive event: Let,
C: Sum greater than 8
D: Both are odd number
D
C
(3,6),(4,5),(4,6),(5,4), (1,1),(1,3),(1,5),(3,1),
(5,6),(6,3),(6,4),(6,5), (5,5) (3,3),(3,5),(5,1),(5,3)
(6,6)
10 10 1 (1,2),(1,4),(1,6),(2,1),(2,2),(2,3),(2,4),(2,5),
P (C)= P( D)= P ( C ∩ D )=
36 36 36 (2,6),(3,2),(3,4),(4,1),(4,2),(4,3),(4,4),(5,2),
(6,1),(6,2)
10 10 20
P ( C ) + P ( D )= + =
36 36 36
10 10 1 19
P ( C ∪ D )=P ( C ) + P ( D )−P ( C ∩ D ) = + − =
36 36 36 36
∴ P ( C ∪ D ) ≠ P ( C ) + P(D)
(1,2),(1,4),(1,6),(2,1),
(2,3),(2,5),(4,1),(4,3), (4,2),(4,4),(4,6),(6,2),
(3,2),(3,4),(3,6),
(4,5),(6,1),(6,3),(6,5) (6,4),(6,6)
(5,2),(5,4),(5,6)
(1,1),(1,3),(1,5),(2,2),
(2,4),(2,6),(3,1),(3,3),
(3,5),(5,1),(5,3),(5,5)
18 1 12 1
P ( E )= = P ( F )= =
36 2 36 3
6 1 1 1 1
P ( E∩ F )= = P ( E ) × P ( F )= × =
36 6 2 3 6
∴ P ( E ∩ F )=P ( E ) × P( F)
10000 Trials
Trial Outcome Number Frequency Event A Event B Event C
Σf(A) P(A) Σf(B) P(B) Σf(C) P(C)
1 3 1 1640 4984 0.4984 1640 0.1640 4971 0.4971
2 2 2 1652
3 5 3 1657
. . 4 1713
. . 5 1671
. . 6 1663
10000 1 Σf=10000
100000 Trials
Trial Outcome Number Frequency Event A Event B Event C
Σf(A) P(A) Σf(B) P(B) Σf(C) P(C)
1 3 1 16698 49750 0.4975 16698 0.16698 49691 0.49691
2 2 2 16757
3 5 3 16540
. . 4 16693
. . 5 16452
. . 6 16857
100000 1 Σf=10000
Trials P( A ∪ B) P( B ∪ C)
100 0.45+0.18−0=0.63 0.18+0.46−0.18=0.46
10000 0.4984+ 0.1640−0=0.6624 0.1640+0.4971−0.1640=0.4971
100000 0.4975+0.16698−0=0.66448 0.16698+0.49691−0.16698=0.49691
Table 1: Show the Probability of P( A ∪ B) and P( A ∪ B)
Based on the observation, the calculation above is referring to the additional rule of
probability which is P ( A ∪ B ) =P ( A )+ P ( B )−P( A ∩ B). For the event A and event B, since there
is no intersection between two events ( P ( A ∩ B )=0), thus event A and event B are mutually
exclusive. Meanwhile for the event B and event C, since the element in event B are subset of
event C ( P ( A ∩ B )=P( B) ), thus event B and event C are non-mutually exclusive.
Set R which consists of more than 150 consecutive positive integers are formed. Prime
number and non-prime number are listed down in Set R. Two numbers are randomly selected
from the set R where the number can only be used once.
Let,
F= the event of getting both prime numbers
G= the event of getting a prime number and a non-prime number
H= the event of getting a prime number in the first selection
P= Prime Number
P’= Non-prime Number
Integer Σf(P) Σf(P’) Event F Event G Event H
P(F) P(G) P(H)
25 40 111 0.06887 0.39206 0.2649
26
27
.
.
.
175
Based on the observation, event F and Event G are mutually exclusive event. There is no
intersection between event F and event G because event F consist of both of the number are
prime number while event G consist of a prime number and a non-prime number. Whereases,
P ( F ∩G )=0 and P ( F ∪ G )=0.46093 . Meanwhile the event G and H are non-mutually exclusive
events. There is intersection between event F and event G where both contain a prime number
and a non-prime number. Whereases, P ( G∩ H ) =0.19603. Thus, the P ( G∪ H )=0.46093. In a
nutshell, event F and event G are mutually exclusive while event G and event H are non-
mutually exclusive.
The experiment is repeated but the numbers can be used twice now.
Integer Σf(P) Σf(P’) Event F Event G Event H
P(F) P(G) P(H)
25 40 111 0.07017 0.38946 0.2649
26
27
.
.
.
175
P(A) 40 111
111 40
×
× 151 151
151 151
¿
¿ 111
40 151
151 40
111 ¿
¿ 151
151 P (non-prime and prime)
P (prime and non-prime)
¿ P ( A ) × P ( B| A )
' '
¿ P ( A ) P ( B |A )
'
111 40
40 111 ¿ ×
¿ × 151 151
151 151 ¿ 0.1947
¿ 0.1947
P ( G )=0.1947+ 0.1947=0.3894
Based on the result, the event G is the event of getting a prime number and a non-prime
number. It is a combination of two conditional events. The combination can be first number is
prime number and second number is non-prime number or first number is non-prime number and
second number is prime number or can written as P( A B' ∨ A' B). Thus, after calculation the
conditional probability of both conditional events, the summation of both conditional probability
is equal to the probability of event G which is 0.3894.
Mutually exclusive event and independent event are two distinct events. They have a lot
of differences. First, mutually exclusive events are two events that cannot occur at the same time,
while independent event are two events that can occur at the same time but the outcome of one
event does not affect the chances of occurrence of the other event. Besides, there is no
intersection in mutually exclusive events where P ( A ∩ B )=0. Thus, there is no overlap in the
Venn diagram. Meanwhile for independent event, there are intersection between two events
where P ( A ∩ B )=P ( A ) × P (B). Thus, there must be an intersection in Venn diagram. Mutually
exclusive can be determined through formula P ( A ∪ B ) =P ( A )+ P(B), while independent event
can event can be determined through formula P ( B| A )=P( B).
Conclusion
As a conclusion, an event is an outcome or results of a random experiment. The existence
of two events may result in mutually exclusive or independent. The differences between two
events that cannot both exist at the same time. On the other hand, independent event are two
events that the existence of one event does not affect the chances of occurrence of the other
event.
For mutually exclusive events, there is no overlapping the Venn diagram which is
P ( A ∩ B )=0 where both events have no intersection. While for independent events, there is
intersection between both events where P ( A ∩ B )=P ( A ) × P (B) and there Venn diagram has an
area the is overlapping between two events.
Mutually Exclusive events are proven through the additional rule of probability, where
the formula is P ( A ∪ B ) =P ( A )+ P( B). Meanwhile, for the independent events is proven by the
formula P ( A|B )=P( A) or P ( B| A )=P( B) and P( A ∩ B)=P( A) × P(B).