Professional Documents
Culture Documents
EHB 328E
Ibraheem Shayea
Electronics and Communication Engineering Department,
Faculty of Electrical and Electronics Engineering
İstanbul Teknik Üniversitesi - İTÜ
Syllabus 1
❑ Introduction
❑ Algebra of Sets
❑ Probability Space
Introduction
Introduction
What is Probability?
Tails (T)
Heads (H)
Introduction
What is Probability ?
Example: Throwing Dice
𝑁𝐸
𝑃(𝐴) =
𝑁𝑇
Introduction
How Probability can be calculated ?
Example: What is the probability of Throwing Dice one time ?
❑ Let us assume the outcome in this time is 1
1
𝑃𝑟𝑜𝑏𝑎𝑏𝑖𝑙𝑖𝑡𝑦 𝑜𝑓 𝑡ℎ𝑒 𝐸𝑣𝑒𝑛𝑡 𝐻𝑎𝑝𝑝𝑒𝑛𝑖𝑛𝑔 =
6
Introduction
How Probability can be calculated ?
Example:
❑ Let us assume we throwing a dice two times
❑ What is the probability of the sum of outcomes is 5?
Answer:
?
Introduction
How Probability can be calculated ?
Example:
Answer:
?
Introduction
How Probability can be calculated ?
Example:
Answer:
?
Introduction
How Probability can be calculated ?
Exercise:
?
Introduction
Applications of Probability Theory ?
Probability theory is extensively used in a host of areas :
❖ Toss of a Coin
Outcomes
1
𝑃𝑟𝑜𝑏𝑎𝑏𝑖𝑙𝑖𝑡𝑦 𝑜𝑓 𝑡ℎ𝑒 𝐸𝑣𝑒𝑛𝑡 𝐻𝑎𝑝𝑝𝑒𝑛𝑖𝑛𝑔 =
6
Sample Space and Events
Sample Space
Solution:
?
Sample Space and Events
Sample Space
Example :
Find the sample space for the experiment of tossing a coin :
(a) Once
(b) Twice.
Solution:
Sample Space and Events
Sample Space
Exercise :
Find the sample space for the experiment of of Throwing Dice:
(b)Two times ?
Solution:
???
Sample Space and Events
Sample Space
Example :
Find the sample space for the experiment of tossing a coin repeatedly
and counting the number of tosses required until the first head appears.
Solution:
???
Sample Space and Events
2Sample Space
Example :
Find the sample space for the experiment of tossing a coin repeatedly and
counting the number of tosses required until the first head appears.
Solution:
Clearly all possible outcomes for this experiment are the terms of the
sequence 1, 2,3,...Thus:
𝑺 = { 𝟏, 𝟐, 𝟑, … , ∞}
Exercise :
Find the sample space for the experiment of Throwing Dice repeatedly and
counting the number of Throwing are required until the side of one dot is
appeared one time?
Solution:
???
Sample Space and Events
Sample Space
Exercise :
Find the sample space for the experiment of of Throwing Dice repeatedly
and counting the number of Throwing are required until the side of one dot
is appeared Ten times?
Solution:
???
Sample Space and Events
Sample Space
Example :
Find the sample space for the experiment of measuring (in hours) the
lifetime of a transistor.
Solution:
???
Sample Space and Events
Sample Space
Example :
Find the sample space for the experiment of measuring (in hours) the
lifetime of a transistor.
Solution:
Clearly all possible outcomes are all non-negative real numbers.
That is,
❖ Elementary Event
A Sample Point of S is often referred to as an elementary event.
❖ Certain Event
The sample space S is the subset of it self: that is, 𝑆 ⊂ 𝑆. Since S is the
set of all possible outcomes, it is often called the certain event.
Sample Space and Events
Events
Example 4:
Consider the experiment of Example 2.
o Let A be the event that the number of tosses required until the first head
appears is even.
o Let B be the event that the number of tosses required until the first head
appears is odd.
o Let C be the event that the number of tosses required until the first head
appears is less than 5.
Express events A, B, and C ?
Solutions:
A = {2, 4, 6,...}
B = {l, 3, 5,...}
C = {l, 2, 3, 4}
Sample Space and Events
Sample Space, Sample Point, Event
Definition: Two sets are equal if and only if they have the same
elements.
Example:
A = {1,2,3}
B = {3,1,2}
C = {1,2,1,3,2}
{1,2,3} = {3,1,2} = {1,2,1,3,2}
Algebra of Sets
Set Operations
Complementation
Suppose 𝐴⊂𝑆
The complement of set A is the set containing all elements in S but not in A
𝐴ҧ
Algebra of Sets
Set Operations
Union
The union of sets A and B is the set containing all elements in either A or B
or both.
𝐴∪𝐵
Algebra of Sets
Set Operations
Intersection
❑ The intersection of sets A and B is the set containing all elements in
both A and B.
❑ The intersection of sets A and B, denoted :
𝐴∩𝐵
Algebra of Sets
Set Operations
Difference
❑ The difference of sets A and B is the set containing all elements in A but
not in B.
❑ The difference of sets A and B, denoted :
𝐴∖𝐵
𝐴∖𝐵
Home Exercise
Proof this ?
Algebra of Sets
Set Operations
Symmetrical Difference
❑ The symmetrical difference of sets A and B is the set of all elements that
are in A or B but not in both
❑ The symmetrical difference of sets A and B, denoted :
𝐴△𝐵
𝐴△𝐵
Home Exercise
Proof this ?
Algebra of Sets
Set Operations
Null Set
❑ The set containing no element is called the null set. Note that
In mathematical sets, the null set, also called the empty set, is the
set that does not contain anything.
= ⊘= 𝑆
Algebra of Sets
Set Operations
Disjoint Sets
❑ Two sets A and B are called disjoint or mutually exclusive if they contain
no common element.
𝑻𝒉𝒂𝒕 𝒊𝒔 𝒊𝒇 𝑨 ∩ 𝑩 = 𝟎
𝐴 ∩𝐵 = ⊘
Algebra of Sets
Set Operations
Disjoint Sets
A B
Technologies Cities
Kuala
Cisco Facebook Paris
Lumpur
Twitter London
𝐴 ∩𝐵 = ⊘
Algebra of Sets
Venn Diagram
Algebra of Sets
Venn Diagram
Algebra of Sets
Identities
❑ By the above set definitions or reference we obtain the following
identities
Home Exercise
Proof these properties ??
Algebra of Sets
Identities
Commutative Laws
Home Exercise
Proof these properties ??
Algebra of Sets
Identities
Associative Laws
Home Exercise
Proof these properties ??
Distributive Laws:
Home Exercise
Proof these properties ??
Algebra of Sets
Identities
De Morgan's Laws
Home Exercise
Proof these properties ??
any element that is contained in the set on the left side of the equality
sign is also contained in the set on the right side, and vice versa.
Probability Space
Probability Space
Event Space
❑ Events are subsets of the sample space S
For example:
1
The odds of tossing a coin and getting a heads is 50%, .
2
Probability Space
Probability Measure
Classical Definition
Example 1
Tossing an unbiased coin. There is an equal probability that your toss will yield either head or
tail.
Example 2
Rolling of a fair dice because it is equally probable that top face of die will be any of the 6
numbers on the die: 1, 2, 3, 4, 5, or 6.
Example 3
Guess a multiple choice quiz test with (about) four possible answers A, B, C or D. Each option
(choice) has the same chances (equal probabilities) of being chosen (assuming you select randomly
and do not follow any pattern).
Probability Space
Probability Measure
Classical Definition
Formula for Classical Probability
The probability of a simple event happening is the number of times the event can happen, divided
by the number of possible events (outcomes).
Mathematically
𝑓
𝑃(𝐴) = 𝑁
where,
𝑷(𝑨) : “probability of event A” (event A is whatever event you are looking for),
𝑨
𝑷 𝑨 =
𝑺
Probability Space
Probability Measure
Classical Definition
Properties
Let S be a sample space with probability measure P. Also, let A and B be any events in S.
Then the following hold:
• ഥ =𝟏−𝑷 𝑨
𝑷 𝑨 Proof :
• 𝑷 ∅ =𝟎
𝑺
• 𝑷 𝑺 = = 𝟏
𝑺
• 𝑷 𝑨 ≤𝟏
Probability Space
Probability Measure
Classical Definition
Properties
𝐴 ∩𝐵 = 0 𝐶 ∩𝐵 = 7
𝐴 ∩𝐵 = ⊘
3
𝑃(𝐶) =
3 6
𝑃(𝐴) =
6 3
𝑃 𝐷 =
6
3
𝑃 𝐵 =
6 1
P(C∩D) =
6
P(A∩B) = 0
𝑃 𝐶 ∪ 𝐷 = 𝑃(𝐶) + 𝑃(𝐷) − 𝑃(𝐶 ∩ 𝐷)
3 3 3 3 1 5
𝑃 𝐴 ∪ 𝐵 = 𝑃(𝐴) + 𝑃(𝐵) = + =1 = + − =
6 6 6 6 6 6
Probability Space
Probability Measure
Classical Definition
So if an event A occurs m times, then the probability of the occurrence of the event A is
defined by
𝑚
𝑃(𝐴) = lim
𝑥→∞ 𝑛
Fore example, if we assume that the probability of a number n child will be a boy is 1/2,
then it means that over a large number of children born 50% of all will be boys.
Probability Space
Probability Measure
Relative Frequency Definition:
Suppose that the random experiment is repeated n times. If event A occurs 𝑛(𝐴)
times, then the probability of event A, denoted P(A), is defined as:
Properties
Thank You