Lecure-1 Probability
Lecure-1 Probability
By Tafari Lemma
由NordriDesign提供
www.nordridesign.com
Topics of this lecture
• Application
• Factorial
• Permutation
• Combination
1
Introduction
Why study probability and random Processes?
• The theory of probability provides powerful tools to explain, model,
analyze and design technology
• Many systems are very complex (e.g. an operating system)
• It is not easy to model complex systems
2
Applications
-Signal processing
-Machine learning
4
Signal processing
5
Machine learning
6
Biostatistics, bioinformatics, and related fields
7
Econometrics and mathematical finance
8
Queueing theory and other applications
9
Introduction to Set Theory
10
Ways of Describing Sets
• Give a verbal description
A= 1,2,3,4,5,6
• Give a verbal description
“A is the set of all integers from 1 to 6, inclusive”
• Give a mathematical inclusion rule
A= Integers x 1 x 6
11
Some Special Sets
• The Null Set or Empty Set. This is a set with no elements,
often symbolized by
• The Universal Set. This is the set of all elements currently
under consideration, and is often symbolized by
12
Membership Relationships
• Subset.
A B “A is a subset of B”
• We say “A is a subset of B” if x A x B, i.e., all the
members of A are also members of B.
• Proper Subset
A B “A is a proper subset of B”
• We say “A is a proper subset of B” if all the members of A
are also members of B, but in addition there exists at least
one element c such that c B but c A .
13
Combining Sets
• Set Union
A B
• “A union B” is the set of all elements that are in A, or B, or
both.
• Set Intersection
A B
• “A intersect B” is the set of all elements that
are in both A and B.
14
Set Complement
A
• “A complement,” or “not A” is the set of all elements not in A.
15
Set Difference
A− B
• The set difference “A minus B” is the set of elements that
are in A, with those that are in B subtracted out. Another
way of putting it is, it is the set of elements that are in A,
and not in B, so A − B = A B
16
Examples
= {1,2,3,4,5,6}
A = {1,2,3}
B = {3,4,5,6}
17
Solution (Example)
A B = {1,2,3,4,5,6}
A B = {3}
B − A = {4,5,6}
B = {1,2}
18
Venn Diagrams
19
Mutually Exclusive
20
Some review Questions
A A=?
A = ?
A − A=?
21
Some review Questions
A = ?
= ?
22
Some review Questions
If A B then A B = ?
If A B then A B = ?
23
Factorial
Solution
5! = 5 × 4 × 3 × 2 × 1 = 120
24
Permutations
25
Permutations
nPk
nPk
Where
P stands for permutations
n is the number of distinct objects you wish to arrange
k is the number of slots or spaces. 26
Permutations
Solution
When n = k, nPn = n!
3P3 = 3!/(3-3)!
3P3 =6
27
Permutations
Example:
1.How many ways can you arrange the
letters ‘ BOOK ’ ?
26
Permutations
Solution
When n = k, nPn = n!
5P5 = 5!/(5-5)!
5P5 = 120
29
Combinations
30
Combinations
31
Combinations
Note that combinations are equal to the permutations with the following
relationship
nC k = nPk/k!
32
Combinations
33
Exercise
34
Thank You !!!
35